tfy-web-components 0.0.1 → 0.0.2
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.
- package/dist/animation.d.ts +6 -0
- package/dist/backgroundColor.d.ts +5 -0
- package/dist/backgroundImage.d.ts +9 -0
- package/dist/borderWidth.d.ts +6 -0
- package/dist/colors.d.ts +61 -0
- package/dist/components/theme/animation.d.ts +4 -0
- package/dist/components/theme/animation.es.js +8 -0
- package/dist/components/theme/animation.es.js.map +1 -0
- package/dist/components/theme/backgroundColor.d.ts +3 -0
- package/dist/components/theme/backgroundColor.es.js +7 -0
- package/dist/components/theme/backgroundColor.es.js.map +1 -0
- package/dist/components/theme/backgroundImage.d.ts +7 -0
- package/dist/components/theme/backgroundImage.es.js +19 -0
- package/dist/components/theme/backgroundImage.es.js.map +1 -0
- package/dist/components/theme/borderWidth.d.ts +4 -0
- package/dist/components/theme/borderWidth.es.js +8 -0
- package/dist/components/theme/borderWidth.es.js.map +1 -0
- package/dist/components/theme/colors.d.ts +59 -0
- package/dist/components/theme/colors.es.js +63 -0
- package/dist/components/theme/colors.es.js.map +1 -0
- package/dist/components/theme/cursor.d.ts +3 -0
- package/dist/components/theme/cursor.es.js +7 -0
- package/dist/components/theme/cursor.es.js.map +1 -0
- package/dist/components/theme/dropShadow.d.ts +3 -0
- package/dist/components/theme/dropShadow.es.js +7 -0
- package/dist/components/theme/dropShadow.es.js.map +1 -0
- package/dist/components/theme/flexGrow.d.ts +3 -0
- package/dist/components/theme/flexGrow.es.js +7 -0
- package/dist/components/theme/flexGrow.es.js.map +1 -0
- package/dist/components/theme/fontSize.d.ts +6 -0
- package/dist/components/theme/fontSize.es.js +10 -0
- package/dist/components/theme/fontSize.es.js.map +1 -0
- package/dist/components/theme/height.d.ts +6 -0
- package/dist/components/theme/height.es.js +10 -0
- package/dist/components/theme/height.es.js.map +1 -0
- package/dist/components/theme/index.d.ts +136 -0
- package/dist/components/theme/index.es.js +37 -0
- package/dist/components/theme/index.es.js.map +1 -0
- package/dist/components/theme/keyframes.d.ts +18 -0
- package/dist/components/theme/keyframes.es.js +14 -0
- package/dist/components/theme/keyframes.es.js.map +1 -0
- package/dist/components/theme/maxHeight.d.ts +4 -0
- package/dist/components/theme/maxHeight.es.js +8 -0
- package/dist/components/theme/maxHeight.es.js.map +1 -0
- package/dist/components/theme/screens.d.ts +6 -0
- package/dist/components/theme/screens.es.js +10 -0
- package/dist/components/theme/screens.es.js.map +1 -0
- package/dist/components/theme/transitionProperty.d.ts +4 -0
- package/dist/components/theme/transitionProperty.es.js +8 -0
- package/dist/components/theme/transitionProperty.es.js.map +1 -0
- package/dist/components/theme/utils.d.ts +135 -0
- package/dist/components/theme/utils.es.js +763 -0
- package/dist/components/theme/utils.es.js.map +1 -0
- package/dist/components/theme/zIndex.d.ts +3 -0
- package/dist/components/theme/zIndex.es.js +7 -0
- package/dist/components/theme/zIndex.es.js.map +1 -0
- package/dist/cursor.d.ts +5 -0
- package/dist/dropShadow.d.ts +5 -0
- package/dist/flexGrow.d.ts +5 -0
- package/dist/fontSize.d.ts +8 -0
- package/dist/height.d.ts +8 -0
- package/dist/keyframes.d.ts +20 -0
- package/dist/maxHeight.d.ts +6 -0
- package/dist/screens.d.ts +8 -0
- package/dist/transitionProperty.d.ts +6 -0
- package/dist/utils.d.ts +137 -0
- package/dist/zIndex.d.ts +5 -0
- package/package.json +10 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screens.es.js","sources":["../../../src/components/theme/screens.ts"],"sourcesContent":["export const screens = {\n '2xl': '1536px',\n '3xl': '1936px',\n '4xl': '2436px',\n '5xl': '3236px',\n}\n"],"names":[],"mappings":"AAAO,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitionProperty.es.js","sources":["../../../src/components/theme/transitionProperty.ts"],"sourcesContent":["export const transitionProperty = {\n position: 'right, left, top, bottom, margin, padding',\n textColor: 'color',\n}\n"],"names":[],"mappings":"AAAO,MAAM,qBAAqB;AAAA,EAChC,UAAU;AAAA,EACV,WAAW;AACb;"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export declare function extendCustomTheme(customTheme: Record<string, any>): {
|
|
2
|
+
fontSize: {
|
|
3
|
+
'base-lg': string;
|
|
4
|
+
'sm-base': string;
|
|
5
|
+
'2xs': string;
|
|
6
|
+
'3xs': string;
|
|
7
|
+
};
|
|
8
|
+
screens: {
|
|
9
|
+
'2xl': string;
|
|
10
|
+
'3xl': string;
|
|
11
|
+
'4xl': string;
|
|
12
|
+
'5xl': string;
|
|
13
|
+
};
|
|
14
|
+
borderWidth: {
|
|
15
|
+
DEFAULT: string;
|
|
16
|
+
1: string;
|
|
17
|
+
};
|
|
18
|
+
colors: {
|
|
19
|
+
gray: {
|
|
20
|
+
16: string;
|
|
21
|
+
25: string;
|
|
22
|
+
50: string;
|
|
23
|
+
100: string;
|
|
24
|
+
150: string;
|
|
25
|
+
200: string;
|
|
26
|
+
225: string;
|
|
27
|
+
250: string;
|
|
28
|
+
300: string;
|
|
29
|
+
350: string;
|
|
30
|
+
400: string;
|
|
31
|
+
450: string;
|
|
32
|
+
500: string;
|
|
33
|
+
550: string;
|
|
34
|
+
600: string;
|
|
35
|
+
650: string;
|
|
36
|
+
700: string;
|
|
37
|
+
750: string;
|
|
38
|
+
800: string;
|
|
39
|
+
850: string;
|
|
40
|
+
900: string;
|
|
41
|
+
950: string;
|
|
42
|
+
1000: string;
|
|
43
|
+
disabled: string;
|
|
44
|
+
};
|
|
45
|
+
indigo: {
|
|
46
|
+
500: string;
|
|
47
|
+
};
|
|
48
|
+
yellow: {
|
|
49
|
+
'50light': string;
|
|
50
|
+
100: string;
|
|
51
|
+
'200dark': string;
|
|
52
|
+
500: string;
|
|
53
|
+
};
|
|
54
|
+
skyblue: string;
|
|
55
|
+
blue: {
|
|
56
|
+
10: string;
|
|
57
|
+
primary: string;
|
|
58
|
+
secondary: string;
|
|
59
|
+
purple: string;
|
|
60
|
+
'purple-2': string;
|
|
61
|
+
'purple-3': string;
|
|
62
|
+
100: string;
|
|
63
|
+
200: string;
|
|
64
|
+
500: string;
|
|
65
|
+
'500original': string;
|
|
66
|
+
650: string;
|
|
67
|
+
600: string;
|
|
68
|
+
dark: string;
|
|
69
|
+
};
|
|
70
|
+
green: {
|
|
71
|
+
600: string;
|
|
72
|
+
};
|
|
73
|
+
violet: {
|
|
74
|
+
500: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
dropShadow: (theme: (path: string) => string | undefined) => {
|
|
78
|
+
xl: string[];
|
|
79
|
+
};
|
|
80
|
+
backgroundImage: (theme: (path: string) => string | undefined) => {
|
|
81
|
+
'blue-red-gradient': string;
|
|
82
|
+
'white-indigo-gradient': string;
|
|
83
|
+
'chat-template': string;
|
|
84
|
+
'blue-linear-gradient': string;
|
|
85
|
+
'new-deployment-gradient': string;
|
|
86
|
+
};
|
|
87
|
+
backgroundColor: (theme: (path: string) => string | undefined) => {
|
|
88
|
+
app: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
zIndex: {
|
|
91
|
+
'-1': string;
|
|
92
|
+
};
|
|
93
|
+
flexGrow: {
|
|
94
|
+
5: string;
|
|
95
|
+
};
|
|
96
|
+
height: {
|
|
97
|
+
'screen-50': string;
|
|
98
|
+
'screen-60': string;
|
|
99
|
+
'screen-70': string;
|
|
100
|
+
'screen-75': string;
|
|
101
|
+
};
|
|
102
|
+
maxHeight: {
|
|
103
|
+
'screen-menu': string;
|
|
104
|
+
modal: string;
|
|
105
|
+
};
|
|
106
|
+
transitionProperty: {
|
|
107
|
+
position: string;
|
|
108
|
+
textColor: string;
|
|
109
|
+
};
|
|
110
|
+
keyframes: {
|
|
111
|
+
fadeOut: {
|
|
112
|
+
from: {
|
|
113
|
+
opacity: string;
|
|
114
|
+
};
|
|
115
|
+
to: {
|
|
116
|
+
opacity: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
fadeIn: {
|
|
120
|
+
from: {
|
|
121
|
+
opacity: string;
|
|
122
|
+
};
|
|
123
|
+
to: {
|
|
124
|
+
opacity: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
animation: {
|
|
129
|
+
fadeOut: string;
|
|
130
|
+
fadeIn: string;
|
|
131
|
+
};
|
|
132
|
+
cursor: {
|
|
133
|
+
drag: string;
|
|
134
|
+
};
|
|
135
|
+
} & Record<string, any>;
|