@codemonster-ru/vueforge 0.56.0 → 0.57.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,67 @@
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?: OptionValue;
11
+ inputValue?: string;
12
+ options?: Array<OptionItem>;
13
+ optionLabel?: string;
14
+ optionValue?: string;
15
+ placeholder?: string;
16
+ disabled?: boolean;
17
+ readonly?: boolean;
18
+ loading?: boolean;
19
+ loadingText?: string;
20
+ emptyText?: string;
21
+ filter?: boolean;
22
+ strict?: boolean;
23
+ allowCreate?: boolean;
24
+ clearable?: boolean;
25
+ variant?: Variant;
26
+ size?: Size;
27
+ }
28
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ search: (...args: any[]) => void;
30
+ blur: (...args: any[]) => void;
31
+ change: (...args: any[]) => void;
32
+ focus: (...args: any[]) => void;
33
+ "update:modelValue": (...args: any[]) => void;
34
+ "update:inputValue": (...args: any[]) => void;
35
+ create: (...args: any[]) => void;
36
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
37
+ onSearch?: ((...args: any[]) => any) | undefined;
38
+ onBlur?: ((...args: any[]) => any) | undefined;
39
+ onChange?: ((...args: any[]) => any) | undefined;
40
+ onFocus?: ((...args: any[]) => any) | undefined;
41
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
42
+ "onUpdate:inputValue"?: ((...args: any[]) => any) | undefined;
43
+ onCreate?: ((...args: any[]) => any) | undefined;
44
+ }>, {
45
+ filter: boolean;
46
+ disabled: boolean;
47
+ strict: boolean;
48
+ size: Size;
49
+ loading: boolean;
50
+ variant: Variant;
51
+ modelValue: OptionValue;
52
+ placeholder: string;
53
+ readonly: boolean;
54
+ clearable: boolean;
55
+ loadingText: string;
56
+ emptyText: string;
57
+ options: Array<OptionItem>;
58
+ optionLabel: string;
59
+ optionValue: string;
60
+ inputValue: string;
61
+ allowCreate: boolean;
62
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
63
+ root: HTMLDivElement;
64
+ control: HTMLInputElement;
65
+ panel: HTMLDivElement;
66
+ }, HTMLDivElement>;
67
+ export default _default;
@@ -677,6 +677,49 @@ export type AutocompleteTokens = {
677
677
  fontSize?: string;
678
678
  };
679
679
  };
680
+ export type ComboboxTokens = {
681
+ minWidth?: string;
682
+ fontSize?: string;
683
+ controlGap?: string;
684
+ chevronSize?: string;
685
+ padding?: string;
686
+ borderRadius?: string;
687
+ borderColor?: string;
688
+ backgroundColor?: string;
689
+ textColor?: string;
690
+ placeholderColor?: string;
691
+ focusBorderColor?: string;
692
+ hoverBorderColor?: string;
693
+ disabledOpacity?: string;
694
+ panelBackgroundColor?: string;
695
+ panelBorderColor?: string;
696
+ panelPadding?: string;
697
+ panelMaxHeight?: string;
698
+ panelRadiusOffset?: string;
699
+ panelShadow?: string;
700
+ focusRingShadow?: string;
701
+ optionPadding?: string;
702
+ optionBorderRadius?: string;
703
+ optionHoverBackgroundColor?: string;
704
+ optionActiveBackgroundColor?: string;
705
+ optionActiveTextColor?: string;
706
+ optionHighlightedBackgroundColor?: string;
707
+ emptyPadding?: string;
708
+ emptyColor?: string;
709
+ loadingPadding?: string;
710
+ loadingColor?: string;
711
+ clearSize?: string;
712
+ clearRadius?: string;
713
+ clearHoverBackgroundColor?: string;
714
+ small?: {
715
+ padding?: string;
716
+ fontSize?: string;
717
+ };
718
+ large?: {
719
+ padding?: string;
720
+ fontSize?: string;
721
+ };
722
+ };
680
723
  export type MultiSelectTokens = {
681
724
  minWidth?: string;
682
725
  fontSize?: string;
@@ -1667,6 +1710,7 @@ export type ThemeComponentTokens = {
1667
1710
  commandPalette?: CommandPaletteTokens;
1668
1711
  select?: SelectTokens;
1669
1712
  autocomplete?: AutocompleteTokens;
1713
+ combobox?: ComboboxTokens;
1670
1714
  multiselect?: MultiSelectTokens;
1671
1715
  taginput?: TagInputTokens;
1672
1716
  datepicker?: DatePickerTokens;
@@ -0,0 +1,44 @@
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
+ clearSize: string;
33
+ clearRadius: string;
34
+ clearHoverBackgroundColor: string;
35
+ small: {
36
+ padding: string;
37
+ fontSize: string;
38
+ };
39
+ large: {
40
+ padding: string;
41
+ fontSize: string;
42
+ };
43
+ };
44
+ export default _default;
@@ -831,6 +831,49 @@ declare const _default: {
831
831
  fontSize: string;
832
832
  };
833
833
  };
834
+ combobox: {
835
+ minWidth: string;
836
+ fontSize: string;
837
+ controlGap: string;
838
+ chevronSize: string;
839
+ padding: string;
840
+ borderRadius: string;
841
+ borderColor: string;
842
+ backgroundColor: string;
843
+ textColor: string;
844
+ placeholderColor: string;
845
+ focusBorderColor: string;
846
+ hoverBorderColor: string;
847
+ disabledOpacity: string;
848
+ panelBackgroundColor: string;
849
+ panelBorderColor: string;
850
+ panelPadding: string;
851
+ panelMaxHeight: string;
852
+ panelRadiusOffset: string;
853
+ panelShadow: string;
854
+ focusRingShadow: string;
855
+ optionPadding: string;
856
+ optionBorderRadius: string;
857
+ optionHoverBackgroundColor: string;
858
+ optionActiveBackgroundColor: string;
859
+ optionActiveTextColor: string;
860
+ optionHighlightedBackgroundColor: string;
861
+ emptyPadding: string;
862
+ emptyColor: string;
863
+ loadingPadding: string;
864
+ loadingColor: string;
865
+ clearSize: string;
866
+ clearRadius: string;
867
+ clearHoverBackgroundColor: string;
868
+ small: {
869
+ padding: string;
870
+ fontSize: string;
871
+ };
872
+ large: {
873
+ padding: string;
874
+ fontSize: string;
875
+ };
876
+ };
834
877
  multiselect: {
835
878
  minWidth: string;
836
879
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",