vitrify 0.17.4 → 0.17.6

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 (133) hide show
  1. package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +8 -4
  2. package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +4 -2
  3. package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +8 -4
  4. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +6 -3
  5. package/dist/plugins/quasar/unocss/components/QBar.unocss.js +6 -3
  6. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +26 -13
  7. package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +4 -2
  8. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +10 -5
  9. package/dist/plugins/quasar/unocss/components/QCard.unocss.js +14 -7
  10. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +38 -19
  11. package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +14 -7
  12. package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +16 -8
  13. package/dist/plugins/quasar/unocss/components/QChip.unocss.js +25 -47
  14. package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +4 -2
  15. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +46 -102
  16. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +54 -27
  17. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +24 -12
  18. package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +28 -25
  19. package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +10 -5
  20. package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +16 -8
  21. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +46 -23
  22. package/dist/plugins/quasar/unocss/components/QField.unocss.js +60 -30
  23. package/dist/plugins/quasar/unocss/components/QFile.unocss.js +6 -3
  24. package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +4 -2
  25. package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +4 -2
  26. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +12 -6
  27. package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +2 -1
  28. package/dist/plugins/quasar/unocss/components/QInput.unocss.js +4 -18
  29. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +32 -16
  30. package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +5 -6
  31. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +6 -3
  32. package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +23 -12
  33. package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +4 -2
  34. package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +2 -1
  35. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +6 -3
  36. package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +4 -2
  37. package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +2 -1
  38. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +4 -2
  39. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +29 -15
  40. package/dist/plugins/quasar/unocss/components/QRating.unocss.js +8 -4
  41. package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +4 -2
  42. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +10 -5
  43. package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +14 -7
  44. package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +9 -5
  45. package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +67 -42
  46. package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +10 -5
  47. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +70 -35
  48. package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +2 -1
  49. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +18 -16
  50. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +54 -38
  51. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +101 -55
  52. package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +67 -44
  53. package/dist/plugins/quasar/unocss/components/QTime.unocss.js +167 -65
  54. package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +41 -30
  55. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +23 -18
  56. package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +4 -2
  57. package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +4 -2
  58. package/dist/plugins/quasar/unocss/components/QTree.unocss.js +54 -27
  59. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +37 -25
  60. package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +4 -2
  61. package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +6 -3
  62. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +59 -56
  63. package/dist/plugins/quasar/unocss/index.js +147 -7
  64. package/dist/plugins/quasar/unocss/theme.js +300 -426
  65. package/dist/types/plugins/quasar/unocss/index.d.ts +2 -0
  66. package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
  67. package/dist/types/plugins/quasar.d.ts +6 -8
  68. package/package.json +1 -1
  69. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
  70. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
  71. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
  72. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
  73. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
  74. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
  75. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
  76. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
  77. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
  78. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
  79. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
  80. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
  81. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
  82. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
  83. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
  84. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
  85. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
  86. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
  87. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
  88. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
  89. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
  90. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
  91. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
  92. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
  93. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
  94. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
  95. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
  96. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
  97. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
  98. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
  99. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
  100. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
  101. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
  102. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
  103. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
  104. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
  105. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
  106. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
  107. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
  108. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
  109. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
  110. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
  111. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
  112. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
  113. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
  114. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
  115. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
  116. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
  117. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
  118. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
  119. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
  120. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
  121. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
  122. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
  123. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
  124. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
  125. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
  126. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
  127. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
  128. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
  129. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
  130. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
  131. package/src/node/plugins/quasar/unocss/index.ts +150 -7
  132. package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
  133. package/src/node/plugins/quasar.ts +12 -9
