payment-kit 1.15.22 → 1.15.24

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.
@@ -1,173 +0,0 @@
1
- const compose = (classes: string) => {
2
- const css = {};
3
-
4
- const classesArray: string[] = classes.replace(/\s+/g, ' ').split(' ');
5
-
6
- classesArray.forEach((className) => {
7
- if (typeof styles[className] !== undefined) {
8
- Object.assign(css, styles[className]);
9
- }
10
- });
11
-
12
- return css;
13
- };
14
-
15
- const colorDark = '#222';
16
- const colorDark2 = '#888';
17
- const colorGray = '#e3e3e3';
18
- const colorWhite = '#fff';
19
-
20
- const styles: any = {
21
- dark: {
22
- color: colorDark,
23
- },
24
-
25
- white: {
26
- color: colorWhite,
27
- },
28
-
29
- gray: {
30
- color: colorDark2,
31
- },
32
-
33
- 'bg-dark': {
34
- backgroundColor: colorDark2,
35
- },
36
-
37
- 'bg-gray': {
38
- backgroundColor: colorGray,
39
- },
40
-
41
- flex: {
42
- display: 'flex',
43
- flexDirection: 'row',
44
- flexWrap: 'nowrap',
45
- alignItems: 'start',
46
- },
47
-
48
- bold: {
49
- fontWeight: 'bold',
50
- },
51
-
52
- 'w-auto': {
53
- flex: 1,
54
- paddingRight: '8px',
55
- },
56
-
57
- 'flex-1': {
58
- flex: 1,
59
- },
60
-
61
- 'w-100': {
62
- width: '100%',
63
- },
64
-
65
- 'w-50': {
66
- width: '50%',
67
- },
68
-
69
- 'w-55': {
70
- width: '55%',
71
- },
72
-
73
- 'w-45': {
74
- width: '45%',
75
- },
76
-
77
- 'w-60': {
78
- width: '60%',
79
- },
80
-
81
- 'w-40': {
82
- width: '30%',
83
- },
84
-
85
- 'w-48': {
86
- width: '48%',
87
- },
88
-
89
- 'w-17': {
90
- width: '17%',
91
- },
92
-
93
- 'w-18': {
94
- width: '18%',
95
- },
96
-
97
- row: {
98
- borderBottom: `1px solid ${colorGray}`,
99
- },
100
-
101
- 'mt-40': {
102
- marginTop: '40px',
103
- },
104
-
105
- 'mt-30': {
106
- marginTop: '30px',
107
- },
108
-
109
- 'mt-20': {
110
- marginTop: '20px',
111
- },
112
-
113
- 'mt-10': {
114
- marginTop: '10px',
115
- },
116
-
117
- 'mb-5': {
118
- marginBottom: '5px',
119
- },
120
-
121
- 'p-4-8': {
122
- padding: '4px 8px',
123
- },
124
-
125
- 'p-5': {
126
- padding: '5px',
127
- },
128
-
129
- 'pb-10': {
130
- paddingBottom: '10px',
131
- },
132
-
133
- right: {
134
- textAlign: 'right',
135
- },
136
- center: {
137
- textAlign: 'right',
138
- },
139
-
140
- 'fs-20': {
141
- fontSize: '20px',
142
- },
143
-
144
- 'fs-30': {
145
- fontSize: '30px',
146
- },
147
-
148
- 'fs-12': {
149
- fontSize: '11px',
150
- },
151
-
152
- page: {
153
- fontFamily: 'Noto Sans SC',
154
- fontSize: '11px',
155
- color: '#555',
156
- padding: '40px 35px',
157
- fontWeight: 'bold',
158
- },
159
-
160
- span: {
161
- padding: '4px 12px 4px 0',
162
- },
163
-
164
- logo: {
165
- display: 'block',
166
- borderRadius: '10px',
167
- width: '60px',
168
- height: '60px',
169
- textAlign: 'center',
170
- },
171
- };
172
-
173
- export default compose;