@codemonster-ru/vueforge 0.50.0 → 0.51.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.
@@ -44,13 +44,13 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
44
44
  modelValue: Array<OptionValue>;
45
45
  placeholder: string;
46
46
  readonly: boolean;
47
+ clearable: boolean;
47
48
  options: Array<OptionItem>;
48
49
  optionLabel: string;
49
50
  optionValue: string;
50
51
  loadingText: string;
51
52
  emptyText: string;
52
53
  searchPlaceholder: string;
53
- clearable: boolean;
54
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
55
55
  root: HTMLDivElement;
56
56
  trigger: HTMLButtonElement;
@@ -37,8 +37,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
37
37
  modelValue: string;
38
38
  placeholder: string;
39
39
  readonly: boolean;
40
- autocomplete: string;
41
40
  ariaLabel: string;
41
+ autocomplete: string;
42
42
  alphanumeric: boolean;
43
43
  autoFocus: boolean;
44
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -52,6 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
52
52
  modelValue: string;
53
53
  placeholder: string;
54
54
  readonly: boolean;
55
+ ariaLabel: string;
55
56
  autocomplete: string;
56
57
  showToggle: boolean;
57
58
  showStrength: boolean;
@@ -64,7 +65,6 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
64
65
  weakLabel: string;
65
66
  mediumLabel: string;
66
67
  strongLabel: string;
67
- ariaLabel: string;
68
68
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
69
69
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
70
  export default _default;
@@ -0,0 +1,45 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: string;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ readonly?: boolean;
8
+ debounce?: number;
9
+ loading?: boolean;
10
+ clearable?: boolean;
11
+ size?: Size;
12
+ variant?: Variant;
13
+ ariaLabel?: string;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ search: (...args: any[]) => void;
17
+ blur: (...args: any[]) => void;
18
+ change: (...args: any[]) => void;
19
+ focus: (...args: any[]) => void;
20
+ input: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
+ clear: (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onSearch?: ((...args: any[]) => any) | undefined;
25
+ onBlur?: ((...args: any[]) => any) | undefined;
26
+ onChange?: ((...args: any[]) => any) | undefined;
27
+ onFocus?: ((...args: any[]) => any) | undefined;
28
+ onInput?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
+ onClear?: ((...args: any[]) => any) | undefined;
31
+ }>, {
32
+ disabled: boolean;
33
+ size: Size;
34
+ loading: boolean;
35
+ variant: Variant;
36
+ modelValue: string;
37
+ placeholder: string;
38
+ readonly: boolean;
39
+ debounce: number;
40
+ clearable: boolean;
41
+ ariaLabel: string;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
+ control: HTMLInputElement;
44
+ }, HTMLDivElement>;
45
+ export default _default;
@@ -52,12 +52,12 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
52
52
  modelValue: Array<OptionValue>;
53
53
  placeholder: string;
54
54
  readonly: boolean;
55
+ clearable: boolean;
55
56
  options: Array<OptionItem>;
56
57
  optionLabel: string;
57
58
  optionValue: string;
58
59
  loadingText: string;
59
60
  emptyText: string;
60
- clearable: boolean;
61
61
  maxTags: number;
62
62
  allowCustom: boolean;
63
63
  validateTag: (value: string) => boolean;
@@ -69,11 +69,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
69
69
  modelValue: TreeValue | TreeValue[];
70
70
  placeholder: string;
71
71
  readonly: boolean;
72
+ clearable: boolean;
72
73
  multiple: boolean;
73
74
  loadingText: string;
74
75
  emptyText: string;
75
76
  searchPlaceholder: string;
76
- clearable: boolean;
77
77
  expandOnClick: boolean;
78
78
  selectable: boolean;
79
79
  expandedKeys: Array<TreeValue>;
@@ -77,6 +77,40 @@ export type InputTokens = {
77
77
  fontSize?: string;
78
78
  };
79
79
  };
80
+ export type SearchInputTokens = {
81
+ gap?: string;
82
+ fontSize?: string;
83
+ padding?: string;
84
+ borderRadius?: string;
85
+ borderColor?: string;
86
+ backgroundColor?: string;
87
+ textColor?: string;
88
+ placeholderColor?: string;
89
+ focusBorderColor?: string;
90
+ focusRingShadow?: string;
91
+ hoverBorderColor?: string;
92
+ disabledOpacity?: string;
93
+ iconSize?: string;
94
+ iconColor?: string;
95
+ clearSize?: string;
96
+ clearRadius?: string;
97
+ clearHoverBackgroundColor?: string;
98
+ loadingSize?: string;
99
+ loadingBorderColor?: string;
100
+ loadingTopBorderColor?: string;
101
+ small?: {
102
+ padding?: string;
103
+ fontSize?: string;
104
+ iconSize?: string;
105
+ clearSize?: string;
106
+ };
107
+ large?: {
108
+ padding?: string;
109
+ fontSize?: string;
110
+ iconSize?: string;
111
+ clearSize?: string;
112
+ };
113
+ };
80
114
  export type PasswordInputTokens = {
81
115
  gap?: string;
82
116
  fontSize?: string;
@@ -1440,6 +1474,7 @@ export type ThemeComponentTokens = {
1440
1474
  tabs?: TabsTokens;
1441
1475
  accordion?: AccordionTokens;
1442
1476
  input?: InputTokens;
1477
+ searchInput?: SearchInputTokens;
1443
1478
  passwordInput?: PasswordInputTokens;
1444
1479
  otpInput?: OtpInputTokens;
1445
1480
  colorPicker?: ColorPickerTokens;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ fontSize: string;
4
+ padding: string;
5
+ borderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ textColor: string;
9
+ placeholderColor: string;
10
+ focusBorderColor: string;
11
+ focusRingShadow: string;
12
+ hoverBorderColor: string;
13
+ disabledOpacity: string;
14
+ iconSize: string;
15
+ iconColor: string;
16
+ clearSize: string;
17
+ clearRadius: string;
18
+ clearHoverBackgroundColor: string;
19
+ loadingSize: string;
20
+ loadingBorderColor: string;
21
+ loadingTopBorderColor: string;
22
+ small: {
23
+ padding: string;
24
+ fontSize: string;
25
+ iconSize: string;
26
+ clearSize: string;
27
+ };
28
+ large: {
29
+ padding: string;
30
+ fontSize: string;
31
+ iconSize: string;
32
+ clearSize: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -234,6 +234,40 @@ declare const _default: {
234
234
  fontSize: string;
235
235
  };
236
236
  };
237
+ searchInput: {
238
+ gap: string;
239
+ fontSize: string;
240
+ padding: string;
241
+ borderRadius: string;
242
+ borderColor: string;
243
+ backgroundColor: string;
244
+ textColor: string;
245
+ placeholderColor: string;
246
+ focusBorderColor: string;
247
+ focusRingShadow: string;
248
+ hoverBorderColor: string;
249
+ disabledOpacity: string;
250
+ iconSize: string;
251
+ iconColor: string;
252
+ clearSize: string;
253
+ clearRadius: string;
254
+ clearHoverBackgroundColor: string;
255
+ loadingSize: string;
256
+ loadingBorderColor: string;
257
+ loadingTopBorderColor: string;
258
+ small: {
259
+ padding: string;
260
+ fontSize: string;
261
+ iconSize: string;
262
+ clearSize: string;
263
+ };
264
+ large: {
265
+ padding: string;
266
+ fontSize: string;
267
+ iconSize: string;
268
+ clearSize: string;
269
+ };
270
+ };
237
271
  passwordInput: {
238
272
  gap: string;
239
273
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.50.0",
3
+ "version": "0.51.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",