@tujyane/alf 1.0.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.
Files changed (87) hide show
  1. package/README.md +226 -0
  2. package/dist/atoms/common.d.ts +992 -0
  3. package/dist/atoms/common.d.ts.map +1 -0
  4. package/dist/atoms/common.js +1067 -0
  5. package/dist/atoms/common.js.map +1 -0
  6. package/dist/atoms/index.d.ts +2 -0
  7. package/dist/atoms/index.d.ts.map +1 -0
  8. package/dist/atoms/index.js +18 -0
  9. package/dist/atoms/index.js.map +1 -0
  10. package/dist/atoms/index.native.d.ts +1020 -0
  11. package/dist/atoms/index.native.d.ts.map +1 -0
  12. package/dist/atoms/index.native.js +119 -0
  13. package/dist/atoms/index.native.js.map +1 -0
  14. package/dist/atoms/types.d.ts +3 -0
  15. package/dist/atoms/types.d.ts.map +1 -0
  16. package/dist/atoms/types.js +3 -0
  17. package/dist/atoms/types.js.map +1 -0
  18. package/dist/index.d.ts +23 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +64 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/palette.d.ts +72 -0
  23. package/dist/palette.d.ts.map +1 -0
  24. package/dist/palette.js +152 -0
  25. package/dist/palette.js.map +1 -0
  26. package/dist/platform/index.d.ts +45 -0
  27. package/dist/platform/index.d.ts.map +1 -0
  28. package/dist/platform/index.js +55 -0
  29. package/dist/platform/index.js.map +1 -0
  30. package/dist/platform/index.native.d.ts +16 -0
  31. package/dist/platform/index.native.d.ts.map +1 -0
  32. package/dist/platform/index.native.js +20 -0
  33. package/dist/platform/index.native.js.map +1 -0
  34. package/dist/themes.d.ts +151 -0
  35. package/dist/themes.d.ts.map +1 -0
  36. package/dist/themes.js +191 -0
  37. package/dist/themes.js.map +1 -0
  38. package/dist/tokens.d.ts +49 -0
  39. package/dist/tokens.d.ts.map +1 -0
  40. package/dist/tokens.js +52 -0
  41. package/dist/tokens.js.map +1 -0
  42. package/dist/utils/alpha.d.ts +2 -0
  43. package/dist/utils/alpha.d.ts.map +1 -0
  44. package/dist/utils/alpha.js +30 -0
  45. package/dist/utils/alpha.js.map +1 -0
  46. package/dist/utils/flatten/index.d.ts +3 -0
  47. package/dist/utils/flatten/index.d.ts.map +1 -0
  48. package/dist/utils/flatten/index.js +9 -0
  49. package/dist/utils/flatten/index.js.map +1 -0
  50. package/dist/utils/flatten/index.native.d.ts +3 -0
  51. package/dist/utils/flatten/index.native.d.ts.map +1 -0
  52. package/dist/utils/flatten/index.native.js +6 -0
  53. package/dist/utils/flatten/index.native.js.map +1 -0
  54. package/dist/utils/flatten/index.web.d.ts +3 -0
  55. package/dist/utils/flatten/index.web.d.ts.map +1 -0
  56. package/dist/utils/flatten/index.web.js +6 -0
  57. package/dist/utils/flatten/index.web.js.map +1 -0
  58. package/dist/utils/index.d.ts +5 -0
  59. package/dist/utils/index.d.ts.map +1 -0
  60. package/dist/utils/index.js +21 -0
  61. package/dist/utils/index.js.map +1 -0
  62. package/dist/utils/leading.d.ts +14 -0
  63. package/dist/utils/leading.d.ts.map +1 -0
  64. package/dist/utils/leading.js +64 -0
  65. package/dist/utils/leading.js.map +1 -0
  66. package/dist/utils/select.d.ts +7 -0
  67. package/dist/utils/select.d.ts.map +1 -0
  68. package/dist/utils/select.js +16 -0
  69. package/dist/utils/select.js.map +1 -0
  70. package/package.json +45 -0
  71. package/src/atoms/common.ts +1049 -0
  72. package/src/atoms/index.native.ts +84 -0
  73. package/src/atoms/index.ts +1 -0
  74. package/src/atoms/types.ts +11 -0
  75. package/src/index.tsx +46 -0
  76. package/src/palette.ts +237 -0
  77. package/src/platform/index.native.ts +16 -0
  78. package/src/platform/index.ts +54 -0
  79. package/src/themes.ts +332 -0
  80. package/src/tokens.ts +54 -0
  81. package/src/utils/alpha.ts +25 -0
  82. package/src/utils/flatten/index.native.ts +3 -0
  83. package/src/utils/flatten/index.ts +8 -0
  84. package/src/utils/flatten/index.web.ts +3 -0
  85. package/src/utils/index.ts +4 -0
  86. package/src/utils/leading.ts +30 -0
  87. package/src/utils/select.ts +19 -0
