@bitrise/bitkit 10.35.2-alpha-chakra.1 → 10.36.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.
- package/package.json +1 -1
- package/src/Components/ButtonGroup/ButtonGroup.tsx +4 -4
- package/src/Components/Icons/16x16/BoxWithArrowDown.tsx +14 -0
- package/src/Components/Icons/16x16/BoxWithDot.tsx +14 -0
- package/src/Components/Icons/16x16/OverflowingLines.tsx +14 -0
- package/src/Components/Icons/16x16/StepstatusIncomplete.tsx +14 -0
- package/src/Components/Icons/16x16/WrappedLines.tsx +14 -0
- package/src/Components/Icons/16x16/index.ts +5 -0
- package/src/Components/Icons/24x24/BoxWithArrowDown.tsx +14 -0
- package/src/Components/Icons/24x24/BoxWithDot.tsx +14 -0
- package/src/Components/Icons/24x24/OverflowingLines.tsx +14 -0
- package/src/Components/Icons/24x24/StepstatusIncomplete.tsx +14 -0
- package/src/Components/Icons/24x24/WrappedLines.tsx +14 -0
- package/src/Components/Icons/24x24/index.ts +5 -0
- package/src/Components/Table/Tr.tsx +1 -0
- package/src/Foundations/Sizes/Sizes.ts +0 -2
- package/src/Old/Base/Base.css +337 -0
- package/src/Old/Base/Base.tsx +199 -0
- package/src/Old/Flex/Flex.css +105 -0
- package/src/Old/Flex/Flex.tsx +92 -0
- package/src/Old/Placement/Placement.css +100 -0
- package/src/Old/Placement/Placement.tsx +74 -0
- package/src/Old/Placement/PlacementArea.tsx +49 -0
- package/src/Old/Placement/PlacementArrow.tsx +20 -0
- package/src/Old/Placement/PlacementArrowPropsContext.ts +9 -0
- package/src/Old/Placement/PlacementManager.tsx +24 -0
- package/src/Old/Placement/PlacementManagerContext.ts +9 -0
- package/src/Old/Placement/PlacementPopper.tsx +173 -0
- package/src/Old/Placement/PlacementReference.tsx +19 -0
- package/src/Old/hooks/index.ts +2 -0
- package/src/Old/hooks/useEventListener.ts +45 -0
- package/src/Old/hooks/useSyncedStateAndProps.ts +14 -0
- package/src/Old/variables.css +210 -0
- package/src/Old/variables.ts +320 -0
- package/src/index.ts +2 -4
- package/src/old.ts +16 -0
- package/src/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import colors from '../Foundations/Colors/Colors';
|
|
2
|
+
|
|
3
|
+
export const colorWhite = '#FFFFFF';
|
|
4
|
+
export const colorBlack = '#222222';
|
|
5
|
+
|
|
6
|
+
export const colorGray1 = '#F8F8F8';
|
|
7
|
+
export const colorGray2 = '#ECECEC';
|
|
8
|
+
export const colorGray3 = '#DDDDDD';
|
|
9
|
+
export const colorGray4 = '#CCCCCC';
|
|
10
|
+
export const colorGray5 = '#ACACAC';
|
|
11
|
+
export const colorGray6 = '#777777';
|
|
12
|
+
export const colorGray7 = '#616161';
|
|
13
|
+
export const colorGray8 = '#444444';
|
|
14
|
+
|
|
15
|
+
export const colorAqua1 = '#E6FAF9';
|
|
16
|
+
export const colorAqua2 = '#86E9E2';
|
|
17
|
+
export const colorAqua3 = '#0DD3C5';
|
|
18
|
+
export const colorAqua4 = '#0EC7BA';
|
|
19
|
+
export const colorAqua5 = '#00968C';
|
|
20
|
+
|
|
21
|
+
export const colorGrape1 = '#F8F0FF';
|
|
22
|
+
export const colorGrape2 = '#B88ADB';
|
|
23
|
+
export const colorGrape3 = '#760FC3';
|
|
24
|
+
export const colorGrape4 = '#492F5C';
|
|
25
|
+
export const colorGrape5 = '#351D48';
|
|
26
|
+
|
|
27
|
+
export const colorEggplant = '#683D87';
|
|
28
|
+
|
|
29
|
+
export const colorRed1 = '#FFE8EE';
|
|
30
|
+
export const colorRed2 = '#FF8FAB';
|
|
31
|
+
export const colorRed3 = '#FF2158';
|
|
32
|
+
export const colorRed4 = '#EE003B';
|
|
33
|
+
export const colorRed5 = '#C02048';
|
|
34
|
+
|
|
35
|
+
export const colorOrange1 = '#FFECE5';
|
|
36
|
+
export const colorOrange2 = '#FFA17F';
|
|
37
|
+
export const colorOrange3 = '#FF4400';
|
|
38
|
+
export const colorOrange4 = '#E73E00';
|
|
39
|
+
export const colorOrange5 = '#D33D07';
|
|
40
|
+
|
|
41
|
+
export const colorYellow1 = '#FFF9E5';
|
|
42
|
+
export const colorYellow2 = '#FFE27F';
|
|
43
|
+
export const colorYellow3 = '#FFC500';
|
|
44
|
+
export const colorYellow4 = '#ECB600';
|
|
45
|
+
export const colorYellow5 = '#795E00';
|
|
46
|
+
|
|
47
|
+
export const colorGreen1 = '#E7F9F3';
|
|
48
|
+
export const colorGreen2 = '#87E1C3';
|
|
49
|
+
export const colorGreen3 = '#0FC389';
|
|
50
|
+
export const colorGreen4 = '#0FB37D';
|
|
51
|
+
export const colorGreen5 = '#117D59';
|
|
52
|
+
|
|
53
|
+
export const colorBlue1 = '#E6F2FA';
|
|
54
|
+
export const colorBlue2 = '#86C1E6';
|
|
55
|
+
export const colorBlue3 = '#0D83CD';
|
|
56
|
+
export const colorBlue4 = '#0C70AE';
|
|
57
|
+
export const colorBlue5 = '#095C90';
|
|
58
|
+
|
|
59
|
+
export const colorDarkblue1 = '#E6ECF7';
|
|
60
|
+
export const colorDarkblue2 = '#82A4D7';
|
|
61
|
+
export const colorDarkblue3 = '#054AB0';
|
|
62
|
+
export const colorDarkblue4 = '#043E94';
|
|
63
|
+
export const colorDarkblue5 = '#033175';
|
|
64
|
+
|
|
65
|
+
export const colorViolet1 = '#F4E7F9';
|
|
66
|
+
export const colorViolet2 = '#CB8ADF';
|
|
67
|
+
export const colorViolet3 = '#990FC3';
|
|
68
|
+
export const colorViolet4 = '#8512A8';
|
|
69
|
+
export const colorViolet5 = '#741492';
|
|
70
|
+
|
|
71
|
+
export const rgbWhite = [255, 255, 255];
|
|
72
|
+
export const rgbBlack = [34, 34, 34];
|
|
73
|
+
|
|
74
|
+
export const rgbGray1 = [248, 248, 248];
|
|
75
|
+
export const rgbGray2 = [236, 236, 236];
|
|
76
|
+
export const rgbGray3 = [221, 221, 221];
|
|
77
|
+
export const rgbGray4 = [204, 204, 204];
|
|
78
|
+
export const rgbGray5 = [172, 172, 172];
|
|
79
|
+
export const rgbGray6 = [119, 119, 119];
|
|
80
|
+
export const rgbGray7 = [97, 97, 97];
|
|
81
|
+
export const rgbGray8 = [68, 68, 68];
|
|
82
|
+
|
|
83
|
+
export const rgbAqua1 = [230, 250, 249];
|
|
84
|
+
export const rgbAqua2 = [134, 233, 226];
|
|
85
|
+
export const rgbAqua3 = [13, 211, 197];
|
|
86
|
+
export const rgbAqua4 = [14, 199, 186];
|
|
87
|
+
export const rgbAqua5 = [0, 150, 140];
|
|
88
|
+
|
|
89
|
+
export const rgbGrape1 = [248, 240, 255];
|
|
90
|
+
export const rgbGrape2 = [184, 138, 219];
|
|
91
|
+
export const rgbGrape3 = [118, 15, 195];
|
|
92
|
+
export const rgbGrape4 = [73, 47, 92];
|
|
93
|
+
export const rgbGrape5 = [53, 29, 72];
|
|
94
|
+
|
|
95
|
+
export const rgbEggplant = [104, 61, 135];
|
|
96
|
+
|
|
97
|
+
export const rgbRed1 = [255, 232, 238];
|
|
98
|
+
export const rgbRed2 = [255, 143, 171];
|
|
99
|
+
export const rgbRed3 = [255, 33, 88];
|
|
100
|
+
export const rgbRed4 = [238, 0, 59];
|
|
101
|
+
export const rgbRed5 = [192, 32, 72];
|
|
102
|
+
|
|
103
|
+
export const rgbOrange1 = [255, 236, 229];
|
|
104
|
+
export const rgbOrange2 = [255, 161, 127];
|
|
105
|
+
export const rgbOrange3 = [255, 68, 0];
|
|
106
|
+
export const rgbOrange4 = [231, 62, 0];
|
|
107
|
+
export const rgbOrange5 = [211, 61, 7];
|
|
108
|
+
|
|
109
|
+
export const rgbYellow1 = [255, 249, 229];
|
|
110
|
+
export const rgbYellow2 = [255, 226, 127];
|
|
111
|
+
export const rgbYellow3 = [255, 197, 0];
|
|
112
|
+
export const rgbYellow4 = [236, 182, 0];
|
|
113
|
+
export const rgbYellow5 = [121, 94, 0];
|
|
114
|
+
|
|
115
|
+
export const rgbGreen1 = [231, 249, 243];
|
|
116
|
+
export const rgbGreen2 = [135, 225, 195];
|
|
117
|
+
export const rgbGreen3 = [15, 195, 137];
|
|
118
|
+
export const rgbGreen4 = [15, 179, 125];
|
|
119
|
+
export const rgbGreen5 = [17, 125, 89];
|
|
120
|
+
|
|
121
|
+
export const rgbBlue1 = [230, 242, 250];
|
|
122
|
+
export const rgbBlue2 = [134, 193, 230];
|
|
123
|
+
export const rgbBlue3 = [13, 131, 205];
|
|
124
|
+
export const rgbBlue4 = [12, 112, 174];
|
|
125
|
+
export const rgbBlue5 = [9, 92, 144];
|
|
126
|
+
|
|
127
|
+
export const rgbDarkblue1 = [230, 236, 247];
|
|
128
|
+
export const rgbDarkblue2 = [130, 164, 215];
|
|
129
|
+
export const rgbDarkblue3 = [5, 74, 176];
|
|
130
|
+
export const rgbDarkblue4 = [4, 62, 148];
|
|
131
|
+
export const rgbDarkblue5 = [3, 49, 117];
|
|
132
|
+
|
|
133
|
+
export const rgbViolet1 = [244, 231, 249];
|
|
134
|
+
export const rgbViolet2 = [203, 138, 223];
|
|
135
|
+
export const rgbViolet3 = [153, 15, 195];
|
|
136
|
+
export const rgbViolet4 = [133, 18, 168];
|
|
137
|
+
export const rgbViolet5 = [116, 20, 146];
|
|
138
|
+
|
|
139
|
+
export const colorMap = {
|
|
140
|
+
white: colorWhite,
|
|
141
|
+
black: colorBlack,
|
|
142
|
+
|
|
143
|
+
'gray-1': colorGray1,
|
|
144
|
+
'gray-2': colorGray2,
|
|
145
|
+
'gray-3': colorGray3,
|
|
146
|
+
'gray-4': colorGray4,
|
|
147
|
+
'gray-5': colorGray5,
|
|
148
|
+
'gray-6': colorGray6,
|
|
149
|
+
'gray-7': colorGray7,
|
|
150
|
+
'gray-8': colorGray8,
|
|
151
|
+
|
|
152
|
+
'aqua-1': colorAqua1,
|
|
153
|
+
'aqua-2': colorAqua2,
|
|
154
|
+
'aqua-3': colorAqua3,
|
|
155
|
+
'aqua-4': colorAqua4,
|
|
156
|
+
'aqua-5': colorAqua5,
|
|
157
|
+
|
|
158
|
+
'grape-1': colorGrape1,
|
|
159
|
+
'grape-2': colorGrape2,
|
|
160
|
+
'grape-3': colorGrape3,
|
|
161
|
+
'grape-4': colorGrape4,
|
|
162
|
+
'grape-5': colorGrape5,
|
|
163
|
+
|
|
164
|
+
eggplant: colorEggplant,
|
|
165
|
+
|
|
166
|
+
'red-1': colorRed1,
|
|
167
|
+
'red-2': colorRed2,
|
|
168
|
+
'red-3': colorRed3,
|
|
169
|
+
'red-4': colorRed4,
|
|
170
|
+
'red-5': colorRed5,
|
|
171
|
+
|
|
172
|
+
'orange-1': colorOrange1,
|
|
173
|
+
'orange-2': colorOrange2,
|
|
174
|
+
'orange-3': colorOrange3,
|
|
175
|
+
'orange-4': colorOrange4,
|
|
176
|
+
'orange-5': colorOrange5,
|
|
177
|
+
|
|
178
|
+
'yellow-1': colorYellow1,
|
|
179
|
+
'yellow-2': colorYellow2,
|
|
180
|
+
'yellow-3': colorYellow3,
|
|
181
|
+
'yellow-4': colorYellow4,
|
|
182
|
+
'yellow-5': colorYellow5,
|
|
183
|
+
|
|
184
|
+
'green-1': colorGreen1,
|
|
185
|
+
'green-2': colorGreen2,
|
|
186
|
+
'green-3': colorGreen3,
|
|
187
|
+
'green-4': colorGreen4,
|
|
188
|
+
'green-5': colorGreen5,
|
|
189
|
+
|
|
190
|
+
'blue-1': colorBlue1,
|
|
191
|
+
'blue-2': colorBlue2,
|
|
192
|
+
'blue-3': colorBlue3,
|
|
193
|
+
'blue-4': colorBlue4,
|
|
194
|
+
'blue-5': colorBlue5,
|
|
195
|
+
|
|
196
|
+
'darkblue-1': colorDarkblue1,
|
|
197
|
+
'darkblue-2': colorDarkblue2,
|
|
198
|
+
'darkblue-3': colorDarkblue3,
|
|
199
|
+
'darkblue-4': colorDarkblue4,
|
|
200
|
+
'darkblue-5': colorDarkblue5,
|
|
201
|
+
|
|
202
|
+
'violet-1': colorViolet1,
|
|
203
|
+
'violet-2': colorViolet2,
|
|
204
|
+
'violet-3': colorViolet3,
|
|
205
|
+
'violet-4': colorViolet4,
|
|
206
|
+
'violet-5': colorViolet5,
|
|
207
|
+
|
|
208
|
+
'blue-95': colors.blue[95],
|
|
209
|
+
'red-95': colors.red[95],
|
|
210
|
+
'turquoise-40': colors.turquoise[40],
|
|
211
|
+
} as const;
|
|
212
|
+
|
|
213
|
+
export const rgbMap = {
|
|
214
|
+
white: rgbWhite,
|
|
215
|
+
black: rgbBlack,
|
|
216
|
+
|
|
217
|
+
'gray-1': rgbGray1,
|
|
218
|
+
'gray-2': rgbGray2,
|
|
219
|
+
'gray-3': rgbGray3,
|
|
220
|
+
'gray-4': rgbGray4,
|
|
221
|
+
'gray-5': rgbGray5,
|
|
222
|
+
'gray-6': rgbGray6,
|
|
223
|
+
'gray-7': rgbGray7,
|
|
224
|
+
'gray-8': rgbGray8,
|
|
225
|
+
|
|
226
|
+
'aqua-1': rgbAqua1,
|
|
227
|
+
'aqua-2': rgbAqua2,
|
|
228
|
+
'aqua-3': rgbAqua3,
|
|
229
|
+
'aqua-4': rgbAqua4,
|
|
230
|
+
'aqua-5': rgbAqua5,
|
|
231
|
+
|
|
232
|
+
'grape-1': rgbGrape1,
|
|
233
|
+
'grape-2': rgbGrape2,
|
|
234
|
+
'grape-3': rgbGrape3,
|
|
235
|
+
'grape-4': rgbGrape4,
|
|
236
|
+
'grape-5': rgbGrape5,
|
|
237
|
+
|
|
238
|
+
eggplant: rgbEggplant,
|
|
239
|
+
|
|
240
|
+
'red-1': rgbRed1,
|
|
241
|
+
'red-2': rgbRed2,
|
|
242
|
+
'red-3': rgbRed3,
|
|
243
|
+
'red-4': rgbRed4,
|
|
244
|
+
'red-5': rgbRed5,
|
|
245
|
+
|
|
246
|
+
'orange-1': rgbOrange1,
|
|
247
|
+
'orange-2': rgbOrange2,
|
|
248
|
+
'orange-3': rgbOrange3,
|
|
249
|
+
'orange-4': rgbOrange4,
|
|
250
|
+
'orange-5': rgbOrange5,
|
|
251
|
+
|
|
252
|
+
'yellow-1': rgbYellow1,
|
|
253
|
+
'yellow-2': rgbYellow2,
|
|
254
|
+
'yellow-3': rgbYellow3,
|
|
255
|
+
'yellow-4': rgbYellow4,
|
|
256
|
+
'yellow-5': rgbYellow5,
|
|
257
|
+
|
|
258
|
+
'green-1': rgbGreen1,
|
|
259
|
+
'green-2': rgbGreen2,
|
|
260
|
+
'green-3': rgbGreen3,
|
|
261
|
+
'green-4': rgbGreen4,
|
|
262
|
+
'green-5': rgbGreen5,
|
|
263
|
+
|
|
264
|
+
'blue-1': rgbBlue1,
|
|
265
|
+
'blue-2': rgbBlue2,
|
|
266
|
+
'blue-3': rgbBlue3,
|
|
267
|
+
'blue-4': rgbBlue4,
|
|
268
|
+
'blue-5': rgbBlue5,
|
|
269
|
+
|
|
270
|
+
'darkblue-1': rgbDarkblue1,
|
|
271
|
+
'darkblue-2': rgbDarkblue2,
|
|
272
|
+
'darkblue-3': rgbDarkblue3,
|
|
273
|
+
'darkblue-4': rgbDarkblue4,
|
|
274
|
+
'darkblue-5': rgbDarkblue5,
|
|
275
|
+
|
|
276
|
+
'violet-1': rgbViolet1,
|
|
277
|
+
'violet-2': rgbViolet2,
|
|
278
|
+
'violet-3': rgbViolet3,
|
|
279
|
+
'violet-4': rgbViolet4,
|
|
280
|
+
'violet-5': rgbViolet5,
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export const sizeX1 = 4;
|
|
284
|
+
export const sizeX2 = 8;
|
|
285
|
+
export const sizeX3 = 12;
|
|
286
|
+
export const sizeX4 = 16;
|
|
287
|
+
export const sizeX5 = 20;
|
|
288
|
+
export const sizeX6 = 24;
|
|
289
|
+
export const sizeX8 = 32;
|
|
290
|
+
export const sizeX10 = 40;
|
|
291
|
+
export const sizeX12 = 48;
|
|
292
|
+
export const sizeX16 = 64;
|
|
293
|
+
|
|
294
|
+
export const fontSize1Px = 11;
|
|
295
|
+
export const fontSize2Px = 14;
|
|
296
|
+
export const fontSize3Px = 16;
|
|
297
|
+
export const fontSize4Px = 19;
|
|
298
|
+
export const fontSize5Px = 24;
|
|
299
|
+
export const fontSize6Px = 30;
|
|
300
|
+
export const fontSize7Px = 36;
|
|
301
|
+
export const fontSize8Px = 48;
|
|
302
|
+
|
|
303
|
+
export const lineHeight1Px = 16;
|
|
304
|
+
export const lineHeight2Px = 20;
|
|
305
|
+
export const lineHeight3Px = 24;
|
|
306
|
+
export const lineHeight4Px = 28;
|
|
307
|
+
export const lineHeight5Px = 36;
|
|
308
|
+
export const lineHeight6Px = 40;
|
|
309
|
+
export const lineHeight7Px = 48;
|
|
310
|
+
export const lineHeight8Px = 60;
|
|
311
|
+
|
|
312
|
+
export const letterSpacingX1Px = 0.1;
|
|
313
|
+
export const letterSpacingX2Px = 0.15;
|
|
314
|
+
export const letterSpacingX3Px = 0.28;
|
|
315
|
+
export const letterSpacingX4Px = 0.6;
|
|
316
|
+
export const letterSpacingX5Px = 0.8;
|
|
317
|
+
|
|
318
|
+
export const transitionDurationFast = 200;
|
|
319
|
+
export const transitionDurationBase = 400;
|
|
320
|
+
export const transitionDurationSlow = 800;
|
package/src/index.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
export * from './old';
|
|
1
2
|
export * from './types/chakra';
|
|
2
3
|
export * from './utils/chakra';
|
|
3
4
|
export * from './hooks';
|
|
4
5
|
|
|
5
|
-
export { default as theme } from './theme';
|
|
6
|
-
export type { Colors } from './Foundations/Colors/Colors';
|
|
7
|
-
export type { Sizes } from './Foundations/Sizes/Sizes';
|
|
8
|
-
|
|
9
6
|
export type { LinkProps } from './Components/Link/Link';
|
|
10
7
|
export { default as Link } from './Components/Link/Link';
|
|
11
8
|
|
|
12
9
|
export { default as Provider } from './Components/Provider/Provider';
|
|
10
|
+
export { default as theme } from './theme';
|
|
13
11
|
|
|
14
12
|
export type { OverflowMenuProps } from './Components/OverflowMenu/OverflowMenu';
|
|
15
13
|
export { default as OverflowMenu } from './Components/OverflowMenu/OverflowMenu';
|
package/src/old.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './Old/variables.css';
|
|
2
|
+
|
|
3
|
+
import * as variables from './Old/variables';
|
|
4
|
+
import * as hooks from './Old/hooks';
|
|
5
|
+
|
|
6
|
+
export { variables };
|
|
7
|
+
export { hooks };
|
|
8
|
+
|
|
9
|
+
export type { Props as BaseProps } from './Old/Base/Base';
|
|
10
|
+
export type { TypeBorderRadius } from './Old/Base/Base';
|
|
11
|
+
export type { TypeColors } from './Old/Base/Base';
|
|
12
|
+
export type { TypeSizes } from './Old/Base/Base';
|
|
13
|
+
export { default as Base } from './Old/Base/Base';
|
|
14
|
+
|
|
15
|
+
export type { Props as FlexProps } from './Old/Flex/Flex';
|
|
16
|
+
export { default as Flex } from './Old/Flex/Flex';
|