@codemonster-ru/vueforge 0.33.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,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
+ };
@@ -669,6 +669,50 @@ export type SliderTokens = {
669
669
  valueFontSize?: string;
670
670
  };
671
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
+ };
672
716
  export type DataTableTokens = {
673
717
  borderColor?: string;
674
718
  borderRadius?: string;
@@ -923,6 +967,7 @@ export type ThemeComponentTokens = {
923
967
  skeleton?: SkeletonTokens;
924
968
  progress?: ProgressTokens;
925
969
  slider?: SliderTokens;
970
+ stepper?: StepperTokens;
926
971
  datatable?: DataTableTokens;
927
972
  toast?: ToastTokens;
928
973
  alert?: AlertTokens;
@@ -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;
@@ -1128,6 +1128,50 @@ declare const _default: {
1128
1128
  valueFontSize: string;
1129
1129
  };
1130
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
+ };
1131
1175
  };
1132
1176
  colors: {
1133
1177
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.33.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",