@grupalia/rn-ui-kit 0.0.4 → 0.0.41
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/lib/commonjs/components/BaseBadge.js +127 -0
- package/lib/commonjs/components/BaseBadge.js.map +1 -0
- package/lib/commonjs/components/BaseButton.js +39 -91
- package/lib/commonjs/components/BaseButton.js.map +1 -1
- package/lib/commonjs/components/index.js +7 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/styles/background-colors.js +27 -19
- package/lib/commonjs/styles/background-colors.js.map +1 -1
- package/lib/commonjs/styles/border-colors.js +9 -1
- package/lib/commonjs/styles/border-colors.js.map +1 -1
- package/lib/commonjs/styles/colors.js +42 -0
- package/lib/commonjs/styles/colors.js.map +1 -1
- package/lib/commonjs/styles/text-colors.js +32 -8
- package/lib/commonjs/styles/text-colors.js.map +1 -1
- package/lib/commonjs/styles/utility-colors.js +507 -0
- package/lib/commonjs/styles/utility-colors.js.map +1 -0
- package/lib/commonjs/types/heroicons.js +6 -0
- package/lib/commonjs/types/heroicons.js.map +1 -0
- package/lib/module/components/BaseBadge.js +122 -0
- package/lib/module/components/BaseBadge.js.map +1 -0
- package/lib/module/components/BaseButton.js +40 -92
- package/lib/module/components/BaseButton.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/styles/background-colors.js +27 -19
- package/lib/module/styles/background-colors.js.map +1 -1
- package/lib/module/styles/border-colors.js +9 -1
- package/lib/module/styles/border-colors.js.map +1 -1
- package/lib/module/styles/colors.js +42 -0
- package/lib/module/styles/colors.js.map +1 -1
- package/lib/module/styles/text-colors.js +32 -8
- package/lib/module/styles/text-colors.js.map +1 -1
- package/lib/module/styles/utility-colors.js +502 -0
- package/lib/module/styles/utility-colors.js.map +1 -0
- package/lib/module/types/heroicons.js +4 -0
- package/lib/module/types/heroicons.js.map +1 -0
- package/lib/typescript/commonjs/components/BaseBadge.d.ts +16 -0
- package/lib/typescript/commonjs/components/BaseBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/BaseButton.d.ts +6 -4
- package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +1 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/background-colors.d.ts +8 -126
- package/lib/typescript/commonjs/styles/background-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/border-colors.d.ts +8 -42
- package/lib/typescript/commonjs/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/colors.d.ts +42 -0
- package/lib/typescript/commonjs/styles/colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/text-colors.d.ts +8 -90
- package/lib/typescript/commonjs/styles/text-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/utility-colors.d.ts +500 -0
- package/lib/typescript/commonjs/styles/utility-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/heroicons.d.ts +9 -0
- package/lib/typescript/commonjs/types/heroicons.d.ts.map +1 -0
- package/lib/typescript/module/components/BaseBadge.d.ts +16 -0
- package/lib/typescript/module/components/BaseBadge.d.ts.map +1 -0
- package/lib/typescript/module/components/BaseButton.d.ts +6 -4
- package/lib/typescript/module/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +1 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/styles/background-colors.d.ts +8 -126
- package/lib/typescript/module/styles/background-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/border-colors.d.ts +8 -42
- package/lib/typescript/module/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/colors.d.ts +42 -0
- package/lib/typescript/module/styles/colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/text-colors.d.ts +8 -90
- package/lib/typescript/module/styles/text-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/utility-colors.d.ts +500 -0
- package/lib/typescript/module/styles/utility-colors.d.ts.map +1 -0
- package/lib/typescript/module/types/heroicons.d.ts +9 -0
- package/lib/typescript/module/types/heroicons.d.ts.map +1 -0
- package/package.json +6 -3
- package/src/styles/background-colors.ts +38 -19
- package/src/styles/border-colors.ts +20 -1
- package/src/styles/colors.ts +42 -0
- package/src/styles/text-colors.ts +43 -8
- package/src/styles/utility-colors.ts +500 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'gray-50': {
|
|
3
|
+
light: string;
|
|
4
|
+
dark: string;
|
|
5
|
+
};
|
|
6
|
+
'gray-100': {
|
|
7
|
+
light: string;
|
|
8
|
+
dark: string;
|
|
9
|
+
};
|
|
10
|
+
'gray-200': {
|
|
11
|
+
light: string;
|
|
12
|
+
dark: string;
|
|
13
|
+
};
|
|
14
|
+
'gray-300': {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
'gray-400': {
|
|
19
|
+
light: string;
|
|
20
|
+
dark: string;
|
|
21
|
+
};
|
|
22
|
+
'gray-500': {
|
|
23
|
+
light: string;
|
|
24
|
+
dark: string;
|
|
25
|
+
};
|
|
26
|
+
'gray-600': {
|
|
27
|
+
light: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
'gray-700': {
|
|
31
|
+
light: string;
|
|
32
|
+
dark: string;
|
|
33
|
+
};
|
|
34
|
+
'gray-800': {
|
|
35
|
+
light: string;
|
|
36
|
+
dark: string;
|
|
37
|
+
};
|
|
38
|
+
'gray-900': {
|
|
39
|
+
light: string;
|
|
40
|
+
dark: string;
|
|
41
|
+
};
|
|
42
|
+
'brand-50': {
|
|
43
|
+
light: string;
|
|
44
|
+
dark: string;
|
|
45
|
+
};
|
|
46
|
+
'brand-100': {
|
|
47
|
+
light: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
};
|
|
50
|
+
'brand-200': {
|
|
51
|
+
light: string;
|
|
52
|
+
dark: string;
|
|
53
|
+
};
|
|
54
|
+
'brand-300': {
|
|
55
|
+
light: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
};
|
|
58
|
+
'brand-400': {
|
|
59
|
+
light: string;
|
|
60
|
+
dark: string;
|
|
61
|
+
};
|
|
62
|
+
'brand-500': {
|
|
63
|
+
light: string;
|
|
64
|
+
dark: string;
|
|
65
|
+
};
|
|
66
|
+
'brand-600': {
|
|
67
|
+
light: string;
|
|
68
|
+
dark: string;
|
|
69
|
+
};
|
|
70
|
+
'brand-700': {
|
|
71
|
+
light: string;
|
|
72
|
+
dark: string;
|
|
73
|
+
};
|
|
74
|
+
'brand-800': {
|
|
75
|
+
light: string;
|
|
76
|
+
dark: string;
|
|
77
|
+
};
|
|
78
|
+
'brand-900': {
|
|
79
|
+
light: string;
|
|
80
|
+
dark: string;
|
|
81
|
+
};
|
|
82
|
+
'error-50': {
|
|
83
|
+
light: string;
|
|
84
|
+
dark: string;
|
|
85
|
+
};
|
|
86
|
+
'error-100': {
|
|
87
|
+
light: string;
|
|
88
|
+
dark: string;
|
|
89
|
+
};
|
|
90
|
+
'error-200': {
|
|
91
|
+
light: string;
|
|
92
|
+
dark: string;
|
|
93
|
+
};
|
|
94
|
+
'error-300': {
|
|
95
|
+
light: string;
|
|
96
|
+
dark: string;
|
|
97
|
+
};
|
|
98
|
+
'error-400': {
|
|
99
|
+
light: string;
|
|
100
|
+
dark: string;
|
|
101
|
+
};
|
|
102
|
+
'error-500': {
|
|
103
|
+
light: string;
|
|
104
|
+
dark: string;
|
|
105
|
+
};
|
|
106
|
+
'error-600': {
|
|
107
|
+
light: string;
|
|
108
|
+
dark: string;
|
|
109
|
+
};
|
|
110
|
+
'error-700': {
|
|
111
|
+
light: string;
|
|
112
|
+
dark: string;
|
|
113
|
+
};
|
|
114
|
+
'warning-50': {
|
|
115
|
+
light: string;
|
|
116
|
+
dark: string;
|
|
117
|
+
};
|
|
118
|
+
'warning-100': {
|
|
119
|
+
light: string;
|
|
120
|
+
dark: string;
|
|
121
|
+
};
|
|
122
|
+
'warning-200': {
|
|
123
|
+
light: string;
|
|
124
|
+
dark: string;
|
|
125
|
+
};
|
|
126
|
+
'warning-300': {
|
|
127
|
+
light: string;
|
|
128
|
+
dark: string;
|
|
129
|
+
};
|
|
130
|
+
'warning-400': {
|
|
131
|
+
light: string;
|
|
132
|
+
dark: string;
|
|
133
|
+
};
|
|
134
|
+
'warning-500': {
|
|
135
|
+
light: string;
|
|
136
|
+
dark: string;
|
|
137
|
+
};
|
|
138
|
+
'warning-600': {
|
|
139
|
+
light: string;
|
|
140
|
+
dark: string;
|
|
141
|
+
};
|
|
142
|
+
'warning-700': {
|
|
143
|
+
light: string;
|
|
144
|
+
dark: string;
|
|
145
|
+
};
|
|
146
|
+
'success-50': {
|
|
147
|
+
light: string;
|
|
148
|
+
dark: string;
|
|
149
|
+
};
|
|
150
|
+
'success-100': {
|
|
151
|
+
light: string;
|
|
152
|
+
dark: string;
|
|
153
|
+
};
|
|
154
|
+
'success-200': {
|
|
155
|
+
light: string;
|
|
156
|
+
dark: string;
|
|
157
|
+
};
|
|
158
|
+
'success-300': {
|
|
159
|
+
light: string;
|
|
160
|
+
dark: string;
|
|
161
|
+
};
|
|
162
|
+
'success-400': {
|
|
163
|
+
light: string;
|
|
164
|
+
dark: string;
|
|
165
|
+
};
|
|
166
|
+
'success-500': {
|
|
167
|
+
light: string;
|
|
168
|
+
dark: string;
|
|
169
|
+
};
|
|
170
|
+
'success-600': {
|
|
171
|
+
light: string;
|
|
172
|
+
dark: string;
|
|
173
|
+
};
|
|
174
|
+
'success-700': {
|
|
175
|
+
light: string;
|
|
176
|
+
dark: string;
|
|
177
|
+
};
|
|
178
|
+
'gray_blue-50': {
|
|
179
|
+
light: string;
|
|
180
|
+
dark: string;
|
|
181
|
+
};
|
|
182
|
+
'gray_blue-100': {
|
|
183
|
+
light: string;
|
|
184
|
+
dark: string;
|
|
185
|
+
};
|
|
186
|
+
'gray_blue-200': {
|
|
187
|
+
light: string;
|
|
188
|
+
dark: string;
|
|
189
|
+
};
|
|
190
|
+
'gray_blue-300': {
|
|
191
|
+
light: string;
|
|
192
|
+
dark: string;
|
|
193
|
+
};
|
|
194
|
+
'gray_blue-400': {
|
|
195
|
+
light: string;
|
|
196
|
+
dark: string;
|
|
197
|
+
};
|
|
198
|
+
'gray_blue-500': {
|
|
199
|
+
light: string;
|
|
200
|
+
dark: string;
|
|
201
|
+
};
|
|
202
|
+
'gray_blue-600': {
|
|
203
|
+
light: string;
|
|
204
|
+
dark: string;
|
|
205
|
+
};
|
|
206
|
+
'gray_blue-700': {
|
|
207
|
+
light: string;
|
|
208
|
+
dark: string;
|
|
209
|
+
};
|
|
210
|
+
'blue_light-50': {
|
|
211
|
+
light: string;
|
|
212
|
+
dark: string;
|
|
213
|
+
};
|
|
214
|
+
'blue_light-100': {
|
|
215
|
+
light: string;
|
|
216
|
+
dark: string;
|
|
217
|
+
};
|
|
218
|
+
'blue_light-200': {
|
|
219
|
+
light: string;
|
|
220
|
+
dark: string;
|
|
221
|
+
};
|
|
222
|
+
'blue_light-300': {
|
|
223
|
+
light: string;
|
|
224
|
+
dark: string;
|
|
225
|
+
};
|
|
226
|
+
'blue_light-400': {
|
|
227
|
+
light: string;
|
|
228
|
+
dark: string;
|
|
229
|
+
};
|
|
230
|
+
'blue_light-500': {
|
|
231
|
+
light: string;
|
|
232
|
+
dark: string;
|
|
233
|
+
};
|
|
234
|
+
'blue_light-600': {
|
|
235
|
+
light: string;
|
|
236
|
+
dark: string;
|
|
237
|
+
};
|
|
238
|
+
'blue_light-700': {
|
|
239
|
+
light: string;
|
|
240
|
+
dark: string;
|
|
241
|
+
};
|
|
242
|
+
'blue-50': {
|
|
243
|
+
light: string;
|
|
244
|
+
dark: string;
|
|
245
|
+
};
|
|
246
|
+
'blue-100': {
|
|
247
|
+
light: string;
|
|
248
|
+
dark: string;
|
|
249
|
+
};
|
|
250
|
+
'blue-200': {
|
|
251
|
+
light: string;
|
|
252
|
+
dark: string;
|
|
253
|
+
};
|
|
254
|
+
'blue-300': {
|
|
255
|
+
light: string;
|
|
256
|
+
dark: string;
|
|
257
|
+
};
|
|
258
|
+
'blue-400': {
|
|
259
|
+
light: string;
|
|
260
|
+
dark: string;
|
|
261
|
+
};
|
|
262
|
+
'blue-500': {
|
|
263
|
+
light: string;
|
|
264
|
+
dark: string;
|
|
265
|
+
};
|
|
266
|
+
'blue-600': {
|
|
267
|
+
light: string;
|
|
268
|
+
dark: string;
|
|
269
|
+
};
|
|
270
|
+
'blue-700': {
|
|
271
|
+
light: string;
|
|
272
|
+
dark: string;
|
|
273
|
+
};
|
|
274
|
+
'blue_dark-50': {
|
|
275
|
+
light: string;
|
|
276
|
+
dark: string;
|
|
277
|
+
};
|
|
278
|
+
'blue_dark-100': {
|
|
279
|
+
light: string;
|
|
280
|
+
dark: string;
|
|
281
|
+
};
|
|
282
|
+
'blue_dark-200': {
|
|
283
|
+
light: string;
|
|
284
|
+
dark: string;
|
|
285
|
+
};
|
|
286
|
+
'blue_dark-300': {
|
|
287
|
+
light: string;
|
|
288
|
+
dark: string;
|
|
289
|
+
};
|
|
290
|
+
'blue_dark-400': {
|
|
291
|
+
light: string;
|
|
292
|
+
dark: string;
|
|
293
|
+
};
|
|
294
|
+
'blue_dark-500': {
|
|
295
|
+
light: string;
|
|
296
|
+
dark: string;
|
|
297
|
+
};
|
|
298
|
+
'blue_dark-600': {
|
|
299
|
+
light: string;
|
|
300
|
+
dark: string;
|
|
301
|
+
};
|
|
302
|
+
'blue_dark-700': {
|
|
303
|
+
light: string;
|
|
304
|
+
dark: string;
|
|
305
|
+
};
|
|
306
|
+
'indigo-50': {
|
|
307
|
+
light: string;
|
|
308
|
+
dark: string;
|
|
309
|
+
};
|
|
310
|
+
'indigo-100': {
|
|
311
|
+
light: string;
|
|
312
|
+
dark: string;
|
|
313
|
+
};
|
|
314
|
+
'indigo-200': {
|
|
315
|
+
light: string;
|
|
316
|
+
dark: string;
|
|
317
|
+
};
|
|
318
|
+
'indigo-300': {
|
|
319
|
+
light: string;
|
|
320
|
+
dark: string;
|
|
321
|
+
};
|
|
322
|
+
'indigo-400': {
|
|
323
|
+
light: string;
|
|
324
|
+
dark: string;
|
|
325
|
+
};
|
|
326
|
+
'indigo-500': {
|
|
327
|
+
light: string;
|
|
328
|
+
dark: string;
|
|
329
|
+
};
|
|
330
|
+
'indigo-600': {
|
|
331
|
+
light: string;
|
|
332
|
+
dark: string;
|
|
333
|
+
};
|
|
334
|
+
'indigo-700': {
|
|
335
|
+
light: string;
|
|
336
|
+
dark: string;
|
|
337
|
+
};
|
|
338
|
+
'purple-50': {
|
|
339
|
+
light: string;
|
|
340
|
+
dark: string;
|
|
341
|
+
};
|
|
342
|
+
'purple-100': {
|
|
343
|
+
light: string;
|
|
344
|
+
dark: string;
|
|
345
|
+
};
|
|
346
|
+
'purple-200': {
|
|
347
|
+
light: string;
|
|
348
|
+
dark: string;
|
|
349
|
+
};
|
|
350
|
+
'purple-300': {
|
|
351
|
+
light: string;
|
|
352
|
+
dark: string;
|
|
353
|
+
};
|
|
354
|
+
'purple-400': {
|
|
355
|
+
light: string;
|
|
356
|
+
dark: string;
|
|
357
|
+
};
|
|
358
|
+
'purple-500': {
|
|
359
|
+
light: string;
|
|
360
|
+
dark: string;
|
|
361
|
+
};
|
|
362
|
+
'purple-600': {
|
|
363
|
+
light: string;
|
|
364
|
+
dark: string;
|
|
365
|
+
};
|
|
366
|
+
'purple-700': {
|
|
367
|
+
light: string;
|
|
368
|
+
dark: string;
|
|
369
|
+
};
|
|
370
|
+
'fuchsia-50': {
|
|
371
|
+
light: string;
|
|
372
|
+
dark: string;
|
|
373
|
+
};
|
|
374
|
+
'fuchsia-100': {
|
|
375
|
+
light: string;
|
|
376
|
+
dark: string;
|
|
377
|
+
};
|
|
378
|
+
'fuchsia-200': {
|
|
379
|
+
light: string;
|
|
380
|
+
dark: string;
|
|
381
|
+
};
|
|
382
|
+
'fuchsia-300': {
|
|
383
|
+
light: string;
|
|
384
|
+
dark: string;
|
|
385
|
+
};
|
|
386
|
+
'fuchsia-400': {
|
|
387
|
+
light: string;
|
|
388
|
+
dark: string;
|
|
389
|
+
};
|
|
390
|
+
'fuchsia-500': {
|
|
391
|
+
light: string;
|
|
392
|
+
dark: string;
|
|
393
|
+
};
|
|
394
|
+
'fuchsia-600': {
|
|
395
|
+
light: string;
|
|
396
|
+
dark: string;
|
|
397
|
+
};
|
|
398
|
+
'fuchsia-700': {
|
|
399
|
+
light: string;
|
|
400
|
+
dark: string;
|
|
401
|
+
};
|
|
402
|
+
'pink-50': {
|
|
403
|
+
light: string;
|
|
404
|
+
dark: string;
|
|
405
|
+
};
|
|
406
|
+
'pink-100': {
|
|
407
|
+
light: string;
|
|
408
|
+
dark: string;
|
|
409
|
+
};
|
|
410
|
+
'pink-200': {
|
|
411
|
+
light: string;
|
|
412
|
+
dark: string;
|
|
413
|
+
};
|
|
414
|
+
'pink-300': {
|
|
415
|
+
light: string;
|
|
416
|
+
dark: string;
|
|
417
|
+
};
|
|
418
|
+
'pink-400': {
|
|
419
|
+
light: string;
|
|
420
|
+
dark: string;
|
|
421
|
+
};
|
|
422
|
+
'pink-500': {
|
|
423
|
+
light: string;
|
|
424
|
+
dark: string;
|
|
425
|
+
};
|
|
426
|
+
'pink-600': {
|
|
427
|
+
light: string;
|
|
428
|
+
dark: string;
|
|
429
|
+
};
|
|
430
|
+
'pink-700': {
|
|
431
|
+
light: string;
|
|
432
|
+
dark: string;
|
|
433
|
+
};
|
|
434
|
+
'orange_dark-50': {
|
|
435
|
+
light: string;
|
|
436
|
+
dark: string;
|
|
437
|
+
};
|
|
438
|
+
'orange_dark-100': {
|
|
439
|
+
light: string;
|
|
440
|
+
dark: string;
|
|
441
|
+
};
|
|
442
|
+
'orange_dark-200': {
|
|
443
|
+
light: string;
|
|
444
|
+
dark: string;
|
|
445
|
+
};
|
|
446
|
+
'orange_dark-300': {
|
|
447
|
+
light: string;
|
|
448
|
+
dark: string;
|
|
449
|
+
};
|
|
450
|
+
'orange_dark-400': {
|
|
451
|
+
light: string;
|
|
452
|
+
dark: string;
|
|
453
|
+
};
|
|
454
|
+
'orange_dark-500': {
|
|
455
|
+
light: string;
|
|
456
|
+
dark: string;
|
|
457
|
+
};
|
|
458
|
+
'orange_dark-600': {
|
|
459
|
+
light: string;
|
|
460
|
+
dark: string;
|
|
461
|
+
};
|
|
462
|
+
'orange_dark-700': {
|
|
463
|
+
light: string;
|
|
464
|
+
dark: string;
|
|
465
|
+
};
|
|
466
|
+
'orange-50': {
|
|
467
|
+
light: string;
|
|
468
|
+
dark: string;
|
|
469
|
+
};
|
|
470
|
+
'orange-100': {
|
|
471
|
+
light: string;
|
|
472
|
+
dark: string;
|
|
473
|
+
};
|
|
474
|
+
'orange-200': {
|
|
475
|
+
light: string;
|
|
476
|
+
dark: string;
|
|
477
|
+
};
|
|
478
|
+
'orange-300': {
|
|
479
|
+
light: string;
|
|
480
|
+
dark: string;
|
|
481
|
+
};
|
|
482
|
+
'orange-400': {
|
|
483
|
+
light: string;
|
|
484
|
+
dark: string;
|
|
485
|
+
};
|
|
486
|
+
'orange-500': {
|
|
487
|
+
light: string;
|
|
488
|
+
dark: string;
|
|
489
|
+
};
|
|
490
|
+
'orange-600': {
|
|
491
|
+
light: string;
|
|
492
|
+
dark: string;
|
|
493
|
+
};
|
|
494
|
+
'orange-700': {
|
|
495
|
+
light: string;
|
|
496
|
+
dark: string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
export default _default;
|
|
500
|
+
//# sourceMappingURL=utility-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utility-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/utility-colors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAifE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heroicons.d.ts","sourceRoot":"","sources":["../../../../src/types/heroicons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAExD,UAAU,aAAc,SAAQ,QAAQ;IACpC,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,KAAK,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAAC;CACrC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ViewProps } from 'react-native';
|
|
2
|
+
import { HeroIcon } from '../types/heroicons';
|
|
3
|
+
export type BadgeVariant = 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'blue_gray' | 'blue_light' | 'blue' | 'indigo' | 'purple' | 'pink' | 'orange';
|
|
4
|
+
export type BadgeSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
interface BaseBadgeProps extends ViewProps {
|
|
6
|
+
variant?: BadgeVariant;
|
|
7
|
+
size?: BadgeSize;
|
|
8
|
+
text: string;
|
|
9
|
+
transparent?: boolean;
|
|
10
|
+
squared?: boolean;
|
|
11
|
+
LeftIcon?: HeroIcon | null;
|
|
12
|
+
RightIcon?: HeroIcon | null;
|
|
13
|
+
}
|
|
14
|
+
export default function BaseBadge({ variant, size, text, transparent, squared, LeftIcon, RightIcon, ...props }: BaseBadgeProps): import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=BaseBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseBadge.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,MAAM,YAAY,GACtB,MAAM,GACN,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,WAAW,GACX,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,QAAQ,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,UAAU,cAAe,SAAQ,SAAS;IACxC,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,OAAgB,EAChB,IAAW,EACX,IAAI,EACJ,WAAmB,EACnB,OAAe,EACf,QAAe,EACf,SAAgB,EAChB,GAAG,KAAK,EACT,EAAE,cAAc,+BA+HhB"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PressableProps } from 'react-native';
|
|
3
|
+
import { HeroIcon } from '../types/heroicons';
|
|
3
4
|
interface ButtonProps extends PressableProps {
|
|
4
|
-
variant?: 'primary' | 'secondary' | 'tertiary' | 'link-color' | 'link-gray'
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'link-color' | 'link-gray';
|
|
5
6
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
7
|
text?: string;
|
|
7
8
|
loading?: boolean;
|
|
8
9
|
disabled?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
destructive?: boolean;
|
|
11
|
+
LeftIcon?: HeroIcon | null;
|
|
12
|
+
RightIcon?: HeroIcon | null;
|
|
11
13
|
countdownSecs?: number;
|
|
12
14
|
}
|
|
13
|
-
export default function BaseButton({ variant, size, text, loading, disabled, LeftIcon, RightIcon, hitSlop, countdownSecs, ...props }: ButtonProps): React.JSX.Element;
|
|
15
|
+
export default function BaseButton({ variant, size, text, loading, disabled, destructive, LeftIcon, RightIcon, hitSlop, countdownSecs, ...props }: ButtonProps): React.JSX.Element;
|
|
14
16
|
export {};
|
|
15
17
|
//# sourceMappingURL=BaseButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACM,cAAc,EAC1B,MAAM,cAAc,CAAC;AAEtB,UAAU,WAAY,SAAQ,cAAc;IAC1C,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACM,cAAc,EAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,UAAU,WAAY,SAAQ,cAAc;IAC1C,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,CAAC;IAC5E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,OAAmB,EACnB,IAAW,EACX,IAAS,EACT,OAAe,EACf,QAAgB,EAChB,WAAmB,EACnB,QAAe,EACf,SAAgB,EAChB,OAAW,EACX,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,WAAW,qBA2Nb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,128 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
dark: string;
|
|
5
|
-
};
|
|
6
|
-
'bg-primary_alt': {
|
|
7
|
-
light: string;
|
|
8
|
-
dark: string;
|
|
9
|
-
};
|
|
10
|
-
'bg-primary_hover': {
|
|
11
|
-
light: string;
|
|
12
|
-
dark: string;
|
|
13
|
-
};
|
|
14
|
-
'bg-primary_solid': {
|
|
15
|
-
light: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
};
|
|
18
|
-
'bg-secondary': {
|
|
19
|
-
light: string;
|
|
20
|
-
dark: string;
|
|
21
|
-
};
|
|
22
|
-
'bg-secondary_alt': {
|
|
23
|
-
light: string;
|
|
24
|
-
dark: string;
|
|
25
|
-
};
|
|
26
|
-
'bg-secondary_hover': {
|
|
27
|
-
light: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
};
|
|
30
|
-
'bg-secondary_subtle': {
|
|
31
|
-
light: string;
|
|
32
|
-
dark: string;
|
|
33
|
-
};
|
|
34
|
-
'bg-secondary_solid': {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
'bg-tertiary': {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
42
|
-
'bg-quaternary': {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
'bg-active': {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
'bg-disabled': {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
'bg-disabled_subtle': {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
'bg-overlay': {
|
|
59
|
-
light: string;
|
|
60
|
-
dark: string;
|
|
61
|
-
};
|
|
62
|
-
'bg-brand_primary': {
|
|
63
|
-
light: string;
|
|
64
|
-
dark: string;
|
|
65
|
-
};
|
|
66
|
-
'bg-brand_primary_alt': {
|
|
67
|
-
light: string;
|
|
68
|
-
dark: string;
|
|
69
|
-
};
|
|
70
|
-
'bg-brand_secondary': {
|
|
71
|
-
light: string;
|
|
72
|
-
dark: string;
|
|
73
|
-
};
|
|
74
|
-
'bg-brand_solid': {
|
|
75
|
-
light: string;
|
|
76
|
-
dark: string;
|
|
77
|
-
};
|
|
78
|
-
'bg-brand_solid_hover': {
|
|
79
|
-
light: string;
|
|
80
|
-
dark: string;
|
|
81
|
-
};
|
|
82
|
-
'bg-brand_section': {
|
|
83
|
-
light: string;
|
|
84
|
-
dark: string;
|
|
85
|
-
};
|
|
86
|
-
'bg-brand_section_subtle': {
|
|
87
|
-
light: string;
|
|
88
|
-
dark: string;
|
|
89
|
-
};
|
|
90
|
-
'bg-error_primary': {
|
|
91
|
-
light: string;
|
|
92
|
-
dark: string;
|
|
93
|
-
};
|
|
94
|
-
'bg-error_secondary': {
|
|
95
|
-
light: string;
|
|
96
|
-
dark: string;
|
|
97
|
-
};
|
|
98
|
-
'bg-error_solid': {
|
|
99
|
-
light: string;
|
|
100
|
-
dark: string;
|
|
101
|
-
};
|
|
102
|
-
'bg-warning_primary': {
|
|
103
|
-
light: string;
|
|
104
|
-
dark: string;
|
|
105
|
-
};
|
|
106
|
-
'bg-warning_secondary': {
|
|
107
|
-
light: string;
|
|
108
|
-
dark: string;
|
|
109
|
-
};
|
|
110
|
-
'bg-warning_solid': {
|
|
111
|
-
light: string;
|
|
112
|
-
dark: string;
|
|
113
|
-
};
|
|
114
|
-
'bg-success_primary': {
|
|
115
|
-
light: string;
|
|
116
|
-
dark: string;
|
|
117
|
-
};
|
|
118
|
-
'bg-success_secondary': {
|
|
119
|
-
light: string;
|
|
120
|
-
dark: string;
|
|
121
|
-
};
|
|
122
|
-
'bg-success_solid': {
|
|
123
|
-
light: string;
|
|
124
|
-
dark: string;
|
|
125
|
-
};
|
|
1
|
+
type ColorObject = {
|
|
2
|
+
light: string;
|
|
3
|
+
dark: string;
|
|
126
4
|
};
|
|
127
|
-
|
|
5
|
+
type BackgroundColorsType = {
|
|
6
|
+
[key: string]: ColorObject;
|
|
7
|
+
};
|
|
8
|
+
declare const backgroundColors: BackgroundColorsType;
|
|
9
|
+
export default backgroundColors;
|
|
128
10
|
//# sourceMappingURL=background-colors.d.ts.map
|