@bikdotai/bik-component-library 0.0.1-chips-beta → 0.0.1

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.
Files changed (71) hide show
  1. package/dist/cjs/_virtual/_tslib.js +1 -0
  2. package/dist/cjs/assets/icons/plus.svg.js +1 -0
  3. package/dist/cjs/components/TypographyStyle.d.ts +15 -0
  4. package/dist/cjs/components/button/Button.d.ts +20 -0
  5. package/dist/cjs/components/button/Button.js +1 -0
  6. package/dist/cjs/components/button/Button.styled.d.ts +9 -0
  7. package/dist/cjs/components/button/Button.styled.js +1 -0
  8. package/dist/cjs/components/button/index.d.ts +1 -0
  9. package/dist/cjs/components/button/themes.d.ts +2 -0
  10. package/dist/cjs/components/button/themes.js +1 -0
  11. package/dist/cjs/components/checkBox/CheckBox.d.ts +9 -0
  12. package/dist/cjs/components/checkBox/CheckBox.styled.d.ts +7 -0
  13. package/dist/cjs/components/checkBox/index.d.ts +1 -0
  14. package/dist/cjs/components/list-item/ListItem.d.ts +17 -0
  15. package/dist/cjs/components/list-item/ListItem.styled.d.ts +9 -0
  16. package/dist/cjs/components/list-item/index.d.ts +1 -0
  17. package/dist/cjs/components/list-item/themes.d.ts +3 -0
  18. package/dist/cjs/components/pagination/Pagination.d.ts +9 -0
  19. package/dist/cjs/components/pagination/Pagination.styled.d.ts +5 -0
  20. package/dist/cjs/components/pagination/index.d.ts +1 -0
  21. package/dist/cjs/components/radioButton/RadioButton.d.ts +8 -0
  22. package/dist/cjs/components/radioButton/RadioButton.styled.d.ts +7 -0
  23. package/dist/cjs/components/radioButton/index.d.ts +1 -0
  24. package/dist/cjs/constants/Theme.d.ts +585 -0
  25. package/dist/cjs/constants/Theme.js +1 -0
  26. package/dist/cjs/constants/breakpoints.d.ts +6 -0
  27. package/dist/cjs/constants/colors.d.ts +7 -0
  28. package/dist/cjs/constants/colors.js +1 -0
  29. package/dist/cjs/constants/spacing.d.ts +2 -0
  30. package/dist/cjs/index.d.ts +2 -0
  31. package/dist/cjs/index.js +1 -0
  32. package/dist/cjs/utils/classNames.d.ts +7 -0
  33. package/dist/cjs/utils/classNames.js +1 -0
  34. package/dist/cjs/utils/rgba.d.ts +8 -0
  35. package/dist/cjs/utils/rgba.js +1 -0
  36. package/dist/esm/_virtual/_tslib.js +1 -0
  37. package/dist/esm/assets/icons/plus.svg.js +1 -0
  38. package/dist/esm/components/TypographyStyle.d.ts +15 -0
  39. package/dist/esm/components/button/Button.d.ts +20 -0
  40. package/dist/esm/components/button/Button.js +1 -0
  41. package/dist/esm/components/button/Button.styled.d.ts +9 -0
  42. package/dist/esm/components/button/Button.styled.js +1 -0
  43. package/dist/esm/components/button/index.d.ts +1 -0
  44. package/dist/esm/components/button/themes.d.ts +2 -0
  45. package/dist/esm/components/button/themes.js +1 -0
  46. package/dist/esm/components/checkBox/CheckBox.d.ts +9 -0
  47. package/dist/esm/components/checkBox/CheckBox.styled.d.ts +7 -0
  48. package/dist/esm/components/checkBox/index.d.ts +1 -0
  49. package/dist/esm/components/list-item/ListItem.d.ts +17 -0
  50. package/dist/esm/components/list-item/ListItem.styled.d.ts +9 -0
  51. package/dist/esm/components/list-item/index.d.ts +1 -0
  52. package/dist/esm/components/list-item/themes.d.ts +3 -0
  53. package/dist/esm/components/pagination/Pagination.d.ts +9 -0
  54. package/dist/esm/components/pagination/Pagination.styled.d.ts +5 -0
  55. package/dist/esm/components/pagination/index.d.ts +1 -0
  56. package/dist/esm/components/radioButton/RadioButton.d.ts +8 -0
  57. package/dist/esm/components/radioButton/RadioButton.styled.d.ts +7 -0
  58. package/dist/esm/components/radioButton/index.d.ts +1 -0
  59. package/dist/esm/constants/Theme.d.ts +585 -0
  60. package/dist/esm/constants/Theme.js +1 -0
  61. package/dist/esm/constants/breakpoints.d.ts +6 -0
  62. package/dist/esm/constants/colors.d.ts +7 -0
  63. package/dist/esm/constants/colors.js +1 -0
  64. package/dist/esm/constants/spacing.d.ts +2 -0
  65. package/dist/esm/index.d.ts +2 -0
  66. package/dist/esm/index.js +1 -0
  67. package/dist/esm/utils/classNames.d.ts +7 -0
  68. package/dist/esm/utils/classNames.js +1 -0
  69. package/dist/esm/utils/rgba.d.ts +8 -0
  70. package/dist/esm/utils/rgba.js +1 -0
  71. package/package.json +4 -18
