@codemonster-ru/vueforge 0.44.0 → 0.46.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.
@@ -43,12 +43,12 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
43
43
  modelValue: number | null;
44
44
  placeholder: string;
45
45
  readonly: boolean;
46
+ ariaLabel: string;
46
47
  min: number;
47
48
  max: number;
48
49
  step: number;
49
50
  precision: number;
50
51
  controls: boolean;
51
- ariaLabel: string;
52
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
53
53
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
54
  export default _default;
@@ -0,0 +1,75 @@
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
+ size?: Size;
9
+ variant?: Variant;
10
+ autocomplete?: string;
11
+ showToggle?: boolean;
12
+ showStrength?: boolean;
13
+ showCapsLockHint?: boolean;
14
+ revealLabel?: string;
15
+ hideLabel?: string;
16
+ revealText?: string;
17
+ hideText?: string;
18
+ capsLockHint?: string;
19
+ weakLabel?: string;
20
+ mediumLabel?: string;
21
+ strongLabel?: string;
22
+ ariaLabel?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ prefix?(_: {}): any;
28
+ suffix?(_: {}): any;
29
+ };
30
+ refs: {};
31
+ rootEl: HTMLDivElement;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ blur: (...args: any[]) => void;
36
+ change: (...args: any[]) => void;
37
+ focus: (...args: any[]) => void;
38
+ input: (...args: any[]) => void;
39
+ "update:modelValue": (...args: any[]) => void;
40
+ toggleVisibility: (...args: any[]) => void;
41
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
42
+ onBlur?: ((...args: any[]) => any) | undefined;
43
+ onChange?: ((...args: any[]) => any) | undefined;
44
+ onFocus?: ((...args: any[]) => any) | undefined;
45
+ onInput?: ((...args: any[]) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
47
+ onToggleVisibility?: ((...args: any[]) => any) | undefined;
48
+ }>, {
49
+ disabled: boolean;
50
+ size: Size;
51
+ variant: Variant;
52
+ modelValue: string;
53
+ placeholder: string;
54
+ readonly: boolean;
55
+ autocomplete: string;
56
+ showToggle: boolean;
57
+ showStrength: boolean;
58
+ showCapsLockHint: boolean;
59
+ revealLabel: string;
60
+ hideLabel: string;
61
+ revealText: string;
62
+ hideText: string;
63
+ capsLockHint: string;
64
+ weakLabel: string;
65
+ mediumLabel: string;
66
+ strongLabel: string;
67
+ ariaLabel: string;
68
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
69
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
+ export default _default;
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -36,8 +36,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
36
36
  size: RatingSize;
37
37
  modelValue: number;
38
38
  readonly: boolean;
39
- max: number;
40
39
  ariaLabel: string;
40
+ max: number;
41
41
  allowHalf: boolean;
42
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
43
  rootRef: HTMLDivElement;
@@ -37,10 +37,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
37
37
  variant: Variant;
38
38
  modelValue: number | [number, number];
39
39
  range: boolean;
40
+ ariaLabel: string;
40
41
  min: number;
41
42
  max: number;
42
43
  step: number;
43
- ariaLabel: string;
44
44
  showValue: boolean;
45
45
  marks: Array<SliderMark>;
46
46
  ariaLabelStart: string;
@@ -0,0 +1,69 @@
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
+ disabled?: boolean;
16
+ readonly?: boolean;
17
+ loading?: boolean;
18
+ loadingText?: string;
19
+ emptyText?: string;
20
+ filter?: boolean;
21
+ allowCustom?: boolean;
22
+ maxTags?: number;
23
+ clearable?: boolean;
24
+ variant?: Variant;
25
+ size?: Size;
26
+ validateTag?: (value: string) => boolean;
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
+ reject: (...args: any[]) => void;
35
+ add: (...args: any[]) => void;
36
+ remove: (...args: any[]) => void;
37
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
38
+ onSearch?: ((...args: any[]) => any) | undefined;
39
+ onBlur?: ((...args: any[]) => any) | undefined;
40
+ onChange?: ((...args: any[]) => any) | undefined;
41
+ onFocus?: ((...args: any[]) => any) | undefined;
42
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
+ onReject?: ((...args: any[]) => any) | undefined;
44
+ onAdd?: ((...args: any[]) => any) | undefined;
45
+ onRemove?: ((...args: any[]) => any) | undefined;
46
+ }>, {
47
+ filter: boolean;
48
+ disabled: boolean;
49
+ size: Size;
50
+ loading: boolean;
51
+ variant: Variant;
52
+ modelValue: Array<OptionValue>;
53
+ placeholder: string;
54
+ readonly: boolean;
55
+ options: Array<OptionItem>;
56
+ optionLabel: string;
57
+ optionValue: string;
58
+ loadingText: string;
59
+ emptyText: string;
60
+ clearable: boolean;
61
+ maxTags: number;
62
+ allowCustom: boolean;
63
+ validateTag: (value: string) => boolean;
64
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
65
+ root: HTMLDivElement;
66
+ control: HTMLInputElement;
67
+ panel: HTMLDivElement;
68
+ }, HTMLDivElement>;
69
+ export default _default;
@@ -77,6 +77,41 @@ export type InputTokens = {
77
77
  fontSize?: string;
78
78
  };
