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
@@ -39,24 +39,32 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
39
39
  [/^q-dialog$/, ([, c], { theme }) => ``],
40
40
  [
41
41
  /^q-dialog__title$/,
42
- ([, c], { theme }) => `text-1.25rem font-500 lh-1.6 tracking-0.0125em`
42
+ ([, c], { theme }) =>
43
+ theme.quasar?.components?.['q-dialog__title'] ??
44
+ `text-1.25rem font-500 lh-1.6 tracking-0.0125em`
43
45
  ],
44
46
  [/^q-dialog__progress$/, ([, c], { theme }) => `text-4rem`],
45
47
  [
46
48
  /^q-dialog__inner$/,
47
- ([, c], { theme }) => `outline-0
49
+ ([, c], { theme }) =>
50
+ theme.quasar?.components?.['q-dialog__inner'] ??
51
+ `outline-0
48
52
  [&>div]:(pointer-events-auto overflow-auto border-rd-4px)
49
53
  [&>.q-card>.q-card\\_\\_actions_.q-btn--rectangle]:(min-w-64px)
50
54
  `
51
55
  ],
52
56
  [
53
57
  /^q-dialog__inner--square$/,
54
- ([, c], { theme }) => `[&>div]:(border-rd-0!)
58
+ ([, c], { theme }) =>
59
+ theme.quasar?.components?.['q-dialog__inner--square'] ??
60
+ `[&>div]:(border-rd-0!)
55
61
  `
56
62
  ],
57
63
  [
58
64
  /^q-dialog__inner--minimized$/,
59
- ([, c], { theme }) => `p-24px
65
+ ([, c], { theme }) =>
66
+ theme.quasar?.components?.['q-dialog__inner--minimized'] ??
67
+ `p-24px
60
68
  [&>div]:(max-h-[calc(100vh-48px)])
61
69
  `
62
70
  ],
@@ -70,47 +78,63 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
70
78
  ],
71
79
  [
72
80
  /^q-dialog__inner--top$/,
73
- ([, c], { theme }) => `pt-0! pb-0!
81
+ ([, c], { theme }) =>
82
+ theme.quasar?.components?.['q-dialog__inner--top'] ??
83
+ `pt-0! pb-0!
74
84
  [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-tr-none)
75
85
 
76
86
  `
77
87
  ],
78
88
  [
79
89
  /^q-dialog__inner--bottom$/,
80
- ([, c], { theme }) => `pt-0! pb-0!
90
+ ([, c], { theme }) =>
91
+ theme.quasar?.components?.['q-dialog__inner--bottom'] ??
92
+ `pt-0! pb-0!
81
93
  [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-bl-none rounded-br-none)
82
94
  `
83
95
  ],
84
96
  [
85
97
  /^q-dialog__inner--left$/,
86
- ([, c], { theme }) => `pt-0! pb-0!
98
+ ([, c], { theme }) =>
99
+ theme.quasar?.components?.['q-dialog__inner--left'] ??
100
+ `pt-0! pb-0!
87
101
  [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-bl-none)
88
102
  `
89
103
  ],
90
104
  [
91
105
  /^q-dialog__inner--right$/,
92
- ([, c], { theme }) => `pt-0! pb-0!
106
+ ([, c], { theme }) =>
107
+ theme.quasar?.components?.['q-dialog__inner--right'] ??
108
+ `pt-0! pb-0!
93
109
  [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tr-none rounded-br-none)
94
110
  `
95
111
  ],
96
112
  [
97
113
  /^q-dialog__inner--fullwidth$/,
98
- ([, c], { theme }) => `[&>div]:(w-full! max-w-full!)
114
+ ([, c], { theme }) =>
115
+ theme.quasar?.components?.['q-dialog__inner--fullwidth'] ??
116
+ `[&>div]:(w-full! max-w-full!)
99
117
  `
100
118
  ],
101
119
  [
102
120
  /^q-dialog__inner--fullheight$/,
103
- ([, c], { theme }) => `[&>div]:(h-full! max-h-full!)
121
+ ([, c], { theme }) =>
122
+ theme.quasar?.components?.['q-dialog__inner--fullheight'] ??
123
+ `[&>div]:(h-full! max-h-full!)
104
124
  `
105
125
  ],
106
126
  [
107
127
  /^q-dialog__backdrop$/,
108
- ([, c], { theme }) => `-z-1 pointer-events-auto outline-0 bg-black bg-op-40
128
+ ([, c], { theme }) =>
129
+ theme.quasar?.components?.['q-dialog__backdrop'] ??
130
+ `-z-1 pointer-events-auto outline-0 bg-black bg-op-40
109
131
  `
110
132
  ],
