@codemonster-ru/vueforge 0.32.0 → 0.34.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,48 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type DateRangeValue = [string | null, string | null] | null;
4
+ interface Props {
5
+ modelValue?: DateRangeValue;
6
+ placeholder?: string;
7
+ startPlaceholder?: string;
8
+ endPlaceholder?: string;
9
+ separator?: string;
10
+ disabled?: boolean;
11
+ readonly?: boolean;
12
+ min?: string;
13
+ max?: string;
14
+ locale?: string;
15
+ firstDayOfWeek?: number;
16
+ variant?: Variant;
17
+ size?: Size;
18
+ }
19
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ blur: (...args: any[]) => void;
21
+ change: (...args: any[]) => void;
22
+ focus: (...args: any[]) => void;
23
+ "update:modelValue": (...args: any[]) => void;
24
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
25
+ onBlur?: ((...args: any[]) => any) | undefined;
26
+ onChange?: ((...args: any[]) => any) | undefined;
27
+ onFocus?: ((...args: any[]) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }>, {
30
+ disabled: boolean;
31
+ separator: string;
32
+ size: Size;
33
+ variant: Variant;
34
+ modelValue: DateRangeValue;
35
+ placeholder: string;
36
+ readonly: boolean;
37
+ min: string;
38
+ max: string;
39
+ locale: string;
40
+ firstDayOfWeek: number;
41
+ startPlaceholder: string;
42
+ endPlaceholder: string;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
44
+ root: HTMLDivElement;
45
+ control: HTMLButtonElement;
46
+ panel: HTMLDivElement;
47
+ }, HTMLDivElement>;
48
+ export default _default;
@@ -0,0 +1,68 @@
1
+ type StepperOrientation = 'horizontal' | 'vertical';
2
+ type StepperSize = 'small' | 'normal' | 'large';
3
+ type StepperStatus = 'completed' | 'active' | 'upcoming' | 'error';
4
+ type StepperValue = string | number;
5
+ export interface StepperStep {
6
+ label?: string;
7
+ description?: string;
8
+ value?: StepperValue;
9
+ disabled?: boolean;
10
+ status?: StepperStatus;
11
+ }
12
+ interface Props {
13
+ modelValue?: StepperValue;
14
+ steps?: Array<StepperStep>;
15
+ orientation?: StepperOrientation;
16
+ size?: StepperSize;
17
+ clickable?: boolean;
18
+ ariaLabel?: string;
19
+ ariaLabelledby?: string;
20
+ }
21
+ declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
23
+ slots: {
24
+ indicator?(_: {
25
+ step: StepperStep;
26
+ index: number;
27
+ status: StepperStatus;
28
+ active: boolean;
29
+ completed: boolean;
30
+ upcoming: boolean;
31
+ error: boolean;
32
+ }): any;
33
+ step?(_: {
34
+ step: StepperStep;
35
+ index: number;
36
+ status: StepperStatus;
37
+ active: boolean;
38
+ completed: boolean;
39
+ upcoming: boolean;
40
+ error: boolean;
41
+ }): any;
42
+ };
43
+ refs: {};
44
+ rootEl: HTMLElement;
45
+ };
46
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ change: (...args: any[]) => void;
49
+ "update:modelValue": (...args: any[]) => void;
50
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
51
+ onChange?: ((...args: any[]) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
+ }>, {
54
+ orientation: StepperOrientation;
55
+ size: StepperSize;
56
+ modelValue: StepperValue;
57
+ ariaLabel: string;
58
+ ariaLabelledby: string;
59
+ steps: Array<StepperStep>;
60
+ clickable: boolean;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
62
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
63
+ export default _default;
64
+ type __VLS_WithTemplateSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
@@ -432,6 +432,59 @@ export type DatePickerTokens = {
432
432
  daySize?: string;
433
433
  };
434
434
  };
