@codemonster-ru/vueforge 0.18.0 → 0.19.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.
@@ -0,0 +1,60 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type OptionValue = string | number;
4
+ interface OptionItem {
5
+ label: string;
6
+ value: OptionValue;
7
+ disabled?: boolean;
8
+ }
9
+ interface Props {
10
+ modelValue?: Array<OptionValue>;
11
+ options?: Array<OptionItem>;
12
+ optionLabel?: string;
13
+ optionValue?: string;
14
+ placeholder?: string;
15
+ searchPlaceholder?: string;
16
+ disabled?: boolean;
17
+ readonly?: boolean;
18
+ loading?: boolean;
19
+ loadingText?: string;
20
+ emptyText?: string;
21
+ filter?: boolean;
22
+ clearable?: boolean;
23
+ variant?: Variant;
24
+ size?: Size;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ search: (...args: any[]) => void;
28
+ blur: (...args: any[]) => void;
29
+ change: (...args: any[]) => void;
30
+ focus: (...args: any[]) => void;
31
+ "update:modelValue": (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
33
+ onSearch?: ((...args: any[]) => any) | undefined;
34
+ onBlur?: ((...args: any[]) => any) | undefined;
35
+ onChange?: ((...args: any[]) => any) | undefined;
36
+ onFocus?: ((...args: any[]) => any) | undefined;
37
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
+ }>, {
39
+ filter: boolean;
40
+ disabled: boolean;
41
+ size: Size;
42
+ loading: boolean;
43
+ variant: Variant;
44
+ modelValue: Array<OptionValue>;
45
+ placeholder: string;
46
+ readonly: boolean;
47
+ options: Array<OptionItem>;
48
+ optionLabel: string;
49
+ optionValue: string;
50
+ loadingText: string;
51
+ emptyText: string;
52
+ searchPlaceholder: string;
53
+ clearable: boolean;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
55
+ root: HTMLDivElement;
56
+ trigger: HTMLButtonElement;
57
+ panel: HTMLDivElement;
58
+ searchInput: HTMLInputElement;
59
+ }, HTMLDivElement>;
60
+ export default _default;
@@ -255,6 +255,52 @@ export type AutocompleteTokens = {
255
255
  fontSize?: string;
256
256
  };
257
257
  };