111
133
  [
112
134
  /^q-body--dialog$/,
113
- ([, c], { theme }) => `overflow-hidden
135
+ ([, c], { theme }) =>
136
+ theme.quasar?.components?.['q-body--dialog'] ??
137
+ `overflow-hidden
114
138
  `
115
139
  ]
116
140
  ]
@@ -2,74 +2,77 @@ import type { Rule, UserShortcuts } from '@unocss/core'
2
2
  import type { QuasarTheme } from '../theme.js'
3
3
 
4
4
  const shortcuts: UserShortcuts<QuasarTheme> = [
5
- [/^q-drawer$/, ([, c], { theme }) => `absolute top-0 bottom-0 bg-[#fff]`],
6
-
7
- [/^q-drawer--on-top$/, ([, c], { theme }) => `z-3000`],
8
-
9
5
  [
10
- /^q-drawer--left$/,
6
+ /^q-drawer$/,
11
7
  ([, c], { theme }) =>
12
- `left-0 -translate-x-full [&_.q-layout\\_\\_shadow]:(left-[10px] -right-[10px]) [&_.q-layout\\_\\_shadow:after]:(right-[10px])`
8
+ theme.quasar?.components?.['q-drawer'] ??
9
+ `absolute top-[0] bottom-[0] bg-[#fff]`
13
10
  ],
14
11
 
15
12
  [
16
- /^q-drawer--left.q-drawer--bordered$/,
17
- ([, c], { theme }) => `[border-right:1px_solid_rgba(0,_0,_0,_0.12)]`
13
+ /^q-drawer--on-top$/,
14
+ ([, c], { theme }) => theme.quasar?.components?.['q-drawer--on-top'] ?? ``
18
15
  ],
19
16
 
20
17
  [
21
- /^q-drawer--right$/,
18
+ /^q-drawer--left$/,
22
19
  ([, c], { theme }) =>
23
- `right-0 translate-x-full [&_.q-layout\\_\\_shadow]:(-left-[10px]) [&_.q-layout\\_\\_shadow:after]:(left-[10px])`
24
- ],
25
-
26
- [
27
- /^q-drawer--right.q-drawer--bordered$/,
28
- ([, c], { theme }) => `[border-left:1px_solid_rgba(0,_0,_0,_0.12)]`
20
+ theme.quasar?.components?.['q-drawer--left'] ??
21
+ `left-[0] -translate-x-full [&.q-drawer--bordered]:([border-right:1px_solid_rgba(0,_0,_0,_0.12)]) [&_.q-layout\\_\\_shadow]:(left-[10px] -right-[10px]) [&_.q-layout\\_\\_shadow:after]:(right-[10px])`
29
22
  ],
30
23
 
31
24
  [
32
- /^q-drawer-container:not(.q-drawer--mini-animate)$/,
25
+ /^q-drawer--right$/,
33
26
  ([, c], { theme }) =>
34
- `[&_.q-drawer--mini]:(!p-0) [&_.q-drawer--mini_.q-item]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&_.q-drawer--mini_.q-item\\_\\_label]:(hidden)`
27
+ theme.quasar?.components?.['q-drawer--right'] ??
28
+ `right-[0] translate-x-full [&.q-drawer--bordered]:([border-left:1px_solid_rgba(0,_0,_0,_0.12)]) [&_.q-layout\\_\\_shadow]:(-left-[10px]) [&_.q-layout\\_\\_shadow:after]:(left-[10px])`
35
29
  ],
36
30
 
37
31
  [
38
- /^q-drawer-container:not(.q-drawer--mini-animate)$/,
39
- ([, c], { theme }) => `[&__.q-drawer--mini
40
- __.q-item\\_\\_section]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&__.q-drawer--mini
41
- __.q-item\\_\\_section--main]:(hidden) [&__.q-drawer--mini
42
- __.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
32
+ /^q-drawer-container$/,
33
+ ([, c], { theme }) =>
34
+ theme.quasar?.components?.['q-drawer-container'] ??
35
+ `[&:not(.q-drawer--mini-animate)_.q-drawer--mini]:(!p-0) [&:not(.q-drawer--mini-animate)_.q-drawer--mini_.q-item]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&:not(.q-drawer--mini-animate)_.q-drawer--mini_.q-item\\_\\_label]:(hidden) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section--main]:(hidden) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
43
36
  ],
