@bobbykim/manguito-theme 0.28.3 → 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.
@@ -1,1368 +0,0 @@
1
- class s {
2
- // body text class
3
- bodyText = {
4
- xs: "text-xs",
5
- sm: "text-sm",
6
- md: "text-md",
7
- lg: "text-lg",
8
- xl: "text-xl"
9
- };
10
- // font weight class
11
- fontweight = {
12
- light: "font-light",
13
- normal: "font-normal",
14
- bold: "font-bold"
15
- };
16
- // text alignment
17
- textAlign = {
18
- left: "text-left",
19
- center: "text-center",
20
- right: "text-right"
21
- };
22
- }
23
- class i {
24
- // Border width class
25
- borderWidth = {
26
- 1: "border-[1px]",
27
- 2: "border-[2px]",
28
- 3: "border-[3px]",
29
- 4: "border-[4px]",
30
- 5: "border-[5px]",
31
- 6: "border-[6px]",
32
- 7: "border-[7px]",
33
- 8: "border-[8px]",
34
- 9: "border-[9px]",
35
- 10: "border-[10px]",
36
- 11: "border-[11px]",
37
- 12: "border-[12px]"
38
- };
39
- borderXWidth = {
40
- 1: "border-x-[1px]",
41
- 2: "border-x-[2px]",
42
- 3: "border-x-[3px]",
43
- 4: "border-x-[4px]",
44
- 5: "border-x-[5px]",
45
- 6: "border-x-[6px]",
46
- 7: "border-x-[7px]",
47
- 8: "border-x-[8px]",
48
- 9: "border-x-[9px]",
49
- 10: "border-x-[10px]",
50
- 11: "border-x-[11px]",
51
- 12: "border-x-[12px]"
52
- };
53
- borderYWidth = {
54
- 1: "border-y-[1px]",
55
- 2: "border-y-[2px]",
56
- 3: "border-y-[3px]",
57
- 4: "border-y-[4px]",
58
- 5: "border-y-[5px]",
59
- 6: "border-y-[6px]",
60
- 7: "border-y-[7px]",
61
- 8: "border-y-[8px]",
62
- 9: "border-y-[9px]",
63
- 10: "border-y-[10px]",
64
- 11: "border-y-[11px]",
65
- 12: "border-y-[12px]"
66
- };
67
- borderTopWidth = {
68
- 1: "border-t-[1px]",
69
- 2: "border-t-[2px]",
70
- 3: "border-t-[3px]",
71
- 4: "border-t-[4px]",
72
- 5: "border-t-[5px]",
73
- 6: "border-t-[6px]",
74
- 7: "border-t-[7px]",
75
- 8: "border-t-[8px]",
76
- 9: "border-t-[9px]",
77
- 10: "border-t-[10px]",
78
- 11: "border-t-[11px]",
79
- 12: "border-t-[12px]"
80
- };
81
- borderBottomWidth = {
82
- 1: "border-b-[1px]",
83
- 2: "border-b-[2px]",
84
- 3: "border-b-[3px]",
85
- 4: "border-b-[4px]",
86
- 5: "border-b-[5px]",
87
- 6: "border-b-[6px]",
88
- 7: "border-b-[7px]",
89
- 8: "border-b-[8px]",
90
- 9: "border-b-[9px]",
91
- 10: "border-b-[10px]",
92
- 11: "border-b-[11px]",
93
- 12: "border-b-[12px]"
94
- };
95
- borderLeftWidth = {
96
- 1: "border-l-[1px]",
97
- 2: "border-l-[2px]",
98
- 3: "border-l-[3px]",
99
- 4: "border-l-[4px]",
100
- 5: "border-l-[5px]",
101
- 6: "border-l-[6px]",
102
- 7: "border-l-[7px]",
103
- 8: "border-l-[8px]",
104
- 9: "border-l-[9px]",
105
- 10: "border-l-[10px]",
106
- 11: "border-l-[11px]",
107
- 12: "border-l-[12px]"
108
- };
109
- borderRightWidth = {
110
- 1: "border-r-[1px]",
111
- 2: "border-r-[2px]",
112
- 3: "border-r-[3px]",
113
- 4: "border-r-[4px]",
114
- 5: "border-r-[5px]",
115
- 6: "border-r-[6px]",
116
- 7: "border-r-[7px]",
117
- 8: "border-r-[8px]",
118
- 9: "border-r-[9px]",
119
- 10: "border-r-[10px]",
120
- 11: "border-r-[11px]",
121
- 12: "border-r-[12px]"
122
- };
123
- }
124
- class l {
125
- // bg color class
126
- bgColor = {
127
- primary: "bg-primary",
128
- secondary: "bg-secondary",
129
- success: "bg-success",
130
- danger: "bg-danger",
131
- info: "bg-info",
132
- warning: "bg-warning",
133
- "light-1": "bg-light-1",
134
- "light-2": "bg-light-2",
135
- "light-3": "bg-light-3",
136
- "light-4": "bg-light-4",
137
- "dark-1": "bg-dark-1",
138
- "dark-2": "bg-dark-2",
139
- "dark-3": "bg-dark-3",
140
- "dark-4": "bg-dark-4",
141
- black: "bg-black",
142
- white: "bg-white",
143
- transparent: "bg-transparent"
144
- };
145
- // hover: bg color class
146
- hoverBgColor = {
147
- primary: "hover:bg-primary",
148
- secondary: "hover:bg-secondary",
149
- success: "hover:bg-success",
150
- danger: "hover:bg-danger",
151
- info: "hover:bg-info",
152
- warning: "hover:bg-warning",
153
- "light-1": "hover:bg-light-1",
154
- "light-2": "hover:bg-light-2",
155
- "light-3": "hover:bg-light-3",
156
- "light-4": "hover:bg-light-4",
157
- "dark-1": "hover:bg-dark-1",
158
- "dark-2": "hover:bg-dark-2",
159
- "dark-3": "hover:bg-dark-3",
160
- "dark-4": "hover:bg-dark-4",
161
- black: "hover:bg-black",
162
- white: "hover:bg-white",
163
- transparent: "hover:bg-transparent"
164
- };
165
- // focus: bg color class
166
- focusBgColor = {
167
- primary: "focus:bg-primary",
168
- secondary: "focus:bg-secondary",
169
- success: "focus:bg-success",
170
- danger: "focus:bg-danger",
171
- info: "focus:bg-info",
172
- warning: "focus:bg-warning",
173
- "light-1": "focus:bg-light-1",
174
- "light-2": "focus:bg-light-2",
175
- "light-3": "focus:bg-light-3",
176
- "light-4": "focus:bg-light-4",
177
- "dark-1": "focus:bg-dark-1",
178
- "dark-2": "focus:bg-dark-2",
179
- "dark-3": "focus:bg-dark-3",
180
- "dark-4": "focus:bg-dark-4",
181
- black: "focus:bg-black",
182
- white: "focus:bg-white",
183
- transparent: "focus:bg-transparent"
184
- };
185
- // ::before bg color class
186
- beforeBgColor = {
187
- primary: "before:bg-primary",
188
- secondary: "before:bg-secondary",
189
- success: "before:bg-success",
190
- danger: "before:bg-danger",
191
- info: "before:bg-info",
192
- warning: "before:bg-warning",
193
- "light-1": "before:bg-light-1",
194
- "light-2": "before:bg-light-2",
195
- "light-3": "before:bg-light-3",
196
- "light-4": "before:bg-light-4",
197
- "dark-1": "before:bg-dark-1",
198
- "dark-2": "before:bg-dark-2",
199
- "dark-3": "before:bg-dark-3",
200
- "dark-4": "before:bg-dark-4",
201
- black: "before:bg-black",
202
- white: "before:bg-white",
203
- transparent: "before:bg-transparent"
204
- };
205
- // ::after bg color class
206
- afterBgColor = {
207
- primary: "after:bg-primary",
208
- secondary: "after:bg-secondary",
209
- success: "after:bg-success",
210
- danger: "after:bg-danger",
211
- info: "after:bg-info",
212
- warning: "after:bg-warning",
213
- "light-1": "after:bg-light-1",
214
- "light-2": "after:bg-light-2",
215
- "light-3": "after:bg-light-3",
216
- "light-4": "after:bg-light-4",
217
- "dark-1": "after:bg-dark-1",
218
- "dark-2": "after:bg-dark-2",
219
- "dark-3": "after:bg-dark-3",
220
- "dark-4": "after:bg-dark-4",
221
- black: "after:bg-black",
222
- white: "after:bg-white",
223
- transparent: "after:bg-transparent"
224
- };
225
- // active:bg color class
226
- bgActiveColor = {
227
- primary: "active:bg-primary",
228
- secondary: "active:bg-secondary",
229
- success: "active:bg-success",
230
- danger: "active:bg-danger",
231
- info: "active:bg-info",
232
- warning: "active:bg-warning",
233
- "light-1": "active:bg-light-1",
234
- "light-2": "active:bg-light-2",
235
- "light-3": "active:bg-light-3",
236
- "light-4": "active:bg-light-4",
237
- "dark-1": "active:bg-dark-1",
238
- "dark-2": "active:bg-dark-2",
239
- "dark-3": "active:bg-dark-3",
240
- "dark-4": "active:bg-dark-4",
241
- black: "active:bg-black",
242
- white: "active:bg-white",
243
- transparent: "active:bg-transparent"
244
- };
245
- // text color class
246
- textColor = {
247
- primary: "text-primary",
248
- secondary: "text-secondary",
249
- success: "text-success",
250
- danger: "text-danger",
251
- info: "text-info",
252
- warning: "text-warning",
253
- "light-1": "text-light-1",
254
- "light-2": "text-light-2",
255
- "light-3": "text-light-3",
256
- "light-4": "text-light-4",
257
- "dark-1": "text-dark-1",
258
- "dark-2": "text-dark-2",
259
- "dark-3": "text-dark-3",
260
- "dark-4": "text-dark-4",
261
- black: "text-black",
262
- white: "text-white",
263
- transparent: "text-transparent"
264
- };
265
- // hover text color class
266
- hoverTextColor = {
267
- primary: "hover:text-primary",
268
- secondary: "hover:text-secondary",
269
- success: "hover:text-success",
270
- danger: "hover:text-danger",
271
- info: "hover:text-info",
272
- warning: "hover:text-warning",
273
- "light-1": "hover:text-light-1",
274
- "light-2": "hover:text-light-2",
275
- "light-3": "hover:text-light-3",
276
- "light-4": "hover:text-light-4",
277
- "dark-1": "hover:text-dark-1",
278
- "dark-2": "hover:text-dark-2",
279
- "dark-3": "hover:text-dark-3",
280
- "dark-4": "hover:text-dark-4",
281
- black: "hover:text-black",
282
- white: "hover:text-white",
283
- transparent: "hover:text-transparent"
284
- };
285
- // focus text color class
286
- focusTextColor = {
287
- primary: "focus:text-primary",
288
- secondary: "focus:text-secondary",
289
- success: "focus:text-success",
290
- danger: "focus:text-danger",
291
- info: "focus:text-info",
292
- warning: "focus:text-warning",
293
- "light-1": "focus:text-light-1",
294
- "light-2": "focus:text-light-2",
295
- "light-3": "focus:text-light-3",
296
- "light-4": "focus:text-light-4",
297
- "dark-1": "focus:text-dark-1",
298
- "dark-2": "focus:text-dark-2",
299
- "dark-3": "focus:text-dark-3",
300
- "dark-4": "focus:text-dark-4",
301
- black: "focus:text-black",
302
- white: "focus:text-white",
303
- transparent: "focus:text-transparent"
304
- };
305
- // disabled text color class
306
- disabledTextColor = {
307
- primary: "disabled:text-primary",
308
- secondary: "disabled:text-secondary",
309
- success: "disabled:text-success",
310
- danger: "disabled:text-danger",
311
- info: "disabled:text-info",
312
- warning: "disabled:text-warning",
313
- "light-1": "disabled:text-light-1",
314
- "light-2": "disabled:text-light-2",
315
- "light-3": "disabled:text-light-3",
316
- "light-4": "disabled:text-light-4",
317
- "dark-1": "disabled:text-dark-1",
318
- "dark-2": "disabled:text-dark-2",
319
- "dark-3": "disabled:text-dark-3",
320
- "dark-4": "disabled:text-dark-4",
321
- black: "disabled:text-black",
322
- white: "disabled:text-white",
323
- transparent: "disabled:text-transparent"
324
- };
325
- // SVG fill color class
326
- svgFillColor = {
327
- primary: "fill-primary",
328
- secondary: "fill-secondary",
329
- success: "fill-success",
330
- danger: "fill-danger",
331
- info: "fill-info",
332
- warning: "fill-warning",
333
- "light-1": "fill-light-1",
334
- "light-2": "fill-light-2",
335
- "light-3": "fill-light-3",
336
- "light-4": "fill-light-4",
337
- "dark-1": "fill-dark-1",
338
- "dark-2": "fill-dark-2",
339
- "dark-3": "fill-dark-3",
340
- "dark-4": "fill-dark-4",
341
- black: "fill-black",
342
- white: "fill-white",
343
- transparent: "fill-transparent"
344
- };
345
- // ring color class
346
- ringColor = {
347
- primary: "ring-primary",
348
- secondary: "ring-secondary",
349
- success: "ring-success",
350
- danger: "ring-danger",
351
- info: "ring-info",
352
- warning: "ring-warning",
353
- "light-1": "ring-light-1",
354
- "light-2": "ring-light-2",
355
- "light-3": "ring-light-3",
356
- "light-4": "ring-light-4",
357
- "dark-1": "ring-dark-1",
358
- "dark-2": "ring-dark-2",
359
- "dark-3": "ring-dark-3",
360
- "dark-4": "ring-dark-4",
361
- black: "ring-black",
362
- white: "ring-white",
363
- transparent: "ring-transparent"
364
- };
365
- // focus:ring color class
366
- ringFocusColor = {
367
- primary: "focus:ring-primary",
368
- secondary: "focus:ring-secondary",
369
- success: "focus:ring-success",
370
- danger: "focus:ring-danger",
371
- info: "focus:ring-info",
372
- warning: "focus:ring-warning",
373
- "light-1": "focus:ring-light-1",
374
- "light-2": "focus:ring-light-2",
375
- "light-3": "focus:ring-light-3",
376
- "light-4": "focus:ring-light-4",
377
- "dark-1": "focus:ring-dark-1",
378
- "dark-2": "focus:ring-dark-2",
379
- "dark-3": "focus:ring-dark-3",
380
- "dark-4": "focus:ring-dark-4",
381
- black: "focus:ring-black",
382
- white: "focus:ring-white",
383
- transparent: "focus:ring-transparent"
384
- };
385
- // active:ring color class
386
- ringActiveColor = {
387
- primary: "active:ring-primary",
388
- secondary: "active:ring-secondary",
389
- success: "active:ring-success",
390
- danger: "active:ring-danger",
391
- info: "active:ring-info",
392
- warning: "active:ring-warning",
393
- "light-1": "active:ring-light-1",
394
- "light-2": "active:ring-light-2",
395
- "light-3": "active:ring-light-3",
396
- "light-4": "active:ring-light-4",
397
- "dark-1": "active:ring-dark-1",
398
- "dark-2": "active:ring-dark-2",
399
- "dark-3": "active:ring-dark-3",
400
- "dark-4": "active:ring-dark-4",
401
- black: "active:ring-black",
402
- white: "active:ring-white",
403
- transparent: "active:ring-transparent"
404
- };
405
- // ring-offset color class
406
- ringOffsetColor = {
407
- primary: "ring-offset-primary",
408
- secondary: "ring-offset-secondary",
409
- success: "ring-offset-success",
410
- danger: "ring-offset-danger",
411
- info: "ring-offset-info",
412
- warning: "ring-offset-warning",
413
- "light-1": "ring-offset-light-1",
414
- "light-2": "ring-offset-light-2",
415
- "light-3": "ring-offset-light-3",
416
- "light-4": "ring-offset-light-4",
417
- "dark-1": "ring-offset-dark-1",
418
- "dark-2": "ring-offset-dark-2",
419
- "dark-3": "ring-offset-dark-3",
420
- "dark-4": "ring-offset-dark-4",
421
- black: "ring-offset-black",
422
- white: "ring-offset-white",
423
- transparent: "ring-offset-transparent"
424
- };
425
- // outline class
426
- outlineColor = {
427
- primary: "outline-primary",
428
- secondary: "outline-secondary",
429
- success: "outline-success",
430
- danger: "outline-danger",
431
- info: "outline-info",
432
- warning: "outline-warning",
433
- "light-1": "outline-light-1",
434
- "light-2": "outline-light-2",
435
- "light-3": "outline-light-3",
436
- "light-4": "outline-light-4",
437
- "dark-1": "outline-dark-1",
438
- "dark-2": "outline-dark-2",
439
- "dark-3": "outline-dark-3",
440
- "dark-4": "outline-dark-4",
441
- black: "outline-black",
442
- white: "outline-white",
443
- transparent: "outline-transparent"
444
- };
445
- // focus:outline class
446
- focusOutlineColor = {
447
- primary: "focus:outline-primary",
448
- secondary: "focus:outline-secondary",
449
- success: "focus:outline-success",
450
- danger: "focus:outline-danger",
451
- info: "focus:outline-info",
452
- warning: "focus:outline-warning",
453
- "light-1": "focus:outline-light-1",
454
- "light-2": "focus:outline-light-2",
455
- "light-3": "focus:outline-light-3",
456
- "light-4": "focus:outline-light-4",
457
- "dark-1": "focus:outline-dark-1",
458
- "dark-2": "focus:outline-dark-2",
459
- "dark-3": "focus:outline-dark-3",
460
- "dark-4": "focus:outline-dark-4",
461
- black: "focus:outline-black",
462
- white: "focus:outline-white",
463
- transparent: "focus:outline-transparent"
464
- };
465
- // active:outline class
466
- activeOutlineColor = {
467
- primary: "active:outline-primary",
468
- secondary: "active:outline-secondary",
469
- success: "active:outline-success",
470
- danger: "active:outline-danger",
471
- info: "active:outline-info",
472
- warning: "active:outline-warning",
473
- "light-1": "active:outline-light-1",
474
- "light-2": "active:outline-light-2",
475
- "light-3": "active:outline-light-3",
476
- "light-4": "active:outline-light-4",
477
- "dark-1": "active:outline-dark-1",
478
- "dark-2": "active:outline-dark-2",
479
- "dark-3": "active:outline-dark-3",
480
- "dark-4": "active:outline-dark-4",
481
- black: "active:outline-black",
482
- white: "active:outline-white",
483
- transparent: "active:outline-transparent"
484
- };
485
- // btn color class
486
- btnColor = {
487
- primary: "btn-primary",
488
- secondary: "btn-secondary",
489
- success: "btn-success",
490
- danger: "btn-danger",
491
- info: "btn-info",
492
- warning: "btn-warning",
493
- "light-1": "btn-light-1",
494
- "light-2": "btn-light-2",
495
- "light-3": "btn-light-3",
496
- "light-4": "btn-light-4",
497
- "dark-1": "btn-dark-1",
498
- "dark-2": "btn-dark-2",
499
- "dark-3": "btn-dark-3",
500
- "dark-4": "btn-dark-4",
501
- black: "btn-black",
502
- white: "btn-white",
503
- transparent: "btn-transparent"
504
- };
505
- // list color class
506
- listColor = {
507
- primary: "mcl-list-primary",
508
- secondary: "mcl-list-secondary",
509
- success: "mcl-list-success",
510
- danger: "mcl-list-danger",
511
- info: "mcl-list-info",
512
- warning: "mcl-list-warning",
513
- "light-1": "mcl-list-light-1",
514
- "light-2": "mcl-list-light-2",
515
- "light-3": "mcl-list-light-3",
516
- "light-4": "mcl-list-light-4",
517
- "dark-1": "mcl-list-dark-1",
518
- "dark-2": "mcl-list-dark-2",
519
- "dark-3": "mcl-list-dark-3",
520
- "dark-4": "mcl-list-dark-4",
521
- black: "mcl-list-black",
522
- white: "mcl-list-white",
523
- transparent: "mcl-list-transparent"
524
- };
525
- // border color classes
526
- borderColor = {
527
- primary: "border-primary",
528
- secondary: "border-secondary",
529
- success: "border-success",
530
- danger: "border-danger",
531
- info: "border-info",
532
- warning: "border-warning",
533
- "light-1": "border-light-1",
534
- "light-2": "border-light-2",
535
- "light-3": "border-light-3",
536
- "light-4": "border-light-4",
537
- "dark-1": "border-dark-1",
538
- "dark-2": "border-dark-2",
539
- "dark-3": "border-dark-3",
540
- "dark-4": "border-dark-4",
541
- black: "border-black",
542
- white: "border-white",
543
- transparent: "border-transparent"
544
- };
545
- borderXColor = {
546
- primary: "border-x-primary",
547
- secondary: "border-x-secondary",
548
- success: "border-x-success",
549
- danger: "border-x-danger",
550
- info: "border-x-info",
551
- warning: "border-x-warning",
552
- "light-1": "border-x-light-1",
553
- "light-2": "border-x-light-2",
554
- "light-3": "border-x-light-3",
555
- "light-4": "border-x-light-4",
556
- "dark-1": "border-x-dark-1",
557
- "dark-2": "border-x-dark-2",
558
- "dark-3": "border-x-dark-3",
559
- "dark-4": "border-x-dark-4",
560
- black: "border-x-black",
561
- white: "border-x-white",
562
- transparent: "border-x-transparent"
563
- };
564
- borderYColor = {
565
- primary: "border-y-primary",
566
- secondary: "border-y-secondary",
567
- success: "border-y-success",
568
- danger: "border-y-danger",
569
- info: "border-y-info",
570
- warning: "border-y-warning",
571
- "light-1": "border-y-light-1",
572
- "light-2": "border-y-light-2",
573
- "light-3": "border-y-light-3",
574
- "light-4": "border-y-light-4",
575
- "dark-1": "border-y-dark-1",
576
- "dark-2": "border-y-dark-2",
577
- "dark-3": "border-y-dark-3",
578
- "dark-4": "border-y-dark-4",
579
- black: "border-y-black",
580
- white: "border-y-white",
581
- transparent: "border-y-transparent"
582
- };
583
- borderTopColor = {
584
- primary: "border-t-primary",
585
- secondary: "border-t-secondary",
586
- success: "border-t-success",
587
- danger: "border-t-danger",
588
- info: "border-t-info",
589
- warning: "border-t-warning",
590
- "light-1": "border-t-light-1",
591
- "light-2": "border-t-light-2",
592
- "light-3": "border-t-light-3",
593
- "light-4": "border-t-light-4",
594
- "dark-1": "border-t-dark-1",
595
- "dark-2": "border-t-dark-2",
596
- "dark-3": "border-t-dark-3",
597
- "dark-4": "border-t-dark-4",
598
- black: "border-t-black",
599
- white: "border-t-white",
600
- transparent: "border-t-transparent"
601
- };
602
- borderBottomColor = {
603
- primary: "border-b-primary",
604
- secondary: "border-b-secondary",
605
- success: "border-b-success",
606
- danger: "border-b-danger",
607
- info: "border-b-info",
608
- warning: "border-b-warning",
609
- "light-1": "border-b-light-1",
610
- "light-2": "border-b-light-2",
611
- "light-3": "border-b-light-3",
612
- "light-4": "border-b-light-4",
613
- "dark-1": "border-b-dark-1",
614
- "dark-2": "border-b-dark-2",
615
- "dark-3": "border-b-dark-3",
616
- "dark-4": "border-b-dark-4",
617
- black: "border-b-black",
618
- white: "border-b-white",
619
- transparent: "border-b-transparent"
620
- };
621
- borderLeftColor = {
622
- primary: "border-l-primary",
623
- secondary: "border-l-secondary",
624
- success: "border-l-success",
625
- danger: "border-l-danger",
626
- info: "border-l-info",
627
- warning: "border-l-warning",
628
- "light-1": "border-l-light-1",
629
- "light-2": "border-l-light-2",
630
- "light-3": "border-l-light-3",
631
- "light-4": "border-l-light-4",
632
- "dark-1": "border-l-dark-1",
633
- "dark-2": "border-l-dark-2",
634
- "dark-3": "border-l-dark-3",
635
- "dark-4": "border-l-dark-4",
636
- black: "border-l-black",
637
- white: "border-l-white",
638
- transparent: "border-l-transparent"
639
- };
640
- borderRightColor = {
641
- primary: "border-r-primary",
642
- secondary: "border-r-secondary",
643
- success: "border-r-success",
644
- danger: "border-r-danger",
645
- info: "border-r-info",
646
- warning: "border-r-warning",
647
- "light-1": "border-r-light-1",
648
- "light-2": "border-r-light-2",
649
- "light-3": "border-r-light-3",
650
- "light-4": "border-r-light-4",
651
- "dark-1": "border-r-dark-1",
652
- "dark-2": "border-r-dark-2",
653
- "dark-3": "border-r-dark-3",
654
- "dark-4": "border-r-dark-4",
655
- black: "border-r-black",
656
- white: "border-r-white",
657
- transparent: "border-r-transparent"
658
- };
659
- }
660
- class o {
661
- // h1 class
662
- heading1 = {
663
- sm: "h1-sm",
664
- md: "h1-md",
665
- lg: "h1-lg",
666
- xl: "h1-xl"
667
- };
668
- // h2 class
669
- heading2 = {
670
- sm: "h2-sm",
671
- md: "h2-md",
672
- lg: "h2-lg",
673
- xl: "h2-xl"
674
- };
675
- // h3 class
676
- heading3 = {
677
- sm: "h3-sm",
678
- md: "h3-md",
679
- lg: "h3-lg",
680
- xl: "h3-xl"
681
- };
682
- // h4 class
683
- heading4 = {
684
- sm: "h4-sm",
685
- md: "h4-md",
686
- lg: "h4-lg",
687
- xl: "h4-xl"
688
- };
689
- }
690
- class d {
691
- // opacity
692
- backgroundOpacity = {
693
- 10: "bg-opacity-10",
694
- 20: "bg-opacity-20",
695
- 30: "bg-opacity-30",
696
- 40: "bg-opacity-40",
697
- 50: "bg-opacity-50",
698
- 60: "bg-opacity-60",
699
- 70: "bg-opacity-70",
700
- 80: "bg-opacity-80",
701
- 90: "bg-opacity-90",
702
- 100: "bg-opacity-100"
703
- };
704
- opacity = {
705
- 10: "opacity-10",
706
- 20: "opacity-20",
707
- 30: "opacity-30",
708
- 40: "opacity-40",
709
- 50: "opacity-50",
710
- 60: "opacity-60",
711
- 70: "opacity-70",
712
- 80: "opacity-80",
713
- 90: "opacity-90",
714
- 100: "opacity-100"
715
- };
716
- outlineOpacity = {
717
- 10: "outline-opacity-10",
718
- 20: "outline-opacity-20",
719
- 30: "outline-opacity-30",
720
- 40: "outline-opacity-40",
721
- 50: "outline-opacity-50",
722
- 60: "outline-opacity-60",
723
- 70: "outline-opacity-70",
724
- 80: "outline-opacity-80",
725
- 90: "outline-opacity-90",
726
- 100: "outline-opacity-100"
727
- };
728
- }
729
- class n {
730
- // spacing: margin
731
- margin = {
732
- 0: "m-0",
733
- "3xs": "m-3xs",
734
- "2xs": "m-2xs",
735
- xs: "m-xs",
736
- sm: "m-sm",
737
- md: "m-md",
738
- lg: "m-lg",
739
- xl: "m-xl",
740
- "2xl": "m-2xl",
741
- "3xl": "m-3xl"
742
- };
743
- marginX = {
744
- 0: "mx-0",
745
- "3xs": "mx-3xs",
746
- "2xs": "mx-2xs",
747
- xs: "mx-xs",
748
- sm: "mx-sm",
749
- md: "mx-md",
750
- lg: "mx-lg",
751
- xl: "mx-xl",
752
- "2xl": "mx-2xl",
753
- "3xl": "mx-3xl"
754
- };
755
- marginY = {
756
- 0: "my-0",
757
- "3xs": "my-3xs",
758
- "2xs": "my-2xs",
759
- xs: "my-xs",
760
- sm: "my-sm",
761
- md: "my-md",
762
- lg: "my-lg",
763
- xl: "my-xl",
764
- "2xl": "my-2xl",
765
- "3xl": "my-3xl"
766
- };
767
- marginTop = {
768
- 0: "mt-0",
769
- "3xs": "mt-3xs",
770
- "2xs": "mt-2xs",
771
- xs: "mt-xs",
772
- sm: "mt-sm",
773
- md: "mt-md",
774
- lg: "mt-lg",
775
- xl: "mt-xl",
776
- "2xl": "mt-2xl",
777
- "3xl": "mt-3xl"
778
- };
779
- marginBottom = {
780
- 0: "mb-0",
781
- "3xs": "mb-3xs",
782
- "2xs": "mb-2xs",
783
- xs: "mb-xs",
784
- sm: "mb-sm",
785
- md: "mb-md",
786
- lg: "mb-lg",
787
- xl: "mb-xl",
788
- "2xl": "mb-2xl",
789
- "3xl": "mb-3xl"
790
- };
791
- marginLeft = {
792
- 0: "ml-0",
793
- "3xs": "ml-3xs",
794
- "2xs": "ml-2xs",
795
- xs: "ml-xs",
796
- sm: "ml-sm",
797
- md: "ml-md",
798
- lg: "ml-lg",
799
- xl: "ml-xl",
800
- "2xl": "ml-2xl",
801
- "3xl": "ml-3xl"
802
- };
803
- marginRight = {
804
- 0: "mr-0",
805
- "3xs": "mr-3xs",
806
- "2xs": "mr-2xs",
807
- xs: "mr-xs",
808
- sm: "mr-sm",
809
- md: "mr-md",
810
- lg: "mr-lg",
811
- xl: "mr-xl",
812
- "2xl": "mr-2xl",
813
- "3xl": "mr-3xl"
814
- };
815
- // spacing: padding
816
- padding = {
817
- 0: "p-0",
818
- "3xs": "p-3xs",
819
- "2xs": "p-2xs",
820
- xs: "p-xs",
821
- sm: "p-sm",
822
- md: "p-md",
823
- lg: "p-lg",
824
- xl: "p-xl",
825
- "2xl": "p-2xl",
826
- "3xl": "p-3xl"
827
- };
828
- paddingX = {
829
- 0: "px-0",
830
- "3xs": "px-3xs",
831
- "2xs": "px-2xs",
832
- xs: "px-xs",
833
- sm: "px-sm",
834
- md: "px-md",
835
- lg: "px-lg",
836
- xl: "px-xl",
837
- "2xl": "px-2xl",
838
- "3xl": "px-3xl"
839
- };
840
- paddingY = {
841
- 0: "py-0",
842
- "3xs": "py-3xs",
843
- "2xs": "py-2xs",
844
- xs: "py-xs",
845
- sm: "py-sm",
846
- md: "py-md",
847
- lg: "py-lg",
848
- xl: "py-xl",
849
- "2xl": "py-2xl",
850
- "3xl": "py-3xl"
851
- };
852
- paddingTop = {
853
- 0: "pt-0",
854
- "3xs": "pt-3xs",
855
- "2xs": "pt-2xs",
856
- xs: "pt-xs",
857
- sm: "pt-sm",
858
- md: "pt-md",
859
- lg: "pt-lg",
860
- xl: "pt-xl",
861
- "2xl": "pt-2xl",
862
- "3xl": "pt-3xl"
863
- };
864
- paddingBottom = {
865
- 0: "pb-0",
866
- "3xs": "pb-3xs",
867
- "2xs": "pb-2xs",
868
- xs: "pb-xs",
869
- sm: "pb-sm",
870
- md: "pb-md",
871
- lg: "pb-lg",
872
- xl: "pb-xl",
873
- "2xl": "pb-2xl",
874
- "3xl": "pb-3xl"
875
- };
876
- paddingLeft = {
877
- 0: "pl-0",
878
- "3xs": "pl-3xs",
879
- "2xs": "pl-2xs",
880
- xs: "pl-xs",
881
- sm: "pl-sm",
882
- md: "pl-md",
883
- lg: "pl-lg",
884
- xl: "pl-xl",
885
- "2xl": "pl-2xl",
886
- "3xl": "pl-3xl"
887
- };
888
- paddingRight = {
889
- 0: "pr-0",
890
- "3xs": "pr-3xs",
891
- "2xs": "pr-2xs",
892
- xs: "pr-xs",
893
- sm: "pr-sm",
894
- md: "pr-md",
895
- lg: "pr-lg",
896
- xl: "pr-xl",
897
- "2xl": "pr-2xl",
898
- "3xl": "pr-3xl"
899
- };
900
- // spacing gap class for flex/grid
901
- gap = {
902
- 0: "gap-0",
903
- "3xs": "gap-3xs",
904
- "2xs": "gap-2xs",
905
- xs: "gap-xs",
906
- sm: "gap-sm",
907
- md: "gap-md",
908
- lg: "gap-lg",
909
- xl: "gap-xl",
910
- "2xl": "gap-2xl",
911
- "3xl": "gap-3xl"
912
- };
913
- }
914
- class g {
915
- classType;
916
- constructor(r) {
917
- this.classType = r;
918
- }
919
- validateColorType(r) {
920
- const t = /(primary|secondary|success|info|warning|danger|light-1|light-2|light-3|light-4|dark-1|dark-2|dark-3|dark-4|black|white|transparent)/;
921
- return typeof r != "string" || !t.test(r) ? !1 : a.colorType.includes(this.classType);
922
- }
923
- validateSpaceType(r) {
924
- const t = /(0|3xs|2xs|xs|sm|md|lg|xl|2xl|3xl)/;
925
- return typeof r != "string" || !t.test(r) ? !1 : a.spacingType.includes(this.classType);
926
- }
927
- validateHeadingTextSizeType(r) {
928
- const t = /(sm|md|lg|xl)/;
929
- return typeof r != "string" || !t.test(r) ? !1 : a.headingSizeType.includes(
930
- this.classType
931
- );
932
- }
933
- validateBodyTextSizeType(r) {
934
- const t = /(xs|sm|md|lg|xl)/;
935
- return typeof r != "string" || !t.test(r) ? !1 : a.textType.includes(this.classType);
936
- }
937
- validateFontWeightType(r) {
938
- const t = /(light|normal|bold)/;
939
- return typeof r != "string" || !t.test(r) ? !1 : a.fontWeightType.includes(
940
- this.classType
941
- );
942
- }
943
- validateOpacityType(r) {
944
- const t = /\b(0|[1-9]0|100)\b/;
945
- return typeof r != "number" || !t.test(r.toString()) ? !1 : a.scaleType.includes(this.classType);
946
- }
947
- validateRangeType(r) {
948
- const t = /\b([1-9]|1[0-2])\b/;
949
- return typeof r != "number" || !t.test(r.toString()) ? !1 : a.borderWidthType.includes(
950
- this.classType
951
- );
952
- }
953
- validateAlignment(r) {
954
- const t = /(left|center|right)/;
955
- return typeof r != "string" || !t.test(r) ? !1 : a.textAlignType.includes(
956
- this.classType
957
- );
958
- }
959
- }
960
- const a = {
961
- colorType: [
962
- "BGCOLOR",
963
- "BEFOREBG",
964
- "AFTERBG",
965
- "HVBGCOLOR",
966
- "FCBGCOLOR",
967
- "ACTIVEBG",
968
- "TEXTCOLOR",
969
- "HVTEXTCOLOR",
970
- "FCTEXTCOLOR",
971
- "DISABLEDTEXTCOLOR",
972
- "SVGFILL",
973
- "RINGCOLOR",
974
- "FOCUSRING",
975
- "ACTIVERING",
976
- "OUTLINE",
977
- "FOCUSOUTLINE",
978
- "ACTIVEOUTLINE",
979
- "OFFSETRING",
980
- "BTNCOLOR",
981
- "LISTCOLOR",
982
- "BORDER",
983
- "BORDERX",
984
- "BORDERY",
985
- "BORDERT",
986
- "BORDERB",
987
- "BORDERL",
988
- "BORDERR"
989
- ],
990
- textType: ["BODYTEXT"],
991
- fontWeightType: ["FONTWEIGHT"],
992
- textAlignType: ["TEXTALIGN"],
993
- headingSizeType: ["H1", "H2", "H3", "H4"],
994
- borderWidthType: [
995
- "BORDERW",
996
- "BORDERXW",
997
- "BORDERYW",
998
- "BORDERTW",
999
- "BORDERBW",
1000
- "BORDERLW",
1001
- "BORDERRW"
1002
- ],
1003
- scaleType: ["BGOPACITY", "OPACITY", "OUTLINEOPACITY"],
1004
- spacingType: [
1005
- "MARGIN",
1006
- "MARGINX",
1007
- "MARGINY",
1008
- "MARGINT",
1009
- "MARGINB",
1010
- "MARGINL",
1011
- "MARGINR",
1012
- "PADDING",
1013
- "PADDINGX",
1014
- "PADDINGY",
1015
- "PADDINGT",
1016
- "PADDINGB",
1017
- "PADDINGL",
1018
- "PADDINGR",
1019
- "GAP"
1020
- ]
1021
- };
1022
- class c {
1023
- classType;
1024
- classValue;
1025
- colorClass;
1026
- headingSizeClass;
1027
- borderWidthClass;
1028
- opacityClass;
1029
- spacingClass;
1030
- textClass;
1031
- validator;
1032
- constructor(r, t) {
1033
- this.classType = r, this.classValue = t, this.colorClass = new l(), this.headingSizeClass = new o(), this.borderWidthClass = new i(), this.opacityClass = new d(), this.spacingClass = new n(), this.textClass = new s(), this.validator = new g(r);
1034
- }
1035
- generateClass() {
1036
- switch (this.classType) {
1037
- // case: color classes
1038
- case "BGCOLOR":
1039
- return this.getBgColorClass();
1040
- case "HVBGCOLOR":
1041
- return this.getHoverBgColorClass();
1042
- case "FCBGCOLOR":
1043
- return this.getFocusBgColorClass();
1044
- case "BEFOREBG":
1045
- return this.getBeforeBgColorClass();
1046
- case "AFTERBG":
1047
- return this.getAfterBgColorClass();
1048
- case "ACTIVEBG":
1049
- return this.getActiveBgColorClass();
1050
- case "TEXTCOLOR":
1051
- return this.getTextColorClass();
1052
- case "HVTEXTCOLOR":
1053
- return this.getHoverTextColorClass();
1054
- case "FCTEXTCOLOR":
1055
- return this.getFocusTextColorClass();
1056
- case "DISABLEDTEXTCOLOR":
1057
- return this.getDisabledTextColorClass();
1058
- case "SVGFILL":
1059
- return this.getSvgFillColorClass();
1060
- case "RINGCOLOR":
1061
- return this.getRingColorClass();
1062
- case "FOCUSRING":
1063
- return this.getFocusRingColorClass();
1064
- case "ACTIVERING":
1065
- return this.getActiveRingColorClass();
1066
- case "OFFSETRING":
1067
- return this.getRingOffsetColorClass();
1068
- case "OUTLINE":
1069
- return this.getOutlineColorClass();
1070
- case "FOCUSOUTLINE":
1071
- return this.getFocusOutlineColorClass();
1072
- case "ACTIVEOUTLINE":
1073
- return this.getActiveOutlineColorClass();
1074
- case "BTNCOLOR":
1075
- return this.getBtnColorClass();
1076
- case "LISTCOLOR":
1077
- return this.getListColorClass();
1078
- case "BORDER":
1079
- return this.getBorderColorClass();
1080
- case "BORDERX":
1081
- return this.getBorderXColorClass();
1082
- case "BORDERY":
1083
- return this.getBorderYColorClass();
1084
- case "BORDERT":
1085
- return this.getBorderTopColorClass();
1086
- case "BORDERB":
1087
- return this.getBorderBottomColorClass();
1088
- case "BORDERL":
1089
- return this.getBorderLeftColorClass();
1090
- case "BORDERR":
1091
- return this.getBorderRightColorClass();
1092
- // case: heading classes
1093
- case "H1":
1094
- return this.getH1Class();
1095
- case "H2":
1096
- return this.getH2Class();
1097
- case "H3":
1098
- return this.getH3Class();
1099
- case "H4":
1100
- return this.getH4Class();
1101
- // case: body text class
1102
- case "BODYTEXT":
1103
- return this.getBodyTextSizeClass();
1104
- // case: font weight class
1105
- case "FONTWEIGHT":
1106
- return this.getFontWeightClass();
1107
- // case: text alignment class
1108
- case "TEXTALIGN":
1109
- return this.getTextAlignClass();
1110
- // case: border width classes
1111
- case "BORDERW":
1112
- return this.getBorderWidthClass();
1113
- case "BORDERXW":
1114
- return this.getBorderXWidthClass();
1115
- case "BORDERYW":
1116
- return this.getBorderYWidthClass();
1117
- case "BORDERTW":
1118
- return this.getBorderTopWidthClass();
1119
- case "BORDERBW":
1120
- return this.getBorderBottomWidthClass();
1121
- case "BORDERLW":
1122
- return this.getBorderLeftWidthClass();
1123
- case "BORDERRW":
1124
- return this.getBorderRightWidthClass();
1125
- // case: opacity classes
1126
- case "OPACITY":
1127
- return this.getOpacityClass();
1128
- case "BGOPACITY":
1129
- return this.getBgOpacityClass();
1130
- case "OUTLINEOPACITY":
1131
- return this.getOutlineOpacityClass();
1132
- // case: margins
1133
- case "MARGIN":
1134
- return this.getMarginClass();
1135
- case "MARGINX":
1136
- return this.getMarginXClass();
1137
- case "MARGINY":
1138
- return this.getMarginYClass();
1139
- case "MARGINT":
1140
- return this.getMarginTopClass();
1141
- case "MARGINB":
1142
- return this.getMarginBottomClass();
1143
- case "MARGINL":
1144
- return this.getMarginLeftClass();
1145
- case "MARGINR":
1146
- return this.getMarginRightClass();
1147
- // case: paddings
1148
- case "PADDING":
1149
- return this.getPaddingClass();
1150
- case "PADDINGX":
1151
- return this.getPaddingXClass();
1152
- case "PADDINGY":
1153
- return this.getPaddingYClass();
1154
- case "PADDINGT":
1155
- return this.getPaddingTopClass();
1156
- case "PADDINGB":
1157
- return this.getPaddingBottomClass();
1158
- case "PADDINGL":
1159
- return this.getPaddingLeftClass();
1160
- case "PADDINGR":
1161
- return this.getPaddingRightClass();
1162
- // case: gap
1163
- case "GAP":
1164
- return this.getGapClass();
1165
- default:
1166
- return " ";
1167
- }
1168
- }
1169
- // handle color class
1170
- // bg color
1171
- getBgColorClass() {
1172
- return this.validator.validateColorType(this.classValue) ? this.colorClass.bgColor[this.classValue] : " ";
1173
- }
1174
- getHoverBgColorClass() {
1175
- return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverBgColor[this.classValue] : " ";
1176
- }
1177
- getFocusBgColorClass() {
1178
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusBgColor[this.classValue] : " ";
1179
- }
1180
- getBeforeBgColorClass() {
1181
- return this.validator.validateColorType(this.classValue) ? this.colorClass.beforeBgColor[this.classValue] : " ";
1182
- }
1183
- getAfterBgColorClass() {
1184
- return this.validator.validateColorType(this.classValue) ? this.colorClass.afterBgColor[this.classValue] : " ";
1185
- }
1186
- getActiveBgColorClass() {
1187
- return this.validator.validateColorType(this.classValue) ? this.colorClass.bgActiveColor[this.classValue] : " ";
1188
- }
1189
- // text color
1190
- getTextColorClass() {
1191
- return this.validator.validateColorType(this.classValue) ? this.colorClass.textColor[this.classValue] : " ";
1192
- }
1193
- getHoverTextColorClass() {
1194
- return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverTextColor[this.classValue] : " ";
1195
- }
1196
- getFocusTextColorClass() {
1197
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusTextColor[this.classValue] : " ";
1198
- }
1199
- getDisabledTextColorClass() {
1200
- return this.validator.validateColorType(this.classValue) ? this.colorClass.disabledTextColor[this.classValue] : " ";
1201
- }
1202
- // svg color
1203
- getSvgFillColorClass() {
1204
- return this.validator.validateColorType(this.classValue) ? this.colorClass.svgFillColor[this.classValue] : " ";
1205
- }
1206
- // ring color
1207
- getRingColorClass() {
1208
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringColor[this.classValue] : " ";
1209
- }
1210
- getFocusRingColorClass() {
1211
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringFocusColor[this.classValue] : " ";
1212
- }
1213
- getActiveRingColorClass() {
1214
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringActiveColor[this.classValue] : " ";
1215
- }
1216
- getRingOffsetColorClass() {
1217
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringOffsetColor[this.classValue] : " ";
1218
- }
1219
- // outline color
1220
- getOutlineColorClass() {
1221
- return this.validator.validateColorType(this.classValue) ? this.colorClass.outlineColor[this.classValue] : " ";
1222
- }
1223
- getFocusOutlineColorClass() {
1224
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusOutlineColor[this.classValue] : " ";
1225
- }
1226
- getActiveOutlineColorClass() {
1227
- return this.validator.validateColorType(this.classValue) ? this.colorClass.activeOutlineColor[this.classValue] : " ";
1228
- }
1229
- // btn & list
1230
- getBtnColorClass() {
1231
- return this.validator.validateColorType(this.classValue) ? this.colorClass.btnColor[this.classValue] : " ";
1232
- }
1233
- getListColorClass() {
1234
- return this.validator.validateColorType(this.classValue) ? this.colorClass.listColor[this.classValue] : " ";
1235
- }
1236
- // border color
1237
- getBorderColorClass() {
1238
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderColor[this.classValue] : " ";
1239
- }
1240
- getBorderXColorClass() {
1241
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderXColor[this.classValue] : " ";
1242
- }
1243
- getBorderYColorClass() {
1244
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderYColor[this.classValue] : " ";
1245
- }
1246
- getBorderTopColorClass() {
1247
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderTopColor[this.classValue] : " ";
1248
- }
1249
- getBorderBottomColorClass() {
1250
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderBottomColor[this.classValue] : " ";
1251
- }
1252
- getBorderLeftColorClass() {
1253
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderLeftColor[this.classValue] : " ";
1254
- }
1255
- getBorderRightColorClass() {
1256
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderRightColor[this.classValue] : " ";
1257
- }
1258
- // handle heading classes
1259
- getH1Class() {
1260
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading1[this.classValue] : " ";
1261
- }
1262
- getH2Class() {
1263
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading2[this.classValue] : " ";
1264
- }
1265
- getH3Class() {
1266
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading3[this.classValue] : " ";
1267
- }
1268
- getH4Class() {
1269
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading4[this.classValue] : " ";
1270
- }
1271
- // handle body text size classes
1272
- getBodyTextSizeClass() {
1273
- return this.validator.validateBodyTextSizeType(this.classValue) ? this.textClass.bodyText[this.classValue] : " ";
1274
- }
1275
- // handle font weight classes
1276
- getFontWeightClass() {
1277
- return this.validator.validateFontWeightType(this.classValue) ? this.textClass.fontweight[this.classValue] : " ";
1278
- }
1279
- // handle text align classes
1280
- getTextAlignClass() {
1281
- return this.validator.validateAlignment(this.classValue) ? this.textClass.textAlign[this.classValue] : " ";
1282
- }
1283
- // handle border width class
1284
- getBorderWidthClass() {
1285
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderWidth[this.classValue] : " ";
1286
- }
1287
- getBorderXWidthClass() {
1288
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderXWidth[this.classValue] : " ";
1289
- }
1290
- getBorderYWidthClass() {
1291
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderYWidth[this.classValue] : " ";
1292
- }
1293
- getBorderTopWidthClass() {
1294
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderTopWidth[this.classValue] : " ";
1295
- }
1296
- getBorderBottomWidthClass() {
1297
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderBottomWidth[this.classValue] : " ";
1298
- }
1299
- getBorderLeftWidthClass() {
1300
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderLeftWidth[this.classValue] : " ";
1301
- }
1302
- getBorderRightWidthClass() {
1303
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderRightWidth[this.classValue] : " ";
1304
- }
1305
- // handle opacity classes
1306
- getOpacityClass() {
1307
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.opacity[this.classValue] : " ";
1308
- }
1309
- getBgOpacityClass() {
1310
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.backgroundOpacity[this.classValue] : " ";
1311
- }
1312
- getOutlineOpacityClass() {
1313
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.outlineOpacity[this.classValue] : " ";
1314
- }
1315
- // spacing classes
1316
- // margins
1317
- getMarginClass() {
1318
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.margin[this.classValue] : " ";
1319
- }
1320
- getMarginXClass() {
1321
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginX[this.classValue] : " ";
1322
- }
1323
- getMarginYClass() {
1324
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginY[this.classValue] : " ";
1325
- }
1326
- getMarginTopClass() {
1327
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginTop[this.classValue] : " ";
1328
- }
1329
- getMarginBottomClass() {
1330
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginBottom[this.classValue] : " ";
1331
- }
1332
- getMarginLeftClass() {
1333
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginLeft[this.classValue] : " ";
1334
- }
1335
- getMarginRightClass() {
1336
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginRight[this.classValue] : " ";
1337
- }
1338
- // paddings
1339
- getPaddingClass() {
1340
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.padding[this.classValue] : " ";
1341
- }
1342
- getPaddingXClass() {
1343
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingX[this.classValue] : " ";
1344
- }
1345
- getPaddingYClass() {
1346
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingY[this.classValue] : " ";
1347
- }
1348
- getPaddingTopClass() {
1349
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingTop[this.classValue] : " ";
1350
- }
1351
- getPaddingBottomClass() {
1352
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingBottom[this.classValue] : " ";
1353
- }
1354
- getPaddingLeftClass() {
1355
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingLeft[this.classValue] : " ";
1356
- }
1357
- getPaddingRightClass() {
1358
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingRight[this.classValue] : " ";
1359
- }
1360
- // gaps
1361
- getGapClass() {
1362
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.gap[this.classValue] : " ";
1363
- }
1364
- }
1365
- const h = (e, r) => new c(e, r).generateClass();
1366
- export {
1367
- h as g
1368
- };