435
+ export type DateRangePickerTokens = {
436
+ minWidth?: string;
437
+ fontSize?: string;
438
+ controlGap?: string;
439
+ chevronSize?: string;
440
+ padding?: string;
441
+ borderRadius?: string;
442
+ borderColor?: string;
443
+ backgroundColor?: string;
444
+ textColor?: string;
445
+ placeholderColor?: string;
446
+ focusBorderColor?: string;
447
+ hoverBorderColor?: string;
448
+ disabledOpacity?: string;
449
+ panelWidth?: string;
450
+ panelBackgroundColor?: string;
451
+ panelBorderColor?: string;
452
+ panelPadding?: string;
453
+ panelRadiusOffset?: string;
454
+ panelShadow?: string;
455
+ focusRingShadow?: string;
456
+ headerGap?: string;
457
+ headerPadding?: string;
458
+ monthLabelFontSize?: string;
459
+ monthLabelFontWeight?: string;
460
+ navButtonSize?: string;
461
+ navButtonRadius?: string;
462
+ navButtonFontSize?: string;
463
+ weekdayColor?: string;
464
+ weekdayFontSize?: string;
465
+ weekdaysMarginBottom?: string;
466
+ daysGap?: string;
467
+ daySize?: string;
468
+ dayFontSize?: string;
469
+ dayBorderRadius?: string;
470
+ dayHoverBackgroundColor?: string;
471
+ daySelectedBackgroundColor?: string;
472
+ daySelectedTextColor?: string;
473
+ dayRangeBackgroundColor?: string;
474
+ dayRangeTextColor?: string;
475
+ dayMutedColor?: string;
476
+ dayTodayBorderColor?: string;
477
+ small?: {
478
+ padding?: string;
479
+ fontSize?: string;
480
+ daySize?: string;
481
+ };
482
+ large?: {
483
+ padding?: string;
484
+ fontSize?: string;
485
+ daySize?: string;
486
+ };
487
+ };
435
488
  export type PaginationTokens = {
436
489
  gap?: string;
437
490
  itemMinWidth?: string;
@@ -616,6 +669,50 @@ export type SliderTokens = {
616
669
  valueFontSize?: string;
617
670
  };
618
671
  };