44
37
 
45
38
  [
46
39
  /^q-drawer--mini$/,
47
40
  ([, c], { theme }) =>
41
+ theme.quasar?.components?.['q-drawer--mini'] ??
48
42
  `[&_.q-mini-drawer-hide]:(hidden) [&_.q-expansion-item\\_\\_content]:(hidden)`
49
43
  ],
50
44
 
51
45
  [
52
46
  /^q-drawer--mini-animate$/,
53
47
  ([, c], { theme }) =>
48
+ theme.quasar?.components?.['q-drawer--mini-animate'] ??
54
49
  `[&_.q-drawer\\_\\_content]:(!overflow-x-hidden whitespace-nowrap)`
55
50
  ],
56
51
 
57
52
  [
58
53
  /^q-drawer--standard$/,
59
- ([, c], { theme }) => `[&_.q-mini-drawer-only]:(hidden)`
54
+ ([, c], { theme }) =>
55
+ theme.quasar?.components?.['q-drawer--standard'] ??
56
+ `[&_.q-mini-drawer-only]:(hidden)`
60
57
  ],
61
58
 
62
59
  [
63
60
  /^q-drawer--mobile$/,
64
61
  ([, c], { theme }) =>
62
+ theme.quasar?.components?.['q-drawer--mobile'] ??
65
63
  `[&_.q-mini-drawer-only]:(hidden) [&_.q-mini-drawer-hide]:(hidden)`
66
64
  ],
67
65
 
68
- [/^q-drawer__backdrop$/, ([, c], { theme }) => `z-2999!`],
66
+ [
67
+ /^q-drawer__backdrop$/,
68
+ ([, c], { theme }) => theme.quasar?.components?.['q-drawer__backdrop'] ?? ``
69
+ ],
69
70
 
70
71
  [
71
72
  /^q-drawer__opener$/,
72
- ([, c], { theme }) => `h-full w-[15px] select-none z-2001`
73
+ ([, c], { theme }) =>
74
+ theme.quasar?.components?.['q-drawer__opener'] ??
75
+ `h-full w-[15px] select-none`
73
76
  ]
74
77
  ]
75
78
 
@@ -15,7 +15,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
15
15
  [/^q-editor.disabled$/, ([, c], { theme }) => `border-dashed`],
16
16
  [
17
17
  /^q-editor__toolbars-container$/,
18
- ([, c], { theme }) => `rounded-tl-[inherit] rounded-tr-[inherit]
18
+ ([, c], { theme }) =>
19
+ theme.quasar?.components?.['q-editor__toolbars-container'] ??
20
+ `rounded-tl-[inherit] rounded-tr-[inherit]
19
21
  [&>div:first-child]:(rounded-tl-[inherit] rounded-tr-[inherit])`
20
22
  ],
21
23
  [
@@ -40,12 +42,16 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
40
42
  ],
41
43
  [
42
44
  /^q-editor__toolbars-container$/,
43
- ([, c], { theme }) => `max-w-full
45
+ ([, c], { theme }) =>
46
+ theme.quasar?.components?.['q-editor__toolbars-container'] ??
47
+ `max-w-full
44
48
  `
45
49
  ],
46
50
  [
47
51
  /^q-editor__toolbar-group$/,
48
- ([, c], { theme }) => `relative mx-4px my-0
52
+ ([, c], { theme }) =>
53
+ theme.quasar?.components?.['q-editor__toolbar-group'] ??
54
+ `relative mx-4px my-0
49
55
  [&+.q-editor\\_\\_toolbar-group:before]:(content-empty absolute left--4px top-4px bottom-4px w-1px bg-black bg-op-12)
50
56
  `
51
57
  ],
@@ -59,7 +65,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
59
65
  ],
60
66
  [
61
67
  /^q-editor--flat$/,
62
- ([, c], { theme }) => `border-0
68
+ ([, c], { theme }) =>
69
+ theme.quasar?.components?.['q-editor--flat'] ??
70
+ `border-0
63
71
  [&_.q-editor\\_\\_toolbar]:(border-0)
64
72
  `
65
73
  ],
