vitrify 0.17.7 → 0.17.8
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.
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +62 -62
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +3 -3
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/dark.unocss.js +1 -2
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +7 -1
- package/dist/plugins/quasar/unocss/core/mouse.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/transitions.unocss.js +10 -1
- package/dist/plugins/quasar/unocss/index.js +364 -273
- package/dist/plugins/quasar/unocss/theme.js +4 -0
- package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/theme.d.ts +5 -1
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +62 -62
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +3 -3
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +1 -2
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +8 -1
- package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +11 -1
- package/src/node/plugins/quasar/unocss/index.ts +376 -273
- package/src/node/plugins/quasar/unocss/theme.ts +9 -1
|
@@ -79,7 +79,7 @@ import { shortcuts as QLoadingShortcuts } from './plugins/QLoading.unocss.js';
|
|
|
79
79
|
import { shortcuts as QNotifyShortcuts } from './plugins/QNotify.unocss.js';
|
|
80
80
|
import { preflights as ColorPreflights } from './core/colors.unocss.js';
|
|
81
81
|
import { preflights as DarkPreflights, shortcuts as DarkShortcuts } from './core/dark.unocss.js';
|
|
82
|
-
import { rules as ElevationRules } from './core/elevation.unocss.js';
|
|
82
|
+
import { shortcuts as ElevationShortcuts, rules as ElevationRules } from './core/elevation.unocss.js';
|
|
83
83
|
import { shortcuts as FlexShortcuts } from './core/flex.unocss.js';
|
|
84
84
|
import { rules as HelperRules, preflights as HelperPreflights, shortcuts as HelperShortcuts } from './core/helpers.unocss.js';
|
|
85
85
|
import { preflights as MousePreflights, shortcuts as MouseShortcuts } from './core/mouse.unocss.js';
|
|
@@ -87,7 +87,7 @@ import { shortcuts as OrientationShortcuts } from './core/orientation.unocss.js'
|
|
|
87
87
|
import { shortcuts as PositionShortcuts } from './core/position.unocss.js';
|
|
88
88
|
import { shortcuts as SizeShortcuts } from './core/size.unocss.js';
|
|
89
89
|
import { shortcuts as TouchShortcuts } from './core/touch.unocss.js';
|
|
90
|
-
import { shortcuts as TransitionsShortcuts } from './core/transitions.unocss.js';
|
|
90
|
+
import { preflights as TransitionPreflights, shortcuts as TransitionsShortcuts } from './core/transitions.unocss.js';
|
|
91
91
|
import { preflights as TypographyPreflights, shortcuts as TypographyShortcuts } from './core/typography.unocss.js';
|
|
92
92
|
import { rules as VisibilityRules, preflights as VisibilityPreflights, shortcuts as VisibilityShortcuts } from './core/visibility.unocss.js';
|
|
93
93
|
import { shortcuts as QHeaderShortcuts } from './components/QHeader.unocss.js';
|
|
@@ -234,293 +234,371 @@ const pluginSafelistMap = {
|
|
|
234
234
|
]
|
|
235
235
|
};
|
|
236
236
|
const baseSafelist = [
|
|
237
|
-
'
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'q-animate--scale',
|
|
245
|
-
'q-animate--fade',
|
|
246
|
-
'inset-shadow',
|
|
247
|
-
'inset-shadow-down',
|
|
248
|
-
'no-shadow',
|
|
249
|
-
'shadow-0',
|
|
250
|
-
'z-marginals',
|
|
251
|
-
'z-notify',
|
|
252
|
-
'z-fullscreen',
|
|
253
|
-
'z-inherit',
|
|
254
|
-
'row',
|
|
237
|
+
'absolute',
|
|
238
|
+
'absolute-bottom',
|
|
239
|
+
'absolute-full',
|
|
240
|
+
'absolute-right',
|
|
241
|
+
'absolute-top',
|
|
242
|
+
'block',
|
|
243
|
+
'border-radius-inherit',
|
|
255
244
|
'column',
|
|
245
|
+
'content-center',
|
|
246
|
+
'cursor-pointer',
|
|
247
|
+
'disabled',
|
|
248
|
+
'ellipsis',
|
|
249
|
+
'fit',
|
|
250
|
+
'fixed',
|
|
251
|
+
'fixed-bottom',
|
|
252
|
+
'fixed-full',
|
|
253
|
+
'fixed-left',
|
|
254
|
+
'fixed-right',
|
|
255
|
+
'fixed-top',
|
|
256
256
|
'flex',
|
|
257
|
-
'wrap',
|
|
258
|
-
'no-wrap',
|
|
259
|
-
'reverse-wrap',
|
|
260
|
-
'order-first',
|
|
261
|
-
'order-last',
|
|
262
|
-
'order-none',
|
|
263
|
-
'justify-start',
|
|
264
|
-
'justify-end',
|
|
265
|
-
'justify-center',
|
|
266
257
|
'flex-center',
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
-
'
|
|
258
|
+
'full-width',
|
|
259
|
+
'fullscreen',
|
|
260
|
+
'glossy',
|
|
261
|
+
'hidden',
|
|
262
|
+
'hide-scrollbar',
|
|
263
|
+
'invisible',
|
|
272
264
|
'items-center',
|
|
273
|
-
'items-
|
|
265
|
+
'items-end',
|
|
266
|
+
'items-start',
|
|
274
267
|
'items-stretch',
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
282
|
-
'
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'self-stretch',
|
|
286
|
-
'q-gutter-x-none',
|
|
287
|
-
'q-gutter-none',
|
|
288
|
-
'q-gutter-y-none',
|
|
289
|
-
'q-col-gutter-x-none',
|
|
290
|
-
'q-col-gutter-none',
|
|
291
|
-
'q-col-gutter-y-none',
|
|
292
|
-
'q-gutter-x-xs',
|
|
293
|
-
'q-gutter-xs',
|
|
294
|
-
'q-gutter-y-xs',
|
|
295
|
-
'q-col-gutter-x-xs',
|
|
296
|
-
'q-col-gutter-xs',
|
|
297
|
-
'q-col-gutter-y-xs',
|
|
298
|
-
'q-gutter-x-sm',
|
|
299
|
-
'q-gutter-sm',
|
|
300
|
-
'q-gutter-y-sm',
|
|
301
|
-
'q-col-gutter-x-sm',
|
|
302
|
-
'q-col-gutter-sm',
|
|
303
|
-
'q-col-gutter-y-sm',
|
|
304
|
-
'q-gutter-x-md',
|
|
305
|
-
'q-gutter-md',
|
|
306
|
-
'q-gutter-y-md',
|
|
307
|
-
'q-col-gutter-x-md',
|
|
308
|
-
'q-col-gutter-md',
|
|
309
|
-
'q-col-gutter-y-md',
|
|
310
|
-
'q-gutter-x-lg',
|
|
311
|
-
'q-gutter-lg',
|
|
312
|
-
'q-gutter-y-lg',
|
|
313
|
-
'q-col-gutter-x-lg',
|
|
314
|
-
'q-col-gutter-lg',
|
|
315
|
-
'q-col-gutter-y-lg',
|
|
316
|
-
'q-gutter-x-xl',
|
|
317
|
-
'q-gutter-xl',
|
|
318
|
-
'q-gutter-y-xl',
|
|
319
|
-
'q-col-gutter-x-xl',
|
|
320
|
-
'q-col-gutter-xl',
|
|
321
|
-
'q-col-gutter-y-xl',
|
|
322
|
-
'rounded-borders',
|
|
323
|
-
'border-radius-inherit',
|
|
268
|
+
'justify-between',
|
|
269
|
+
'justify-center',
|
|
270
|
+
'justify-end',
|
|
271
|
+
'justify-start',
|
|
272
|
+
'no-border',
|
|
273
|
+
'no-border-radius',
|
|
274
|
+
'no-outline',
|
|
275
|
+
'no-pointer-events',
|
|
276
|
+
'no-pointer-events--children',
|
|
277
|
+
'no-shadow',
|
|
324
278
|
'no-transition',
|
|
325
|
-
'
|
|
326
|
-
'
|
|
327
|
-
'
|
|
328
|
-
'
|
|
329
|
-
'
|
|
279
|
+
'no-wrap',
|
|
280
|
+
'non-selectable',
|
|
281
|
+
'on-left',
|
|
282
|
+
'on-right',
|
|
283
|
+
'overflow-auto',
|
|
284
|
+
'overflow-hidden',
|
|
285
|
+
'q-animate--scale',
|
|
330
286
|
'q-body--force-scrollbar-x',
|
|
331
287
|
'q-body--force-scrollbar-y',
|
|
332
|
-
'q-
|
|
288
|
+
'q-body--fullscreen-mixin',
|
|
289
|
+
'q-body--prevent-scroll',
|
|
290
|
+
'q-dark',
|
|
291
|
+
'q-focus-helper',
|
|
292
|
+
'q-focusable',
|
|
293
|
+
'q-gutter-x-sm',
|
|
294
|
+
'q-gutter-xs',
|
|
295
|
+
'q-hoverable',
|
|
333
296
|
'q-link',
|
|
334
297
|
'q-link--focusable',
|
|
335
|
-
'
|
|
298
|
+
'q-manual-focusable',
|
|
299
|
+
'q-placeholder',
|
|
300
|
+
'q-position-engine',
|
|
301
|
+
'readonly',
|
|
302
|
+
'relative-position',
|
|
303
|
+
'rotate-180',
|
|
304
|
+
'rounded-borders',
|
|
305
|
+
'row',
|
|
336
306
|
'scroll',
|
|
337
307
|
'scroll-x',
|
|
338
308
|
'scroll-y',
|
|
339
|
-
'
|
|
340
|
-
'
|
|
341
|
-
'
|
|
342
|
-
'
|
|
343
|
-
'cursor-pointer',
|
|
344
|
-
'cursor-not-afllowed',
|
|
345
|
-
'cursor-inherit',
|
|
346
|
-
'cursor-none',
|
|
347
|
-
'rotate-45',
|
|
348
|
-
'rotate-90',
|
|
349
|
-
'rotate-135',
|
|
350
|
-
'rotate-180',
|
|
351
|
-
'rotate-225',
|
|
352
|
-
'rotate-270',
|
|
353
|
-
'rotate-315',
|
|
354
|
-
'flip-horizontal',
|
|
355
|
-
'flip-vertical',
|
|
356
|
-
'float-left',
|
|
357
|
-
'float-right',
|
|
358
|
-
'relative-position',
|
|
359
|
-
'fixed',
|
|
360
|
-
'fixed-full',
|
|
361
|
-
'fullscreen',
|
|
362
|
-
'fixed-center',
|
|
363
|
-
'fixed-bottom',
|
|
364
|
-
'fixed-left',
|
|
365
|
-
'fixed-right',
|
|
366
|
-
'fixed-top',
|
|
367
|
-
'fixed-top-left',
|
|
368
|
-
'fixed-top-right',
|
|
369
|
-
'fixed-bottom-left',
|
|
370
|
-
'fixed-bottom-right',
|
|
371
|
-
'absolute',
|
|
372
|
-
'absolute-full',
|
|
373
|
-
'absolute-center',
|
|
374
|
-
'absolute-bottom',
|
|
375
|
-
'absolute-left',
|
|
376
|
-
'absolute-right',
|
|
377
|
-
'absolute-top',
|
|
378
|
-
'absolute-top-left',
|
|
379
|
-
'absolute-top-right',
|
|
380
|
-
'absolute-bottom-left',
|
|
381
|
-
'absolute-bottom-right',
|
|
382
|
-
'vertical-top',
|
|
383
|
-
'vertical-middle',
|
|
384
|
-
'vertical-bottom',
|
|
385
|
-
'on-left',
|
|
386
|
-
'on-right',
|
|
387
|
-
'q-position-engine',
|
|
388
|
-
'fit',
|
|
389
|
-
'full-height',
|
|
390
|
-
'full-width',
|
|
391
|
-
'window-height',
|
|
392
|
-
'window-width',
|
|
393
|
-
'block',
|
|
394
|
-
'inline-block',
|
|
395
|
-
'q-touch',
|
|
396
|
-
'q-touch-x',
|
|
397
|
-
'q-touch-y',
|
|
398
|
-
'q-transition--slide-right-enter-active',
|
|
399
|
-
'q-transition--slide-right-leave-active',
|
|
400
|
-
'q-transition--slide-left-enter-active',
|
|
401
|
-
'q-transition--slide-left-leave-active',
|
|
402
|
-
'q-transition--slide-up-enter-active',
|
|
403
|
-
'q-transition--slide-up-leave-active',
|
|
404
|
-
'q-transition--slide-down-enter-active',
|
|
405
|
-
'q-transition--slide-down-leave-active',
|
|
406
|
-
'q-transition--jump-right-enter-active',
|
|
407
|
-
'q-transition--jump-right-leave-active',
|
|
408
|
-
'q-transition--jump-left-enter-active',
|
|
409
|
-
'q-transition--jump-left-leave-active',
|
|
410
|
-
'q-transition--jump-up-enter-active',
|
|
411
|
-
'q-transition--jump-up-leave-active',
|
|
412
|
-
'q-transition--jump-down-enter-active',
|
|
413
|
-
'q-transition--jump-down-leave-active',
|
|
414
|
-
'q-transition--fade-enter-active',
|
|
415
|
-
'q-transition--fade-leave-active',
|
|
416
|
-
'q-transition--scale-enter-active',
|
|
417
|
-
'q-transition--scale-leave-active',
|
|
418
|
-
'q-transition--rotate-enter-active',
|
|
419
|
-
'q-transition--rotate-leave-active',
|
|
420
|
-
'q-transition--flip-enter-active',
|
|
421
|
-
'q-transition--flip-leave-active',
|
|
422
|
-
'q-transition--slide-right-enter-from',
|
|
423
|
-
'q-transition--slide-right-leave-to',
|
|
424
|
-
'q-transition--slide-left-enter-from',
|
|
425
|
-
'q-transition--slide-left-leave-to',
|
|
426
|
-
'q-transition--slide-up-enter-from',
|
|
427
|
-
'q-transition--slide-up-leave-to',
|
|
428
|
-
'q-transition--slide-down-enter-from',
|
|
429
|
-
'q-transition--slide-down-leave-to',
|
|
430
|
-
'q-transition--jump-right-enter-from',
|
|
431
|
-
'q-transition--jump-right-leave-to',
|
|
432
|
-
'q-transition--jump-left-enter-from',
|
|
433
|
-
'q-transition--jump-left-leave-to',
|
|
434
|
-
'q-transition--jump-up-enter-from',
|
|
435
|
-
'q-transition--jump-up-leave-to',
|
|
436
|
-
'q-transition--jump-down-enter-from',
|
|
437
|
-
'q-transition--jump-down-leave-to',
|
|
438
|
-
'q-transition--fade-enter-from',
|
|
439
|
-
'q-transition--fade-leave-to',
|
|
440
|
-
'q-transition--scale-enter-from',
|
|
441
|
-
'q-transition--scale-leave-to',
|
|
442
|
-
'q-transition--rotate-enter-from',
|
|
443
|
-
'q-transition--rotate-leave-to',
|
|
444
|
-
'q-transition--flip-right-enter-active',
|
|
445
|
-
'q-transition--flip-right-leave-active',
|
|
446
|
-
'q-transition--flip-left-enter-active',
|
|
447
|
-
'q-transition--flip-left-leave-active',
|
|
448
|
-
'q-transition--flip-up-enter-active',
|
|
449
|
-
'q-transition--flip-up-leave-active',
|
|
450
|
-
'q-transition--flip-down-enter-active',
|
|
451
|
-
'q-transition--flip-down-leave-active',
|
|
452
|
-
'q-transition--flip-right-enter-to',
|
|
453
|
-
'q-transition--flip-right-leave-from',
|
|
454
|
-
'q-transition--flip-left-enter-to',
|
|
455
|
-
'q-transition--flip-left-leave-from',
|
|
456
|
-
'q-transition--flip-up-enter-to',
|
|
457
|
-
'q-transition--flip-up-leave-from',
|
|
458
|
-
'q-transition--flip-down-enter-to',
|
|
459
|
-
'q-transition--flip-down-leave-from',
|
|
460
|
-
'q-transition--flip-right-enter-from',
|
|
461
|
-
'q-transition--flip-right-leave-to',
|
|
462
|
-
'q-transition--flip-left-enter-from',
|
|
463
|
-
'q-transition--flip-left-leave-to',
|
|
464
|
-
'q-transition--flip-up-enter-from',
|
|
465
|
-
'q-transition--flip-up-leave-to',
|
|
466
|
-
'q-transition--flip-down-enter-from',
|
|
467
|
-
'q-transition--flip-down-leave-to',
|
|
468
|
-
'text-h1',
|
|
469
|
-
'text-h2',
|
|
470
|
-
'text-h3',
|
|
471
|
-
'text-h4',
|
|
472
|
-
'text-h5',
|
|
473
|
-
'text-h6',
|
|
474
|
-
'text-subtitle1',
|
|
475
|
-
'text-subtitle2',
|
|
476
|
-
'text-body1',
|
|
309
|
+
'self-center',
|
|
310
|
+
'self-end',
|
|
311
|
+
'self-start',
|
|
312
|
+
'self-stretch',
|
|
477
313
|
'text-body2',
|
|
478
|
-
'text-overline',
|
|
479
314
|
'text-caption',
|
|
480
|
-
'text-uppercase',
|
|
481
|
-
'text-lowercase',
|
|
482
|
-
'text-capitalize',
|
|
483
315
|
'text-center',
|
|
484
|
-
'text-left',
|
|
485
|
-
'text-right',
|
|
486
|
-
'text-justify',
|
|
487
|
-
'text-italic',
|
|
488
|
-
'text-bold',
|
|
489
316
|
'text-no-wrap',
|
|
490
|
-
'text-
|
|
491
|
-
'text-weight-thin',
|
|
492
|
-
'text-weight-light',
|
|
493
|
-
'text-weight-regular',
|
|
494
|
-
'text-weight-medium',
|
|
495
|
-
'text-weight-bold',
|
|
496
|
-
'text-weight-bolder',
|
|
497
|
-
'no-margin',
|
|
498
|
-
'no-padding',
|
|
499
|
-
'no-border',
|
|
500
|
-
'no-border-radius',
|
|
501
|
-
'no-box-shadow',
|
|
502
|
-
'no-outline',
|
|
503
|
-
'ellipsis',
|
|
504
|
-
'ellipsis-2-lines',
|
|
505
|
-
'ellipsis-3-lines',
|
|
506
|
-
'readonly',
|
|
507
|
-
'disabled',
|
|
508
|
-
'hidden',
|
|
509
|
-
'invisible',
|
|
317
|
+
'text-overline',
|
|
510
318
|
'transparent',
|
|
511
|
-
'
|
|
512
|
-
'overflow-hidden',
|
|
513
|
-
'overflow-hidden-y',
|
|
514
|
-
'hide-scrollbar',
|
|
515
|
-
'dimmed',
|
|
516
|
-
'light-dimmed',
|
|
517
|
-
'z-top',
|
|
319
|
+
'wrap',
|
|
518
320
|
'z-max',
|
|
519
|
-
'
|
|
520
|
-
'q-
|
|
521
|
-
'q-
|
|
522
|
-
'
|
|
523
|
-
'
|
|
321
|
+
'z-top'
|
|
322
|
+
// 'q-animate--scale',
|
|
323
|
+
// 'q-animate--fade',
|
|
324
|
+
// 'inset-shadow',
|
|
325
|
+
// 'inset-shadow-down',
|
|
326
|
+
// 'no-shadow',
|
|
327
|
+
// 'shadow-0',
|
|
328
|
+
// 'z-marginals',
|
|
329
|
+
// 'z-notify',
|
|
330
|
+
// 'z-fullscreen',
|
|
331
|
+
// 'z-inherit',
|
|
332
|
+
// 'row',
|
|
333
|
+
// 'column',
|
|
334
|
+
// 'flex',
|
|
335
|
+
// 'wrap',
|
|
336
|
+
// 'no-wrap',
|
|
337
|
+
// 'reverse-wrap',
|
|
338
|
+
// 'order-first',
|
|
339
|
+
// 'order-last',
|
|
340
|
+
// 'order-none',
|
|
341
|
+
// 'justify-start',
|
|
342
|
+
// 'justify-end',
|
|
343
|
+
// 'justify-center',
|
|
344
|
+
// 'flex-center',
|
|
345
|
+
// 'justify-between',
|
|
346
|
+
// 'justify-around',
|
|
347
|
+
// 'justify-evenly',
|
|
348
|
+
// 'items-start',
|
|
349
|
+
// 'items-end',
|
|
350
|
+
// 'items-center',
|
|
351
|
+
// 'items-baseline',
|
|
352
|
+
// 'items-stretch',
|
|
353
|
+
// 'content-start',
|
|
354
|
+
// 'content-end',
|
|
355
|
+
// 'content-center',
|
|
356
|
+
// 'content-stretch',
|
|
357
|
+
// 'content-between',
|
|
358
|
+
// 'content-around',
|
|
359
|
+
// 'self-start',
|
|
360
|
+
// 'self-end',
|
|
361
|
+
// 'self-center',
|
|
362
|
+
// 'self-baseline',
|
|
363
|
+
// 'self-stretch',
|
|
364
|
+
// 'q-gutter-x-none',
|
|
365
|
+
// 'q-gutter-none',
|
|
366
|
+
// 'q-gutter-y-none',
|
|
367
|
+
// 'q-col-gutter-x-none',
|
|
368
|
+
// 'q-col-gutter-none',
|
|
369
|
+
// 'q-col-gutter-y-none',
|
|
370
|
+
// 'q-gutter-x-xs',
|
|
371
|
+
// 'q-gutter-xs',
|
|
372
|
+
// 'q-gutter-y-xs',
|
|
373
|
+
// 'q-col-gutter-x-xs',
|
|
374
|
+
// 'q-col-gutter-xs',
|
|
375
|
+
// 'q-col-gutter-y-xs',
|
|
376
|
+
// 'q-gutter-x-sm',
|
|
377
|
+
// 'q-gutter-sm',
|
|
378
|
+
// 'q-gutter-y-sm',
|
|
379
|
+
// 'q-col-gutter-x-sm',
|
|
380
|
+
// 'q-col-gutter-sm',
|
|
381
|
+
// 'q-col-gutter-y-sm',
|
|
382
|
+
// 'q-gutter-x-md',
|
|
383
|
+
// 'q-gutter-md',
|
|
384
|
+
// 'q-gutter-y-md',
|
|
385
|
+
// 'q-col-gutter-x-md',
|
|
386
|
+
// 'q-col-gutter-md',
|
|
387
|
+
// 'q-col-gutter-y-md',
|
|
388
|
+
// 'q-gutter-x-lg',
|
|
389
|
+
// 'q-gutter-lg',
|
|
390
|
+
// 'q-gutter-y-lg',
|
|
391
|
+
// 'q-col-gutter-x-lg',
|
|
392
|
+
// 'q-col-gutter-lg',
|
|
393
|
+
// 'q-col-gutter-y-lg',
|
|
394
|
+
// 'q-gutter-x-xl',
|
|
395
|
+
// 'q-gutter-xl',
|
|
396
|
+
// 'q-gutter-y-xl',
|
|
397
|
+
// 'q-col-gutter-x-xl',
|
|
398
|
+
// 'q-col-gutter-xl',
|
|
399
|
+
// 'q-col-gutter-y-xl',
|
|
400
|
+
// 'rounded-borders',
|
|
401
|
+
// 'border-radius-inherit',
|
|
402
|
+
// 'no-transition',
|
|
403
|
+
// 'transition-0',
|
|
404
|
+
// 'glossy',
|
|
405
|
+
// 'q-placeholder',
|
|
406
|
+
// 'q-body--fullscreen-mixin',
|
|
407
|
+
// 'q-body--prevent-scroll',
|
|
408
|
+
// 'q-body--force-scrollbar-x',
|
|
409
|
+
// 'q-body--force-scrollbar-y',
|
|
410
|
+
// 'q-no-input-spinner',
|
|
411
|
+
// 'q-link',
|
|
412
|
+
// 'q-link--focusable',
|
|
413
|
+
// 'non-selectable',
|
|
414
|
+
// 'scroll',
|
|
415
|
+
// 'scroll-x',
|
|
416
|
+
// 'scroll-y',
|
|
417
|
+
// 'no-scroll',
|
|
418
|
+
// 'no-pointer-events',
|
|
419
|
+
// 'no-pointer-events--children',
|
|
420
|
+
// 'all-pointer-events',
|
|
421
|
+
// 'cursor-pointer',
|
|
422
|
+
// 'cursor-not-afllowed',
|
|
423
|
+
// 'cursor-inherit',
|
|
424
|
+
// 'cursor-none',
|
|
425
|
+
// 'rotate-45',
|
|
426
|
+
// 'rotate-90',
|
|
427
|
+
// 'rotate-135',
|
|
428
|
+
// 'rotate-180',
|
|
429
|
+
// 'rotate-225',
|
|
430
|
+
// 'rotate-270',
|
|
431
|
+
// 'rotate-315',
|
|
432
|
+
// 'flip-horizontal',
|
|
433
|
+
// 'flip-vertical',
|
|
434
|
+
// 'float-left',
|
|
435
|
+
// 'float-right',
|
|
436
|
+
// 'relative-position',
|
|
437
|
+
// 'fixed',
|
|
438
|
+
// 'fixed-full',
|
|
439
|
+
// 'fullscreen',
|
|
440
|
+
// 'fixed-center',
|
|
441
|
+
// 'fixed-bottom',
|
|
442
|
+
// 'fixed-left',
|
|
443
|
+
// 'fixed-right',
|
|
444
|
+
// 'fixed-top',
|
|
445
|
+
// 'fixed-top-left',
|
|
446
|
+
// 'fixed-top-right',
|
|
447
|
+
// 'fixed-bottom-left',
|
|
448
|
+
// 'fixed-bottom-right',
|
|
449
|
+
// 'absolute',
|
|
450
|
+
// 'absolute-full',
|
|
451
|
+
// 'absolute-center',
|
|
452
|
+
// 'absolute-bottom',
|
|
453
|
+
// 'absolute-left',
|
|
454
|
+
// 'absolute-right',
|
|
455
|
+
// 'absolute-top',
|
|
456
|
+
// 'absolute-top-left',
|
|
457
|
+
// 'absolute-top-right',
|
|
458
|
+
// 'absolute-bottom-left',
|
|
459
|
+
// 'absolute-bottom-right',
|
|
460
|
+
// 'vertical-top',
|
|
461
|
+
// 'vertical-middle',
|
|
462
|
+
// 'vertical-bottom',
|
|
463
|
+
// 'on-left',
|
|
464
|
+
// 'on-right',
|
|
465
|
+
// 'q-position-engine',
|
|
466
|
+
// 'fit',
|
|
467
|
+
// 'full-height',
|
|
468
|
+
// 'full-width',
|
|
469
|
+
// 'window-height',
|
|
470
|
+
// 'window-width',
|
|
471
|
+
// 'block',
|
|
472
|
+
// 'inline-block',
|
|
473
|
+
// 'q-touch',
|
|
474
|
+
// 'q-touch-x',
|
|
475
|
+
// 'q-touch-y',
|
|
476
|
+
// 'q-transition--slide-right-enter-active',
|
|
477
|
+
// 'q-transition--slide-right-leave-active',
|
|
478
|
+
// 'q-transition--slide-left-enter-active',
|
|
479
|
+
// 'q-transition--slide-left-leave-active',
|
|
480
|
+
// 'q-transition--slide-up-enter-active',
|
|
481
|
+
// 'q-transition--slide-up-leave-active',
|
|
482
|
+
// 'q-transition--slide-down-enter-active',
|
|
483
|
+
// 'q-transition--slide-down-leave-active',
|
|
484
|
+
// 'q-transition--jump-right-enter-active',
|
|
485
|
+
// 'q-transition--jump-right-leave-active',
|
|
486
|
+
// 'q-transition--jump-left-enter-active',
|
|
487
|
+
// 'q-transition--jump-left-leave-active',
|
|
488
|
+
// 'q-transition--jump-up-enter-active',
|
|
489
|
+
// 'q-transition--jump-up-leave-active',
|
|
490
|
+
// 'q-transition--jump-down-enter-active',
|
|
491
|
+
// 'q-transition--jump-down-leave-active',
|
|
492
|
+
// 'q-transition--fade-enter-active',
|
|
493
|
+
// 'q-transition--fade-leave-active',
|
|
494
|
+
// 'q-transition--scale-enter-active',
|
|
495
|
+
// 'q-transition--scale-leave-active',
|
|
496
|
+
// 'q-transition--rotate-enter-active',
|
|
497
|
+
// 'q-transition--rotate-leave-active',
|
|
498
|
+
// 'q-transition--flip-enter-active',
|
|
499
|
+
// 'q-transition--flip-leave-active',
|
|
500
|
+
// 'q-transition--slide-right-enter-from',
|
|
501
|
+
// 'q-transition--slide-right-leave-to',
|
|
502
|
+
// 'q-transition--slide-left-enter-from',
|
|
503
|
+
// 'q-transition--slide-left-leave-to',
|
|
504
|
+
// 'q-transition--slide-up-enter-from',
|
|
505
|
+
// 'q-transition--slide-up-leave-to',
|
|
506
|
+
// 'q-transition--slide-down-enter-from',
|
|
507
|
+
// 'q-transition--slide-down-leave-to',
|
|
508
|
+
// 'q-transition--jump-right-enter-from',
|
|
509
|
+
// 'q-transition--jump-right-leave-to',
|
|
510
|
+
// 'q-transition--jump-left-enter-from',
|
|
511
|
+
// 'q-transition--jump-left-leave-to',
|
|
512
|
+
// 'q-transition--jump-up-enter-from',
|
|
513
|
+
// 'q-transition--jump-up-leave-to',
|
|
514
|
+
// 'q-transition--jump-down-enter-from',
|
|
515
|
+
// 'q-transition--jump-down-leave-to',
|
|
516
|
+
// 'q-transition--fade-enter-from',
|
|
517
|
+
// 'q-transition--fade-leave-to',
|
|
518
|
+
// 'q-transition--scale-enter-from',
|
|
519
|
+
// 'q-transition--scale-leave-to',
|
|
520
|
+
// 'q-transition--rotate-enter-from',
|
|
521
|
+
// 'q-transition--rotate-leave-to',
|
|
522
|
+
// 'q-transition--flip-right-enter-active',
|
|
523
|
+
// 'q-transition--flip-right-leave-active',
|
|
524
|
+
// 'q-transition--flip-left-enter-active',
|
|
525
|
+
// 'q-transition--flip-left-leave-active',
|
|
526
|
+
// 'q-transition--flip-up-enter-active',
|
|
527
|
+
// 'q-transition--flip-up-leave-active',
|
|
528
|
+
// 'q-transition--flip-down-enter-active',
|
|
529
|
+
// 'q-transition--flip-down-leave-active',
|
|
530
|
+
// 'q-transition--flip-right-enter-to',
|
|
531
|
+
// 'q-transition--flip-right-leave-from',
|
|
532
|
+
// 'q-transition--flip-left-enter-to',
|
|
533
|
+
// 'q-transition--flip-left-leave-from',
|
|
534
|
+
// 'q-transition--flip-up-enter-to',
|
|
535
|
+
// 'q-transition--flip-up-leave-from',
|
|
536
|
+
// 'q-transition--flip-down-enter-to',
|
|
537
|
+
// 'q-transition--flip-down-leave-from',
|
|
538
|
+
// 'q-transition--flip-right-enter-from',
|
|
539
|
+
// 'q-transition--flip-right-leave-to',
|
|
540
|
+
// 'q-transition--flip-left-enter-from',
|
|
541
|
+
// 'q-transition--flip-left-leave-to',
|
|
542
|
+
// 'q-transition--flip-up-enter-from',
|
|
543
|
+
// 'q-transition--flip-up-leave-to',
|
|
544
|
+
// 'q-transition--flip-down-enter-from',
|
|
545
|
+
// 'q-transition--flip-down-leave-to',
|
|
546
|
+
// 'text-h1',
|
|
547
|
+
// 'text-h2',
|
|
548
|
+
// 'text-h3',
|
|
549
|
+
// 'text-h4',
|
|
550
|
+
// 'text-h5',
|
|
551
|
+
// 'text-h6',
|
|
552
|
+
// 'text-subtitle1',
|
|
553
|
+
// 'text-subtitle2',
|
|
554
|
+
// 'text-body1',
|
|
555
|
+
// 'text-body2',
|
|
556
|
+
// 'text-overline',
|
|
557
|
+
// 'text-caption',
|
|
558
|
+
// 'text-uppercase',
|
|
559
|
+
// 'text-lowercase',
|
|
560
|
+
// 'text-capitalize',
|
|
561
|
+
// 'text-center',
|
|
562
|
+
// 'text-left',
|
|
563
|
+
// 'text-right',
|
|
564
|
+
// 'text-justify',
|
|
565
|
+
// 'text-italic',
|
|
566
|
+
// 'text-bold',
|
|
567
|
+
// 'text-no-wrap',
|
|
568
|
+
// 'text-strike',
|
|
569
|
+
// 'text-weight-thin',
|
|
570
|
+
// 'text-weight-light',
|
|
571
|
+
// 'text-weight-regular',
|
|
572
|
+
// 'text-weight-medium',
|
|
573
|
+
// 'text-weight-bold',
|
|
574
|
+
// 'text-weight-bolder',
|
|
575
|
+
// 'no-margin',
|
|
576
|
+
// 'no-padding',
|
|
577
|
+
// 'no-border',
|
|
578
|
+
// 'no-border-radius',
|
|
579
|
+
// 'no-box-shadow',
|
|
580
|
+
// 'no-outline',
|
|
581
|
+
// 'ellipsis',
|
|
582
|
+
// 'ellipsis-2-lines',
|
|
583
|
+
// 'ellipsis-3-lines',
|
|
584
|
+
// 'readonly',
|
|
585
|
+
// 'disabled',
|
|
586
|
+
// 'hidden',
|
|
587
|
+
// 'invisible',
|
|
588
|
+
// 'transparent',
|
|
589
|
+
// 'overflow-auto',
|
|
590
|
+
// 'overflow-hidden',
|
|
591
|
+
// 'overflow-hidden-y',
|
|
592
|
+
// 'hide-scrollbar',
|
|
593
|
+
// 'dimmed',
|
|
594
|
+
// 'light-dimmed',
|
|
595
|
+
// 'z-top',
|
|
596
|
+
// 'z-max',
|
|
597
|
+
// 'q-focus-helper',
|
|
598
|
+
// 'q-focusable',
|
|
599
|
+
// 'q-manual-focusable',
|
|
600
|
+
// 'q-hoverable',
|
|
601
|
+
// 'q-dark'
|
|
524
602
|
];
|
|
525
603
|
const qClasses = [
|
|
526
604
|
'q-icon',
|
|
@@ -1622,9 +1700,9 @@ export default definePreset((options = {}) => {
|
|
|
1622
1700
|
}
|
|
1623
1701
|
/* beasties:include end */`
|
|
1624
1702
|
}
|
|
1625
|
-
].concat(QBreadcrumbsPreflights, QCheckboxPreflights, QChipPreflights, QCircularProgressPreflights, QDialogPreflights, QFieldPreflights, QLayoutPreflights, QLinearProgressPreflights, QRadioPreflights, QSelectPreflights, QSpinnerPreflights, QSkeletonPreflights, QTablePreflights, QTogglePreflights, QTreePreflights, ColorPreflights, DarkPreflights, HelperPreflights, MousePreflights, TypographyPreflights, VisibilityPreflights),
|
|
1703
|
+
].concat(QBreadcrumbsPreflights, QCheckboxPreflights, QChipPreflights, QCircularProgressPreflights, QDialogPreflights, QFieldPreflights, QLayoutPreflights, QLinearProgressPreflights, QRadioPreflights, QSelectPreflights, QSpinnerPreflights, QSkeletonPreflights, QTablePreflights, QTogglePreflights, QTreePreflights, ColorPreflights, DarkPreflights, HelperPreflights, MousePreflights, TypographyPreflights, VisibilityPreflights, TransitionPreflights),
|
|
1626
1704
|
rules: [].concat(HelperRules, ElevationRules, VisibilityRules),
|
|
1627
|
-
shortcuts: [].concat(QIconShortcuts, QAjaxBarShortcuts, QAvatarShortcuts, QBadgeShortcuts, QBreadcrumbsShortcuts, QBannerShortcuts, QBarShortcuts, QBtnShortcuts, QBtnDropdownShortcuts, QBtnGroupShortcuts, QBtnToggleShortcuts, QCardShortcuts, QCarouselShortcuts, QChatMessageShortcuts, QCheckboxShortcuts, QChipShortcuts, QCircularProgressShortcuts, QColorPickerShortcuts, QDateShortcuts, QDialogShortcuts, QEditorShortcuts, QExpansionItemShortcuts, QFabShortcuts, QFieldShortcuts, QFileShortcuts, QFormShortcuts, QImgShortcuts, QInnerLoadingShortcuts, QInputShortcuts, QIntersectionShortcuts, QItemShortcuts, QKnobShortcuts, QLayoutShortcuts, QLinearProgressShortcuts, QMenuShortcuts, QOptionGroupShortcuts, QPageShortcuts, QPageStickyShortcuts, QPaginationShortcuts, QParallaxShortcuts, QPopupEditShortcuts, QPullToRefreshShortcuts, QRadioShortcuts, QRatingShortcuts, QResponsiveShortcuts, QScrollareaShortcuts, QSelectShortcuts, QSeparatorShortcuts, QSkeletonShortcuts, QSlideItemShortcuts, QSliderShortcuts, QSpaceShortcuts, QSpinnerShortcuts, QSplitterShortcuts, QStepperShortcuts, QTabPanelShortcuts, QTableShortcuts, QTabsShortcuts, QTimeShortcuts, QTimelineShortcuts, QToggleShortcuts, QToolbarShortcuts, QTooltipShortcuts, QTreeShortcuts, QUploaderShortcuts, QVideoShortcuts, QVirtualScrollShortcuts, PanelShortcuts, QMorphShortcuts, QRippleShortcuts, QBottomSheetShortcuts, QDialogPluginShortcuts, QLoadingShortcuts, QNotifyShortcuts, DarkShortcuts, FlexShortcuts, HelperShortcuts, MouseShortcuts, OrientationShortcuts, PositionShortcuts, SizeShortcuts, TouchShortcuts, TransitionsShortcuts, TypographyShortcuts, VisibilityShortcuts, QHeaderShortcuts, QFooterShortcuts, QDrawerShortcuts),
|
|
1705
|
+
shortcuts: [].concat(QIconShortcuts, QAjaxBarShortcuts, QAvatarShortcuts, QBadgeShortcuts, QBreadcrumbsShortcuts, QBannerShortcuts, QBarShortcuts, QBtnShortcuts, QBtnDropdownShortcuts, QBtnGroupShortcuts, QBtnToggleShortcuts, QCardShortcuts, QCarouselShortcuts, QChatMessageShortcuts, QCheckboxShortcuts, QChipShortcuts, QCircularProgressShortcuts, QColorPickerShortcuts, QDateShortcuts, QDialogShortcuts, QEditorShortcuts, QExpansionItemShortcuts, QFabShortcuts, QFieldShortcuts, QFileShortcuts, QFormShortcuts, QImgShortcuts, QInnerLoadingShortcuts, QInputShortcuts, QIntersectionShortcuts, QItemShortcuts, QKnobShortcuts, QLayoutShortcuts, QLinearProgressShortcuts, QMenuShortcuts, QOptionGroupShortcuts, QPageShortcuts, QPageStickyShortcuts, QPaginationShortcuts, QParallaxShortcuts, QPopupEditShortcuts, QPullToRefreshShortcuts, QRadioShortcuts, QRatingShortcuts, QResponsiveShortcuts, QScrollareaShortcuts, QSelectShortcuts, QSeparatorShortcuts, QSkeletonShortcuts, QSlideItemShortcuts, QSliderShortcuts, QSpaceShortcuts, QSpinnerShortcuts, QSplitterShortcuts, QStepperShortcuts, QTabPanelShortcuts, QTableShortcuts, QTabsShortcuts, QTimeShortcuts, QTimelineShortcuts, QToggleShortcuts, QToolbarShortcuts, QTooltipShortcuts, QTreeShortcuts, QUploaderShortcuts, QVideoShortcuts, QVirtualScrollShortcuts, PanelShortcuts, QMorphShortcuts, QRippleShortcuts, QBottomSheetShortcuts, QDialogPluginShortcuts, QLoadingShortcuts, QNotifyShortcuts, DarkShortcuts, FlexShortcuts, HelperShortcuts, MouseShortcuts, OrientationShortcuts, PositionShortcuts, SizeShortcuts, TouchShortcuts, TransitionsShortcuts, TypographyShortcuts, VisibilityShortcuts, QHeaderShortcuts, QFooterShortcuts, QDrawerShortcuts, ElevationShortcuts),
|
|
1628
1706
|
theme: defaultTheme,
|
|
1629
1707
|
variants: [
|
|
1630
1708
|
// ...
|
|
@@ -1636,13 +1714,26 @@ export default definePreset((options = {}) => {
|
|
|
1636
1714
|
extract({ code }) {
|
|
1637
1715
|
const kebabMatch = code.matchAll(/q-(\w)([\w-]*)/g);
|
|
1638
1716
|
const pascalMatch = code.matchAll(/Q([A-Z][a-z0-9]+)+/g);
|
|
1717
|
+
const transitionMatch = code.matchAll(/(transition|transition-show|transition-hide)="(\S*)"/g);
|
|
1639
1718
|
const matches = [];
|
|
1640
1719
|
for (const match of kebabMatch)
|
|
1641
1720
|
matches.push(match[0]);
|
|
1642
1721
|
for (const match of pascalMatch) {
|
|
1643
1722
|
matches.push(toKebabCase(match[0]));
|
|
1644
1723
|
}
|
|
1724
|
+
const transitionClasses = [];
|
|
1725
|
+
for (const match of transitionMatch) {
|
|
1726
|
+
transitionClasses.push(...[
|
|
1727
|
+
'enter-from',
|
|
1728
|
+
'enter-active',
|
|
1729
|
+
'enter-to',
|
|
1730
|
+
'leave-from',
|
|
1731
|
+
'leave-active',
|
|
1732
|
+
'leave-to'
|
|
1733
|
+
].map((v) => `q-transition--${match[2]}-${v}`));
|
|
1734
|
+
}
|
|
1645
1735
|
const classes = qClasses.filter((c) => matches.some((component) => c.includes(component)));
|
|
1736
|
+
classes.push(...transitionClasses);
|
|
1646
1737
|
return classes;
|
|
1647
1738
|
}
|
|
1648
1739
|
}
|
|
@@ -1656,7 +1747,7 @@ export default definePreset((options = {}) => {
|
|
|
1656
1747
|
// return id.match(/quasar\/src\/.*\.js/)
|
|
1657
1748
|
// },
|
|
1658
1749
|
// async transform(code, id, { uno }) {
|
|
1659
|
-
// for (const c of
|
|
1750
|
+
// for (const c of baseSafelist) {
|
|
1660
1751
|
// if (code.toString().includes(c)) console.log(c)
|
|
1661
1752
|
// }
|
|
1662
1753
|
// return code
|