@codemonster-ru/vueforge 0.30.0 → 0.31.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 @@
1
+ export {};
@@ -0,0 +1,47 @@
1
+ type ChipVariant = 'solid' | 'soft' | 'outline';
2
+ type ChipSize = 'small' | 'normal' | 'large';
3
+ type ChipSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
4
+ interface Props {
5
+ label?: string;
6
+ size?: ChipSize;
7
+ variant?: ChipVariant;
8
+ severity?: ChipSeverity;
9
+ disabled?: boolean;
10
+ closable?: boolean;
11
+ icon?: string;
12
+ ariaLabel?: string;
13
+ closeLabel?: string;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ icon?(_: {}): any;
19
+ default?(_: {}): any;
20
+ close?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLSpanElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ close: (...args: any[]) => void;
28
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
+ onClose?: ((...args: any[]) => any) | undefined;
30
+ }>, {
31
+ label: string;
32
+ disabled: boolean;
33
+ icon: string;
34
+ size: ChipSize;
35
+ variant: ChipVariant;
36
+ severity: ChipSeverity;
37
+ ariaLabel: string;
38
+ closable: boolean;
39
+ closeLabel: string;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -757,6 +757,53 @@ export type BadgeTokens = {
757
757
  paddingY?: string;
758
758
  };
759
759
  };
760
+ type ChipSeverityTokens = {
761
+ backgroundColor?: string;
762
+ textColor?: string;
763
+ borderColor?: string;
764
+ softBackgroundColor?: string;
765
+ softTextColor?: string;
766
+ softBorderColor?: string;
767
+ outlineTextColor?: string;
768
+ outlineBorderColor?: string;
769
+ };
770
+ export type ChipTokens = {
771
+ fontSize?: string;
772
+ lineHeight?: string;
773
+ paddingX?: string;
774
+ paddingY?: string;
775
+ borderRadius?: string;
776
+ gap?: string;
777
+ backgroundColor?: string;
778
+ textColor?: string;
779
+ borderColor?: string;
780
+ softBackgroundColor?: string;
781
+ softTextColor?: string;
782
+ softBorderColor?: string;
783
+ outlineTextColor?: string;
784
+ outlineBorderColor?: string;
785
+ iconSize?: string;
786
+ closeSize?: string;
787
+ closeFontSize?: string;
788
+ closeRadius?: string;
789
+ closeColor?: string;
790
+ closeHoverBackgroundColor?: string;
791
+ disabledOpacity?: string;
792
+ info?: ChipSeverityTokens;
793
+ success?: ChipSeverityTokens;
794
+ warn?: ChipSeverityTokens;
795
+ danger?: ChipSeverityTokens;
796
+ small?: {
797
+ fontSize?: string;
798
+ paddingX?: string;
799
+ paddingY?: string;
800
+ };
801
+ large?: {
802
+ fontSize?: string;
803
+ paddingX?: string;
804
+ paddingY?: string;
805
+ };
806
+ };
760
807
  export type AvatarTokens = {
761
808
  size?: string;
762
809
  fontSize?: string;
@@ -815,6 +862,7 @@ export type ThemeComponentTokens = {
815
862
  toast?: ToastTokens;
816
863
  alert?: AlertTokens;
817
864
  badge?: BadgeTokens;
865
+ chip?: ChipTokens;
818
866
  avatar?: AvatarTokens;
819
867
  [key: string]: unknown;
820
868
  };
@@ -845,3 +893,4 @@ export declare const buildThemeVariables: (theme: ThemePreset) => {
845
893
  warnings: string[];
846
894
  errors: string[];
847
895
  };
896
+ export {};
@@ -0,0 +1,74 @@
1
+ declare const _default: {
2
+ fontSize: string;
3
+ lineHeight: string;
4
+ paddingX: string;
5
+ paddingY: string;
6
+ borderRadius: string;
7
+ gap: string;
8
+ backgroundColor: string;
9
+ textColor: string;
10
+ borderColor: string;
11
+ softBackgroundColor: string;
12
+ softTextColor: string;
13
+ softBorderColor: string;
14
+ outlineTextColor: string;
15
+ outlineBorderColor: string;
16
+ iconSize: string;
17
+ closeSize: string;
18
+ closeFontSize: string;
19
+ closeRadius: string;
20
+ closeColor: string;
21
+ closeHoverBackgroundColor: string;
22
+ disabledOpacity: string;
23
+ info: {
24
+ backgroundColor: string;
25
+ textColor: string;
26
+ borderColor: string;
27
+ softBackgroundColor: string;
28
+ softTextColor: string;
29
+ softBorderColor: string;
30
+ outlineTextColor: string;
31
+ outlineBorderColor: string;
32
+ };
33
+ success: {
34
+ backgroundColor: string;
35
+ textColor: string;
36
+ borderColor: string;
37
+ softBackgroundColor: string;
38
+ softTextColor: string;
39
+ softBorderColor: string;
40
+ outlineTextColor: string;
41
+ outlineBorderColor: string;
42
+ };
43
+ warn: {
44
+ backgroundColor: string;
45
+ textColor: string;
46
+ borderColor: string;
47
+ softBackgroundColor: string;
48
+ softTextColor: string;
49
+ softBorderColor: string;
50
+ outlineTextColor: string;
51
+ outlineBorderColor: string;
52
+ };
53
+ danger: {
54
+ backgroundColor: string;
55
+ textColor: string;
56
+ borderColor: string;
57
+ softBackgroundColor: string;
58
+ softTextColor: string;
59
+ softBorderColor: string;
60
+ outlineTextColor: string;
61
+ outlineBorderColor: string;
62
+ };
63
+ small: {
64
+ fontSize: string;
65
+ paddingX: string;
66
+ paddingY: string;
67
+ };
68
+ large: {
69
+ fontSize: string;
70
+ paddingX: string;
71
+ paddingY: string;
72
+ };
73
+ };
74
+ export default _default;
@@ -932,6 +932,79 @@ declare const _default: {
932
932
  paddingY: string;
933
933
  };
934
934
  };