672
+ export type StepperTokens = {
673
+ gap?: string;
674
+ itemGap?: string;
675
+ lineThickness?: string;
676
+ lineLength?: string;
677
+ lineColor?: string;
678
+ indicatorSize?: string;
679
+ indicatorBorderRadius?: string;
680
+ indicatorBorderWidth?: string;
681
+ indicatorFontSize?: string;
682
+ indicatorBackgroundColor?: string;
683
+ indicatorTextColor?: string;
684
+ indicatorBorderColor?: string;
685
+ activeIndicatorBackgroundColor?: string;
686
+ activeIndicatorTextColor?: string;
687
+ activeIndicatorBorderColor?: string;
688
+ completedIndicatorBackgroundColor?: string;
689
+ completedIndicatorTextColor?: string;
690
+ completedIndicatorBorderColor?: string;
691
+ errorIndicatorBackgroundColor?: string;
692
+ errorIndicatorTextColor?: string;
693
+ errorIndicatorBorderColor?: string;
694
+ labelFontSize?: string;
695
+ labelColor?: string;
696
+ descriptionFontSize?: string;
697
+ descriptionColor?: string;
698
+ disabledOpacity?: string;
699
+ small?: {
700
+ indicatorSize?: string;
701
+ indicatorFontSize?: string;
702
+ labelFontSize?: string;
703
+ descriptionFontSize?: string;
704
+ lineLength?: string;
705
+ itemGap?: string;
706
+ };
707
+ large?: {
708
+ indicatorSize?: string;
709
+ indicatorFontSize?: string;
710
+ labelFontSize?: string;
711
+ descriptionFontSize?: string;
712
+ lineLength?: string;
713
+ itemGap?: string;
714
+ };
715
+ };
619
716
  export type DataTableTokens = {
620
717
  borderColor?: string;
621
718
  borderRadius?: string;
@@ -863,12 +960,14 @@ export type ThemeComponentTokens = {
863
960
  autocomplete?: AutocompleteTokens;
864
961
  multiselect?: MultiSelectTokens;
865
962
  datepicker?: DatePickerTokens;
963
+ daterangepicker?: DateRangePickerTokens;
866
964
  pagination?: PaginationTokens;
867
965
  switch?: SwitchTokens;
868
966
  tooltip?: TooltipTokens;
869
967
  skeleton?: SkeletonTokens;
870
968
  progress?: ProgressTokens;
871
969
  slider?: SliderTokens;
970
+ stepper?: StepperTokens;
872
971
  datatable?: DataTableTokens;
873
972
  toast?: ToastTokens;
874
973
  alert?: AlertTokens;
@@ -0,0 +1,54 @@
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
+ panelWidth: string;
16
+ panelBackgroundColor: string;
17
+ panelBorderColor: string;
18
+ panelPadding: string;
19
+ panelRadiusOffset: string;
20
+ panelShadow: string;
21
+ focusRingShadow: string;
22
+ headerGap: string;
23
+ headerPadding: string;
24
+ monthLabelFontSize: string;
25
+ monthLabelFontWeight: string;
26
+ navButtonSize: string;
27
+ navButtonRadius: string;
28
+ navButtonFontSize: string;
29
+ weekdayColor: string;
30
+ weekdayFontSize: string;
31
+ weekdaysMarginBottom: string;
32
+ daysGap: string;
33
+ daySize: string;
34
+ dayFontSize: string;
35
+ dayBorderRadius: string;
36
+ dayHoverBackgroundColor: string;
37
+ daySelectedBackgroundColor: string;
38
+ daySelectedTextColor: string;
39
+ dayRangeBackgroundColor: string;
40
+ dayRangeTextColor: string;
41
+ dayMutedColor: string;
42
+ dayTodayBorderColor: string;
43
+ small: {
44
+ padding: string;
45
+ fontSize: string;
46
+ daySize: string;
47
+ };
48
+ large: {
49
+ padding: string;
50
+ fontSize: string;
51
+ daySize: string;
52
+ };
53
+ };
54
+ export default _default;
@@ -0,0 +1,45 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ itemGap: string;
4
+ lineThickness: string;
5
+ lineLength: string;
6
+ lineColor: string;
7
+ indicatorSize: string;
8
+ indicatorBorderRadius: string;
9
+ indicatorBorderWidth: string;
10
+ indicatorFontSize: string;
11
+ indicatorBackgroundColor: string;
12
+ indicatorTextColor: string;
13
+ indicatorBorderColor: string;
14
+ activeIndicatorBackgroundColor: string;
15
+ activeIndicatorTextColor: string;
16
+ activeIndicatorBorderColor: string;
17
+ completedIndicatorBackgroundColor: string;
18
+ completedIndicatorTextColor: string;
19
+ completedIndicatorBorderColor: string;
20
+ errorIndicatorBackgroundColor: string;
21
+ errorIndicatorTextColor: string;
22
+ errorIndicatorBorderColor: string;
23
+ labelFontSize: string;
24
+ labelColor: string;
25
+ descriptionFontSize: string;
26
+ descriptionColor: string;
27
+ disabledOpacity: string;
28
+ small: {
29
+ indicatorSize: string;
30
+ indicatorFontSize: string;
31
+ labelFontSize: string;
32
+ descriptionFontSize: string;
33
+ lineLength: string;
34
+ itemGap: string;
35
+ };
36
+ large: {
37
+ indicatorSize: string;
38
+ indicatorFontSize: string;
39
+ labelFontSize: string;
40
+ descriptionFontSize: string;
41
+ lineLength: string;
42
+ itemGap: string;
43
+ };
44
+ };
45
+ export default _default;
@@ -586,6 +586,59 @@ declare const _default: {
586
586
  daySize: string;
587
587
  };