@@ -0,0 +1,1067 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.atoms = void 0;
37
+ const tokens = __importStar(require("../tokens"));
38
+ exports.atoms = {
39
+ debug: {
40
+ borderColor: "red",
41
+ borderWidth: 1,
42
+ },
43
+ /*
44
+ * Positioning
45
+ */
46
+ fixed: {
47
+ position: "fixed",
48
+ },
49
+ absolute: {
50
+ position: "absolute",
51
+ },
52
+ relative: {
53
+ position: "relative",
54
+ },
55
+ static: {
56
+ position: "static",
57
+ },
58
+ sticky: {
59
+ position: "sticky",
60
+ },
61
+ inset_0: {
62
+ top: 0,
63
+ left: 0,
64
+ right: 0,
65
+ bottom: 0,
66
+ },
67
+ top_0: {
68
+ top: 0,
69
+ },
70
+ right_0: {
71
+ right: 0,
72
+ },
73
+ bottom_0: {
74
+ bottom: 0,
75
+ },
76
+ left_0: {
77
+ left: 0,
78
+ },
79
+ z_10: {
80
+ zIndex: 10,
81
+ },
82
+ z_20: {
83
+ zIndex: 20,
84
+ },
85
+ z_30: {
86
+ zIndex: 30,
87
+ },
88
+ z_40: {
89
+ zIndex: 40,
90
+ },
91
+ z_50: {
92
+ zIndex: 50,
93
+ },
94
+ overflow_visible: {
95
+ overflow: "visible",
96
+ },
97
+ overflow_x_visible: {
98
+ overflowX: "visible",
99
+ },
100
+ overflow_y_visible: {
101
+ overflowY: "visible",
102
+ },
103
+ overflow_hidden: {
104
+ overflow: "hidden",
105
+ },
106
+ overflow_x_hidden: {
107
+ overflowX: "hidden",
108
+ },
109
+ overflow_y_hidden: {
110
+ overflowY: "hidden",
111
+ },
112
+ overflow_auto: {
113
+ overflow: "auto",
114
+ },
115
+ /*
116
+ * Width & Height
117
+ */
118
+ w_full: {
119
+ width: "100%",
120
+ },
121
+ h_full: {
122
+ height: "100%",
123
+ },
124
+ h_full_vh: {
125
+ height: "100vh",
126
+ },
127
+ max_w_full: {
128
+ maxWidth: "100%",
129
+ },
130
+ max_h_full: {
131
+ maxHeight: "100%",
132
+ },
133
+ /*
134
+ * Border radius
135
+ */
136
+ rounded_0: {
137
+ borderRadius: 0,
138
+ },
139
+ rounded_2xs: {
140
+ borderRadius: tokens.borderRadius._2xs,
141
+ },
142
+ rounded_xs: {
143
+ borderRadius: tokens.borderRadius.xs,
144
+ },
145
+ rounded_sm: {
146
+ borderRadius: tokens.borderRadius.sm,
147
+ },
148
+ rounded_md: {
149
+ borderRadius: tokens.borderRadius.md,
150
+ },
151
+ rounded_lg: {
152
+ borderRadius: tokens.borderRadius.lg,
153
+ },
154
+ rounded_full: {
155
+ borderRadius: tokens.borderRadius.full,
156
+ },
157
+ /*
158
+ * Flex
159
+ */
160
+ gap_0: {
161
+ gap: 0,
162
+ },
163
+ gap_2xs: {
164
+ gap: tokens.space._2xs,
165
+ },
166
+ gap_xs: {
167
+ gap: tokens.space.xs,
168
+ },
169
+ gap_sm: {
170
+ gap: tokens.space.sm,
171
+ },
172
+ gap_md: {
173
+ gap: tokens.space.md,
174
+ },
175
+ gap_lg: {
176
+ gap: tokens.space.lg,
177
+ },
178
+ gap_xl: {
179
+ gap: tokens.space.xl,
180
+ },
181
+ gap_2xl: {
182
+ gap: tokens.space._2xl,
183
+ },
184
+ gap_3xl: {
185
+ gap: tokens.space._3xl,
186
+ },
187
+ gap_4xl: {
188
+ gap: tokens.space._4xl,
189
+ },
190
+ gap_5xl: {
191
+ gap: tokens.space._5xl,
192
+ },
193
+ flex: {
194
+ display: "flex",
195
+ },
196
+ flex_col: {
197
+ flexDirection: "column",
198
+ },
199
+ flex_row: {
200
+ flexDirection: "row",
201
+ },
202
+ flex_col_reverse: {
203
+ flexDirection: "column-reverse",
204
+ },
205
+ flex_row_reverse: {
206
+ flexDirection: "row-reverse",
207
+ },
208
+ flex_wrap: {
209
+ flexWrap: "wrap",
210
+ },
211
+ flex_nowrap: {
212
+ flexWrap: "nowrap",
213
+ },
214
+ flex_0: {
215
+ flex: "0 0 auto",
216
+ },
217
+ flex_1: {
218
+ flex: 1,
219
+ },
220
+ flex_grow: {
221
+ flexGrow: 1,
222
+ },
223
+ flex_grow_0: {
224
+ flexGrow: 0,
225
+ },
226
+ flex_shrink: {
227
+ flexShrink: 1,
228
+ },
229
+ flex_shrink_0: {
230
+ flexShrink: 0,
231
+ },
232
+ justify_start: {
233
+ justifyContent: "flex-start",
234
+ },
235
+ justify_center: {
236
+ justifyContent: "center",
237
+ },
238
+ justify_between: {
239
+ justifyContent: "space-between",
240
+ },
241
+ justify_end: {
242
+ justifyContent: "flex-end",
243
+ },
244
+ align_center: {
245
+ alignItems: "center",
246
+ },
247
+ align_start: {
248
+ alignItems: "flex-start",
249
+ },
250
+ align_end: {
251
+ alignItems: "flex-end",
252
+ },
253
+ align_baseline: {
254
+ alignItems: "baseline",
255
+ },
256
+ align_stretch: {
257
+ alignItems: "stretch",
258
+ },
259
+ self_auto: {
260
+ alignSelf: "auto",
261
+ },
262
+ self_start: {
263
+ alignSelf: "flex-start",
264
+ },
265
+ self_end: {
266
+ alignSelf: "flex-end",
267
+ },
268
+ self_center: {
269
+ alignSelf: "center",
270
+ },
271
+ self_stretch: {
272
+ alignSelf: "stretch",
273
+ },
274
+ self_baseline: {
275
+ alignSelf: "baseline",
276
+ },
277
+ /*
278
+ * Text
279
+ */
280
+ text_left: {
281
+ textAlign: "left",
282
+ },
283
+ text_center: {
284
+ textAlign: "center",
285
+ },
286
+ text_right: {
287
+ textAlign: "right",
288
+ },
289
+ text_2xs: {
290
+ fontSize: tokens.fontSize._2xs,
291
+ letterSpacing: tokens.TRACKING,
292
+ },
293
+ text_xs: {
294
+ fontSize: tokens.fontSize.xs,
295
+ letterSpacing: tokens.TRACKING,
296
+ },
297
+ text_sm: {
298
+ fontSize: tokens.fontSize.sm,
299
+ letterSpacing: tokens.TRACKING,
300
+ },
301
+ text_md: {
302
+ fontSize: tokens.fontSize.md,
303
+ letterSpacing: tokens.TRACKING,
304
+ },
305
+ text_lg: {
306
+ fontSize: tokens.fontSize.lg,
307
+ letterSpacing: tokens.TRACKING,
308
+ },
309
+ text_xl: {
310
+ fontSize: tokens.fontSize.xl,
311
+ letterSpacing: tokens.TRACKING,
312
+ },
313
+ text_2xl: {
314
+ fontSize: tokens.fontSize._2xl,
315
+ letterSpacing: tokens.TRACKING,
316
+ },
317
+ text_3xl: {
318
+ fontSize: tokens.fontSize._3xl,
319
+ letterSpacing: tokens.TRACKING,
320
+ },
321
+ text_4xl: {
322
+ fontSize: tokens.fontSize._4xl,
323
+ letterSpacing: tokens.TRACKING,
324
+ },
325
+ text_5xl: {
326
+ fontSize: tokens.fontSize._5xl,
327
+ letterSpacing: tokens.TRACKING,
328
+ },
329
+ leading_tight: {
330
+ lineHeight: tokens.lineHeight.tight,
331
+ },
332
+ leading_snug: {
333
+ lineHeight: tokens.lineHeight.snug,
334
+ },
335
+ leading_relaxed: {
336
+ lineHeight: tokens.lineHeight.relaxed,
337
+ },
338
+ /**
339
+ * @deprecated use `leading_relaxed` instead
340
+ */
341
+ leading_normal: {
342
+ lineHeight: tokens.lineHeight.relaxed,
343
+ },
344
+ tracking_normal: {
345
+ letterSpacing: tokens.TRACKING,
346
+ },
347
+ font_normal: {
348
+ fontWeight: tokens.fontWeight.normal,
349
+ },
350
+ font_medium: {
351
+ fontWeight: tokens.fontWeight.medium,
352
+ },
353
+ font_semi_bold: {
354
+ fontWeight: tokens.fontWeight.semiBold,
355
+ },
356
+ font_bold: {
357
+ fontWeight: tokens.fontWeight.bold,
358
+ },
359
+ italic: {
360
+ fontStyle: "italic",
361
+ },
362
+ /*
363
+ * Border
364
+ */
365
+ border_0: {
366
+ borderWidth: 0,
367
+ },
368
+ border_t_0: {
369
+ borderTopWidth: 0,
370
+ },
371
+ border_b_0: {
372
+ borderBottomWidth: 0,
373
+ },
374
+ border_l_0: {
375
+ borderLeftWidth: 0,
376
+ },
377
+ border_r_0: {
378
+ borderRightWidth: 0,
379
+ },
380
+ border_x_0: {
381
+ borderLeftWidth: 0,
382
+ borderRightWidth: 0,
383
+ },
384
+ border_y_0: {
385
+ borderTopWidth: 0,
386
+ borderBottomWidth: 0,
387
+ },
388
+ border: {
389
+ borderWidth: 1,
390
+ },
391
+ border_t: {
392
+ borderTopWidth: 1,
393
+ },
394
+ border_b: {
395
+ borderBottomWidth: 1,
396
+ },
397
+ border_l: {
398
+ borderLeftWidth: 1,
399
+ },
400
+ border_r: {
401
+ borderRightWidth: 1,
402
+ },
403
+ border_x: {
404
+ borderLeftWidth: 1,
405
+ borderRightWidth: 1,
406
+ },
407
+ border_y: {
408
+ borderTopWidth: 1,
409
+ borderBottomWidth: 1,
410
+ },
411
+ border_transparent: {
412
+ borderColor: "transparent",
413
+ },
414
+ curve_circular: {},
415
+ curve_continuous: {},
416
+ shadow_sm: {},
417
+ shadow_md: {},
418
+ shadow_lg: {},
419
+ /*
420
+ * Gutters
421
+ */
422
+ gutter_tight: {
423
+ padding: tokens.space.sm,
424
+ },
425
+ gutter_x_tight: {
426
+ paddingLeft: tokens.space.sm,
427
+ paddingRight: tokens.space.sm,
428
+ },
429
+ gutter_y_tight: {
430
+ paddingTop: tokens.space.sm,
431
+ paddingBottom: tokens.space.sm,
432
+ },
433
+ gutter_snug: {
434
+ padding: tokens.space.md,
435
+ },
436
+ gutter_x_snug: {
437
+ paddingLeft: tokens.space.md,
438
+ paddingRight: tokens.space.md,
439
+ },
440
+ gutter_y_snug: {
441
+ paddingTop: tokens.space.md,
442
+ paddingBottom: tokens.space.md,
443
+ },
444
+ gutter_default: {
445
+ padding: tokens.space.lg,
446
+ },
447
+ gutter_x_default: {
448
+ paddingLeft: tokens.space.lg,
449
+ paddingRight: tokens.space.lg,
450
+ },
451
+ gutter_y_default: {
452
+ paddingTop: tokens.space.lg,
453
+ paddingBottom: tokens.space.lg,
454
+ },
455
+ gutter_wide: {
456
+ padding: tokens.space.xl,
457
+ },
458
+ gutter_x_wide: {
459
+ paddingLeft: tokens.space.xl,
460
+ paddingRight: tokens.space.xl,
461
+ },
462
+ gutter_y_wide: {
463
+ paddingTop: tokens.space.xl,
464
+ paddingBottom: tokens.space.xl,
465
+ },
466
+ gutter_extra_wide: {
467
+ padding: tokens.space._2xl,
468
+ },
469
+ gutter_x_extra_wide: {
470
+ paddingLeft: tokens.space._2xl,
471
+ paddingRight: tokens.space._2xl,
472
+ },
473
+ gutter_y_extra_wide: {
474
+ paddingTop: tokens.space._2xl,
475
+ paddingBottom: tokens.space._2xl,
476
+ },
477
+ /*
478
+ * Padding
479
+ */
480
+ p_0: {
481
+ padding: 0,
482
+ },
483
+ p_2xs: {
484
+ padding: tokens.space._2xs,
485
+ },
486
+ p_xs: {
487
+ padding: tokens.space.xs,
488
+ },
489
+ p_sm: {
490
+ padding: tokens.space.sm,
491
+ },
492
+ p_md: {
493
+ padding: tokens.space.md,
494
+ },
495
+ p_lg: {
496
+ padding: tokens.space.lg,
497
+ },
498
+ p_xl: {
499
+ padding: tokens.space.xl,
500
+ },
501
+ p_2xl: {
502
+ padding: tokens.space._2xl,
503
+ },
504
+ p_3xl: {
505
+ padding: tokens.space._3xl,
506
+ },
507
+ p_4xl: {
508
+ padding: tokens.space._4xl,
509
+ },
510
+ p_5xl: {
511
+ padding: tokens.space._5xl,
512
+ },
513
+ px_0: {
514
+ paddingLeft: 0,
515
+ paddingRight: 0,
516
+ },
517
+ px_2xs: {
518
+ paddingLeft: tokens.space._2xs,
519
+ paddingRight: tokens.space._2xs,
520
+ },
521
+ px_xs: {
522
+ paddingLeft: tokens.space.xs,
523
+ paddingRight: tokens.space.xs,
524
+ },
525
+ px_sm: {
526
+ paddingLeft: tokens.space.sm,
527
+ paddingRight: tokens.space.sm,
528
+ },
529
+ px_md: {
530
+ paddingLeft: tokens.space.md,
531
+ paddingRight: tokens.space.md,
532
+ },
533
+ px_lg: {
534
+ paddingLeft: tokens.space.lg,
535
+ paddingRight: tokens.space.lg,
536
+ },
537
+ px_xl: {
538
+ paddingLeft: tokens.space.xl,
539
+ paddingRight: tokens.space.xl,
540
+ },
541
+ px_2xl: {
542
+ paddingLeft: tokens.space._2xl,
543
+ paddingRight: tokens.space._2xl,
544
+ },
545
+ px_3xl: {
546
+ paddingLeft: tokens.space._3xl,
547
+ paddingRight: tokens.space._3xl,
548
+ },
549
+ px_4xl: {
550
+ paddingLeft: tokens.space._4xl,
551
+ paddingRight: tokens.space._4xl,
552
+ },
553
+ px_5xl: {
554
+ paddingLeft: tokens.space._5xl,
555
+ paddingRight: tokens.space._5xl,
556
+ },
557
+ py_0: {
558
+ paddingTop: 0,
559
+ paddingBottom: 0,
560
+ },
561
+ py_2xs: {
562
+ paddingTop: tokens.space._2xs,
563
+ paddingBottom: tokens.space._2xs,
564
+ },
565
+ py_xs: {
566
+ paddingTop: tokens.space.xs,
567
+ paddingBottom: tokens.space.xs,
568
+ },
569
+ py_sm: {
570
+ paddingTop: tokens.space.sm,
571
+ paddingBottom: tokens.space.sm,
572
+ },
573
+ py_md: {
574
+ paddingTop: tokens.space.md,
575
+ paddingBottom: tokens.space.md,
576
+ },
577
+ py_lg: {
578
+ paddingTop: tokens.space.lg,
579
+ paddingBottom: tokens.space.lg,
580
+ },
581
+ py_xl: {
582
+ paddingTop: tokens.space.xl,
583
+ paddingBottom: tokens.space.xl,
584
+ },
585
+ py_2xl: {
586
+ paddingTop: tokens.space._2xl,
587
+ paddingBottom: tokens.space._2xl,
588
+ },
589
+ py_3xl: {
590
+ paddingTop: tokens.space._3xl,
591
+ paddingBottom: tokens.space._3xl,
592
+ },
593
+ py_4xl: {
594
+ paddingTop: tokens.space._4xl,
595
+ paddingBottom: tokens.space._4xl,
596
+ },
597
+ py_5xl: {
598
+ paddingTop: tokens.space._5xl,
599
+ paddingBottom: tokens.space._5xl,
600
+ },
601
+ pt_0: {
602
+ paddingTop: 0,
603
+ },
604
+ pt_2xs: {
605
+ paddingTop: tokens.space._2xs,
606
+ },
607
+ pt_xs: {
608
+ paddingTop: tokens.space.xs,
609
+ },
610
+ pt_sm: {
611
+ paddingTop: tokens.space.sm,
612
+ },
613
+ pt_md: {
614
+ paddingTop: tokens.space.md,
615
+ },
616
+ pt_lg: {
617
+ paddingTop: tokens.space.lg,
618
+ },
619
+ pt_xl: {
620
+ paddingTop: tokens.space.xl,
621
+ },
622
+ pt_2xl: {
623
+ paddingTop: tokens.space._2xl,
624
+ },
625
+ pt_3xl: {
626
+ paddingTop: tokens.space._3xl,
627
+ },
628
+ pt_4xl: {
629
+ paddingTop: tokens.space._4xl,
630
+ },
631
+ pt_5xl: {
632
+ paddingTop: tokens.space._5xl,
633
+ },
634
+ pb_0: {
635
+ paddingBottom: 0,
636
+ },
637
+ pb_2xs: {
638
+ paddingBottom: tokens.space._2xs,
639
+ },
640
+ pb_xs: {
641
+ paddingBottom: tokens.space.xs,
642
+ },
643
+ pb_sm: {
644
+ paddingBottom: tokens.space.sm,
645
+ },
646
+ pb_md: {
647
+ paddingBottom: tokens.space.md,
648
+ },
649
+ pb_lg: {
650
+ paddingBottom: tokens.space.lg,
651
+ },
652
+ pb_xl: {
653
+ paddingBottom: tokens.space.xl,
654
+ },
655
+ pb_2xl: {
656
+ paddingBottom: tokens.space._2xl,
657
+ },
658
+ pb_3xl: {
659
+ paddingBottom: tokens.space._3xl,
660
+ },
661
+ pb_4xl: {
662
+ paddingBottom: tokens.space._4xl,
663
+ },
664
+ pb_5xl: {
665
+ paddingBottom: tokens.space._5xl,
666
+ },
667
+ pl_0: {
668
+ paddingLeft: 0,
669
+ },
670
+ pl_2xs: {
671
+ paddingLeft: tokens.space._2xs,
672
+ },
673
+ pl_xs: {
674
+ paddingLeft: tokens.space.xs,
675
+ },
676
+ pl_sm: {
677
+ paddingLeft: tokens.space.sm,
678
+ },
679
+ pl_md: {
680
+ paddingLeft: tokens.space.md,
681
+ },
682
+ pl_lg: {
683
+ paddingLeft: tokens.space.lg,
684
+ },
685
+ pl_xl: {
686
+ paddingLeft: tokens.space.xl,
687
+ },
688
+ pl_2xl: {
689
+ paddingLeft: tokens.space._2xl,
690
+ },
691
+ pl_3xl: {
692
+ paddingLeft: tokens.space._3xl,
693
+ },
694
+ pl_4xl: {
695
+ paddingLeft: tokens.space._4xl,
696
+ },
697
+ pl_5xl: {
698
+ paddingLeft: tokens.space._5xl,
699
+ },
700
+ pr_0: {
701
+ paddingRight: 0,
702
+ },
703
+ pr_2xs: {
704
+ paddingRight: tokens.space._2xs,
705
+ },
706
+ pr_xs: {
707
+ paddingRight: tokens.space.xs,
708
+ },
709
+ pr_sm: {
710
+ paddingRight: tokens.space.sm,
711
+ },
712
+ pr_md: {
713
+ paddingRight: tokens.space.md,
714
+ },
715
+ pr_lg: {
716
+ paddingRight: tokens.space.lg,
717
+ },
718
+ pr_xl: {
719
+ paddingRight: tokens.space.xl,
720
+ },
721
+ pr_2xl: {
722
+ paddingRight: tokens.space._2xl,
723
+ },
724
+ pr_3xl: {
725
+ paddingRight: tokens.space._3xl,
726
+ },
727
+ pr_4xl: {
728
+ paddingRight: tokens.space._4xl,
729
+ },
730
+ pr_5xl: {
731
+ paddingRight: tokens.space._5xl,
732
+ },
733
+ /*
734
+ * Margin
735
+ */
736
+ m_0: {
737
+ margin: 0,
738
+ },
739
+ m_2xs: {
740
+ margin: tokens.space._2xs,
741
+ },
742
+ m_xs: {
743
+ margin: tokens.space.xs,
744
+ },
745
+ m_sm: {
746
+ margin: tokens.space.sm,
747
+ },
748
+ m_md: {
749
+ margin: tokens.space.md,
750
+ },
751
+ m_lg: {
752
+ margin: tokens.space.lg,
753
+ },
754
+ m_xl: {
755
+ margin: tokens.space.xl,
756
+ },
757
+ m_2xl: {
758
+ margin: tokens.space._2xl,
759
+ },
760
+ m_3xl: {
761
+ margin: tokens.space._3xl,
762
+ },
763
+ m_4xl: {
764
+ margin: tokens.space._4xl,
765
+ },
766
+ m_5xl: {
767
+ margin: tokens.space._5xl,
768
+ },
769
+ m_auto: {
770
+ margin: "auto",
771
+ },
772
+ mx_0: {
773
+ marginLeft: 0,
774
+ marginRight: 0,
775
+ },
776
+ mx_2xs: {
777
+ marginLeft: tokens.space._2xs,
778
+ marginRight: tokens.space._2xs,
779
+ },
780
+ mx_xs: {
781
+ marginLeft: tokens.space.xs,
782
+ marginRight: tokens.space.xs,
783
+ },
784
+ mx_sm: {
785
+ marginLeft: tokens.space.sm,
786
+ marginRight: tokens.space.sm,
787
+ },
788
+ mx_md: {
789
+ marginLeft: tokens.space.md,
790
+ marginRight: tokens.space.md,
791
+ },
792
+ mx_lg: {
793
+ marginLeft: tokens.space.lg,
794
+ marginRight: tokens.space.lg,
795
+ },
796
+ mx_xl: {
797
+ marginLeft: tokens.space.xl,
798
+ marginRight: tokens.space.xl,
799
+ },
800
+ mx_2xl: {
801
+ marginLeft: tokens.space._2xl,
802
+ marginRight: tokens.space._2xl,
803
+ },
804
+ mx_3xl: {
805
+ marginLeft: tokens.space._3xl,
806
+ marginRight: tokens.space._3xl,
807
+ },
808
+ mx_4xl: {
809
+ marginLeft: tokens.space._4xl,
810
+ marginRight: tokens.space._4xl,
811
+ },
812
+ mx_5xl: {
813
+ marginLeft: tokens.space._5xl,
814
+ marginRight: tokens.space._5xl,
815
+ },
816
+ mx_auto: {
817
+ marginLeft: "auto",
818
+ marginRight: "auto",
819
+ },
820
+ my_0: {
821
+ marginTop: 0,
822
+ marginBottom: 0,
823
+ },
824
+ my_2xs: {
825
+ marginTop: tokens.space._2xs,
826
+ marginBottom: tokens.space._2xs,
827
+ },
828
+ my_xs: {
829
+ marginTop: tokens.space.xs,
830
+ marginBottom: tokens.space.xs,
831
+ },
832
+ my_sm: {
833
+ marginTop: tokens.space.sm,
834
+ marginBottom: tokens.space.sm,
835
+ },
836
+ my_md: {
837
+ marginTop: tokens.space.md,
838
+ marginBottom: tokens.space.md,
839
+ },
840
+ my_lg: {
841
+ marginTop: tokens.space.lg,
842
+ marginBottom: tokens.space.lg,
843
+ },
844
+ my_xl: {
845
+ marginTop: tokens.space.xl,
846
+ marginBottom: tokens.space.xl,
847
+ },
848
+ my_2xl: {
849
+ marginTop: tokens.space._2xl,
850
+ marginBottom: tokens.space._2xl,
851
+ },
852
+ my_3xl: {
853
+ marginTop: tokens.space._3xl,
854
+ marginBottom: tokens.space._3xl,
855
+ },
856
+ my_4xl: {
857
+ marginTop: tokens.space._4xl,
858
+ marginBottom: tokens.space._4xl,
859
+ },
860
+ my_5xl: {
861
+ marginTop: tokens.space._5xl,
862
+ marginBottom: tokens.space._5xl,
863
+ },
864
+ my_auto: {
865
+ marginTop: "auto",
866
+ marginBottom: "auto",
867
+ },
868
+ mt_0: {
869
+ marginTop: 0,
870
+ },
871
+ mt_2xs: {
872
+ marginTop: tokens.space._2xs,
873
+ },
874
+ mt_xs: {
875
+ marginTop: tokens.space.xs,
876
+ },
877
+ mt_sm: {
878
+ marginTop: tokens.space.sm,
879
+ },
880
+ mt_md: {
881
+ marginTop: tokens.space.md,
882
+ },
883
+ mt_lg: {
884
+ marginTop: tokens.space.lg,
885
+ },
886
+ mt_xl: {
887
+ marginTop: tokens.space.xl,
888
+ },
889
+ mt_2xl: {
890
+ marginTop: tokens.space._2xl,
891
+ },
892
+ mt_3xl: {
893
+ marginTop: tokens.space._3xl,
894
+ },
895
+ mt_4xl: {
896
+ marginTop: tokens.space._4xl,
897
+ },
898
+ mt_5xl: {
899
+ marginTop: tokens.space._5xl,
900
+ },
901
+ mt_auto: {
902
+ marginTop: "auto",
903
+ },
904
+ mb_0: {
905
+ marginBottom: 0,
906
+ },
907
+ mb_2xs: {
908
+ marginBottom: tokens.space._2xs,
909
+ },
910
+ mb_xs: {
911
+ marginBottom: tokens.space.xs,
912
+ },
913
+ mb_sm: {
914
+ marginBottom: tokens.space.sm,
915
+ },
916
+ mb_md: {
917
+ marginBottom: tokens.space.md,
918
+ },
919
+ mb_lg: {
920
+ marginBottom: tokens.space.lg,
921
+ },
922
+ mb_xl: {
923
+ marginBottom: tokens.space.xl,
924
+ },
925
+ mb_2xl: {
926
+ marginBottom: tokens.space._2xl,
927
+ },
928
+ mb_3xl: {
929
+ marginBottom: tokens.space._3xl,
930
+ },
931
+ mb_4xl: {
932
+ marginBottom: tokens.space._4xl,
933
+ },
934
+ mb_5xl: {
935
+ marginBottom: tokens.space._5xl,
936
+ },
937
+ mb_auto: {
938
+ marginBottom: "auto",
939
+ },
940
+ ml_0: {
941
+ marginLeft: 0,
942
+ },
943
+ ml_2xs: {
944
+ marginLeft: tokens.space._2xs,
945
+ },
946
+ ml_xs: {
947
+ marginLeft: tokens.space.xs,
948
+ },
949
+ ml_sm: {
950
+ marginLeft: tokens.space.sm,
951
+ },
952
+ ml_md: {
953
+ marginLeft: tokens.space.md,
954
+ },
955
+ ml_lg: {
956
+ marginLeft: tokens.space.lg,
957
+ },
958
+ ml_xl: {
959
+ marginLeft: tokens.space.xl,
960
+ },
961
+ ml_2xl: {
962
+ marginLeft: tokens.space._2xl,
963
+ },
964
+ ml_3xl: {
965
+ marginLeft: tokens.space._3xl,
966
+ },
967
+ ml_4xl: {
968
+ marginLeft: tokens.space._4xl,
969
+ },
970
+ ml_5xl: {
971
+ marginLeft: tokens.space._5xl,
972
+ },
973
+ ml_auto: {
974
+ marginLeft: "auto",
975
+ },
976
+ mr_0: {
977
+ marginRight: 0,
978
+ },
979
+ mr_2xs: {
980
+ marginRight: tokens.space._2xs,
981
+ },
982
+ mr_xs: {
983
+ marginRight: tokens.space.xs,
984
+ },
985
+ mr_sm: {
986
+ marginRight: tokens.space.sm,
987
+ },
988
+ mr_md: {
989
+ marginRight: tokens.space.md,
990
+ },
991
+ mr_lg: {
992
+ marginRight: tokens.space.lg,
993
+ },
994
+ mr_xl: {
995
+ marginRight: tokens.space.xl,
996
+ },
997
+ mr_2xl: {
998
+ marginRight: tokens.space._2xl,
999
+ },
1000
+ mr_3xl: {
1001
+ marginRight: tokens.space._3xl,
1002
+ },
1003
+ mr_4xl: {
1004
+ marginRight: tokens.space._4xl,
1005
+ },
1006
+ mr_5xl: {
1007
+ marginRight: tokens.space._5xl,
1008
+ },
1009
+ mr_auto: {
1010
+ marginRight: "auto",
1011
+ },
1012
+ /*
1013
+ * Pointer events & user select
1014
+ */
1015
+ pointer_events_none: {
1016
+ pointerEvents: "none",
1017
+ },
1018
+ pointer_events_auto: {
1019
+ pointerEvents: "auto",
1020
+ },
1021
+ pointer_events_box_only: {
1022
+ pointerEvents: "box-only",
1023
+ },
1024
+ pointer_events_box_none: {
1025
+ pointerEvents: "box-none",
1026
+ },
1027
+ user_select_none: {
1028
+ userSelect: "none",
1029
+ },
1030
+ user_select_text: {
1031
+ userSelect: "text",
1032
+ },
1033
+ user_select_all: {
1034
+ userSelect: "all",
1035
+ },
1036
+ outline_inset_1: {
1037
+ outlineOffset: -1,
1038
+ },
1039
+ /*
1040
+ * Text decoration
1041
+ */
1042
+ underline: {
1043
+ textDecorationLine: "underline",
1044
+ },
1045
+ strike_through: {
1046
+ textDecorationLine: "line-through",
1047
+ },
1048
+ /*
1049
+ * Display
1050
+ */
1051
+ hidden: {
1052
+ display: "none",
1053
+ },
1054
+ contents: {
1055
+ display: "contents",
1056
+ },
1057
+ inline: {
1058
+ display: "inline",
1059
+ },
1060
+ block: {
1061
+ display: "block",
1062
+ },
1063
+ pointer: {
1064
+ cursor: "pointer",
1065
+ },
1066
+ };
1067
+ //# sourceMappingURL=common.js.map