vitrify 0.17.7 → 0.17.9

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 (52) hide show
  1. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +1 -1
  2. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +1 -1
  3. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +1 -1
  4. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +2 -2
  5. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +2 -2
  6. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +1 -1
  7. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +1 -1
  8. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +62 -62
  9. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +1 -1
  10. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +3 -3
  11. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +2 -2
  12. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +1 -1
  13. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +1 -1
  14. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +1 -1
  15. package/dist/plugins/quasar/unocss/core/dark.unocss.js +1 -2
  16. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +7 -1
  17. package/dist/plugins/quasar/unocss/core/flex.unocss.js +7 -8
  18. package/dist/plugins/quasar/unocss/core/mouse.unocss.js +16 -3
  19. package/dist/plugins/quasar/unocss/core/size.unocss.js +13 -1
  20. package/dist/plugins/quasar/unocss/core/transitions.unocss.js +10 -1
  21. package/dist/plugins/quasar/unocss/index.js +364 -273
  22. package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +1 -1
  23. package/dist/plugins/quasar/unocss/theme.js +295 -284
  24. package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +3 -2
  25. package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +3 -2
  26. package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +3 -2
  27. package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +3 -2
  28. package/dist/types/plugins/quasar/unocss/theme.d.ts +296 -285
  29. package/package.json +1 -1
  30. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +1 -1
  31. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +1 -1
  32. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +1 -1
  33. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +2 -2
  34. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +2 -2
  35. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +1 -1
  36. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +1 -1
  37. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +62 -62
  38. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +1 -1
  39. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +3 -3
  40. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +2 -2
  41. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +1 -1
  42. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +1 -1
  43. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +1 -1
  44. package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +1 -2
  45. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +8 -1
  46. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +9 -14
  47. package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +17 -4
  48. package/src/node/plugins/quasar/unocss/core/size.unocss.ts +14 -1
  49. package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +11 -1
  50. package/src/node/plugins/quasar/unocss/index.ts +376 -273
  51. package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +1 -1
  52. package/src/node/plugins/quasar/unocss/theme.ts +591 -571
@@ -138,7 +138,10 @@ import {
138
138
  preflights as DarkPreflights,
139
139
  shortcuts as DarkShortcuts
140
140
  } from './core/dark.unocss.js'
141
- import { rules as ElevationRules } from './core/elevation.unocss.js'
141
+ import {
142
+ shortcuts as ElevationShortcuts,
143
+ rules as ElevationRules
144
+ } from './core/elevation.unocss.js'
142
145
  import { shortcuts as FlexShortcuts } from './core/flex.unocss.js'