79
79
  };
80
+ export type PasswordInputTokens = {
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
+ toggleSize?: string;
94
+ toggleRadius?: string;
95
+ toggleColor?: string;
96
+ toggleHoverBackgroundColor?: string;
97
+ strengthGap?: string;
98
+ strengthTrackHeight?: string;
99
+ strengthTrackRadius?: string;
100
+ strengthTrackBackgroundColor?: string;
101
+ strengthWeakColor?: string;
102
+ strengthMediumColor?: string;
103
+ strengthStrongColor?: string;
104
+ metaFontSize?: string;
105
+ hintColor?: string;
106
+ small?: {
107
+ padding?: string;
108
+ fontSize?: string;
109
+ };
110
+ large?: {
111
+ padding?: string;
112
+ fontSize?: string;
113
+ };
114
+ };
80
115
  export type NumberInputTokens = {
81
116
  gap?: string;
82
117
  fontSize?: string;
@@ -498,6 +533,62 @@ export type MultiSelectTokens = {
498
533
  fontSize?: string;
499
534
  };
500
535
  };
536
+ export type TagInputTokens = {
537
+ minWidth?: string;
538
+ minHeight?: string;
539
+ fontSize?: string;
540
+ controlGap?: string;
541
+ chevronSize?: string;
542
+ padding?: string;
543
+ borderRadius?: string;
544
+ borderColor?: string;
545
+ backgroundColor?: string;
546
+ textColor?: string;
547
+ placeholderColor?: string;
548
+ focusBorderColor?: string;
549
+ hoverBorderColor?: string;
550
+ disabledOpacity?: string;
551
+ panelBackgroundColor?: string;
552
+ panelBorderColor?: string;
553
+ panelPadding?: string;
554
+ panelMaxHeight?: string;
555
+ panelRadiusOffset?: string;
556
+ panelShadow?: string;
557
+ focusRingShadow?: string;
558
+ optionPadding?: string;
559
+ optionBorderRadius?: string;
560
+ optionHoverBackgroundColor?: string;
561
+ optionHighlightedBackgroundColor?: string;
562
+ emptyPadding?: string;
563
+ emptyColor?: string;
564
+ loadingPadding?: string;
565
+ loadingColor?: string;
566
+ inputMinWidth?: string;
567
+ chipGap?: string;
568
+ chipPadding?: string;
569
+ chipRadius?: string;
570
+ chipBackgroundColor?: string;
571
+ chipTextColor?: string;
572
+ chipFontSize?: string;
573
+ chipRemoveSize?: string;
574
+ chipRemoveRadius?: string;
575
+ chipRemoveHoverBackgroundColor?: string;
576
+ clearSize?: string;
577
+ clearRadius?: string;
578
+ clearHoverBackgroundColor?: string;
579
+ small?: {
580
+ padding?: string;
581
+ fontSize?: string;
582
+ chipPadding?: string;
583
+ chipFontSize?: string;
584
+ };
585
+ large?: {
586
+ padding?: string;
587
+ fontSize?: string;
588
+ chipPadding?: string;
589
+ chipFontSize?: string;
590
+ };
591
+ };
501
592
  export type DatePickerTokens = {
502
593
  minWidth?: string;
503
594
  fontSize?: string;
@@ -1201,6 +1292,7 @@ export type ThemeComponentTokens = {
1201
1292
  tabs?: TabsTokens;
1202
1293
  accordion?: AccordionTokens;
1203
1294
  input?: InputTokens;
1295
+ passwordInput?: PasswordInputTokens;
1204
1296
  numberInput?: NumberInputTokens;
1205
1297
  formField?: FormFieldTokens;
1206
1298
  textarea?: TextareaTokens;
@@ -1219,6 +1311,7 @@ export type ThemeComponentTokens = {
1219
1311
  select?: SelectTokens;
1220
1312
  autocomplete?: AutocompleteTokens;
1221
1313
  multiselect?: MultiSelectTokens;
1314
+ taginput?: TagInputTokens;
1222
1315
  datepicker?: DatePickerTokens;
1223
1316
  daterangepicker?: DateRangePickerTokens;
1224
1317
  timepicker?: TimePickerTokens;
@@ -0,0 +1,36 @@
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
+ toggleSize: string;
15
+ toggleRadius: string;
16
+ toggleColor: string;
17
+ toggleHoverBackgroundColor: string;
18
+ strengthGap: string;
19
+ strengthTrackHeight: string;
20
+ strengthTrackRadius: string;
21
+ strengthTrackBackgroundColor: string;
22
+ strengthWeakColor: string;
23
+ strengthMediumColor: string;
24
+ strengthStrongColor: string;
25
+ metaFontSize: string;
26
+ hintColor: string;
27
+ small: {
28
+ padding: string;
29
+ fontSize: string;
30
+ };
31
+ large: {
32
+ padding: string;
33
+ fontSize: string;
34
+ };
35
+ };
36
+ export default _default;
@@ -0,0 +1,57 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ minHeight: string;
4
+ fontSize: string;
5
+ controlGap: string;
6
+ chevronSize: string;
7
+ padding: string;
8
+ borderRadius: string;
9
+ borderColor: string;
10
+ backgroundColor: string;
11
+ textColor: string;
12
+ placeholderColor: string;
13
+ focusBorderColor: string;
14
+ hoverBorderColor: string;
15
+ disabledOpacity: string;
16
+ panelBackgroundColor: string;
17
+ panelBorderColor: string;
18
+ panelPadding: string;
19
+ panelMaxHeight: string;
20
+ panelRadiusOffset: string;
21
+ panelShadow: string;
22
+ focusRingShadow: string;
23
+ optionPadding: string;
24
+ optionBorderRadius: string;
25
+ optionHoverBackgroundColor: string;
26
+ optionHighlightedBackgroundColor: string;
27
+ emptyPadding: string;
28
+ emptyColor: string;
29
+ loadingPadding: string;
30
+ loadingColor: string;
31
+ inputMinWidth: string;
32
+ chipGap: string;
33
+ chipPadding: string;
34
+ chipRadius: string;
35
+ chipBackgroundColor: string;
36
+ chipTextColor: string;
37
+ chipFontSize: string;
38
+ chipRemoveSize: string;
39
+ chipRemoveRadius: string;
40
+ chipRemoveHoverBackgroundColor: string;
41
+ clearSize: string;
42
+ clearRadius: string;
43
+ clearHoverBackgroundColor: string;
44
+ small: {
45
+ padding: string;
46
+ fontSize: string;
47
+ chipPadding: string;
48
+ chipFontSize: string;
49
+ };
50
+ large: {
51
+ padding: string;
52
+ fontSize: string;
53
+ chipPadding: string;
54
+ chipFontSize: string;
55
+ };
56
+ };
57
+ export default _default;
@@ -234,6 +234,41 @@ declare const _default: {
234
234
  fontSize: string;
235
235
  };
236
236
  };