@@ -73,7 +81,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
73
81
  ],
74
82
  [
75
83
  /^q-editor--dark$/,
76
- ([, c], { theme }) => `border-color-white border-op-28
84
+ ([, c], { theme }) =>
85
+ theme.quasar?.components?.['q-editor--dark'] ??
86
+ `border-color-white border-op-28
77
87
  [&_.q-editor\\_\\_content_hr]:(border-color-white border-op-28)
78
88
  [&_.q-editor\\_\\_toolbar]:(border-color-white border-op-28)
79
89
  [&_.q-editor\\_\\_toolbar-group+.q-editor\\_\\_toolbar-group:before]:(border-color-white border-op-28)
@@ -6,40 +6,51 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
6
6
 
7
7
  [
8
8
  /^q-expansion-item__toggle-icon$/,
9
- ([, c], { theme }) => `relative [transition:transform_0.3s]`
9
+ ([, c], { theme }) =>
10
+ theme.quasar?.components?.['q-expansion-item__toggle-icon'] ??
11
+ `relative [transition:transform_0.3s]`
10
12
  ],
11
13
 
12
14
  [
13
15
  /^q-expansion-item__toggle-icon--rotated$/,
14
- ([, c], { theme }) => `rotate-180`
16
+ ([, c], { theme }) =>
17
+ theme.quasar?.components?.['q-expansion-item__toggle-icon--rotated'] ??
18
+ `rotate-180`
15
19
  ],
16
20
 
17
21
  [
18
22
  /^q-expansion-item__toggle-focus$/,
19
23
  ([, c], { theme }) =>
24
+ theme.quasar?.components?.['q-expansion-item__toggle-focus'] ??
20
25
  `!w-[1em] !h-[1em] !relative [&_+_.q-expansion-item\\_\\_toggle-icon]:(-mt-[1em])`
21
26
  ],
22
27
 
23
28
  [
24
29
  /^q-expansion-item--popup$/,
25
30
  ([, c], { theme }) =>
31
+ theme.quasar?.components?.['q-expansion-item--popup'] ??
26
32
  `[transition:padding_0.5s] [&_>_.q-expansion-item\\_\\_container]:(border-[1px] border-solid border-[rgba(0,0,0,0.12)]) [&_>_.q-expansion-item\\_\\_container_>_.q-separator]:(hidden)`
27
33
  ],
28
34
 
29
35
  [
30
36
  /^q-expansion-item__content$/,
31
- ([, c], { theme }) => `[&_>_.q-card]:([box-shadow:none] rounded-none)`
37
+ ([, c], { theme }) =>
38
+ theme.quasar?.components?.['q-expansion-item__content'] ??
39
+ `[&_>_.q-card]:([box-shadow:none] rounded-none)`
32
40
  ],
33
41
 
34
42
  [
35
43
  /^q-expansion-item$/,
36
44
  ([, c], { theme }) =>
45
+ theme.quasar?.components?.['q-expansion-item'] ??
37
46
  `[&:first-child_>_div_>_.q-expansion-item\\_\\_border--top]:(opacity-0) [&:last-child_>_div_>_.q-expansion-item\\_\\_border--bottom]:(opacity-0)`
38
47
  ],
39
48
 
40
49
  [
41
50
  /^q-expansion-item--expanded$/,
42
- ([, c], { theme }) => `[&__+_.q-expansion-item--expanded
51
+ ([, c], { theme }) =>
52
+ theme.quasar?.components?.['q-expansion-item--expanded'] ??
53
+ `[&__+_.q-expansion-item--expanded
43
54
  __>_div
44
55
  __>_.q-expansion-item\\_\\_border--top]:(opacity-0)`
45
56
  ],
@@ -47,6 +58,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
47
58
  [
48
59
  /^q-expansion-item--expanded$/,
49
60
  ([, c], { theme }) =>
61
+ theme.quasar?.components?.['q-expansion-item--expanded'] ??
50
62
  `[&_.q-textarea--autogrow_textarea]:(animate-[q-expansion-done_0s])`
51
63
  ]
52
64
  ]
@@ -6,7 +6,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
6
6
 
7
7
  [
8
8
  /^q-fab$/,
9
- ([, c], { theme }) => `relative align-middle [&_>_.q-btn]:(w-full)`
9
+ ([, c], { theme }) =>
10
+ theme.quasar?.components?.['q-fab'] ??
11
+ `relative align-middle [&_>_.q-btn]:(w-full)`
10
12
  ],
11
13
 
12
14
  [/^q-fab--form-rounded$/, ([, c], { theme }) => `rounded-[28px]`],
@@ -16,59 +18,71 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
16
18
  [
17
19
  /^q-fab__icon$/,
18
20
  ([, c], { theme }) =>
21
+ theme.quasar?.components?.['q-fab__icon'] ??
19
22
  `[transition:opacity_0.4s,_transform_0.4s] opacity-100 rotate-0`
20
23
  ],
21
24
 
22
25
  [
23
26
  /^q-fab__active-icon$/,
24
27
  ([, c], { theme }) =>
28
+ theme.quasar?.components?.['q-fab__active-icon'] ??
25
29
  `[transition:opacity_0.4s,_transform_0.4s] opacity-0 -rotate-180`
26
30
  ],
27
31
 
28
32
  [
29
33
  /^q-fab__label--external$/,
30
34
  ([, c], { theme }) =>
35
+ theme.quasar?.components?.['q-fab__label--external'] ??
31
36
  `absolute px-[8px] py-[0] [transition:opacity_0.18s_cubic-bezier(0.65,_0.815,_0.735,_0.395)]`
32
37
  ],
33
38
 
34
39
  [
35
40
  /^q-fab__label--external-hidden$/,
36
- ([, c], { theme }) => `opacity-0 pointer-events-none`
41
+ ([, c], { theme }) =>
42
+ theme.quasar?.components?.['q-fab__label--external-hidden'] ??
43
+ `opacity-0 pointer-events-none`
37
44
  ],
38
45
 
39
46
  [
40
47
  /^q-fab__label--external-left$/,
41
48
  ([, c], { theme }) =>
49
+ theme.quasar?.components?.['q-fab__label--external-left'] ??
42
50
  `top-2/4 -left-[12px] -translate-x-full -translate-y-1/2`
43
51
  ],
44
52
 
45
53
  [
46
54
  /^q-fab__label--external-right$/,
47
55
  ([, c], { theme }) =>
56
+ theme.quasar?.components?.['q-fab__label--external-right'] ??
48
57
  `top-2/4 -right-[12px] translate-x-full -translate-y-1/2`
49
58
  ],
50
59
 
51
60
  [
52
61
  /^q-fab__label--external-bottom$/,
53
62
  ([, c], { theme }) =>
63
+ theme.quasar?.components?.['q-fab__label--external-bottom'] ??
54
64
  `-bottom-[12px] left-2/4 -translate-x-1/2 translate-y-full`
55
65
  ],
56
66
 
57
67
  [
58
68
  /^q-fab__label--external-top$/,
59
69
  ([, c], { theme }) =>
70
+ theme.quasar?.components?.['q-fab__label--external-top'] ??
60
71
  `-top-[12px] left-2/4 -translate-x-1/2 -translate-y-full`
61
72
  ],
62
73
 
63
74
  [
64
75
  /^q-fab__label--internal$/,
65
76
  ([, c], { theme }) =>
77
+ theme.quasar?.components?.['q-fab__label--internal'] ??
66
78
  `p-0 [transition:font-size_0.12s_cubic-bezier(0.65,_0.815,_0.735,_0.395),_max-height_0.12s_cubic-bezier(0.65,_0.815,_0.735,_0.395),_opacity_0.07s_cubic-bezier(0.65,_0.815,_0.735,_0.395)] max-h-[30px]`
67
79
  ],
68
80
 
69
81
  [
70
82
  /^q-fab__label--internal-hidden$/,
71
- ([, c], { theme }) => `text-[0] opacity-0`
83
+ ([, c], { theme }) =>
84
+ theme.quasar?.components?.['q-fab__label--internal-hidden'] ??
85
+ `text-[0] opacity-0`
72
86
  ],
73
87
 
74
88
  [/^q-fab__label--internal-top$/, ([, c], { theme }) => `pb-[0.12em]`],
@@ -77,70 +91,85 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
77
91
 
78
92
  [
79
93
  /^q-fab__label--internal-left$/,
80
- ([, c], { theme }) => `pl-[0.285em] pr-[0.571em]`
94
+ ([, c], { theme }) =>
95
+ theme.quasar?.components?.['q-fab__label--internal-left'] ??
96
+ `pl-[0.285em] pr-[0.571em]`
81
97
  ],
82
98
 
83
99
  [
84
100
  /^q-fab__label--internal-right$/,
85
- ([, c], { theme }) => `pr-[0.285em] pl-[0.571em]`
101
+ ([, c], { theme }) =>
102
+ theme.quasar?.components?.['q-fab__label--internal-right'] ??
103
+ `pr-[0.285em] pl-[0.571em]`
86
104
  ],
87
105
 
88
106
  [
89
107
  /^q-fab__icon-holder$/,
90
- ([, c], { theme }) => `min-w-[24px] min-h-[24px] relative`
108
+ ([, c], { theme }) =>
109
+ theme.quasar?.components?.['q-fab__icon-holder'] ??
110
+ `min-w-[24px] min-h-[24px] relative`
91
111
  ],
92
112
 
93
113
  [
94
114
  /^q-fab__icon-holder--opened$/,
95
115
  ([, c], { theme }) =>
116
+ theme.quasar?.components?.['q-fab__icon-holder--opened'] ??
96
117
  `[&_.q-fab\\_\\_icon]:(rotate-180 opacity-0) [&_.q-fab\\_\\_active-icon]:(rotate-0 opacity-100)`
97
118
  ],
98
119
 
99
120
  [
100
121
  /^q-fab__actions$/,
101
122
  ([, c], { theme }) =>
123
+ theme.quasar?.components?.['q-fab__actions'] ??
102
124
  `absolute opacity-0 [transition:transform_0.18s_ease-in,_opacity_0.18s_ease-in] pointer-events-none items-center justify-center self-center p-[3px] [&_.q-btn]:(m-[5px])`
103
125
  ],
104
126
 
105
127
  [
106
128
  /^q-fab__actions--right$/,
107
129
  ([, c], { theme }) =>
130
+ theme.quasar?.components?.['q-fab__actions--right'] ??
108
131
  `origin-[0_50%] scale-[0.4] -translate-x-[62px] h-[56px] left-full ml-[9px]`
109
132
  ],
110
133
 
111
134
  [
112
135
  /^q-fab__actions--left$/,
113
136
  ([, c], { theme }) =>
137
+ theme.quasar?.components?.['q-fab__actions--left'] ??
114
138
  `origin-[100%_50%] scale-[0.4] translate-x-[62px] h-[56px] right-full mr-[9px] flex-row-reverse`
115
139
  ],
116
140
 
117
141
  [
118
142
  /^q-fab__actions--up$/,
119
143
  ([, c], { theme }) =>
144
+ theme.quasar?.components?.['q-fab__actions--up'] ??
120
145
  `origin-[50%_100%] scale-[0.4] translate-y-[62px] w-[56px] bottom-full mb-[9px] flex-col-reverse left-2/4 -ml-[28px]`
121
146
  ],
122
147
 
123
148
  [
124
149
  /^q-fab__actions--down$/,
125
150
  ([, c], { theme }) =>
151
+ theme.quasar?.components?.['q-fab__actions--down'] ??
126
152
  `origin-[50%_0] scale-[0.4] -translate-y-[62px] w-[56px] top-full mt-[9px] flex-col left-2/4 -ml-[28px]`
127
153
  ],
128
154
 
129
155
  [
130
156
  /^q-fab__actions--opened$/,
131
157
  ([, c], { theme }) =>
158
+ theme.quasar?.components?.['q-fab__actions--opened'] ??
132
159
  `opacity-100 scale-100 translate-x-[0.1px] translate-y-[0]`
133
160
  ],
134
161
 
135
162
  [
136
163
  /^q-fab--align-left$/,
137
164
  ([, c], { theme }) =>
165
+ theme.quasar?.components?.['q-fab--align-left'] ??
138
166
  `[&_>_.q-fab\\_\\_actions--up]:(items-start left-[28px]) [&_>_.q-fab\\_\\_actions--down]:(items-start left-[28px])`
139
167
  ],
140
168
 
141
169
  [
142
170
  /^q-fab--align-right$/,
143
171
  ([, c], { theme }) =>
172
+ theme.quasar?.components?.['q-fab--align-right'] ??
144
173
  `[&_>_.q-fab\\_\\_actions--up]:(items-end left-auto right-0) [&_>_.q-fab\\_\\_actions--down]:(items-end left-auto right-0)`
145
174
  ]
146
175
  ]