258
+ export type MultiSelectTokens = {
259
+ minWidth?: string;
260
+ fontSize?: string;
261
+ controlGap?: string;
262
+ chevronSize?: string;
263
+ padding?: string;
264
+ borderRadius?: string;
265
+ borderColor?: string;
266
+ backgroundColor?: string;
267
+ textColor?: string;
268
+ placeholderColor?: string;
269
+ focusBorderColor?: string;
270
+ hoverBorderColor?: string;
271
+ disabledOpacity?: string;
272
+ panelBackgroundColor?: string;
273
+ panelBorderColor?: string;
274
+ panelPadding?: string;
275
+ panelMaxHeight?: string;
276
+ panelRadiusOffset?: string;
277
+ panelShadow?: string;
278
+ focusRingShadow?: string;
279
+ optionPadding?: string;
280
+ optionBorderRadius?: string;
281
+ optionHoverBackgroundColor?: string;
282
+ optionActiveBackgroundColor?: string;
283
+ optionActiveTextColor?: string;
284
+ optionHighlightedBackgroundColor?: string;
285
+ emptyPadding?: string;
286
+ emptyColor?: string;
287
+ loadingPadding?: string;
288
+ loadingColor?: string;
289
+ searchPadding?: string;
290
+ searchBorderColor?: string;
291
+ searchBorderRadius?: string;
292
+ clearSize?: string;
293
+ clearRadius?: string;
294
+ clearHoverBackgroundColor?: string;
295
+ small?: {
296
+ padding?: string;
297
+ fontSize?: string;
298
+ };
299
+ large?: {
300
+ padding?: string;
301
+ fontSize?: string;
302
+ };
303
+ };
258
304
  export type DatePickerTokens = {
259
305
  minWidth?: string;
260
306
  fontSize?: string;
@@ -447,6 +493,7 @@ export type ThemeComponentTokens = {
447
493
  popover?: PopoverTokens;
448
494
  select?: SelectTokens;
449
495
  autocomplete?: AutocompleteTokens;
496
+ multiselect?: MultiSelectTokens;
450
497
  datepicker?: DatePickerTokens;
451
498
  switch?: SwitchTokens;
452
499
  tooltip?: TooltipTokens;
@@ -0,0 +1,47 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ fontSize: string;
4
+ controlGap: string;
5
+ chevronSize: string;
6
+ padding: string;
7
+ borderRadius: string;
8
+ borderColor: string;
9
+ backgroundColor: string;
10
+ textColor: string;
11
+ placeholderColor: string;
12
+ focusBorderColor: string;
13
+ hoverBorderColor: string;
14
+ disabledOpacity: string;
15
+ panelBackgroundColor: string;
16
+ panelBorderColor: string;
17
+ panelPadding: string;
18
+ panelMaxHeight: string;
19
+ panelRadiusOffset: string;
20
+ panelShadow: string;
21
+ focusRingShadow: string;
22
+ optionPadding: string;
23
+ optionBorderRadius: string;
24
+ optionHoverBackgroundColor: string;
25
+ optionActiveBackgroundColor: string;
26
+ optionActiveTextColor: string;
27
+ optionHighlightedBackgroundColor: string;
28
+ emptyPadding: string;
29
+ emptyColor: string;
30
+ loadingPadding: string;
31
+ loadingColor: string;
32
+ searchPadding: string;
33
+ searchBorderColor: string;
34
+ searchBorderRadius: string;
35
+ clearSize: string;
36
+ clearRadius: string;
37
+ clearHoverBackgroundColor: string;
38
+ small: {
39
+ padding: string;
40
+ fontSize: string;
41
+ };
42
+ large: {
43
+ padding: string;
44
+ fontSize: string;
45
+ };
46
+ };
47
+ export default _default;
@@ -409,6 +409,52 @@ declare const _default: {
409
409
  fontSize: string;
410
410
  };
411
411
  };
412
+ multiselect: {
413
+ minWidth: string;
414
+ fontSize: string;
415
+ controlGap: string;
416
+ chevronSize: string;
417
+ padding: string;
418
+ borderRadius: string;
419
+ borderColor: string;
420
+ backgroundColor: string;
421
+ textColor: string;
422
+ placeholderColor: string;
423
+ focusBorderColor: string;
424
+ hoverBorderColor: string;
425
+ disabledOpacity: string;
426
+ panelBackgroundColor: string;
427
+ panelBorderColor: string;
428
+ panelPadding: string;
429
+ panelMaxHeight: string;
430
+ panelRadiusOffset: string;
431
+ panelShadow: string;
432
+ focusRingShadow: string;
433
+ optionPadding: string;
434
+ optionBorderRadius: string;
435
+ optionHoverBackgroundColor: string;
436
+ optionActiveBackgroundColor: string;
437
+ optionActiveTextColor: string;
438
+ optionHighlightedBackgroundColor: string;
439
+ emptyPadding: string;
440
+ emptyColor: string;
441
+ loadingPadding: string;
442
+ loadingColor: string;
443
+ searchPadding: string;
444
+ searchBorderColor: string;
445
+ searchBorderRadius: string;
446
+ clearSize: string;
447
+ clearRadius: string;
448
+ clearHoverBackgroundColor: string;
449
+ small: {
450
+ padding: string;
451
+ fontSize: string;
452
+ };
453
+ large: {
454
+ padding: string;
455
+ fontSize: string;
456
+ };
457
+ };
412
458
  datepicker: {
413
459
  minWidth: string;
414
460
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",