935
+ chip: {
936
+ fontSize: string;
937
+ lineHeight: string;
938
+ paddingX: string;
939
+ paddingY: string;
940
+ borderRadius: string;
941
+ gap: string;
942
+ backgroundColor: string;
943
+ textColor: string;
944
+ borderColor: string;
945
+ softBackgroundColor: string;
946
+ softTextColor: string;
947
+ softBorderColor: string;
948
+ outlineTextColor: string;
949
+ outlineBorderColor: string;
950
+ iconSize: string;
951
+ closeSize: string;
952
+ closeFontSize: string;
953
+ closeRadius: string;
954
+ closeColor: string;
955
+ closeHoverBackgroundColor: string;
956
+ disabledOpacity: string;
957
+ info: {
958
+ backgroundColor: string;
959
+ textColor: string;
960
+ borderColor: string;
961
+ softBackgroundColor: string;
962
+ softTextColor: string;
963
+ softBorderColor: string;
964
+ outlineTextColor: string;
965
+ outlineBorderColor: string;
966
+ };
967
+ success: {
968
+ backgroundColor: string;
969
+ textColor: string;
970
+ borderColor: string;
971
+ softBackgroundColor: string;
972
+ softTextColor: string;
973
+ softBorderColor: string;
974
+ outlineTextColor: string;
975
+ outlineBorderColor: string;
976
+ };
977
+ warn: {
978
+ backgroundColor: string;
979
+ textColor: string;
980
+ borderColor: string;
981
+ softBackgroundColor: string;
982
+ softTextColor: string;
983
+ softBorderColor: string;
984
+ outlineTextColor: string;
985
+ outlineBorderColor: string;
986
+ };
987
+ danger: {
988
+ backgroundColor: string;
989
+ textColor: string;
990
+ borderColor: string;
991
+ softBackgroundColor: string;
992
+ softTextColor: string;
993
+ softBorderColor: string;
994
+ outlineTextColor: string;
995
+ outlineBorderColor: string;
996
+ };
997
+ small: {
998
+ fontSize: string;
999
+ paddingX: string;
1000
+ paddingY: string;
1001
+ };
1002
+ large: {
1003
+ fontSize: string;
1004
+ paddingX: string;
1005
+ paddingY: string;
1006
+ };
1007
+ };
935
1008
  avatar: {
936
1009
  size: string;
937
1010
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",