aliascss 1.4.5 → 1.5.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 (75) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/bin/aliascss.js +118 -1
  3. package/dist/aliascss.js +1 -1
  4. package/lib/classPrinter.js +347 -21
  5. package/lib/compilers/color.js +5 -5
  6. package/lib/compilers/gradient.js +3 -3
  7. package/lib/compilers/stringAndContent.js +2 -1
  8. package/lib/component-elements.d.ts +155 -0
  9. package/lib/component-elements.js +223 -0
  10. package/lib/config.d.ts +2 -0
  11. package/lib/config.js +3 -1
  12. package/lib/css-properties-all.js +337 -202
  13. package/lib/custom-css-compilers.js +49 -116
  14. package/lib/extras-elements.d.ts +87 -0
  15. package/lib/extras-elements.js +184 -0
  16. package/lib/form-elements.d.ts +75 -0
  17. package/lib/form-elements.js +186 -0
  18. package/lib/layout-elements.d.ts +59 -0
  19. package/lib/layout-elements.js +113 -0
  20. package/lib/nav-elements.d.ts +71 -0
  21. package/lib/nav-elements.js +243 -0
  22. package/lib/node/compileFile-BK-291026.d.ts +27 -0
  23. package/lib/node/compileFile-BK-291026.js +309 -0
  24. package/lib/node/compileFile-bk.d.ts +14 -12
  25. package/lib/node/compileFile-bk.js +263 -252
  26. package/lib/node/compileFile.js +1 -1
  27. package/lib/node/extractClassNamesFromFile.js +208 -86
  28. package/lib/prebuild.d.ts +546 -12
  29. package/lib/prebuild.js +3 -852
  30. package/lib/prefix/PseudoPrefixNew.js +301 -16
  31. package/lib/prefix/attribute-selector.js +4 -2
  32. package/lib/prefix/element-selector.js +93 -20
  33. package/lib/prefix/extractPrefix.d.ts +1 -1
  34. package/lib/prefix/extractPrefix.js +113 -70
  35. package/lib/prefix/pseudoSelectorNew.js +184 -49
  36. package/lib/prefix/responsive.d.ts +13 -9
  37. package/lib/prefix/responsive.js +131 -9
  38. package/lib/returnPropertyAndValue.js +9 -4
  39. package/lib/returnStatement-bk-291026.d.ts +5 -0
  40. package/lib/returnStatement-bk-291026.js +470 -0
  41. package/lib/returnStatement-bk.d.ts +5 -0
  42. package/lib/returnStatement-bk.js +311 -0
  43. package/lib/returnStatement.d.ts +1 -0
  44. package/lib/returnStatement.js +262 -12
  45. package/lib/static/customStaticClassNames.js +35 -35
  46. package/lib/static/staticClassNamesAlias.js +18 -16
  47. package/lib/table-elements.d.ts +39 -0
  48. package/lib/table-elements.js +90 -0
  49. package/lib/utils/helper.d.ts +6 -0
  50. package/lib/utils/helper.js +52 -0
  51. package/lib/x-classes/x-bundle.d.ts +589 -0
  52. package/lib/x-classes/x-bundle.js +12 -0
  53. package/lib/x-classes/x-comps.d.ts +87 -0
  54. package/lib/x-classes/x-comps.js +189 -0
  55. package/lib/x-classes/x-extras.d.ts +155 -0
  56. package/lib/x-classes/x-extras.js +223 -0
  57. package/lib/x-classes/x-form-components.d.ts +75 -0
  58. package/lib/x-classes/x-form-components.js +186 -0
  59. package/lib/x-classes/x-helper-components.d.ts +63 -0
  60. package/lib/x-classes/x-helper-components.js +91 -0
  61. package/lib/x-classes/x-layout-components.d.ts +59 -0
  62. package/lib/x-classes/x-layout-components.js +113 -0
  63. package/lib/x-classes/x-menu.d.ts +23 -0
  64. package/lib/x-classes/x-menu.js +55 -0
  65. package/lib/x-classes/x-navs.d.ts +71 -0
  66. package/lib/x-classes/x-navs.js +243 -0
  67. package/lib/x-classes/x-row-col.d.ts +29 -0
  68. package/lib/x-classes/x-row-col.js +52 -0
  69. package/lib/x-classes/x-table.d.ts +39 -0
  70. package/lib/x-classes/x-table.js +90 -0
  71. package/lib/x-classes/x-theme.d.ts +15 -0
  72. package/lib/x-classes/x-theme.js +32 -0
  73. package/lib/x-imports.d.ts +31 -0
  74. package/lib/x-imports.js +748 -0
  75. package/package.json +1 -1
