@codemonster-ru/vueforge 0.56.0 → 0.58.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;
@@ -0,0 +1,48 @@
1
+ type TimelineOrientation = 'vertical' | 'horizontal';
2
+ type TimelineSize = 'small' | 'normal' | 'large';
3
+ type TimelineStatus = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
4
+ export interface TimelineItem {
5
+ id?: string | number;
6
+ title?: string;
7
+ description?: string;
8
+ date?: string;
9
+ icon?: string;
10
+ status?: TimelineStatus;
11
+ }
12
+ interface Props {
13
+ items?: Array<TimelineItem>;
14
+ orientation?: TimelineOrientation;
15
+ size?: TimelineSize;
16
+ ariaLabel?: string;
17
+ ariaLabelledby?: string;
18
+ }
19
+ declare function __VLS_template(): {
20
+ attrs: Partial<{}>;
21
+ slots: {
22
+ marker?(_: {
23
+ item: TimelineItem;
24
+ index: number;
25
+ }): any;
26
+ item?(_: {
27
+ item: TimelineItem;
28
+ index: number;
29
+ }): any;
30
+ };
31
+ refs: {};
32
+ rootEl: HTMLElement;
33
+ };
34
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
35
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
36
+ items: Array<TimelineItem>;
37
+ orientation: TimelineOrientation;
38
+ size: TimelineSize;
39
+ ariaLabel: string;
40
+ ariaLabelledby: string;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -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;
@@ -1377,6 +1420,71 @@ export type StepperTokens = {
1377
1420
  itemGap?: string;
1378
1421
  };
1379
1422
  };