237
+ passwordInput: {
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
+ toggleSize: string;
251
+ toggleRadius: string;
252
+ toggleColor: string;
253
+ toggleHoverBackgroundColor: string;
254
+ strengthGap: string;
255
+ strengthTrackHeight: string;
256
+ strengthTrackRadius: string;
257
+ strengthTrackBackgroundColor: string;
258
+ strengthWeakColor: string;
259
+ strengthMediumColor: string;
260
+ strengthStrongColor: string;
261
+ metaFontSize: string;
262
+ hintColor: string;
263
+ small: {
264
+ padding: string;
265
+ fontSize: string;
266
+ };
267
+ large: {
268
+ padding: string;
269
+ fontSize: string;
270
+ };
271
+ };
237
272
  numberInput: {
238
273
  gap: string;
239
274
  fontSize: string;
@@ -652,6 +687,62 @@ declare const _default: {
652
687
  fontSize: string;
653
688
  };
654
689
  };
690
+ taginput: {
691
+ minWidth: string;
692
+ minHeight: string;
693
+ fontSize: string;
694
+ controlGap: string;
695
+ chevronSize: string;
696
+ padding: string;
697
+ borderRadius: string;
698
+ borderColor: string;
699
+ backgroundColor: string;
700
+ textColor: string;
701
+ placeholderColor: string;
702
+ focusBorderColor: string;
703
+ hoverBorderColor: string;
704
+ disabledOpacity: string;
705
+ panelBackgroundColor: string;
706
+ panelBorderColor: string;
707
+ panelPadding: string;
708
+ panelMaxHeight: string;
709
+ panelRadiusOffset: string;
710
+ panelShadow: string;
711
+ focusRingShadow: string;
712
+ optionPadding: string;
713
+ optionBorderRadius: string;
714
+ optionHoverBackgroundColor: string;
715
+ optionHighlightedBackgroundColor: string;
716
+ emptyPadding: string;
717
+ emptyColor: string;
718
+ loadingPadding: string;
719
+ loadingColor: string;
720
+ inputMinWidth: string;
721
+ chipGap: string;
722
+ chipPadding: string;
723
+ chipRadius: string;
724
+ chipBackgroundColor: string;
725
+ chipTextColor: string;
726
+ chipFontSize: string;
727
+ chipRemoveSize: string;
728
+ chipRemoveRadius: string;
729
+ chipRemoveHoverBackgroundColor: string;
730
+ clearSize: string;
731
+ clearRadius: string;
732
+ clearHoverBackgroundColor: string;
733
+ small: {
734
+ padding: string;
735
+ fontSize: string;
736
+ chipPadding: string;
737
+ chipFontSize: string;
738
+ };
739
+ large: {
740
+ padding: string;
741
+ fontSize: string;
742
+ chipPadding: string;
743
+ chipFontSize: string;
744
+ };
745
+ };
655
746
  datepicker: {
656
747
  minWidth: string;
657
748
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.44.0",
3
+ "version": "0.46.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",