@@ -0,0 +1,585 @@
1
+ export declare const BASE_COLORS: {
2
+ brand: {
3
+ 900: string;
4
+ 800: string;
5
+ 500: string;
6
+ 50: string;
7
+ };
8
+ grayscale: {
9
+ 900: string;
10
+ 700: string;
11
+ 500: string;
12
+ 400: string;
13
+ 200: string;
14
+ 100: string;
15
+ 50: string;
16
+ white: string;
17
+ alpha: string;
18
+ };
19
+ negative: {
20
+ 900: string;
21
+ 700: string;
22
+ 100: string;
23
+ 50: string;
24
+ };
25
+ warning: {
26
+ 900: string;
27
+ 500: string;
28
+ 100: string;
29
+ 50: string;
30
+ };
31
+ positive: {
32
+ 900: string;
33
+ 700: string;
34
+ 100: string;
35
+ 50: string;
36
+ };
37
+ };
38
+ export declare const COLORS: {
39
+ background: {
40
+ inactive: string;
41
+ base: string;
42
+ inverse: string;
43
+ inverseLight: string;
44
+ brand: string;
45
+ brandLight: string;
46
+ negative: {
47
+ vibrant: string;
48
+ light: string;
49
+ };
50
+ warning: {
51
+ vibrant: string;
52
+ light: string;
53
+ };
54
+ positive: {
55
+ vibrant: string;
56
+ light: string;
57
+ };
58
+ blue: {
59
+ light: string;
60
+ };
61
+ };
62
+ scrim: {
63
+ standard: string;
64
+ };
65
+ surface: {
66
+ standard: string;
67
+ subdued: string;
68
+ hovered: string;
69
+ };
70
+ content: {
71
+ primary: string;
72
+ secondary: string;
73
+ placeholder: string;
74
+ inactive: string;
75
+ brand: string;
76
+ primaryInverse: string;
77
+ secondaryInverse: string;
78
+ negative: string;
79
+ warning: string;
80
+ positive: string;
81
+ blue: string;
82
+ };
83
+ stroke: {
84
+ primary: string;
85
+ brand: string;
86
+ negative: {
87
+ lightAlt: string;
88
+ };
89
+ warning: {
90
+ lightAlt: string;
91
+ };
92
+ positive: {
93
+ lightAlt: string;
94
+ };
95
+ brandLightAlt: string;
96
+ blue: {
97
+ lightAlt: string;
98
+ };
99
+ };
100
+ special: {
101
+ whatsapp: {
102
+ brand: string;
103
+ gradient: string;
104
+ dark: string;
105
+ gradientArr: string[];
106
+ };
107
+ brand: {
108
+ google: string;
109
+ facebook: string;
110
+ };
111
+ };
112
+ text: {
113
+ primary: string;
114
+ secondary: string;
115
+ placeholder: string;
116
+ disabled: string;
117
+ white: string;
118
+ brand: string;
119
+ altPrimary: string;
120
+ altSecondary: string;
121
+ };
122
+ };
123
+ export declare const FONTS: {
124
+ display: {
125
+ fontWeight: string;
126
+ fontSize: number;
127
+ lineHeight: number;
128
+ letterSpacing: number;
129
+ };
130
+ titleXLarge: {
131
+ fontWeight: string;
132
+ fontSize: number;
133
+ lineHeight: number;
134
+ letterSpacing: number;
135
+ };
136
+ titleLarge: {
137
+ fontWeight: string;
138
+ fontSize: number;
139
+ lineHeight: number;
140
+ letterSpacing: number;
141
+ };
142
+ titleMedium: {
143
+ fontWeight: string;
144
+ fontSize: number;
145
+ lineHeight: number;
146
+ letterSpacing: number;
147
+ };
148
+ titleRegular: {
149
+ fontWeight: string;
150
+ fontSize: number;
151
+ lineHeight: number;
152
+ letterSpacing: number;
153
+ };
154
+ titleSmall: {
155
+ fontWeight: string;
156
+ fontSize: number;
157
+ lineHeight: number;
158
+ letterSpacing: number;
159
+ };
160
+ bodyPrimary: {
161
+ fontWeight: string;
162
+ fontSize: number;
163
+ lineHeight: number;
164
+ letterSpacing: number;
165
+ };
166
+ bodyLarge: {
167
+ fontWeight: string;
168
+ fontSize: number;
169
+ lineHeight: number;
170
+ letterSpacing: number;
171
+ };
172
+ bodySecondary: {
173
+ fontWeight: string;
174
+ fontSize: number;
175
+ lineHeight: number;
176
+ letterSpacing: number;
177
+ };
178
+ caption: {
179
+ fontWeight: string;
180
+ fontSize: number;
181
+ lineHeight: number;
182
+ letterSpacing: number;
183
+ };
184
+ tiny: {
185
+ fontWeight: string;
186
+ fontSize: number;
187
+ lineHeight: number;
188
+ letterSpacing: number;
189
+ };
190
+ subHeading: {
191
+ fontWeight: string;
192
+ fontSize: number;
193
+ lineHeight: number;
194
+ letterSpacing: number;
195
+ };
196
+ title1: {
197
+ fontWeight: string;
198
+ fontSize: number;
199
+ lineHeight: number;
200
+ letterSpacing: number;
201
+ };
202
+ title1Mobile: {
203
+ fontWeight: string;
204
+ fontSize: number;
205
+ lineHeight: number;
206
+ letterSpacing: number;
207
+ };
208
+ title2: {
209
+ fontWeight: string;
210
+ fontSize: number;
211
+ lineHeight: number;
212
+ letterSpacing: number;
213
+ };
214
+ title2Mobile: {
215
+ fontWeight: string;
216
+ fontSize: number;
217
+ lineHeight: number;
218
+ letterSpacing: number;
219
+ };
220
+ title3: {
221
+ fontWeight: string;
222
+ fontSize: number;
223
+ lineHeight: number;
224
+ letterSpacing: number;
225
+ };
226
+ title3Mobile: {
227
+ fontWeight: string;
228
+ fontSize: number;
229
+ lineHeight: number;
230
+ letterSpacing: number;
231
+ };
232
+ title4: {
233
+ fontWeight: string;
234
+ fontSize: number;
235
+ lineHeight: number;
236
+ letterSpacing: number;
237
+ };
238
+ textPlaceholder: {
239
+ fontWeight: string;
240
+ fontSize: number;
241
+ lineHeight: number;
242
+ letterSpacing: number;
243
+ };
244
+ title4Mobile: {
245
+ fontWeight: string;
246
+ fontSize: number;
247
+ lineHeight: number;
248
+ letterSpacing: number;
249
+ };
250
+ bodyRegularMobile: {
251
+ fontWeight: string;
252
+ fontSize: number;
253
+ lineHeight: number;
254
+ letterSpacing: number;
255
+ };
256
+ bodyRegular: {
257
+ fontWeight: string;
258
+ fontSize: number;
259
+ lineHeight: number;
260
+ letterSpacing: number;
261
+ };
262
+ bodySmall: {
263
+ fontWeight: string;
264
+ fontSize: number;
265
+ lineHeight: number;
266
+ letterSpacing: number;
267
+ };
268
+ buttonLarge: {
269
+ fontWeight: string;
270
+ fontSize: number;
271
+ lineHeight: number;
272
+ letterSpacing: number;
273
+ };
274
+ buttonRegular: {
275
+ fontWeight: string;
276
+ fontSize: number;
277
+ lineHeight: number;
278
+ letterSpacing: number;
279
+ };
280
+ captionMobile: {
281
+ fontWeight: string;
282
+ fontSize: number;
283
+ lineHeight: number;
284
+ letterSpacing: number;
285
+ };
286
+ captionBold: {
287
+ fontWeight: string;
288
+ fontSize: number;
289
+ lineHeight: number;
290
+ letterSpacing: number;
291
+ };
292
+ text1Bold: {
293
+ fontWeight: string;
294
+ fontSize: number;
295
+ lineHeight: number;
296
+ letterSpacing: number;
297
+ };
298
+ toast: {
299
+ fontWeight: string;
300
+ fontSize: number;
301
+ lineHeight: number;
302
+ letterSpacing: number;
303
+ };
304
+ toastMobile: {
305
+ fontWeight: string;
306
+ fontSize: number;
307
+ lineHeight: number;
308
+ letterSpacing: number;
309
+ };
310
+ };
311
+ export declare const DEFAULT_THEME: {
312
+ colorsV2: {
313
+ background: {
314
+ inactive: string;
315
+ base: string;
316
+ inverse: string;
317
+ inverseLight: string;
318
+ brand: string;
319
+ brandLight: string;
320
+ negative: {
321
+ vibrant: string;
322
+ light: string;
323
+ };
324
+ warning: {
325
+ vibrant: string;
326
+ light: string;
327
+ };
328
+ positive: {
329
+ vibrant: string;
330
+ light: string;
331
+ };
332
+ blue: {
333
+ light: string;
334
+ };
335
+ };
336
+ scrim: {
337
+ standard: string;
338
+ };
339
+ surface: {
340
+ standard: string;
341
+ subdued: string;
342
+ hovered: string;
343
+ };
344
+ content: {
345
+ primary: string;
346
+ secondary: string;
347
+ placeholder: string;
348
+ inactive: string;
349
+ brand: string;
350
+ primaryInverse: string;
351
+ secondaryInverse: string;
352
+ negative: string;
353
+ warning: string;
354
+ positive: string;
355
+ blue: string;
356
+ };
357
+ stroke: {
358
+ primary: string;
359
+ brand: string;
360
+ negative: {
361
+ lightAlt: string;
362
+ };
363
+ warning: {
364
+ lightAlt: string;
365
+ };
366
+ positive: {
367
+ lightAlt: string;
368
+ };
369
+ brandLightAlt: string;
370
+ blue: {
371
+ lightAlt: string;
372
+ };
373
+ };
374
+ special: {
375
+ whatsapp: {
376
+ brand: string;
377
+ gradient: string;
378
+ dark: string;
379
+ gradientArr: string[];
380
+ };
381
+ brand: {
382
+ google: string;
383
+ facebook: string;
384
+ };
385
+ };
386
+ text: {
387
+ primary: string;
388
+ secondary: string;
389
+ placeholder: string;
390
+ disabled: string;
391
+ white: string;
392
+ brand: string;
393
+ altPrimary: string;
394
+ altSecondary: string;
395
+ };
396
+ };
397
+ fonts: {
398
+ display: {
399
+ fontWeight: string;
400
+ fontSize: number;
401
+ lineHeight: number;
402
+ letterSpacing: number;
403
+ };
404
+ titleXLarge: {
405
+ fontWeight: string;
406
+ fontSize: number;
407
+ lineHeight: number;
408
+ letterSpacing: number;
409
+ };
410
+ titleLarge: {
411
+ fontWeight: string;
412
+ fontSize: number;
413
+ lineHeight: number;
414
+ letterSpacing: number;
415
+ };
416
+ titleMedium: {
417
+ fontWeight: string;
418
+ fontSize: number;
419
+ lineHeight: number;
420
+ letterSpacing: number;
421
+ };
422
+ titleRegular: {
423
+ fontWeight: string;
424
+ fontSize: number;
425
+ lineHeight: number;
426
+ letterSpacing: number;
427
+ };
428
+ titleSmall: {
429
+ fontWeight: string;
430
+ fontSize: number;
431
+ lineHeight: number;
432
+ letterSpacing: number;
433
+ };
434
+ bodyPrimary: {
435
+ fontWeight: string;
436
+ fontSize: number;
437
+ lineHeight: number;
438
+ letterSpacing: number;
439
+ };
440
+ bodyLarge: {
441
+ fontWeight: string;
442
+ fontSize: number;
443
+ lineHeight: number;
444
+ letterSpacing: number;
445
+ };
446
+ bodySecondary: {
447
+ fontWeight: string;
448
+ fontSize: number;
449
+ lineHeight: number;
450
+ letterSpacing: number;
451
+ };
452
+ caption: {
453
+ fontWeight: string;
454
+ fontSize: number;
455
+ lineHeight: number;
456
+ letterSpacing: number;
457
+ };
458
+ tiny: {
459
+ fontWeight: string;
460
+ fontSize: number;
461
+ lineHeight: number;
462
+ letterSpacing: number;
463
+ };
464
+ subHeading: {
465
+ fontWeight: string;
466
+ fontSize: number;
467
+ lineHeight: number;
468
+ letterSpacing: number;
469
+ };
470
+ title1: {
471
+ fontWeight: string;
472
+ fontSize: number;
473
+ lineHeight: number;
474
+ letterSpacing: number;
475
+ };
476
+ title1Mobile: {
477
+ fontWeight: string;
478
+ fontSize: number;
479
+ lineHeight: number;
480
+ letterSpacing: number;
481
+ };
482
+ title2: {
483
+ fontWeight: string;
484
+ fontSize: number;
485
+ lineHeight: number;
486
+ letterSpacing: number;
487
+ };
488
+ title2Mobile: {
489
+ fontWeight: string;
490
+ fontSize: number;
491
+ lineHeight: number;
492
+ letterSpacing: number;
493
+ };
494
+ title3: {
495
+ fontWeight: string;
496
+ fontSize: number;
497
+ lineHeight: number;
498
+ letterSpacing: number;
499
+ };
500
+ title3Mobile: {
501
+ fontWeight: string;
502
+ fontSize: number;
503
+ lineHeight: number;
504
+ letterSpacing: number;
505
+ };
506
+ title4: {
507
+ fontWeight: string;
508
+ fontSize: number;
509
+ lineHeight: number;
510
+ letterSpacing: number;
511
+ };
512
+ textPlaceholder: {
513
+ fontWeight: string;
514
+ fontSize: number;
515
+ lineHeight: number;
516
+ letterSpacing: number;
517
+ };
518
+ title4Mobile: {
519
+ fontWeight: string;
520
+ fontSize: number;
521
+ lineHeight: number;
522
+ letterSpacing: number;
523
+ };
524
+ bodyRegularMobile: {
525
+ fontWeight: string;
526
+ fontSize: number;
527
+ lineHeight: number;
528
+ letterSpacing: number;
529
+ };
530
+ bodyRegular: {
531
+ fontWeight: string;
532
+ fontSize: number;
533
+ lineHeight: number;
534
+ letterSpacing: number;
535
+ };
536
+ bodySmall: {
537
+ fontWeight: string;
538
+ fontSize: number;
539
+ lineHeight: number;
540
+ letterSpacing: number;
541
+ };
542
+ buttonLarge: {
543
+ fontWeight: string;
544
+ fontSize: number;
545
+ lineHeight: number;
546
+ letterSpacing: number;
547
+ };
548
+ buttonRegular: {
549
+ fontWeight: string;
550
+ fontSize: number;
551
+ lineHeight: number;
552
+ letterSpacing: number;
553
+ };
554
+ captionMobile: {
555
+ fontWeight: string;
556
+ fontSize: number;
557
+ lineHeight: number;
558
+ letterSpacing: number;
559
+ };
560
+ captionBold: {
561
+ fontWeight: string;
562
+ fontSize: number;
563
+ lineHeight: number;
564
+ letterSpacing: number;
565
+ };
566
+ text1Bold: {
567
+ fontWeight: string;
568
+ fontSize: number;
569
+ lineHeight: number;
570
+ letterSpacing: number;
571
+ };
572
+ toast: {
573
+ fontWeight: string;
574
+ fontSize: number;
575
+ lineHeight: number;
576
+ letterSpacing: number;
577
+ };
578
+ toastMobile: {
579
+ fontWeight: string;
580
+ fontSize: number;
581
+ lineHeight: number;
582
+ letterSpacing: number;
583
+ };
584
+ };
585
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={brand:{900:"#28034E",800:"#4B1583",500:"#731DCF",50:"#EFE6F9"},grayscale:{900:"#212121",700:"#616161",500:"#9E9E9E",400:"#BDBDBD",200:"#E0E0E0",100:"#F0F0F0",50:"#FAFAFA",white:"#FFFFFF",alpha:"#00000088"},negative:{900:"#B92321",700:"#D53434",100:"#FFCED4",50:"#FFEBEF"},warning:{900:"#99631B",500:"#FEC02D",100:"#FFEABE",50:"#FFF7E5"},positive:{900:"#00580E",700:"#1A872C",100:"#C3E4C4",50:"#E6F4E7"}},t={background:{inactive:e.grayscale[200],base:e.grayscale[100],inverse:e.brand[900],inverseLight:e.brand[800],brand:e.brand[500],brandLight:e.brand[50],negative:{vibrant:e.negative[700],light:e.negative[50]},warning:{vibrant:e.warning[500],light:e.warning[50]},positive:{vibrant:e.positive[700],light:e.positive[50]},blue:{light:"#E5F2FF"}},scrim:{standard:"#00000099"},surface:{standard:e.grayscale.white,subdued:e.grayscale[50],hovered:e.grayscale[100]},content:{primary:e.grayscale[900],secondary:e.grayscale[700],placeholder:e.grayscale[500],inactive:e.grayscale[400],brand:e.brand[500],primaryInverse:e.grayscale.white,secondaryInverse:"#ffffffcc",negative:e.negative[900],warning:e.warning[900],positive:e.positive[900],blue:"#28458F"},stroke:{primary:e.grayscale[200],brand:e.brand[500],negative:{lightAlt:e.negative[100]},warning:{lightAlt:e.warning[100]},positive:{lightAlt:e.positive[100]},brandLightAlt:"#DDCCF0",blue:{lightAlt:"#C3E4C4"}},special:{whatsapp:{brand:"#25D366",gradient:"linear-gradient(360deg, #20B038 0%, #60D66A 100%)",dark:"#455A64",gradientArr:["#20B038","#60D66A"]},brand:{google:"#DD4B39",facebook:"#1877F2"}},text:{primary:e.grayscale[900],secondary:e.grayscale[700],placeholder:e.grayscale[500],disabled:e.grayscale[400],white:e.grayscale.white,brand:e.brand[500],altPrimary:e.brand[900],altSecondary:e.brand[800]}},i={display:{fontWeight:"400",fontSize:32,lineHeight:40,letterSpacing:0},titleXLarge:{fontWeight:"600",fontSize:32,lineHeight:40,letterSpacing:0},titleLarge:{fontWeight:"600",fontSize:28,lineHeight:32,letterSpacing:0},titleMedium:{fontWeight:"600",fontSize:20,lineHeight:28,letterSpacing:0},titleRegular:{fontWeight:"600",fontSize:16,lineHeight:24,letterSpacing:0},titleSmall:{fontWeight:"600",fontSize:14,lineHeight:20,letterSpacing:0},bodyPrimary:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},bodyLarge:{fontWeight:"400",fontSize:20,lineHeight:28,letterSpacing:0},bodySecondary:{fontWeight:"400",fontSize:14,lineHeight:20,letterSpacing:0},caption:{fontWeight:"400",fontSize:12,lineHeight:16,letterSpacing:0},tiny:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0},subHeading:{fontWeight:"600",fontSize:10,lineHeight:12,letterSpacing:0},title1:{fontWeight:"600",fontSize:24,lineHeight:32,letterSpacing:0},title1Mobile:{fontWeight:"600",fontSize:20,lineHeight:30,letterSpacing:0},title2:{fontWeight:"600",fontSize:20,lineHeight:28,letterSpacing:0},title2Mobile:{fontWeight:"600",fontSize:18,lineHeight:24,letterSpacing:0},title3:{fontWeight:"600",fontSize:16,lineHeight:24,letterSpacing:0},title3Mobile:{fontWeight:"500",fontSize:14,lineHeight:20,letterSpacing:0},title4:{fontWeight:"400",fontSize:14,lineHeight:20,letterSpacing:0},textPlaceholder:{fontWeight:"400",fontSize:12,lineHeight:16,letterSpacing:0},title4Mobile:{fontWeight:"400",fontSize:10,lineHeight:16,letterSpacing:0},bodyRegularMobile:{fontWeight:"400",fontSize:14,lineHeight:18,letterSpacing:0},bodyRegular:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},bodySmall:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0},buttonLarge:{fontWeight:"600",fontSize:16,lineHeight:20,letterSpacing:0},buttonRegular:{fontWeight:"600",fontSize:14,lineHeight:20,letterSpacing:0},captionMobile:{fontWeight:"500",fontSize:10,lineHeight:12,letterSpacing:0},captionBold:{fontWeight:"700",fontSize:12,lineHeight:16,letterSpacing:0},text1Bold:{fontWeight:"700",fontSize:10,lineHeight:14,letterSpacing:0},toast:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},toastMobile:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0}},n={colorsV2:t,fonts:i};exports.BASE_COLORS=e,exports.COLORS=t,exports.DEFAULT_THEME=n,exports.FONTS=i;
@@ -0,0 +1,6 @@
1
+ export declare const SCREEN_XS = 480;
2
+ export declare const SCREEN_SM = 640;
3
+ export declare const SCREEN_XM = 736;
4
+ export declare const SCREEN_MD = 768;
5
+ export declare const SCREEN_LG = 1088;
6
+ export declare const SCREEN_XL = 1280;
@@ -0,0 +1,7 @@
1
+ export declare const BLACK = "#000000";
2
+ export declare const WHITE = "#ffffff";
3
+ export declare const PRIMARY = "#3b82f6";
4
+ export declare const SECONDARY = "#4b5563";
5
+ export declare const SUCCESS = "#16a34a";
6
+ export declare const ERROR = "#dc2626";
7
+ export declare const WARN = "#eab308";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.ERROR="#dc2626",exports.PRIMARY="#3b82f6",exports.SECONDARY="#4b5563",exports.SUCCESS="#16a34a",exports.WARN="#eab308",exports.WHITE="#ffffff";
@@ -0,0 +1,2 @@
1
+ export declare const COLUMN_WIDTH = 56;
2
+ export declare const GUTTER = 16;
@@ -0,0 +1,2 @@
1
+ export * from './components/button';
2
+ export * from './constants/Theme';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/button/Button.js"),t=require("./constants/Theme.js");exports.Button=e.Button,exports.BASE_COLORS=t.BASE_COLORS,exports.COLORS=t.COLORS,exports.DEFAULT_THEME=t.DEFAULT_THEME,exports.FONTS=t.FONTS;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Conditionally joining classNames together.
3
+ *
4
+ * @param names list names that need to be concat.
5
+ * @returns a concat classNames string.
6
+ */
7
+ export declare const classNames: (...names: (string | undefined)[]) => string;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.classNames=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e=>!!e)).join(" ")};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Convert hex string to RGBA color.
3
+ *
4
+ * @see https://gist.github.com/danieliser/b4b24c9f772066bcf0a6
5
+ * @example
6
+ * rgba('#000', 0.5) // rgba(0, 0, 0, 0.5)
7
+ */
8
+ export declare const rgba: (hexCode: string, opacity?: number) => string;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.rgba=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.replace("#","");3===r.length&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);return t>1&&t<=100&&(t/=100),`rgba(${parseInt(r.substring(0,2),16)}, ${parseInt(r.substring(2,4),16)}, ${parseInt(r.substring(4,6),16)}, ${t})`};
@@ -0,0 +1 @@
1
+ function e(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}export{e as __rest};
@@ -0,0 +1 @@
1
+ import*as r from"react";var t;function e(){return e=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a])}return r},e.apply(this,arguments)}var a=a=>r.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},a),t||(t=r.createElement("path",{fill:"currentColor",d:"M13 5a1 1 0 1 0-2 0v6H5a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V5Z"})));export{a as default};
@@ -0,0 +1,15 @@
1
+ export declare const TitleLarge: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TitleMedium: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const TitleRegular: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const TitleSmall: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const Display: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const BodyLarge: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const BodyPrimary: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const BodySecondary: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const BodyPrimaryLink: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const BodySecondaryLink: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const BodyCaption: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const BodyTiny: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const ButtonLarge: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const ButtonRegular: import("styled-components").StyledComponent<"div", any, {}, never>;
15
+ export declare const SubHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ export type Color = 'primary' | 'secondary' | 'success' | 'error' | 'warn';
3
+ export type Variant = 'solid' | 'outline' | 'text';
4
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
+ /**
6
+ * The color of the Button.
7
+ *
8
+ * @default 'primary'
9
+ */
10
+ color?: Color;
11
+ /**
12
+ * The visual style of the Button.
13
+ *
14
+ * @default 'solid'
15
+ */
16
+ variant?: Variant;
17
+ icon?: any;
18
+ IconRef?: any;
19
+ }
20
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ import{__rest as o}from"../../_virtual/_tslib.js";import{jsxs as r,Fragment as i,jsx as t}from"react/jsx-runtime";import{forwardRef as s}from"react";import{classNames as c}from"../../utils/classNames.js";import e from"../../assets/icons/plus.svg.js";import{Button as a}from"./Button.styled.js";const n=s(((s,n)=>{var{id:l,className:m,onClick:d,color:h="primary",variant:p="solid",children:f,icon:u,IconRef:j}=s,v=o(s,["id","className","onClick","color","variant","children","icon","IconRef"]);return r(i,{children:[t(a,Object.assign({ref:n,id:l,variant:p,$color:h,className:c("button-root",m),onClick:d},v,{children:f})),t(e,{height:35,width:35,color:"red"}),!!u&&u,!!j&&t(j,{height:40,width:40,color:"green"})]})}));n.displayName="Button";export{n as Button};