588
588
  };
589
+ daterangepicker: {
590
+ minWidth: string;
591
+ fontSize: string;
592
+ controlGap: string;
593
+ chevronSize: string;
594
+ padding: string;
595
+ borderRadius: string;
596
+ borderColor: string;
597
+ backgroundColor: string;
598
+ textColor: string;
599
+ placeholderColor: string;
600
+ focusBorderColor: string;
601
+ hoverBorderColor: string;
602
+ disabledOpacity: string;
603
+ panelWidth: string;
604
+ panelBackgroundColor: string;
605
+ panelBorderColor: string;
606
+ panelPadding: string;
607
+ panelRadiusOffset: string;
608
+ panelShadow: string;
609
+ focusRingShadow: string;
610
+ headerGap: string;
611
+ headerPadding: string;
612
+ monthLabelFontSize: string;
613
+ monthLabelFontWeight: string;
614
+ navButtonSize: string;
615
+ navButtonRadius: string;
616
+ navButtonFontSize: string;
617
+ weekdayColor: string;
618
+ weekdayFontSize: string;
619
+ weekdaysMarginBottom: string;
620
+ daysGap: string;
621
+ daySize: string;
622
+ dayFontSize: string;
623
+ dayBorderRadius: string;
624
+ dayHoverBackgroundColor: string;
625
+ daySelectedBackgroundColor: string;
626
+ daySelectedTextColor: string;
627
+ dayRangeBackgroundColor: string;
628
+ dayRangeTextColor: string;
629
+ dayMutedColor: string;
630
+ dayTodayBorderColor: string;
631
+ small: {
632
+ padding: string;
633
+ fontSize: string;
634
+ daySize: string;
635
+ };
636
+ large: {
637
+ padding: string;
638
+ fontSize: string;
639
+ daySize: string;
640
+ };
641
+ };
589
642
  pagination: {
590
643
  gap: string;
591
644
  itemMinWidth: string;
@@ -1075,6 +1128,50 @@ declare const _default: {
1075
1128
  valueFontSize: string;
1076
1129
  };
1077
1130
  };
1131
+ stepper: {
1132
+ gap: string;
1133
+ itemGap: string;
1134
+ lineThickness: string;
1135
+ lineLength: string;
1136
+ lineColor: string;
1137
+ indicatorSize: string;
1138
+ indicatorBorderRadius: string;
1139
+ indicatorBorderWidth: string;
1140
+ indicatorFontSize: string;
1141
+ indicatorBackgroundColor: string;
1142
+ indicatorTextColor: string;
1143
+ indicatorBorderColor: string;
1144
+ activeIndicatorBackgroundColor: string;
1145
+ activeIndicatorTextColor: string;
1146
+ activeIndicatorBorderColor: string;
1147
+ completedIndicatorBackgroundColor: string;
1148
+ completedIndicatorTextColor: string;
1149
+ completedIndicatorBorderColor: string;
1150
+ errorIndicatorBackgroundColor: string;
1151
+ errorIndicatorTextColor: string;
1152
+ errorIndicatorBorderColor: string;
1153
+ labelFontSize: string;
1154
+ labelColor: string;
1155
+ descriptionFontSize: string;
1156
+ descriptionColor: string;
1157
+ disabledOpacity: string;
1158
+ small: {
1159
+ indicatorSize: string;
1160
+ indicatorFontSize: string;
1161
+ labelFontSize: string;
1162
+ descriptionFontSize: string;
1163
+ lineLength: string;
1164
+ itemGap: string;
1165
+ };
1166
+ large: {
1167
+ indicatorSize: string;
1168
+ indicatorFontSize: string;
1169
+ labelFontSize: string;
1170
+ descriptionFontSize: string;
1171
+ lineLength: string;
1172
+ itemGap: string;
1173
+ };
1174
+ };
1078
1175
  };
1079
1176
  colors: {
1080
1177
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.32.0",
3
+ "version": "0.34.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",