@@ -1,123 +1,225 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-time$/,
4
- ([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] bg-[#fff] outline-0 w-[290px] min-w-[290px] max-w-full`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-time'] ??
5
+ `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] bg-[#fff] outline-[0] w-[290px] min-w-[290px] max-w-full [&.disabled_.q-time\\_\\_header-ampm]:(pointer-events-none) [&.disabled_.q-time\\_\\_content]:(pointer-events-none)`
5
6
  ],
6
7
  [
7
8
  /^q-time--bordered$/,
8
- ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-time--bordered'] ??
10
+ `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
9
11
  ],
10
12
  [
11
13
  /^q-time__header$/,
12
- ([, c], { theme }) => `[border-top-left-radius:inherit] text-[#fff] p-[16px] font-light bg-primary`
14
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__header'] ??
15
+ `[border-top-left-radius:inherit] text-[#fff] p-[16px] font-light`
16
+ ],
17
+ [
18
+ /^q-time__actions$/,
19
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__actions'] ??
20
+ `pt-[0] px-[16px] pb-[16px]`
13
21
  ],
14
- [/^q-time__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
15
22
  [
16
23
  /^q-time__header-label$/,
17
- ([, c], { theme }) => `text-[28px] leading-none tracking-[-0.00833em] [&_>_div_+_div]:(ml-[4px])`
24
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__header-label'] ??
25
+ `text-[28px] leading-none tracking-[-0.00833em] [&_>_div_+_div]:(ml-[4px])`
18
26
  ],
19
27
  [
20
28
  /^q-time__link$/,
21
- ([, c], { theme }) => `opacity-[0.56] outline-0 [transition:opacity_0.3s_ease-out]`
29
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__link'] ??
30
+ `opacity-[0.56] outline-[0] [transition:opacity_0.3s_ease-out] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
31
+ ],
32
+ [
33
+ /^q-time__link--active$/,
34
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__link--active'] ?? `opacity-100`
22
35
  ],
23
- [/^q-time__link--active$/, ([, c], { theme }) => `opacity-100`],
24
- [/^q-time__link:hover$/, ([, c], { theme }) => `hover:opacity-100`],
25
- [/^q-time__link:focus$/, ([, c], { theme }) => `focus:opacity-100`],
26
36
  [
27
37
  /^q-time__header-ampm$/,
28
- ([, c], { theme }) => `text-[16px] tracking-widest`
38
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__header-ampm'] ??
39
+ `text-[16px] tracking-widest`
29
40
  ],
30
- [/^q-time__content$/, ([, c], { theme }) => `p-[16px]`],
31
41
  [
32
- /^q-time__content:before$/,
33
- ([, c], { theme }) => `content-empty block pb-[100%]`
42
+ /^q-time__content$/,
43
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__content'] ??
44
+ `p-[16px] [&:before]:(content-[''] block pb-[100%])`
45
+ ],
46
+ [
47
+ /^q-time__container-parent$/,
48
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__container-parent'] ?? `p-[16px]`
34
49
  ],
35
- [/^q-time__container-parent$/, ([, c], { theme }) => `p-[16px]`],
36
50
  [
37
51
  /^q-time__container-child$/,
38
- ([, c], { theme }) => `rounded-[50%] bg-[rgba(0,_0,_0,_0.12)]`
52
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__container-child'] ??
53
+ `rounded-[50%] bg-[rgba(0,_0,_0,_0.12)]`
39
54
  ],
40
55
  [
41
56
  /^q-time__clock$/,
42
- ([, c], { theme }) => `p-[24px] w-full h-full max-w-full max-h-full text-[14px]`
57
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock'] ??
58
+ `p-[24px] w-full h-full max-w-full max-h-full text-[14px]`
59
+ ],
60
+ [
61
+ /^q-time__clock-circle$/,
62
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-circle'] ?? `relative`
43
63
  ],
44
- [/^q-time__clock-circle$/, ([, c], { theme }) => `relative`],
45
64
  [
46
65
  /^q-time__clock-center$/,
47
- ([, c], { theme }) => `h-[6px] w-[6px] m-auto rounded-[50%] min-h-[0] bg-current`
66
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-center'] ??
67
+ `h-[6px] w-[6px] m-auto rounded-[50%] min-h-[0] bg-current`
48
68
  ],
49
69
  [
50
70
  /^q-time__clock-pointer$/,
51
- ([, c], { theme }) => `w-[2px] h-1/2 origin-[0_0] min-h-[0] absolute left-2/4 right-0 bottom-0 bg-current -translate-x-1/2 text-primary`
71
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pointer'] ??
72
+ `w-[2px] h-1/2 origin-[0_0] min-h-[0] absolute left-2/4 right-[0] bottom-[0] bg-current -translate-x-1/2 [&:before]:(content-[''] absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2) [&:after]:(content-[''] absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2) [&:before]:(-bottom-[4px] w-[8px] h-[8px]) [&:after]:(-top-[3px] h-[6px] w-[6px])`
52
73
  ],
53
74
  [
54
- /^q-time__clock-pointer:before$/,
55
- ([, c], { theme }) => `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -bottom-[4px] w-[8px] h-[8px]`
75
+ /^q-time__clock-position$/,
76
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position'] ??
77
+ `absolute min-h-[32px] w-[32px] h-[32px] text-[12px] leading-[32px] m-0 p-0 -translate-x-1/2 -translate-y-1/2 rounded-[50%]`
56
78
  ],
57
79
  [
58
- /^q-time__clock-pointer:after$/,
59
- ([, c], { theme }) => `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -top-[3px] h-[6px] w-[6px]`
80
+ /^q-time__clock-position--disable$/,
81
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position--disable'] ??
82
+ `opacity-40`
60
83
  ],
61
84
  [
62
- /^q-time__clock-position$/,
63
- ([, c], { theme }) => `absolute min-h-[32px] w-[32px] h-[32px] text-[12px] leading-[32px] m-0 p-0 -translate-x-1/2 -translate-y-1/2 rounded-[50%]`
85
+ /^q-time__clock-position--active$/,
86
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-position--active'] ??
87
+ `text-[#fff]`
64
88
  ],
65
- [/^q-time__clock-position--disable$/, ([, c], { theme }) => `opacity-40`],
66
89
  [
67
- /^q-time__clock-position--active$/,
68
- ([, c], { theme }) => `text-[#fff] bg-primary`
69
- ],
70
- [/^q-time__clock-pos-0$/, ([, c], { theme }) => `top-[0%] left-2/4`],
71
- [/^q-time__clock-pos-1$/, ([, c], { theme }) => `top-[6.7%] left-3/4`],
72
- [/^q-time__clock-pos-2$/, ([, c], { theme }) => `top-1/4 left-[93.3%]`],
73
- [/^q-time__clock-pos-3$/, ([, c], { theme }) => `top-2/4 left-full`],
74
- [/^q-time__clock-pos-4$/, ([, c], { theme }) => `top-3/4 left-[93.3%]`],
75
- [/^q-time__clock-pos-5$/, ([, c], { theme }) => `top-[93.3%] left-3/4`],
76
- [/^q-time__clock-pos-6$/, ([, c], { theme }) => `top-full left-2/4`],
77
- [/^q-time__clock-pos-7$/, ([, c], { theme }) => `top-[93.3%] left-1/4`],
78
- [/^q-time__clock-pos-8$/, ([, c], { theme }) => `top-3/4 left-[6.7%]`],
79
- [/^q-time__clock-pos-9$/, ([, c], { theme }) => `top-2/4 left-[0%]`],
80
- [/^q-time__clock-pos-10$/, ([, c], { theme }) => `top-1/4 left-[6.7%]`],
81
- [/^q-time__clock-pos-11$/, ([, c], { theme }) => `top-[6.7%] left-1/4`],
82
- [/^q-time__clock-pos-12$/, ([, c], { theme }) => `top-[15%] left-2/4`],
83
- [/^q-time__clock-pos-13$/, ([, c], { theme }) => `top-[19.69%] left-[67.5%]`],
84
- [/^q-time__clock-pos-14$/, ([, c], { theme }) => `top-[32.5%] left-[80.31%]`],
85
- [/^q-time__clock-pos-15$/, ([, c], { theme }) => `top-2/4 left-[85%]`],
86
- [/^q-time__clock-pos-16$/, ([, c], { theme }) => `top-[67.5%] left-[80.31%]`],
87
- [/^q-time__clock-pos-17$/, ([, c], { theme }) => `top-[80.31%] left-[67.5%]`],
88
- [/^q-time__clock-pos-18$/, ([, c], { theme }) => `top-[85%] left-2/4`],
89
- [/^q-time__clock-pos-19$/, ([, c], { theme }) => `top-[80.31%] left-[32.5%]`],
90
- [/^q-time__clock-pos-20$/, ([, c], { theme }) => `top-[67.5%] left-[19.69%]`],
91
- [/^q-time__clock-pos-21$/, ([, c], { theme }) => `top-2/4 left-[15%]`],
92
- [/^q-time__clock-pos-22$/, ([, c], { theme }) => `top-[32.5%] left-[19.69%]`],
93
- [/^q-time__clock-pos-23$/, ([, c], { theme }) => `top-[19.69%] left-[32.5%]`],
90
+ /^q-time__clock-pos-0$/,
91
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-0'] ?? `top-[0%] left-2/4`
92
+ ],
94
93
  [
95
- /^q-time__now-button$/,
96
- ([, c], { theme }) => `text-[#fff] top-[12px] right-[12px] bg-primary`
94
+ /^q-time__clock-pos-1$/,
95
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-1'] ?? `top-[6.7%] left-3/4`
97
96
  ],
98
97
  [
99
- /^q-time.disabled$/,
100
- ([, c], { theme }) => `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
98
+ /^q-time__clock-pos-2$/,
99
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-2'] ??
100
+ `top-1/4 left-[93.3%]`
101
101
  ],
102
102
  [
103
- /^q-time--readonly$/,
104
- ([, c], { theme }) => `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
103
+ /^q-time__clock-pos-3$/,
104
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-3'] ?? `top-2/4 left-full`
105
105
  ],
106
106
  [
107
- /^q-time--portrait$/,
108
- ([, c], { theme }) => `inline-flex flex-col [&_.q-time\\_\\_header]:([border-top-right-radius:inherit] min-h-[86px]) [&_.q-time\\_\\_header-ampm]:(ml-[12px])`
107
+ /^q-time__clock-pos-4$/,
108
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-4'] ??
109
+ `top-3/4 left-[93.3%]`
109
110
  ],
110
111
  [
111
- /^q-time--portrait.q-time--bordered$/,
112
- ([, c], { theme }) => `[&_.q-time\\_\\_content]:(mx-[0] my-px)`
112
+ /^q-time__clock-pos-5$/,
113
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-5'] ??
114
+ `top-[93.3%] left-3/4`
115
+ ],
116
+ [
117
+ /^q-time__clock-pos-6$/,
118
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-6'] ?? `top-full left-2/4`
119
+ ],
120
+ [
121
+ /^q-time__clock-pos-7$/,
122
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-7'] ??
123
+ `top-[93.3%] left-1/4`
124
+ ],
125
+ [
126
+ /^q-time__clock-pos-8$/,
127
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-8'] ?? `top-3/4 left-[6.7%]`
128
+ ],
129
+ [
130
+ /^q-time__clock-pos-9$/,
131
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-9'] ?? `top-2/4 left-[0%]`
132
+ ],
133
+ [
134
+ /^q-time__clock-pos-10$/,
135
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-10'] ??
136
+ `top-1/4 left-[6.7%]`
137
+ ],
138
+ [
139
+ /^q-time__clock-pos-11$/,
140
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-11'] ??
141
+ `top-[6.7%] left-1/4`
142
+ ],
143
+ [
144
+ /^q-time__clock-pos-12$/,
145
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-12'] ?? `top-[15%] left-2/4`
146
+ ],
147
+ [
148
+ /^q-time__clock-pos-13$/,
149
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-13'] ??
150
+ `top-[19.69%] left-[67.5%]`
151
+ ],
152
+ [
153
+ /^q-time__clock-pos-14$/,
154
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-14'] ??
155
+ `top-[32.5%] left-[80.31%]`
156
+ ],
157
+ [
158
+ /^q-time__clock-pos-15$/,
159
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-15'] ?? `top-2/4 left-[85%]`
160
+ ],
161
+ [
162
+ /^q-time__clock-pos-16$/,
163
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-16'] ??
164
+ `top-[67.5%] left-[80.31%]`
165
+ ],
166
+ [
167
+ /^q-time__clock-pos-17$/,
168
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-17'] ??
169
+ `top-[80.31%] left-[67.5%]`
170
+ ],
171
+ [
172
+ /^q-time__clock-pos-18$/,
173
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-18'] ?? `top-[85%] left-2/4`
174
+ ],
175
+ [
176
+ /^q-time__clock-pos-19$/,
177
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-19'] ??
178
+ `top-[80.31%] left-[32.5%]`
179
+ ],
180
+ [
181
+ /^q-time__clock-pos-20$/,
182
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-20'] ??
183
+ `top-[67.5%] left-[19.69%]`
184
+ ],
185
+ [
186
+ /^q-time__clock-pos-21$/,
187
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-21'] ?? `top-2/4 left-[15%]`
188
+ ],
189
+ [
190
+ /^q-time__clock-pos-22$/,
191
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-22'] ??
192
+ `top-[32.5%] left-[19.69%]`
193
+ ],
194
+ [
195
+ /^q-time__clock-pos-23$/,
196
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__clock-pos-23'] ??
197
+ `top-[19.69%] left-[32.5%]`
198
+ ],
199
+ [
200
+ /^q-time__now-button$/,
201
+ ([, c], { theme }) => theme.quasar?.components?.['q-time__now-button'] ??
202
+ `text-[#fff] top-[12px] right-[12px]`
203
+ ],
204
+ [
205
+ /^q-time--readonly$/,
206
+ ([, c], { theme }) => theme.quasar?.components?.['q-time--readonly'] ??
207
+ `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
208
+ ],
209
+ [
210
+ /^q-time--portrait$/,
211
+ ([, c], { theme }) => theme.quasar?.components?.['q-time--portrait'] ??
212
+ `inline-flex flex-col [&_.q-time\\_\\_header]:([border-top-right-radius:inherit] min-h-[86px]) [&_.q-time\\_\\_header-ampm]:(ml-[12px]) [&.q-time--bordered_.q-time\\_\\_content]:(mx-[0] my-px)`
113
213
  ],
114
214
  [
115
215
  /^q-time--landscape$/,
116
- ([, c], { theme }) => `inline-flex items-stretch min-w-[420px] [&_>_div]:(flex flex-col justify-center) [&_.q-time\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[156px]) [&_.q-time\\_\\_header-ampm]:(mt-[12px])`
216
+ ([, c], { theme }) => theme.quasar?.components?.['q-time--landscape'] ??
217
+ `inline-flex items-stretch min-w-[420px] [&_>_div]:(flex flex-col justify-center) [&_.q-time\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[156px]) [&_.q-time\\_\\_header-ampm]:(mt-[12px])`
117
218
  ],
118
219
  [
119
220
  /^q-time--dark$/,
120
- ([, c], { theme }) => `border-[rgba(255,_255,_255,_0.28)] [box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)]`
221
+ ([, c], { theme }) => theme.quasar?.components?.['q-time--dark'] ??
222
+ `border-[rgba(255,_255,_255,_0.28)] [box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)]`
121
223
  ]
122
224
  ];
123
225
  export { shortcuts };
@@ -1,80 +1,91 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-timeline$/,
4
- ([, c], { theme }) => `p-0 w-full [list-style:none] [&_h6]:([line-height:inherit])`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline'] ??
5
+ `p-0 w-full [list-style:none] [&_h6]:([line-height:inherit])`
5
6
  ],
6
7
  [
7
8
  /^q-timeline--dark$/,
8
- ([, c], { theme }) => `text-[#fff] [&_.q-timeline\\_\\_subtitle]:(opacity-70)`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--dark'] ??
10
+ `text-[#fff] [&_.q-timeline\\_\\_subtitle]:(opacity-70)`
9
11
  ],
10
- [/^q-timeline__content$/, ([, c], { theme }) => `pb-[24px]`],
11
- [/^q-timeline__title$/, ([, c], { theme }) => `mt-0 mb-[16px]`],
12
12
  [
13
- /^q-timeline__subtitle$/,
14
- ([, c], { theme }) => `text-[12px] mb-[8px] opacity-60 uppercase tracking-[1px] font-bold`
13
+ /^q-timeline__content$/,
14
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__content'] ?? `pb-[24px]`
15
15
  ],
16
16
  [
17
- /^q-timeline__dot$/,
18
- ([, c], { theme }) => `absolute top-0 bottom-0 w-[15px] [&_.q-icon]:(absolute top-0 left-0 right-0 text-[16px] h-[38px] leading-[38px] w-full text-[#fff]) [&_.q-icon_>_svg]:(w-[1em] h-[1em]) [&_.q-icon_>_img]:(w-[1em] h-[1em])`
17
+ /^q-timeline__title$/,
18
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__title'] ?? `mt-0 mb-[16px]`
19
19
  ],
20
20
  [
21
- /^q-timeline__dot:before$/,
22
- ([, c], { theme }) => `content-empty bg-current block absolute border-[3px] border-solid border-[transparent] rounded-[100%] h-[15px] w-[15px] top-[4px] left-0 [transition:background_0.3s_ease-in-out,_border_0.3s_ease-in-out]`
21
+ /^q-timeline__subtitle$/,
22
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__subtitle'] ??
23
+ `text-[12px] mb-[8px] opacity-60 uppercase tracking-[1px] font-bold`
23
24
  ],
24
25
  [
25
- /^q-timeline__dot:after$/,
26
- ([, c], { theme }) => `content-empty bg-current block absolute w-[3px] opacity-40 top-[24px] bottom-0 left-[6px]`
26
+ /^q-timeline__dot$/,
27
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__dot'] ??
28
+ `absolute top-[0] bottom-[0] w-[15px] [&:before]:(content-[''] bg-current block absolute) [&:after]:(content-[''] bg-current block absolute) [&:before]:(border-[3px] border-solid border-[transparent] rounded-[100%] h-[15px] w-[15px] top-[4px] left-[0] [transition:background_0.3s_ease-in-out,_border_0.3s_ease-in-out]) [&:after]:(w-[3px] opacity-40 top-[24px] bottom-[0] left-[6px]) [&_.q-icon]:(absolute top-[0] left-[0] right-[0] text-[16px] h-[38px] leading-[38px] w-full text-[#fff]) [&_.q-icon_>_svg]:(w-[1em] h-[1em]) [&_.q-icon_>_img]:(w-[1em] h-[1em])`
27
29
  ],
28
30
  [
29
31
  /^q-timeline__dot-img$/,
30
- ([, c], { theme }) => `absolute top-[4px] left-0 right-0 h-[31px] w-[31px] bg-current rounded-[50%]`
32
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__dot-img'] ??
33
+ `absolute top-[4px] left-[0] right-[0] h-[31px] w-[31px] bg-current rounded-[50%]`
31
34
  ],
32
- [/^q-timeline__heading$/, ([, c], { theme }) => `relative`],
33
35
  [
34
- /^q-timeline__heading:first-child$/,
35
- ([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pt-0)`
36
+ /^q-timeline__heading$/,
37
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__heading'] ??
38
+ `relative [&:first-child_.q-timeline\\_\\_heading-title]:(pt-0) [&:last-child_.q-timeline\\_\\_heading-title]:(pb-0)`
36
39
  ],
37
40
  [
38
- /^q-timeline__heading:last-child$/,
39
- ([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pb-0)`
41
+ /^q-timeline__heading-title$/,
42
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__heading-title'] ??
43
+ `px-[0] py-[32px] m-0`
40
44
  ],
41
- [/^q-timeline__heading-title$/, ([, c], { theme }) => `px-[0] py-[32px] m-0`],
42
- [/^q-timeline__entry$/, ([, c], { theme }) => `relative leading-[22px]`],
43
45
  [
44
- /^q-timeline__entry:last-child$/,
45
- ([, c], { theme }) => `!pb-0 [&_.q-timeline\\_\\_dot:after]:(content-[none])`
46
+ /^q-timeline__entry$/,
47
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__entry'] ??
48
+ `relative leading-[22px] [&:last-child]:(!pb-0) [&:last-child_.q-timeline\\_\\_dot:after]:(content-[none])`
46
49
  ],
47
50
  [
48
51
  /^q-timeline__entry--icon$/,
49
- ([, c], { theme }) => `[&_.q-timeline\\_\\_dot]:(w-[31px]) [&_.q-timeline\\_\\_dot:before]:(h-[31px] w-[31px]) [&_.q-timeline\\_\\_dot:after]:(top-[41px] left-[14px]) [&_.q-timeline\\_\\_subtitle]:(pt-[8px])`
52
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline__entry--icon'] ??
53
+ `[&_.q-timeline\\_\\_dot]:(w-[31px]) [&_.q-timeline\\_\\_dot:before]:(h-[31px] w-[31px]) [&_.q-timeline\\_\\_dot:after]:(top-[41px] left-[14px]) [&_.q-timeline\\_\\_subtitle]:(pt-[8px])`
50
54
  ],
51
55
  [
52
56
  /^q-timeline--dense--right$/,
53
- ([, c], { theme }) => `[&_.q-timeline\\_\\_entry]:(pl-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px]) [&_.q-timeline\\_\\_dot]:(left-0)`
57
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--dense--right'] ??
58
+ `[&_.q-timeline\\_\\_entry]:(pl-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px]) [&_.q-timeline\\_\\_dot]:(left-[0])`
54
59
  ],
55
60
  [
56
61
  /^q-timeline--dense--left$/,
57
- ([, c], { theme }) => `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_entry]:(pr-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-right-[8px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_subtitle]:(text-right) [&_.q-timeline\\_\\_dot]:(right-0)`
62
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--dense--left'] ??
63
+ `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_entry]:(pr-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-right-[8px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_subtitle]:(text-right) [&_.q-timeline\\_\\_dot]:(right-[0])`
58
64
  ],
59
65
  [
60
66
  /^q-timeline--comfortable$/,
61
- ([, c], { theme }) => `table [&_.q-timeline\\_\\_heading]:(table-row text-[200%]) [&_.q-timeline\\_\\_heading_>_div]:(table-cell) [&_.q-timeline\\_\\_entry]:(table-row p-0) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_subtitle]:(table-cell align-top) [&_.q-timeline\\_\\_dot]:(table-cell align-top) [&_.q-timeline\\_\\_content]:(table-cell align-top) [&_.q-timeline\\_\\_subtitle]:(w-[35%]) [&_.q-timeline\\_\\_dot]:(relative min-w-[31px])`
67
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable'] ??
68
+ `table [&_.q-timeline\\_\\_heading]:(table-row text-[200%]) [&_.q-timeline\\_\\_heading_>_div]:(table-cell) [&_.q-timeline\\_\\_entry]:(table-row p-0) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_subtitle]:(table-cell align-top) [&_.q-timeline\\_\\_dot]:(table-cell align-top) [&_.q-timeline\\_\\_content]:(table-cell align-top) [&_.q-timeline\\_\\_subtitle]:(w-[35%]) [&_.q-timeline\\_\\_dot]:(relative min-w-[31px])`
62
69
  ],
63
70
  [
64
71
  /^q-timeline--comfortable--right$/,
65
- ([, c], { theme }) => `[&__.q-timeline\\_\\_heading__.q-timeline\\_\\_heading-title]:(-ml-[50px])`
72
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--right'] ??
73
+ `[&__.q-timeline\\_\\_heading__.q-timeline\\_\\_heading-title]:(-ml-[50px])`
66
74
  ],
67
75
  [
68
76
  /^q-timeline--comfortable--right$/,
69
- ([, c], { theme }) => `[&_.q-timeline\\_\\_subtitle]:(text-right pr-[30px]) [&_.q-timeline\\_\\_content]:(pl-[30px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px])`
77
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--right'] ??
78
+ `[&_.q-timeline\\_\\_subtitle]:(text-right pr-[30px]) [&_.q-timeline\\_\\_content]:(pl-[30px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px])`
70
79
  ],
71
80
  [
72
81
  /^q-timeline--comfortable--left$/,
73
- ([, c], { theme }) => `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_heading_.q-timeline\\_\\_heading-title]:(-mr-[50px]) [&_.q-timeline\\_\\_subtitle]:(pl-[30px]) [&_.q-timeline\\_\\_content]:(pr-[30px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(right-0) [&_.q-timeline\\_\\_dot]:(-right-[8px])`
82
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--comfortable--left'] ??
83
+ `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_heading_.q-timeline\\_\\_heading-title]:(-mr-[50px]) [&_.q-timeline\\_\\_subtitle]:(pl-[30px]) [&_.q-timeline\\_\\_content]:(pr-[30px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(right-[0]) [&_.q-timeline\\_\\_dot]:(-right-[8px])`
74
84
  ],
75
85
  [
76
86
  /^q-timeline--loose$/,
77
- ([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(text-center ml-0) [&_.q-timeline\\_\\_entry]:(block m-0 p-0) [&_.q-timeline\\_\\_subtitle]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(block m-0 p-0) [&_.q-timeline\\_\\_content]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(absolute left-2/4 -ml-[7.15px]) [&_.q-timeline\\_\\_entry]:(pb-[24px] overflow-hidden) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-ml-[15px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_subtitle]:(leading-[38px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_content]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_subtitle]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_subtitle]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_content]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_subtitle]:(w-1/2) [&_.q-timeline\\_\\_content]:(w-1/2)`
87
+ ([, c], { theme }) => theme.quasar?.components?.['q-timeline--loose'] ??
88
+ `[&_.q-timeline\\_\\_heading-title]:(text-center ml-0) [&_.q-timeline\\_\\_entry]:(block m-0 p-0) [&_.q-timeline\\_\\_subtitle]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(block m-0 p-0) [&_.q-timeline\\_\\_content]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(absolute left-2/4 -ml-[7.15px]) [&_.q-timeline\\_\\_entry]:(pb-[24px] overflow-hidden) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-ml-[15px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_subtitle]:(leading-[38px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_content]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_subtitle]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_subtitle]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_content]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_subtitle]:(w-1/2) [&_.q-timeline\\_\\_content]:(w-1/2)`
78
89
  ]
79
90
  ];
80
91
  export { shortcuts };
@@ -24,44 +24,49 @@ body.desktop .q-toggle--dense:not(.disabled):focus .q-toggle__thumb:before, body
24
24
  }
25
25
  ];
26
26
  const shortcuts = [
27
- [/^q-toggle$/, ([, c], { theme }) => `align-middle`],
28
- [/^q-toggle__native$/, ([, c], { theme }) => `w-px h-px`],
29
27
  [
30
- /^q-toggle__track$/,
31
- ([, c], { theme }) => `h-[0.35em] rounded-[0.175em] opacity-[0.38] bg-current`
28
+ /^q-toggle$/,
29
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle'] ??
30
+ `align-middle [&.disabled]:(!opacity-75)`
32
31
  ],
33
32
  [
34
- /^q-toggle__thumb$/,
35
- ([, c], { theme }) => `top-[0.25em] left-[0.25em] w-[0.5em] h-[0.5em] [transition:left_0.22s_cubic-bezier(0.4,_0,_0.2,_1)] select-none z-0 [&_.q-icon]:(text-[0.3em] min-w-[1em] text-[#000] opacity-[0.54] z-1)`
33
+ /^q-toggle__native$/,
34
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__native'] ?? `w-px h-px`
35
+ ],
36
+ [
37
+ /^q-toggle__track$/,
38
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__track'] ??
39
+ `h-[0.35em] rounded-[0.175em] opacity-[0.38] bg-current`
36
40
  ],
37
41
  [
38
- /^q-toggle__thumb:after$/,
39
- ([, c], { theme }) => `content-empty absolute top-0 right-0 bottom-0 left-0 rounded-[50%] bg-[#fff] [box-shadow:0_3px_1px_-2px_rgba(0,_0,_0,_0.2),_0_2px_2px_0_rgba(0,_0,_0,_0.14),_0_1px_5px_0_rgba(0,_0,_0,_0.12)]`
42
+ /^q-toggle__thumb$/,
43
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__thumb'] ??
44
+ `top-[0.25em] left-[0.25em] w-[0.5em] h-[0.5em] [transition:left_0.22s_cubic-bezier(0.4,_0,_0.2,_1)] select-none z-0 [&:after]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] rounded-[50%] bg-[#fff] [box-shadow:0_3px_1px_-2px_rgba(0,_0,_0,_0.2),_0_2px_2px_0_rgba(0,_0,_0,_0.14),_0_1px_5px_0_rgba(0,_0,_0,_0.12)]) [&_.q-icon]:(text-[0.3em] min-w-[1em] text-[#000] opacity-[0.54])`
40
45
  ],
41
46
  [
42
47
  /^q-toggle__inner$/,
43
- ([, c], { theme }) => `text-[40px] w-[1.4em] min-w-[1.4em] h-[1em] px-[0.3em] py-[0.325em]`
48
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner'] ??
49
+ `text-[40px] w-[1.4em] min-w-[1.4em] h-[1em] px-[0.3em] py-[0.325em]`
44
50
  ],
45
51
  [
46
52
  /^q-toggle__inner--indet$/,
47
- ([, c], { theme }) => `[&_.q-toggle\\_\\_thumb]:(left-[0.45em])`
53
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner--indet'] ??
54
+ `[&_.q-toggle\\_\\_thumb]:(left-[0.45em])`
48
55
  ],
49
56
  [
50
57
  /^q-toggle__inner--truthy$/,
51
- ([, c], { theme }) => ` [&_.q-toggle\\_\\_track]:(opacity-[0.54]) [&_.q-toggle\\_\\_thumb]:(left-[0.65em]) [&_.q-toggle\\_\\_thumb:after]:(bg-current) [&_.q-toggle\\_\\_thumb_.q-icon]:(text-[#fff] opacity-100) text-primary`
58
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle__inner--truthy'] ??
59
+ ` [&_.q-toggle\\_\\_track]:(opacity-[0.54]) [&_.q-toggle\\_\\_thumb]:(left-[0.65em]) [&_.q-toggle\\_\\_thumb:after]:(bg-current) [&_.q-toggle\\_\\_thumb_.q-icon]:(text-[#fff] opacity-100)`
52
60
  ],
53
- [/^q-toggle.disabled$/, ([, c], { theme }) => `!opacity-75`],
54
61
  [
55
62
  /^q-toggle--dark$/,
56
- ([, c], { theme }) => `[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:(text-primary) [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
63
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle--dark'] ??
64
+ `[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:() [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
57
65
  ],
58
66
  [
59
67
  /^q-toggle--dense$/,
60
- ([, c], { theme }) => `[&_.q-toggle\\_\\_inner]:(w-[0.8em] min-w-[0.8em] h-[0.5em] px-[0] py-[0.07625em]) [&_.q-toggle\\_\\_thumb]:(top-0 left-0) [&_.q-toggle\\_\\_inner--indet_.q-toggle\\_\\_thumb]:(left-[0.15em]) [&_.q-toggle\\_\\_inner--truthy_.q-toggle\\_\\_thumb]:(left-[0.3em]) [&_.q-toggle\\_\\_label]:(pl-[0.5em])`
61
- ],
62
- [
63
- /^q-toggle--dense.reverse$/,
64
- ([, c], { theme }) => `[&_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
68
+ ([, c], { theme }) => theme.quasar?.components?.['q-toggle--dense'] ??
69
+ `[&_.q-toggle\\_\\_inner]:(w-[0.8em] min-w-[0.8em] h-[0.5em] px-[0] py-[0.07625em]) [&_.q-toggle\\_\\_thumb]:(top-[0] left-[0]) [&_.q-toggle\\_\\_inner--indet_.q-toggle\\_\\_thumb]:(left-[0.15em]) [&_.q-toggle\\_\\_inner--truthy_.q-toggle\\_\\_thumb]:(left-[0.3em]) [&_.q-toggle\\_\\_label]:(pl-[0.5em]) [&.reverse_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
65
70
  ]
66
71
  ];
67
72
  export { preflights, shortcuts };
@@ -1,14 +1,16 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-toolbar$/,
4
- ([, c], { theme }) => `relative px-[12px] py-[0] min-h-[50px] [&_.q-avatar]:(text-[38px])
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-toolbar'] ??
5
+ `relative px-[12px] py-[0] min-h-[50px] [&_.q-avatar]:(text-[38px])
5
6
  `
6
7
  // w-full
7
8
  ],
8
9
  [/^q-toolbar--inset$/, ([, c], { theme }) => `pl-[58px]`],
9
10
  [
10
11
  /^q-toolbar__title$/,
11
- ([, c], { theme }) => `flex-1 min-w-[1px] max-w-full text-[21px] font-normal tracking-[0.01em] px-[12px] py-[0] [&:first-child]:(pl-0) [&:last-child]:(pr-0)`
12
+ ([, c], { theme }) => theme.quasar?.components?.['q-toolbar__title'] ??
13
+ `flex-1 min-w-[1px] max-w-full text-[21px] font-normal tracking-[0.01em] px-[12px] py-[0] [&:first-child]:(pl-0) [&:last-child]:(pr-0)`
12
14
  ]
13
15
  ];
14
16
  export { shortcuts };
@@ -1,11 +1,13 @@
1
1
  const shortcuts = [
2
2
  [
3
3
  /^q-tooltip--style$/,
4
- ([, c], { theme }) => `text-[10px] text-[#fafafa] bg-[#757575] rounded-[4px] normal-case font-normal`
4
+ ([, c], { theme }) => theme.quasar?.components?.['q-tooltip--style'] ??
5
+ `text-[10px] text-[#fafafa] bg-[#757575] rounded-[4px] normal-case font-normal`
5
6
  ],
6
7
  [
7
8
  /^q-tooltip$/,
8
- ([, c], { theme }) => `z-9000 !fixed overflow-y-auto overflow-x-hidden px-[10px] py-[6px] max-w-[95vw] max-h-[65vh] sm:(text-14px pt-8px pb-8px pl-16px pr-16px)`
9
+ ([, c], { theme }) => theme.quasar?.components?.['q-tooltip'] ??
10
+ `z-9000 !fixed overflow-y-auto overflow-x-hidden px-[10px] py-[6px] max-w-[95vw] max-h-[65vh] sm:(text-14px pt-8px pb-8px pl-16px pr-16px)`
9
11
  ]
10
12
  ];
11
13
  export { shortcuts };