143
146
  import {
144
147
  rules as HelperRules,
@@ -153,7 +156,10 @@ import { shortcuts as OrientationShortcuts } from './core/orientation.unocss.js'
153
156
  import { shortcuts as PositionShortcuts } from './core/position.unocss.js'
154
157
  import { shortcuts as SizeShortcuts } from './core/size.unocss.js'
155
158
  import { shortcuts as TouchShortcuts } from './core/touch.unocss.js'
156
- import { shortcuts as TransitionsShortcuts } from './core/transitions.unocss.js'
159
+ import {
160
+ preflights as TransitionPreflights,
161
+ shortcuts as TransitionsShortcuts
162
+ } from './core/transitions.unocss.js'
157
163
  import {
158
164
  preflights as TypographyPreflights,
159
165
  shortcuts as TypographyShortcuts
@@ -318,293 +324,371 @@ const pluginSafelistMap: Partial<Record<keyof QuasarPlugins, string[]>> = {
318
324
  }
319
325
 
320
326
  const baseSafelist = [
321
- 'material-icons',
322
- 'material-icons-outlined',
323
- 'material-icons-round',
324
- 'material-icons-sharp',
325
- 'material-symbols-outlined',
326
- 'material-symbols-rounded',
327
- 'material-symbols-sharp',
328
- 'q-animate--scale',
329
- 'q-animate--fade',
330
- 'inset-shadow',
331
- 'inset-shadow-down',
332
- 'no-shadow',
333
- 'shadow-0',
334
- 'z-marginals',
335
- 'z-notify',
336
- 'z-fullscreen',
337
- 'z-inherit',
338
- 'row',
327
+ 'absolute',
328
+ 'absolute-bottom',
329
+ 'absolute-full',
330
+ 'absolute-right',
331
+ 'absolute-top',
332
+ 'block',
333
+ 'border-radius-inherit',
339
334
  'column',
335
+ 'content-center',
336
+ 'cursor-pointer',
337
+ 'disabled',
338
+ 'ellipsis',
339
+ 'fit',
340
+ 'fixed',
341
+ 'fixed-bottom',
342
+ 'fixed-full',
343
+ 'fixed-left',
344
+ 'fixed-right',
345
+ 'fixed-top',
340
346
  'flex',
341
- 'wrap',
342
- 'no-wrap',
343
- 'reverse-wrap',
344
- 'order-first',
345
- 'order-last',
346
- 'order-none',
347
- 'justify-start',
348
- 'justify-end',
349
- 'justify-center',
350
347
  'flex-center',
351
- 'justify-between',
352
- 'justify-around',
353
- 'justify-evenly',
354
- 'items-start',
355
- 'items-end',
348
+ 'full-width',
349
+ 'fullscreen',
350
+ 'glossy',
351
+ 'hidden',
352
+ 'hide-scrollbar',
353
+ 'invisible',
356
354
  'items-center',
357
- 'items-baseline',
355
+ 'items-end',
356
+ 'items-start',
358
357
  'items-stretch',
359
- 'content-start',
360
- 'content-end',
361
- 'content-center',
362
- 'content-stretch',
363
- 'content-between',
364
- 'content-around',
365
- 'self-start',
366
- 'self-end',
367
- 'self-center',
368
- 'self-baseline',
369
- 'self-stretch',
370
- 'q-gutter-x-none',
371
- 'q-gutter-none',
372
- 'q-gutter-y-none',
373
- 'q-col-gutter-x-none',
374
- 'q-col-gutter-none',
375
- 'q-col-gutter-y-none',
376
- 'q-gutter-x-xs',
377
- 'q-gutter-xs',
378
- 'q-gutter-y-xs',
379
- 'q-col-gutter-x-xs',
380
- 'q-col-gutter-xs',
381
- 'q-col-gutter-y-xs',
382
- 'q-gutter-x-sm',
383
- 'q-gutter-sm',
384
- 'q-gutter-y-sm',
385
- 'q-col-gutter-x-sm',
386
- 'q-col-gutter-sm',
387
- 'q-col-gutter-y-sm',
388
- 'q-gutter-x-md',
389
- 'q-gutter-md',
390
- 'q-gutter-y-md',
391
- 'q-col-gutter-x-md',
392
- 'q-col-gutter-md',
393
- 'q-col-gutter-y-md',
394
- 'q-gutter-x-lg',
395
- 'q-gutter-lg',
396
- 'q-gutter-y-lg',
397
- 'q-col-gutter-x-lg',
398
- 'q-col-gutter-lg',
399
- 'q-col-gutter-y-lg',
400
- 'q-gutter-x-xl',
401
- 'q-gutter-xl',
402
- 'q-gutter-y-xl',
403
- 'q-col-gutter-x-xl',
404
- 'q-col-gutter-xl',
405
- 'q-col-gutter-y-xl',
406
- 'rounded-borders',
407
- 'border-radius-inherit',
358
+ 'justify-between',
359
+ 'justify-center',
360
+ 'justify-end',
361
+ 'justify-start',
362
+ 'no-border',
363
+ 'no-border-radius',
364
+ 'no-outline',
365
+ 'no-pointer-events',
366
+ 'no-pointer-events--children',
367
+ 'no-shadow',
408
368
  'no-transition',
409
- 'transition-0',
410
- 'glossy',
411
- 'q-placeholder',
412
- 'q-body--fullscreen-mixin',
413
- 'q-body--prevent-scroll',
369
+ 'no-wrap',
370
+ 'non-selectable',
371
+ 'on-left',
372
+ 'on-right',
373
+ 'overflow-auto',
374
+ 'overflow-hidden',
375
+ 'q-animate--scale',
414
376
  'q-body--force-scrollbar-x',
415
377
  'q-body--force-scrollbar-y',
416
- 'q-no-input-spinner',
378
+ 'q-body--fullscreen-mixin',
379
+ 'q-body--prevent-scroll',
380
+ 'q-dark',
381
+ 'q-focus-helper',
382
+ 'q-focusable',
383
+ 'q-gutter-x-sm',
384
+ 'q-gutter-xs',
385
+ 'q-hoverable',
417
386
  'q-link',
418
387
  'q-link--focusable',
419
- 'non-selectable',
388
+ 'q-manual-focusable',
389
+ 'q-placeholder',
390
+ 'q-position-engine',
391
+ 'readonly',
392
+ 'relative-position',
393
+ 'rotate-180',
394
+ 'rounded-borders',
395
+ 'row',
420
396
  'scroll',
421
397
  'scroll-x',
422
398
  'scroll-y',
423
- 'no-scroll',
424
- 'no-pointer-events',
425
- 'no-pointer-events--children',
426
- 'all-pointer-events',
427
- 'cursor-pointer',
428
- 'cursor-not-afllowed',
429
- 'cursor-inherit',
430
- 'cursor-none',
431
- 'rotate-45',
432
- 'rotate-90',
433
- 'rotate-135',
434
- 'rotate-180',
435
- 'rotate-225',
436
- 'rotate-270',
437
- 'rotate-315',
438
- 'flip-horizontal',
439
- 'flip-vertical',
440
- 'float-left',
441
- 'float-right',
442
- 'relative-position',
443
- 'fixed',
444
- 'fixed-full',
445
- 'fullscreen',
446
- 'fixed-center',
447
- 'fixed-bottom',
448
- 'fixed-left',
449
- 'fixed-right',
450
- 'fixed-top',
451
- 'fixed-top-left',
452
- 'fixed-top-right',
453
- 'fixed-bottom-left',
454
- 'fixed-bottom-right',
455
- 'absolute',
456
- 'absolute-full',
457
- 'absolute-center',
458
- 'absolute-bottom',
459
- 'absolute-left',
460
- 'absolute-right',
461
- 'absolute-top',
462
- 'absolute-top-left',
463
- 'absolute-top-right',
464
- 'absolute-bottom-left',
465
- 'absolute-bottom-right',
466
- 'vertical-top',
467
- 'vertical-middle',
468
- 'vertical-bottom',
469
- 'on-left',
470
- 'on-right',
471
- 'q-position-engine',
472
- 'fit',
473
- 'full-height',
474
- 'full-width',
475
- 'window-height',
476
- 'window-width',
477
- 'block',
478
- 'inline-block',
479
- 'q-touch',
480
- 'q-touch-x',
481
- 'q-touch-y',
482
- 'q-transition--slide-right-enter-active',
483
- 'q-transition--slide-right-leave-active',
484
- 'q-transition--slide-left-enter-active',
485
- 'q-transition--slide-left-leave-active',
486
- 'q-transition--slide-up-enter-active',
487
- 'q-transition--slide-up-leave-active',
488
- 'q-transition--slide-down-enter-active',
489
- 'q-transition--slide-down-leave-active',
490
- 'q-transition--jump-right-enter-active',
491
- 'q-transition--jump-right-leave-active',
492
- 'q-transition--jump-left-enter-active',
493
- 'q-transition--jump-left-leave-active',
494
- 'q-transition--jump-up-enter-active',
495
- 'q-transition--jump-up-leave-active',
496
- 'q-transition--jump-down-enter-active',
497
- 'q-transition--jump-down-leave-active',
498
- 'q-transition--fade-enter-active',
499
- 'q-transition--fade-leave-active',
500
- 'q-transition--scale-enter-active',
501
- 'q-transition--scale-leave-active',
502
- 'q-transition--rotate-enter-active',
503
- 'q-transition--rotate-leave-active',
504
- 'q-transition--flip-enter-active',
505
- 'q-transition--flip-leave-active',
506
- 'q-transition--slide-right-enter-from',
507
- 'q-transition--slide-right-leave-to',
508
- 'q-transition--slide-left-enter-from',
509
- 'q-transition--slide-left-leave-to',
510
- 'q-transition--slide-up-enter-from',
511
- 'q-transition--slide-up-leave-to',
512
- 'q-transition--slide-down-enter-from',
513
- 'q-transition--slide-down-leave-to',
514
- 'q-transition--jump-right-enter-from',
515
- 'q-transition--jump-right-leave-to',
516
- 'q-transition--jump-left-enter-from',
517
- 'q-transition--jump-left-leave-to',
518
- 'q-transition--jump-up-enter-from',
519
- 'q-transition--jump-up-leave-to',
520
- 'q-transition--jump-down-enter-from',
521
- 'q-transition--jump-down-leave-to',
522
- 'q-transition--fade-enter-from',
523
- 'q-transition--fade-leave-to',
524
- 'q-transition--scale-enter-from',
525
- 'q-transition--scale-leave-to',
526
- 'q-transition--rotate-enter-from',
527
- 'q-transition--rotate-leave-to',
528
- 'q-transition--flip-right-enter-active',
529
- 'q-transition--flip-right-leave-active',
530
- 'q-transition--flip-left-enter-active',
531
- 'q-transition--flip-left-leave-active',
532
- 'q-transition--flip-up-enter-active',
533
- 'q-transition--flip-up-leave-active',
534
- 'q-transition--flip-down-enter-active',
535
- 'q-transition--flip-down-leave-active',
536
- 'q-transition--flip-right-enter-to',
537
- 'q-transition--flip-right-leave-from',
538
- 'q-transition--flip-left-enter-to',
539
- 'q-transition--flip-left-leave-from',
540
- 'q-transition--flip-up-enter-to',
541
- 'q-transition--flip-up-leave-from',
542
- 'q-transition--flip-down-enter-to',
543
- 'q-transition--flip-down-leave-from',
544
- 'q-transition--flip-right-enter-from',
545
- 'q-transition--flip-right-leave-to',
546
- 'q-transition--flip-left-enter-from',
547
- 'q-transition--flip-left-leave-to',
548
- 'q-transition--flip-up-enter-from',
549
- 'q-transition--flip-up-leave-to',
550
- 'q-transition--flip-down-enter-from',
551
- 'q-transition--flip-down-leave-to',
552
- 'text-h1',
553
- 'text-h2',
554
- 'text-h3',
555
- 'text-h4',
556
- 'text-h5',
557
- 'text-h6',
558
- 'text-subtitle1',
559
- 'text-subtitle2',
560
- 'text-body1',
399
+ 'self-center',
400
+ 'self-end',
401
+ 'self-start',
402
+ 'self-stretch',
561
403
  'text-body2',
562
- 'text-overline',
563
404
  'text-caption',
564
- 'text-uppercase',
565
- 'text-lowercase',
566
- 'text-capitalize',
567
405
  'text-center',
568
- 'text-left',
569
- 'text-right',
570
- 'text-justify',
571
- 'text-italic',
572
- 'text-bold',
573
406
  'text-no-wrap',
574
- 'text-strike',
575
- 'text-weight-thin',
576
- 'text-weight-light',
577
- 'text-weight-regular',
578
- 'text-weight-medium',
579
- 'text-weight-bold',
580
- 'text-weight-bolder',
581
- 'no-margin',
582
- 'no-padding',
583
- 'no-border',
584
- 'no-border-radius',
585
- 'no-box-shadow',
586
- 'no-outline',
587
- 'ellipsis',
588
- 'ellipsis-2-lines',
589
- 'ellipsis-3-lines',
590
- 'readonly',
591
- 'disabled',
592
- 'hidden',
593
- 'invisible',
407
+ 'text-overline',
594
408
  'transparent',
595
- 'overflow-auto',
596
- 'overflow-hidden',
597
- 'overflow-hidden-y',
598
- 'hide-scrollbar',
599
- 'dimmed',
600
- 'light-dimmed',
601
- 'z-top',
409
+ 'wrap',
602
410
  'z-max',
603
- 'q-focus-helper',
604
- 'q-focusable',
605
- 'q-manual-focusable',
606
- 'q-hoverable',
607
- 'q-dark'
411
+ 'z-top'
412
+ // 'q-animate--scale',
413
+ // 'q-animate--fade',
414
+ // 'inset-shadow',
415
+ // 'inset-shadow-down',
416
+ // 'no-shadow',
417
+ // 'shadow-0',
418
+ // 'z-marginals',
419
+ // 'z-notify',
420
+ // 'z-fullscreen',
421
+ // 'z-inherit',
422
+ // 'row',
423
+ // 'column',
424
+ // 'flex',
425
+ // 'wrap',
426
+ // 'no-wrap',
427
+ // 'reverse-wrap',
428
+ // 'order-first',
429
+ // 'order-last',
430
+ // 'order-none',
431
+ // 'justify-start',
432
+ // 'justify-end',
433
+ // 'justify-center',
434
+ // 'flex-center',
435
+ // 'justify-between',
436
+ // 'justify-around',
437
+ // 'justify-evenly',
438
+ // 'items-start',
439
+ // 'items-end',
440
+ // 'items-center',
441
+ // 'items-baseline',
442
+ // 'items-stretch',
443
+ // 'content-start',
444
+ // 'content-end',
445
+ // 'content-center',
446
+ // 'content-stretch',
447
+ // 'content-between',
448
+ // 'content-around',
449
+ // 'self-start',
450
+ // 'self-end',
451
+ // 'self-center',
452
+ // 'self-baseline',
453
+ // 'self-stretch',
454
+ // 'q-gutter-x-none',
455
+ // 'q-gutter-none',
456
+ // 'q-gutter-y-none',
457
+ // 'q-col-gutter-x-none',
458
+ // 'q-col-gutter-none',
459
+ // 'q-col-gutter-y-none',
460
+ // 'q-gutter-x-xs',
461
+ // 'q-gutter-xs',
462
+ // 'q-gutter-y-xs',
463
+ // 'q-col-gutter-x-xs',
464
+ // 'q-col-gutter-xs',
465
+ // 'q-col-gutter-y-xs',
466
+ // 'q-gutter-x-sm',
467
+ // 'q-gutter-sm',
468
+ // 'q-gutter-y-sm',
469
+ // 'q-col-gutter-x-sm',
470
+ // 'q-col-gutter-sm',
471
+ // 'q-col-gutter-y-sm',
472
+ // 'q-gutter-x-md',
473
+ // 'q-gutter-md',
474
+ // 'q-gutter-y-md',
475
+ // 'q-col-gutter-x-md',
476
+ // 'q-col-gutter-md',
477
+ // 'q-col-gutter-y-md',
478
+ // 'q-gutter-x-lg',
479
+ // 'q-gutter-lg',
480
+ // 'q-gutter-y-lg',
481
+ // 'q-col-gutter-x-lg',
482
+ // 'q-col-gutter-lg',
483
+ // 'q-col-gutter-y-lg',
484
+ // 'q-gutter-x-xl',
485
+ // 'q-gutter-xl',
486
+ // 'q-gutter-y-xl',
487
+ // 'q-col-gutter-x-xl',
488
+ // 'q-col-gutter-xl',
489
+ // 'q-col-gutter-y-xl',
490
+ // 'rounded-borders',
491
+ // 'border-radius-inherit',
492
+ // 'no-transition',
493
+ // 'transition-0',
494
+ // 'glossy',
495
+ // 'q-placeholder',
496
+ // 'q-body--fullscreen-mixin',
497
+ // 'q-body--prevent-scroll',
498
+ // 'q-body--force-scrollbar-x',
499
+ // 'q-body--force-scrollbar-y',
500
+ // 'q-no-input-spinner',
501
+ // 'q-link',
502
+ // 'q-link--focusable',
503
+ // 'non-selectable',
504
+ // 'scroll',
505
+ // 'scroll-x',
506
+ // 'scroll-y',
507
+ // 'no-scroll',
508
+ // 'no-pointer-events',
509
+ // 'no-pointer-events--children',
510
+ // 'all-pointer-events',
511
+ // 'cursor-pointer',
512
+ // 'cursor-not-afllowed',
513
+ // 'cursor-inherit',
514
+ // 'cursor-none',
515
+ // 'rotate-45',
516
+ // 'rotate-90',
517
+ // 'rotate-135',
518
+ // 'rotate-180',
519
+ // 'rotate-225',
520
+ // 'rotate-270',
521
+ // 'rotate-315',
522
+ // 'flip-horizontal',
523
+ // 'flip-vertical',
524
+ // 'float-left',
525
+ // 'float-right',
526
+ // 'relative-position',
527
+ // 'fixed',
528
+ // 'fixed-full',
529
+ // 'fullscreen',
530
+ // 'fixed-center',
531
+ // 'fixed-bottom',
532
+ // 'fixed-left',
533
+ // 'fixed-right',
534
+ // 'fixed-top',
535
+ // 'fixed-top-left',
536
+ // 'fixed-top-right',
537
+ // 'fixed-bottom-left',
538
+ // 'fixed-bottom-right',
539
+ // 'absolute',
540
+ // 'absolute-full',
541
+ // 'absolute-center',
542
+ // 'absolute-bottom',
543
+ // 'absolute-left',
544
+ // 'absolute-right',
545
+ // 'absolute-top',
546
+ // 'absolute-top-left',
547
+ // 'absolute-top-right',
548
+ // 'absolute-bottom-left',
549
+ // 'absolute-bottom-right',
550
+ // 'vertical-top',
551
+ // 'vertical-middle',
552
+ // 'vertical-bottom',
553
+ // 'on-left',
554
+ // 'on-right',
555
+ // 'q-position-engine',
556
+ // 'fit',
557
+ // 'full-height',
558
+ // 'full-width',
559
+ // 'window-height',
560
+ // 'window-width',
561
+ // 'block',
562
+ // 'inline-block',
563
+ // 'q-touch',
564
+ // 'q-touch-x',
565
+ // 'q-touch-y',
566
+ // 'q-transition--slide-right-enter-active',
567
+ // 'q-transition--slide-right-leave-active',
568
+ // 'q-transition--slide-left-enter-active',
569
+ // 'q-transition--slide-left-leave-active',
570
+ // 'q-transition--slide-up-enter-active',
571
+ // 'q-transition--slide-up-leave-active',
572
+ // 'q-transition--slide-down-enter-active',
573
+ // 'q-transition--slide-down-leave-active',
574
+ // 'q-transition--jump-right-enter-active',
575
+ // 'q-transition--jump-right-leave-active',
576
+ // 'q-transition--jump-left-enter-active',
577
+ // 'q-transition--jump-left-leave-active',
578
+ // 'q-transition--jump-up-enter-active',
579
+ // 'q-transition--jump-up-leave-active',
580
+ // 'q-transition--jump-down-enter-active',
581
+ // 'q-transition--jump-down-leave-active',
582
+ // 'q-transition--fade-enter-active',
583
+ // 'q-transition--fade-leave-active',
584
+ // 'q-transition--scale-enter-active',
585
+ // 'q-transition--scale-leave-active',
586
+ // 'q-transition--rotate-enter-active',
587
+ // 'q-transition--rotate-leave-active',
588
+ // 'q-transition--flip-enter-active',
589
+ // 'q-transition--flip-leave-active',
590
+ // 'q-transition--slide-right-enter-from',
591
+ // 'q-transition--slide-right-leave-to',
592
+ // 'q-transition--slide-left-enter-from',
593
+ // 'q-transition--slide-left-leave-to',
594
+ // 'q-transition--slide-up-enter-from',
595
+ // 'q-transition--slide-up-leave-to',
596
+ // 'q-transition--slide-down-enter-from',
597
+ // 'q-transition--slide-down-leave-to',
598
+ // 'q-transition--jump-right-enter-from',
599
+ // 'q-transition--jump-right-leave-to',
600
+ // 'q-transition--jump-left-enter-from',
601
+ // 'q-transition--jump-left-leave-to',
602
+ // 'q-transition--jump-up-enter-from',
603
+ // 'q-transition--jump-up-leave-to',
604
+ // 'q-transition--jump-down-enter-from',
605
+ // 'q-transition--jump-down-leave-to',
606
+ // 'q-transition--fade-enter-from',
607
+ // 'q-transition--fade-leave-to',
608
+ // 'q-transition--scale-enter-from',
609
+ // 'q-transition--scale-leave-to',
610
+ // 'q-transition--rotate-enter-from',
611
+ // 'q-transition--rotate-leave-to',
612
+ // 'q-transition--flip-right-enter-active',
613
+ // 'q-transition--flip-right-leave-active',
614
+ // 'q-transition--flip-left-enter-active',
615
+ // 'q-transition--flip-left-leave-active',
616
+ // 'q-transition--flip-up-enter-active',
617
+ // 'q-transition--flip-up-leave-active',
618
+ // 'q-transition--flip-down-enter-active',
619
+ // 'q-transition--flip-down-leave-active',
620
+ // 'q-transition--flip-right-enter-to',
621
+ // 'q-transition--flip-right-leave-from',
622
+ // 'q-transition--flip-left-enter-to',
623
+ // 'q-transition--flip-left-leave-from',
624
+ // 'q-transition--flip-up-enter-to',
625
+ // 'q-transition--flip-up-leave-from',
626
+ // 'q-transition--flip-down-enter-to',
627
+ // 'q-transition--flip-down-leave-from',
628
+ // 'q-transition--flip-right-enter-from',
629
+ // 'q-transition--flip-right-leave-to',
630
+ // 'q-transition--flip-left-enter-from',
631
+ // 'q-transition--flip-left-leave-to',
632
+ // 'q-transition--flip-up-enter-from',
633
+ // 'q-transition--flip-up-leave-to',
634
+ // 'q-transition--flip-down-enter-from',
635
+ // 'q-transition--flip-down-leave-to',
636
+ // 'text-h1',
637
+ // 'text-h2',
638
+ // 'text-h3',
639
+ // 'text-h4',
640
+ // 'text-h5',
641
+ // 'text-h6',
642
+ // 'text-subtitle1',
643
+ // 'text-subtitle2',
644
+ // 'text-body1',
645
+ // 'text-body2',
646
+ // 'text-overline',
647
+ // 'text-caption',
648
+ // 'text-uppercase',
649
+ // 'text-lowercase',
650
+ // 'text-capitalize',
651
+ // 'text-center',
652
+ // 'text-left',
653
+ // 'text-right',
654
+ // 'text-justify',
655
+ // 'text-italic',
656
+ // 'text-bold',
657
+ // 'text-no-wrap',
658
+ // 'text-strike',
659
+ // 'text-weight-thin',
660
+ // 'text-weight-light',
661
+ // 'text-weight-regular',
662
+ // 'text-weight-medium',
663
+ // 'text-weight-bold',
664
+ // 'text-weight-bolder',
665
+ // 'no-margin',
666
+ // 'no-padding',
667
+ // 'no-border',
668
+ // 'no-border-radius',
669
+ // 'no-box-shadow',
670
+ // 'no-outline',
671
+ // 'ellipsis',
672
+ // 'ellipsis-2-lines',
673
+ // 'ellipsis-3-lines',
674
+ // 'readonly',
675
+ // 'disabled',
676
+ // 'hidden',
677
+ // 'invisible',
678
+ // 'transparent',
679
+ // 'overflow-auto',
680
+ // 'overflow-hidden',
681
+ // 'overflow-hidden-y',
682
+ // 'hide-scrollbar',
683
+ // 'dimmed',
684
+ // 'light-dimmed',
685
+ // 'z-top',
686
+ // 'z-max',
687
+ // 'q-focus-helper',
688
+ // 'q-focusable',
689
+ // 'q-manual-focusable',
690
+ // 'q-hoverable',
691
+ // 'q-dark'
608
692
  ]
609
693
 
610
694
  const qClasses = [
@@ -1736,7 +1820,8 @@ export default definePreset((options: QuasarPresetOptions = {}) => {
1736
1820
  HelperPreflights,
1737
1821
  MousePreflights,
1738
1822
  TypographyPreflights,
1739
- VisibilityPreflights
1823
+ VisibilityPreflights,
1824
+ TransitionPreflights
1740
1825
  ),
1741
1826
  rules: ([] as Rule<QuasarTheme>[]).concat(
1742
1827
  HelperRules,
@@ -1833,7 +1918,8 @@ export default definePreset((options: QuasarPresetOptions = {}) => {
1833
1918
  VisibilityShortcuts,
1834
1919
  QHeaderShortcuts,
1835
1920
  QFooterShortcuts,
1836
- QDrawerShortcuts
1921
+ QDrawerShortcuts,
1922
+ ElevationShortcuts
1837
1923
  ),
1838
1924
  theme: defaultTheme,
1839
1925
  variants: [
@@ -1846,16 +1932,33 @@ export default definePreset((options: QuasarPresetOptions = {}) => {
1846
1932
  extract({ code }) {
1847
1933
  const kebabMatch = code.matchAll(/q-(\w)([\w-]*)/g)
1848
1934
  const pascalMatch = code.matchAll(/Q([A-Z][a-z0-9]+)+/g)
1935
+ const transitionMatch = code.matchAll(
1936
+ /(transition|transition-show|transition-hide)="(\S*)"/g
1937
+ )
1849
1938
 
1850
1939
  const matches: string[] = []
1851
1940
  for (const match of kebabMatch) matches.push(match[0])
1852
1941
  for (const match of pascalMatch) {
1853
1942
  matches.push(toKebabCase(match[0]))
1854
1943
  }
1944
+ const transitionClasses = []
1945
+ for (const match of transitionMatch) {
1946
+ transitionClasses.push(
1947
+ ...[
1948
+ 'enter-from',
1949
+ 'enter-active',
1950
+ 'enter-to',
1951
+ 'leave-from',
1952
+ 'leave-active',
1953
+ 'leave-to'
1954
+ ].map((v) => `q-transition--${match[2]}-${v}`)
1955
+ )
1956
+ }
1855
1957
 
1856
1958
  const classes = qClasses.filter((c) =>
1857
1959
  matches.some((component) => c.includes(component))
1858
1960
  )
1961
+ classes.push(...transitionClasses)
1859
1962
  return classes
1860
1963
  }
1861
1964
  }
@@ -1869,7 +1972,7 @@ export default definePreset((options: QuasarPresetOptions = {}) => {
1869
1972
  // return id.match(/quasar\/src\/.*\.js/)
1870
1973
  // },
1871
1974
  // async transform(code, id, { uno }) {
1872
- // for (const c of safelist) {
1975
+ // for (const c of baseSafelist) {
1873
1976
  // if (code.toString().includes(c)) console.log(c)
1874
1977
  // }
1875
1978
  // return code