1423
+ export type TimelineTokens = {
1424
+ gap?: string;
1425
+ itemGap?: string;
1426
+ markerSize?: string;
1427
+ markerBorderRadius?: string;
1428
+ markerBorderWidth?: string;
1429
+ markerBackgroundColor?: string;
1430
+ markerBorderColor?: string;
1431
+ markerTextColor?: string;
1432
+ markerIconSize?: string;
1433
+ dotSize?: string;
1434
+ lineThickness?: string;
1435
+ lineLength?: string;
1436
+ lineColor?: string;
1437
+ titleFontSize?: string;
1438
+ titleColor?: string;
1439
+ descriptionFontSize?: string;
1440
+ descriptionColor?: string;
1441
+ dateFontSize?: string;
1442
+ dateColor?: string;
1443
+ info?: {
1444
+ markerBackgroundColor?: string;
1445
+ markerBorderColor?: string;
1446
+ markerTextColor?: string;
1447
+ lineColor?: string;
1448
+ };
1449
+ success?: {
1450
+ markerBackgroundColor?: string;
1451
+ markerBorderColor?: string;
1452
+ markerTextColor?: string;
1453
+ lineColor?: string;
1454
+ };
1455
+ warn?: {
1456
+ markerBackgroundColor?: string;
1457
+ markerBorderColor?: string;
1458
+ markerTextColor?: string;
1459
+ lineColor?: string;
1460
+ };
1461
+ danger?: {
1462
+ markerBackgroundColor?: string;
1463
+ markerBorderColor?: string;
1464
+ markerTextColor?: string;
1465
+ lineColor?: string;
1466
+ };
1467
+ small?: {
1468
+ itemGap?: string;
1469
+ markerSize?: string;
1470
+ markerIconSize?: string;
1471
+ dotSize?: string;
1472
+ lineLength?: string;
1473
+ dateFontSize?: string;
1474
+ titleFontSize?: string;
1475
+ descriptionFontSize?: string;
1476
+ };
1477
+ large?: {
1478
+ itemGap?: string;
1479
+ markerSize?: string;
1480
+ markerIconSize?: string;
1481
+ dotSize?: string;
1482
+ lineLength?: string;
1483
+ dateFontSize?: string;
1484
+ titleFontSize?: string;
1485
+ descriptionFontSize?: string;
1486
+ };
1487
+ };
1380
1488
  export type DataTableTokens = {
1381
1489
  borderColor?: string;
1382
1490
  borderRadius?: string;
@@ -1667,6 +1775,7 @@ export type ThemeComponentTokens = {
1667
1775
  commandPalette?: CommandPaletteTokens;
1668
1776
  select?: SelectTokens;
1669
1777
  autocomplete?: AutocompleteTokens;
1778
+ combobox?: ComboboxTokens;
1670
1779
  multiselect?: MultiSelectTokens;
1671
1780
  taginput?: TagInputTokens;
1672
1781
  datepicker?: DatePickerTokens;
@@ -1682,6 +1791,7 @@ export type ThemeComponentTokens = {
1682
1791
  progress?: ProgressTokens;
1683
1792
  slider?: SliderTokens;
1684
1793
  stepper?: StepperTokens;
1794
+ timeline?: TimelineTokens;
1685
1795
  datatable?: DataTableTokens;
1686
1796
  toast?: ToastTokens;
1687
1797
  alert?: AlertTokens;
@@ -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;
@@ -0,0 +1,66 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ itemGap: string;
4
+ markerSize: string;
5
+ markerBorderRadius: string;
6
+ markerBorderWidth: string;
7
+ markerBackgroundColor: string;
8
+ markerBorderColor: string;
9
+ markerTextColor: string;
10
+ markerIconSize: string;
11
+ dotSize: string;
12
+ lineThickness: string;
13
+ lineLength: string;
14
+ lineColor: string;
15
+ titleFontSize: string;
16
+ titleColor: string;
17
+ descriptionFontSize: string;
18
+ descriptionColor: string;
19
+ dateFontSize: string;
20
+ dateColor: string;
21
+ info: {
22
+ markerBackgroundColor: string;
23
+ markerBorderColor: string;
24
+ markerTextColor: string;
25
+ lineColor: string;
26
+ };
27
+ success: {
28
+ markerBackgroundColor: string;
29
+ markerBorderColor: string;
30
+ markerTextColor: string;
31
+ lineColor: string;
32
+ };
33
+ warn: {
34
+ markerBackgroundColor: string;
35
+ markerBorderColor: string;
36
+ markerTextColor: string;
37
+ lineColor: string;
38
+ };
39
+ danger: {
40
+ markerBackgroundColor: string;
41
+ markerBorderColor: string;
42
+ markerTextColor: string;
43
+ lineColor: string;
44
+ };
45
+ small: {
46
+ itemGap: string;
47
+ markerSize: string;
48
+ markerIconSize: string;
49
+ dotSize: string;
50
+ lineLength: string;
51
+ dateFontSize: string;
52
+ titleFontSize: string;
53
+ descriptionFontSize: string;
54
+ };
55
+ large: {
56
+ itemGap: string;
57
+ markerSize: string;
58
+ markerIconSize: string;
59
+ dotSize: string;
60
+ lineLength: string;
61
+ dateFontSize: string;
62
+ titleFontSize: string;
63
+ descriptionFontSize: string;
64
+ };
65
+ };
66
+ 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;
@@ -1766,6 +1809,71 @@ declare const _default: {
1766
1809
  itemGap: string;
1767
1810
  };
1768
1811
  };
1812
+ timeline: {
1813
+ gap: string;
1814
+ itemGap: string;
1815
+ markerSize: string;
1816
+ markerBorderRadius: string;
1817
+ markerBorderWidth: string;
1818
+ markerBackgroundColor: string;
1819
+ markerBorderColor: string;
1820
+ markerTextColor: string;
1821
+ markerIconSize: string;
1822
+ dotSize: string;
1823
+ lineThickness: string;
1824
+ lineLength: string;
1825
+ lineColor: string;
1826
+ titleFontSize: string;
1827
+ titleColor: string;
1828
+ descriptionFontSize: string;
1829
+ descriptionColor: string;
1830
+ dateFontSize: string;
1831
+ dateColor: string;
1832
+ info: {
1833
+ markerBackgroundColor: string;
1834
+ markerBorderColor: string;
1835
+ markerTextColor: string;
1836
+ lineColor: string;
1837
+ };
1838
+ success: {
1839
+ markerBackgroundColor: string;
1840
+ markerBorderColor: string;
1841
+ markerTextColor: string;
1842
+ lineColor: string;
1843
+ };
1844
+ warn: {
1845
+ markerBackgroundColor: string;
1846
+ markerBorderColor: string;
1847
+ markerTextColor: string;
1848
+ lineColor: string;
1849
+ };
1850
+ danger: {
1851
+ markerBackgroundColor: string;
1852
+ markerBorderColor: string;
1853
+ markerTextColor: string;
1854
+ lineColor: string;
1855
+ };
1856
+ small: {
1857
+ itemGap: string;
1858
+ markerSize: string;
1859
+ markerIconSize: string;
1860
+ dotSize: string;
1861
+ lineLength: string;
1862
+ dateFontSize: string;
1863
+ titleFontSize: string;
1864
+ descriptionFontSize: string;
1865
+ };
1866
+ large: {
1867
+ itemGap: string;
1868
+ markerSize: string;
1869
+ markerIconSize: string;
1870
+ dotSize: string;
1871
+ lineLength: string;
1872
+ dateFontSize: string;
1873
+ titleFontSize: string;
1874
+ descriptionFontSize: string;
1875
+ };
1876
+ };
1769
1877
  rating: {
1770
1878
  gap: string;
1771
1879
  size: 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.58.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",