@@ -0,0 +1,589 @@
1
+ declare const xComponents: {
2
+ 'x-row': {
3
+ type: string;
4
+ compiler: (value: string) => string;
5
+ groups: {
6
+ '': string;
7
+ xs: string;
8
+ sm: string;
9
+ md: string;
10
+ lg: string;
11
+ xl: string;
12
+ };
13
+ };
14
+ 'x-col': {
15
+ type: string;
16
+ compiler: (value: string) => string;
17
+ groups: {
18
+ [k: string]: string;
19
+ };
20
+ };
21
+ 'x-col-offset': {
22
+ type: string;
23
+ compiler: (value: string) => string;
24
+ groups: {
25
+ [k: string]: string;
26
+ };
27
+ };
28
+ 'x-absolute-0': {
29
+ type: string;
30
+ statement: string;
31
+ };
32
+ 'x-absolute-top': {
33
+ type: string;
34
+ statement: string;
35
+ };
36
+ 'x-absolute-bottom': {
37
+ type: string;
38
+ statement: string;
39
+ };
40
+ 'x-absolute-left': {
41
+ type: string;
42
+ statement: string;
43
+ };
44
+ 'x-absolute-right': {
45
+ type: string;
46
+ statement: string;
47
+ };
48
+ 'x-divider': {
49
+ type: string;
50
+ statement: string;
51
+ };
52
+ 'x-divider-vertical': {
53
+ type: string;
54
+ statement: string;
55
+ };
56
+ 'x-divider-text': {
57
+ type: string;
58
+ statement: string;
59
+ };
60
+ 'x-divider-text-start': {
61
+ type: string;
62
+ statement: string;
63
+ };
64
+ 'x-divider-text-end': {
65
+ type: string;
66
+ statement: string;
67
+ };
68
+ 'x-arrow': {
69
+ type: string;
70
+ statement: string;
71
+ };
72
+ 'x-arrow-down': {
73
+ type: string;
74
+ statement: string;
75
+ };
76
+ 'x-arrow-up': {
77
+ type: string;
78
+ statement: string;
79
+ };
80
+ 'x-arrow-right': {
81
+ type: string;
82
+ statement: string;
83
+ };
84
+ 'x-arrow-left': {
85
+ type: string;
86
+ statement: string;
87
+ };
88
+ 'x-menu': {
89
+ type: string;
90
+ statement: string;
91
+ };
92
+ 'x-menu-sm': {
93
+ type: string;
94
+ statement: string;
95
+ };
96
+ 'x-menu-lg': {
97
+ type: string;
98
+ statement: string;
99
+ };
100
+ 'x-menu-bold': {
101
+ type: string;
102
+ statement: string;
103
+ };
104
+ 'x-menu-plain': {
105
+ type: string;
106
+ statement: string;
107
+ };
108
+ 'x-stack': {
109
+ type: string;
110
+ statement: string;
111
+ };
112
+ 'x-stack-end': {
113
+ type: string;
114
+ statement: string;
115
+ };
116
+ 'x-cluster': {
117
+ type: string;
118
+ statement: string;
119
+ };
120
+ 'x-cluster-end': {
121
+ type: string;
122
+ statement: string;
123
+ };
124
+ 'x-center': {
125
+ type: string;
126
+ statement: string;
127
+ };
128
+ 'x-grid': {
129
+ type: string;
130
+ statement: string;
131
+ };
132
+ 'x-grid-fit': {
133
+ type: string;
134
+ statement: string;
135
+ };
136
+ 'x-switcher': {
137
+ type: string;
138
+ statement: string;
139
+ };
140
+ 'x-sidebar': {
141
+ type: string;
142
+ statement: string;
143
+ };
144
+ 'x-sidebar-right': {
145
+ type: string;
146
+ statement: string;
147
+ };
148
+ 'x-cover': {
149
+ type: string;
150
+ statement: string;
151
+ };
152
+ 'x-cover-center': {
153
+ type: string;
154
+ statement: string;
155
+ };
156
+ 'x-frame': {
157
+ type: string;
158
+ statement: string;
159
+ };
160
+ 'x-reel': {
161
+ type: string;
162
+ statement: string;
163
+ };
164
+ 'x-table': {
165
+ type: string;
166
+ statement: string;
167
+ };
168
+ 'x-table-striped': {
169
+ type: string;
170
+ statement: string;
171
+ };
172
+ 'x-table-bordered': {
173
+ type: string;
174
+ statement: string;
175
+ };
176
+ 'x-table-minimal': {
177
+ type: string;
178
+ statement: string;
179
+ };
180
+ 'x-table-compact': {
181
+ type: string;
182
+ statement: string;
183
+ };
184
+ 'x-table-card': {
185
+ type: string;
186
+ statement: string;
187
+ };
188
+ 'x-table-hover': {
189
+ type: string;
190
+ statement: string;
191
+ };
192
+ 'x-table-sticky': {
193
+ type: string;
194
+ statement: string;
195
+ };
196
+ 'x-table-num': {
197
+ type: string;
198
+ statement: string;
199
+ };
200
+ 'x-theme': {
201
+ type: string;
202
+ statement: string;
203
+ };
204
+ 'x-theme-light': {
205
+ type: string;
206
+ statement: string;
207
+ };
208
+ 'x-theme-dark': {
209
+ type: string;
210
+ statement: string;
211
+ };
212
+ 'x-tab-list': {
213
+ type: string;
214
+ statement: string;
215
+ };
216
+ 'x-tab': {
217
+ type: string;
218
+ statement: string;
219
+ };
220
+ 'x-tab-panel': {
221
+ type: string;
222
+ statement: string;
223
+ };
224
+ 'x-tab-list-pills': {
225
+ type: string;
226
+ statement: string;
227
+ };
228
+ 'x-breadcrumb': {
229
+ type: string;
230
+ statement: string;
231
+ };
232
+ 'x-pagination': {
233
+ type: string;
234
+ statement: string;
235
+ };
236
+ 'x-dropdown': {
237
+ type: string;
238
+ statement: string;
239
+ };
240
+ 'x-dropdown-item': {
241
+ type: string;
242
+ statement: string;
243
+ };
244
+ 'x-dropdown-item-danger': {
245
+ type: string;
246
+ statement: string;
247
+ };
248
+ 'x-dropdown-divider': {
249
+ type: string;
250
+ statement: string;
251
+ };
252
+ 'x-dropdown-label': {
253
+ type: string;
254
+ statement: string;
255
+ };
256
+ 'x-prose': {
257
+ type: string;
258
+ statement: string;
259
+ };
260
+ 'x-prose-sm': {
261
+ type: string;
262
+ statement: string;
263
+ };
264
+ 'x-prose-lg': {
265
+ type: string;
266
+ statement: string;
267
+ };
268
+ 'x-kbd': {
269
+ type: string;
270
+ statement: string;
271
+ };
272
+ 'x-code': {
273
+ type: string;
274
+ statement: string;
275
+ };
276
+ 'x-code-block': {
277
+ type: string;
278
+ statement: string;
279
+ };
280
+ 'x-keyframes-spin': {
281
+ type: string;
282
+ statement: string;
283
+ };
284
+ 'x-keyframes-shimmer': {
285
+ type: string;
286
+ statement: string;
287
+ };
288
+ 'x-keyframes-progress': {
289
+ type: string;
290
+ statement: string;
291
+ };
292
+ 'x-input-group': {
293
+ type: string;
294
+ statement: string;
295
+ };
296
+ 'x-input-addon': {
297
+ type: string;
298
+ statement: string;
299
+ };
300
+ 'x-range': {
301
+ type: string;
302
+ statement: string;
303
+ };
304
+ 'x-file': {
305
+ type: string;
306
+ statement: string;
307
+ };
308
+ 'x-progress': {
309
+ type: string;
310
+ statement: string;
311
+ };
312
+ 'x-spinner': {
313
+ type: string;
314
+ statement: string;
315
+ };
316
+ 'x-spinner-sm': {
317
+ type: string;
318
+ statement: string;
319
+ };
320
+ 'x-spinner-lg': {
321
+ type: string;
322
+ statement: string;
323
+ };
324
+ 'x-skeleton': {
325
+ type: string;
326
+ statement: string;
327
+ };
328
+ 'x-skeleton-text': {
329
+ type: string;
330
+ statement: string;
331
+ };
332
+ 'x-skeleton-circle': {
333
+ type: string;
334
+ statement: string;
335
+ };
336
+ 'x-avatar': {
337
+ type: string;
338
+ statement: string;
339
+ };
340
+ 'x-avatar-xs': {
341
+ type: string;
342
+ statement: string;
343
+ };
344
+ 'x-avatar-sm': {
345
+ type: string;
346
+ statement: string;
347
+ };
348
+ 'x-avatar-lg': {
349
+ type: string;
350
+ statement: string;
351
+ };
352
+ 'x-avatar-xl': {
353
+ type: string;
354
+ statement: string;
355
+ };
356
+ 'x-avatar-square': {
357
+ type: string;
358
+ statement: string;
359
+ };
360
+ 'x-avatar-group': {
361
+ type: string;
362
+ statement: string;
363
+ };
364
+ 'x-button': {
365
+ type: string;
366
+ statement: string;
367
+ };
368
+ 'x-button-secondary': {
369
+ type: string;
370
+ statement: string;
371
+ };
372
+ 'x-button-ghost': {
373
+ type: string;
374
+ statement: string;
375
+ };
376
+ 'x-button-danger': {
377
+ type: string;
378
+ statement: string;
379
+ };
380
+ 'x-button-sm': {
381
+ type: string;
382
+ statement: string;
383
+ };
384
+ 'x-button-lg': {
385
+ type: string;
386
+ statement: string;
387
+ };
388
+ 'x-button-icon': {
389
+ type: string;
390
+ statement: string;
391
+ };
392
+ 'x-input': {
393
+ type: string;
394
+ statement: string;
395
+ };
396
+ 'x-textarea': {
397
+ type: string;
398
+ statement: string;
399
+ };
400
+ 'x-select': {
401
+ type: string;
402
+ statement: string;
403
+ };
404
+ 'x-checkbox': {
405
+ type: string;
406
+ statement: string;
407
+ };
408
+ 'x-radio': {
409
+ type: string;
410
+ statement: string;
411
+ };
412
+ 'x-switch': {
413
+ type: string;
414
+ statement: string;
415
+ };
416
+ 'x-field': {
417
+ type: string;
418
+ statement: string;
419
+ };
420
+ 'x-label': {
421
+ type: string;
422
+ statement: string;
423
+ };
424
+ 'x-hint': {
425
+ type: string;
426
+ statement: string;
427
+ };
428
+ 'x-error-text': {
429
+ type: string;
430
+ statement: string;
431
+ };
432
+ 'x-choice': {
433
+ type: string;
434
+ statement: string;
435
+ };
436
+ 'x-card': {
437
+ type: string;
438
+ statement: string;
439
+ };
440
+ 'x-card-header': {
441
+ type: string;
442
+ statement: string;
443
+ };
444
+ 'x-card-body': {
445
+ type: string;
446
+ statement: string;
447
+ };
448
+ 'x-card-footer': {
449
+ type: string;
450
+ statement: string;
451
+ };
452
+ 'x-card-media': {
453
+ type: string;
454
+ statement: string;
455
+ };
456
+ 'x-card-title': {
457
+ type: string;
458
+ statement: string;
459
+ };
460
+ 'x-card-description': {
461
+ type: string;
462
+ statement: string;
463
+ };
464
+ 'x-card-elevated': {
465
+ type: string;
466
+ statement: string;
467
+ };
468
+ 'x-card-flat': {
469
+ type: string;
470
+ statement: string;
471
+ };
472
+ 'x-card-interactive': {
473
+ type: string;
474
+ statement: string;
475
+ };
476
+ 'x-badge': {
477
+ type: string;
478
+ statement: string;
479
+ };
480
+ 'x-badge-primary': {
481
+ type: string;
482
+ statement: string;
483
+ };
484
+ 'x-badge-success': {
485
+ type: string;
486
+ statement: string;
487
+ };
488
+ 'x-badge-warning': {
489
+ type: string;
490
+ statement: string;
491
+ };
492
+ 'x-badge-error': {
493
+ type: string;
494
+ statement: string;
495
+ };
496
+ 'x-badge-info': {
497
+ type: string;
498
+ statement: string;
499
+ };
500
+ 'x-badge-dot': {
501
+ type: string;
502
+ statement: string;
503
+ };
504
+ 'x-badge-sm': {
505
+ type: string;
506
+ statement: string;
507
+ };
508
+ 'x-badge-lg': {
509
+ type: string;
510
+ statement: string;
511
+ };
512
+ 'x-badge-square': {
513
+ type: string;
514
+ statement: string;
515
+ };
516
+ 'x-alert': {
517
+ type: string;
518
+ statement: string;
519
+ };
520
+ 'x-alert-title': {
521
+ type: string;
522
+ statement: string;
523
+ };
524
+ 'x-alert-info': {
525
+ type: string;
526
+ statement: string;
527
+ };
528
+ 'x-alert-success': {
529
+ type: string;
530
+ statement: string;
531
+ };
532
+ 'x-alert-warning': {
533
+ type: string;
534
+ statement: string;
535
+ };
536
+ 'x-alert-error': {
537
+ type: string;
538
+ statement: string;
539
+ };
540
+ 'x-alert-accent': {
541
+ type: string;
542
+ statement: string;
543
+ };
544
+ 'x-dialog': {
545
+ type: string;
546
+ statement: string;
547
+ };
548
+ 'x-dialog-header': {
549
+ type: string;
550
+ statement: string;
551
+ };
552
+ 'x-dialog-title': {
553
+ type: string;
554
+ statement: string;
555
+ };
556
+ 'x-dialog-body': {
557
+ type: string;
558
+ statement: string;
559
+ };
560
+ 'x-dialog-footer': {
561
+ type: string;
562
+ statement: string;
563
+ };
564
+ 'x-dialog-sm': {
565
+ type: string;
566
+ statement: string;
567
+ };
568
+ 'x-dialog-lg': {
569
+ type: string;
570
+ statement: string;
571
+ };
572
+ 'x-dialog-sheet': {
573
+ type: string;
574
+ statement: string;
575
+ };
576
+ 'x-accordion-group': {
577
+ type: string;
578
+ statement: string;
579
+ };
580
+ 'x-accordion': {
581
+ type: string;
582
+ statement: string;
583
+ };
584
+ 'x-accordion-content': {
585
+ type: string;
586
+ statement: string;
587
+ };
588
+ };
589
+ export default xComponents;
@@ -0,0 +1,12 @@
1
+ import themeComponents from "./x-theme.js";
2
+ import navContent from "./x-navs.js";
3
+ import tableComponents from "./x-table.js";
4
+ import components from "./x-extras.js";
5
+ import formComponents from "./x-form-components.js";
6
+ import moreComponents from "./x-comps.js";
7
+ import layout from "./x-layout-components.js";
8
+ import menuComponents from "./x-menu.js";
9
+ import absoluteComponents from "./x-helper-components.js";
10
+ import xRowCol from "./x-row-col.js";
11
+ const xComponents = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, components), formComponents), moreComponents), navContent), themeComponents), tableComponents), layout), menuComponents), absoluteComponents), xRowCol);
12
+ export default xComponents;
@@ -0,0 +1,87 @@
1
+ declare const moreComponents: {
2
+ 'x-keyframes-spin': {
3
+ type: string;
4
+ statement: string;
5
+ };
6
+ 'x-keyframes-shimmer': {
7
+ type: string;
8
+ statement: string;
9
+ };
10
+ 'x-keyframes-progress': {
11
+ type: string;
12
+ statement: string;
13
+ };
14
+ 'x-input-group': {
15
+ type: string;
16
+ statement: string;
17
+ };
18
+ 'x-input-addon': {
19
+ type: string;
20
+ statement: string;
21
+ };
22
+ 'x-range': {
23
+ type: string;
24
+ statement: string;
25
+ };
26
+ 'x-file': {
27
+ type: string;
28
+ statement: string;
29
+ };
30
+ 'x-progress': {
31
+ type: string;
32
+ statement: string;
33
+ };
34
+ 'x-spinner': {
35
+ type: string;
36
+ statement: string;
37
+ };
38
+ 'x-spinner-sm': {
39
+ type: string;
40
+ statement: string;
41
+ };
42
+ 'x-spinner-lg': {
43
+ type: string;
44
+ statement: string;
45
+ };
46
+ 'x-skeleton': {
47
+ type: string;
48
+ statement: string;
49
+ };
50
+ 'x-skeleton-text': {
51
+ type: string;
52
+ statement: string;
53
+ };
54
+ 'x-skeleton-circle': {
55
+ type: string;
56
+ statement: string;
57
+ };
58
+ 'x-avatar': {
59
+ type: string;
60
+ statement: string;
61
+ };
62
+ 'x-avatar-xs': {
63
+ type: string;
64
+ statement: string;
65
+ };
66
+ 'x-avatar-sm': {
67
+ type: string;
68
+ statement: string;
69
+ };
70
+ 'x-avatar-lg': {
71
+ type: string;
72
+ statement: string;
73
+ };
74
+ 'x-avatar-xl': {
75
+ type: string;
76
+ statement: string;
77
+ };
78
+ 'x-avatar-square': {
79
+ type: string;
80
+ statement: string;
81
+ };
82
+ 'x-avatar-group': {
83
+ type: string;
84
+ statement: string;
85
+ };
86
+ };
87
+ export default moreComponents;