vitrify 0.16.3 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/dist/frameworks/vue/prerender.js +8 -4
  2. package/dist/index.js +27 -1
  3. package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +20 -0
  4. package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +12 -0
  5. package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +22 -0
  6. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +24 -0
  7. package/dist/plugins/quasar/unocss/components/QBar.unocss.js +26 -0
  8. package/dist/plugins/quasar/unocss/components/QBreadcrumbs.unocss.js +13 -0
  9. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +62 -0
  10. package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +19 -0
  11. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +30 -0
  12. package/dist/plugins/quasar/unocss/components/QBtnToggle.unocss.js +4 -0
  13. package/dist/plugins/quasar/unocss/components/QCard.unocss.js +57 -0
  14. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +82 -0
  15. package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +38 -0
  16. package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +65 -0
  17. package/dist/plugins/quasar/unocss/components/QChip.unocss.js +90 -0
  18. package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +32 -0
  19. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +174 -0
  20. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +122 -0
  21. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +110 -0
  22. package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +53 -0
  23. package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +66 -0
  24. package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +38 -0
  25. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +100 -0
  26. package/dist/plugins/quasar/unocss/components/QField.unocss.js +153 -0
  27. package/dist/plugins/quasar/unocss/components/QFile.unocss.js +15 -0
  28. package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +12 -0
  29. package/dist/plugins/quasar/unocss/components/QForm.unocss.js +4 -0
  30. package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +13 -0
  31. package/dist/plugins/quasar/unocss/components/QIcon.unocss.js +22 -0
  32. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +29 -0
  33. package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +9 -0
  34. package/dist/plugins/quasar/unocss/components/QInput.unocss.js +27 -0
  35. package/dist/plugins/quasar/unocss/components/QIntersection.unocss.js +4 -0
  36. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +71 -0
  37. package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +13 -0
  38. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +81 -0
  39. package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +80 -0
  40. package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +12 -0
  41. package/dist/plugins/quasar/unocss/components/QOptionGroup.unocss.js +4 -0
  42. package/dist/plugins/quasar/unocss/components/QPage.unocss.js +4 -0
  43. package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +7 -0
  44. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +15 -0
  45. package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +11 -0
  46. package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +8 -0
  47. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +12 -0
  48. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +60 -0
  49. package/dist/plugins/quasar/unocss/components/QRating.unocss.js +23 -0
  50. package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +12 -0
  51. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +31 -0
  52. package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +56 -0
  53. package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +26 -0
  54. package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +153 -0
  55. package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +24 -0
  56. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +163 -0
  57. package/dist/plugins/quasar/unocss/components/QSpace.unocss.js +4 -0
  58. package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +44 -0
  59. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +39 -0
  60. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +102 -0
  61. package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +5 -0
  62. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +132 -0
  63. package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +96 -0
  64. package/dist/plugins/quasar/unocss/components/QTime.unocss.js +123 -0
  65. package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +80 -0
  66. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +67 -0
  67. package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +14 -0
  68. package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +11 -0
  69. package/dist/plugins/quasar/unocss/components/QTree.unocss.js +87 -0
  70. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +72 -0
  71. package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +11 -0
  72. package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +16 -0
  73. package/dist/plugins/quasar/unocss/composables/panel.unocss.js +5 -0
  74. package/dist/plugins/quasar/unocss/core/colors.unocss.js +17 -0
  75. package/dist/plugins/quasar/unocss/core/dark.unocss.js +14 -0
  76. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +67 -0
  77. package/dist/plugins/quasar/unocss/core/flex.unocss.js +76 -0
  78. package/dist/plugins/quasar/unocss/core/helpers.unocss.js +57 -0
  79. package/dist/plugins/quasar/unocss/core/mouse.unocss.js +32 -0
  80. package/dist/plugins/quasar/unocss/core/orientation.unocss.js +5 -0
  81. package/dist/plugins/quasar/unocss/core/position.unocss.js +48 -0
  82. package/dist/plugins/quasar/unocss/core/size.unocss.js +98 -0
  83. package/dist/plugins/quasar/unocss/core/touch.unocss.js +6 -0
  84. package/dist/plugins/quasar/unocss/core/transitions.unocss.js +271 -0
  85. package/dist/plugins/quasar/unocss/core/typography.unocss.js +147 -0
  86. package/dist/plugins/quasar/unocss/core/visibility.unocss.js +219 -0
  87. package/dist/plugins/quasar/unocss/directives/QMorph.unocss.js +11 -0
  88. package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +19 -0
  89. package/dist/plugins/quasar/unocss/index.js +1249 -0
  90. package/dist/plugins/quasar/unocss/plugins/QBottomSheet.unocss.js +17 -0
  91. package/dist/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.js +9 -0
  92. package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +16 -0
  93. package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +207 -0
  94. package/dist/plugins/quasar/unocss/theme.js +439 -0
  95. package/dist/plugins/quasar.js +104 -4
  96. package/dist/types/frameworks/vue/server.d.ts +3 -3
  97. package/dist/types/index.d.ts +2 -0
  98. package/dist/types/plugins/quasar/unocss/components/QAjaxBar.unocss.d.ts +4 -0
  99. package/dist/types/plugins/quasar/unocss/components/QAvatar.unocss.d.ts +4 -0
  100. package/dist/types/plugins/quasar/unocss/components/QBadge.unocss.d.ts +4 -0
  101. package/dist/types/plugins/quasar/unocss/components/QBanner.unocss.d.ts +4 -0
  102. package/dist/types/plugins/quasar/unocss/components/QBar.unocss.d.ts +4 -0
  103. package/dist/types/plugins/quasar/unocss/components/QBreadcrumbs.unocss.d.ts +5 -0
  104. package/dist/types/plugins/quasar/unocss/components/QBtn.unocss.d.ts +4 -0
  105. package/dist/types/plugins/quasar/unocss/components/QBtnDropdown.unocss.d.ts +4 -0
  106. package/dist/types/plugins/quasar/unocss/components/QBtnGroup.unocss.d.ts +4 -0
  107. package/dist/types/plugins/quasar/unocss/components/QBtnToggle.unocss.d.ts +4 -0
  108. package/dist/types/plugins/quasar/unocss/components/QCard.unocss.d.ts +4 -0
  109. package/dist/types/plugins/quasar/unocss/components/QCarousel.unocss.d.ts +4 -0
  110. package/dist/types/plugins/quasar/unocss/components/QChatMessage.unocss.d.ts +4 -0
  111. package/dist/types/plugins/quasar/unocss/components/QCheckbox.unocss.d.ts +5 -0
  112. package/dist/types/plugins/quasar/unocss/components/QChip.unocss.d.ts +5 -0
  113. package/dist/types/plugins/quasar/unocss/components/QCircularProgress.unocss.d.ts +5 -0
  114. package/dist/types/plugins/quasar/unocss/components/QColorPicker.unocss.d.ts +4 -0
  115. package/dist/types/plugins/quasar/unocss/components/QDate.unocss.d.ts +4 -0
  116. package/dist/types/plugins/quasar/unocss/components/QDialog.unocss.d.ts +5 -0
  117. package/dist/types/plugins/quasar/unocss/components/QDrawer.unocss.d.ts +4 -0
  118. package/dist/types/plugins/quasar/unocss/components/QEditor.unocss.d.ts +4 -0
  119. package/dist/types/plugins/quasar/unocss/components/QExpansionItem.unocss.d.ts +4 -0
  120. package/dist/types/plugins/quasar/unocss/components/QFab.unocss.d.ts +4 -0
  121. package/dist/types/plugins/quasar/unocss/components/QField.unocss.d.ts +5 -0
  122. package/dist/types/plugins/quasar/unocss/components/QFile.unocss.d.ts +4 -0
  123. package/dist/types/plugins/quasar/unocss/components/QFooter.unocss.d.ts +4 -0
  124. package/dist/types/plugins/quasar/unocss/components/QForm.unocss.d.ts +4 -0
  125. package/dist/types/plugins/quasar/unocss/components/QHeader.unocss.d.ts +4 -0
  126. package/dist/types/plugins/quasar/unocss/components/QIcon.unocss.d.ts +4 -0
  127. package/dist/types/plugins/quasar/unocss/components/QImg.unocss.d.ts +4 -0
  128. package/dist/types/plugins/quasar/unocss/components/QInnerLoading.unocss.d.ts +4 -0
  129. package/dist/types/plugins/quasar/unocss/components/QInput.unocss.d.ts +4 -0
  130. package/dist/types/plugins/quasar/unocss/components/QIntersection.unocss.d.ts +4 -0
  131. package/dist/types/plugins/quasar/unocss/components/QItem.unocss.d.ts +4 -0
  132. package/dist/types/plugins/quasar/unocss/components/QKnob.unocss.d.ts +4 -0
  133. package/dist/types/plugins/quasar/unocss/components/QLayout.unocss.d.ts +5 -0
  134. package/dist/types/plugins/quasar/unocss/components/QLinearProgress.unocss.d.ts +5 -0
  135. package/dist/types/plugins/quasar/unocss/components/QMenu.unocss.d.ts +4 -0
  136. package/dist/types/plugins/quasar/unocss/components/QOptionGroup.unocss.d.ts +4 -0
  137. package/dist/types/plugins/quasar/unocss/components/QPage.unocss.d.ts +4 -0
  138. package/dist/types/plugins/quasar/unocss/components/QPageSticky.unocss.d.ts +4 -0
  139. package/dist/types/plugins/quasar/unocss/components/QPagination.unocss.d.ts +4 -0
  140. package/dist/types/plugins/quasar/unocss/components/QParallax.unocss.d.ts +4 -0
  141. package/dist/types/plugins/quasar/unocss/components/QPopupEdit.unocss.d.ts +4 -0
  142. package/dist/types/plugins/quasar/unocss/components/QPullToRefresh.unocss.d.ts +4 -0
  143. package/dist/types/plugins/quasar/unocss/components/QRadio.unocss.d.ts +5 -0
  144. package/dist/types/plugins/quasar/unocss/components/QRating.unocss.d.ts +4 -0
  145. package/dist/types/plugins/quasar/unocss/components/QResponsive.unocss.d.ts +4 -0
  146. package/dist/types/plugins/quasar/unocss/components/QScrollarea.unocss.d.ts +4 -0
  147. package/dist/types/plugins/quasar/unocss/components/QSelect.unocss.d.ts +5 -0
  148. package/dist/types/plugins/quasar/unocss/components/QSeparator.unocss.d.ts +4 -0
  149. package/dist/types/plugins/quasar/unocss/components/QSkeleton.unocss.d.ts +5 -0
  150. package/dist/types/plugins/quasar/unocss/components/QSlideItem.unocss.d.ts +4 -0
  151. package/dist/types/plugins/quasar/unocss/components/QSlider.unocss.d.ts +4 -0
  152. package/dist/types/plugins/quasar/unocss/components/QSpace.unocss.d.ts +4 -0
  153. package/dist/types/plugins/quasar/unocss/components/QSpinner.unocss.d.ts +5 -0
  154. package/dist/types/plugins/quasar/unocss/components/QSplitter.unocss.d.ts +4 -0
  155. package/dist/types/plugins/quasar/unocss/components/QStepper.unocss.d.ts +4 -0
  156. package/dist/types/plugins/quasar/unocss/components/QTabPanel.unocss.d.ts +4 -0
  157. package/dist/types/plugins/quasar/unocss/components/QTable.unocss.d.ts +5 -0
  158. package/dist/types/plugins/quasar/unocss/components/QTabs.unocss.d.ts +4 -0
  159. package/dist/types/plugins/quasar/unocss/components/QTime.unocss.d.ts +4 -0
  160. package/dist/types/plugins/quasar/unocss/components/QTimeline.unocss.d.ts +4 -0
  161. package/dist/types/plugins/quasar/unocss/components/QToggle.unocss.d.ts +5 -0
  162. package/dist/types/plugins/quasar/unocss/components/QToolbar.unocss.d.ts +4 -0
  163. package/dist/types/plugins/quasar/unocss/components/QTooltip.unocss.d.ts +4 -0
  164. package/dist/types/plugins/quasar/unocss/components/QTree.unocss.d.ts +5 -0
  165. package/dist/types/plugins/quasar/unocss/components/QUploader.unocss.d.ts +4 -0
  166. package/dist/types/plugins/quasar/unocss/components/QVideo.unocss.d.ts +4 -0
  167. package/dist/types/plugins/quasar/unocss/components/QVirtualScroll.unocss.d.ts +4 -0
  168. package/dist/types/plugins/quasar/unocss/composables/panel.unocss.d.ts +4 -0
  169. package/dist/types/plugins/quasar/unocss/core/colors.unocss.d.ts +4 -0
  170. package/dist/types/plugins/quasar/unocss/core/dark.unocss.d.ts +5 -0
  171. package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +4 -0
  172. package/dist/types/plugins/quasar/unocss/core/flex.unocss.d.ts +4 -0
  173. package/dist/types/plugins/quasar/unocss/core/helpers.unocss.d.ts +6 -0
  174. package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +5 -0
  175. package/dist/types/plugins/quasar/unocss/core/orientation.unocss.d.ts +4 -0
  176. package/dist/types/plugins/quasar/unocss/core/position.unocss.d.ts +4 -0
  177. package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +4 -0
  178. package/dist/types/plugins/quasar/unocss/core/touch.unocss.d.ts +4 -0
  179. package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +4 -0
  180. package/dist/types/plugins/quasar/unocss/core/typography.unocss.d.ts +5 -0
  181. package/dist/types/plugins/quasar/unocss/core/visibility.unocss.d.ts +6 -0
  182. package/dist/types/plugins/quasar/unocss/directives/QMorph.unocss.d.ts +4 -0
  183. package/dist/types/plugins/quasar/unocss/directives/QRipple.unocss.d.ts +4 -0
  184. package/dist/types/plugins/quasar/unocss/index.d.ts +11 -0
  185. package/dist/types/plugins/quasar/unocss/plugins/QBottomSheet.unocss.d.ts +4 -0
  186. package/dist/types/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.d.ts +4 -0
  187. package/dist/types/plugins/quasar/unocss/plugins/QLoading.unocss.d.ts +4 -0
  188. package/dist/types/plugins/quasar/unocss/plugins/QNotify.unocss.d.ts +4 -0
  189. package/dist/types/plugins/quasar/unocss/theme.d.ts +425 -0
  190. package/dist/types/plugins/quasar.d.ts +1 -0
  191. package/dist/types/vitrify-config.d.ts +11 -3
  192. package/package.json +23 -16
  193. package/src/node/frameworks/vue/prerender.ts +12 -4
  194. package/src/node/frameworks/vue/server.ts +3 -3
  195. package/src/node/index.ts +33 -3
  196. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +24 -0
  197. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +20 -0
  198. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +34 -0
  199. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +32 -0
  200. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +30 -0
  201. package/src/node/plugins/quasar/unocss/components/QBreadcrumbs.unocss.ts +18 -0
  202. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +93 -0
  203. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +27 -0
  204. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +48 -0
  205. package/src/node/plugins/quasar/unocss/components/QBtnToggle.unocss.ts +8 -0
  206. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +64 -0
  207. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +115 -0
  208. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +59 -0
  209. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +89 -0
  210. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +98 -0
  211. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +41 -0
  212. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +178 -0
  213. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +181 -0
  214. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +118 -0
  215. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +76 -0
  216. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +85 -0
  217. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +54 -0
  218. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +148 -0
  219. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +220 -0
  220. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +23 -0
  221. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +19 -0
  222. package/src/node/plugins/quasar/unocss/components/QForm.unocss.ts +8 -0
  223. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +20 -0
  224. package/src/node/plugins/quasar/unocss/components/QIcon.unocss.ts +30 -0
  225. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +43 -0
  226. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +16 -0
  227. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +40 -0
  228. package/src/node/plugins/quasar/unocss/components/QIntersection.unocss.ts +8 -0
  229. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +102 -0
  230. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +22 -0
  231. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +91 -0
  232. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +104 -0
  233. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +20 -0
  234. package/src/node/plugins/quasar/unocss/components/QOptionGroup.unocss.ts +8 -0
  235. package/src/node/plugins/quasar/unocss/components/QPage.unocss.ts +8 -0
  236. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +12 -0
  237. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +24 -0
  238. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +18 -0
  239. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +13 -0
  240. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +19 -0
  241. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +82 -0
  242. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +36 -0
  243. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +20 -0
  244. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +48 -0
  245. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +69 -0
  246. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +38 -0
  247. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +192 -0
  248. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +38 -0
  249. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +246 -0
  250. package/src/node/plugins/quasar/unocss/components/QSpace.unocss.ts +8 -0
  251. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +51 -0
  252. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +58 -0
  253. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +150 -0
  254. package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +10 -0
  255. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +194 -0
  256. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +139 -0
  257. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +195 -0
  258. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +122 -0
  259. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +89 -0
  260. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +22 -0
  261. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +18 -0
  262. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +124 -0
  263. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +107 -0
  264. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +18 -0
  265. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +26 -0
  266. package/src/node/plugins/quasar/unocss/composables/panel.unocss.ts +9 -0
  267. package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +21 -0
  268. package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +19 -0
  269. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +94 -0
  270. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +99 -0
  271. package/src/node/plugins/quasar/unocss/core/helpers.unocss.ts +78 -0
  272. package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +46 -0
  273. package/src/node/plugins/quasar/unocss/core/orientation.unocss.ts +10 -0
  274. package/src/node/plugins/quasar/unocss/core/position.unocss.ts +81 -0
  275. package/src/node/plugins/quasar/unocss/core/size.unocss.ts +196 -0
  276. package/src/node/plugins/quasar/unocss/core/touch.unocss.ts +12 -0
  277. package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +392 -0
  278. package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +192 -0
  279. package/src/node/plugins/quasar/unocss/core/visibility.unocss.ts +250 -0
  280. package/src/node/plugins/quasar/unocss/createSafelist.js +2549 -0
  281. package/src/node/plugins/quasar/unocss/directives/QMorph.unocss.ts +18 -0
  282. package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +30 -0
  283. package/src/node/plugins/quasar/unocss/index.ts +1443 -0
  284. package/src/node/plugins/quasar/unocss/parse.js +132 -0
  285. package/src/node/plugins/quasar/unocss/plugins/QBottomSheet.unocss.ts +27 -0
  286. package/src/node/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.ts +16 -0
  287. package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +24 -0
  288. package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +266 -0
  289. package/src/node/plugins/quasar/unocss/theme.ts +452 -0
  290. package/src/node/plugins/quasar.ts +113 -4
  291. package/src/node/vitrify-config.ts +14 -7
  292. package/src/vite/fastify/server.ts +3 -1
  293. package/src/vite/vue/main.ts +1 -0
@@ -0,0 +1,85 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-editor$/,
7
+ (
8
+ [, c],
9
+ { theme }
10
+ ) => `border-solid border border-1px border-op-12 border-color-black border-rd-4px bg-white
11
+ [&>div:first-child]:(rounded-tl-[inherit] rounded-tr-[inherit])
12
+ [&_.q_btn]:(m-4px)
13
+ `
14
+ ],
15
+ [/^q-editor.disabled$/, ([, c], { theme }) => `border-dashed`],
16
+ [
17
+ /^q-editor__toolbars-container$/,
18
+ ([, c], { theme }) => `rounded-tl-[inherit] rounded-tr-[inherit]
19
+ [&>div:first-child]:(rounded-tl-[inherit] rounded-tr-[inherit])`
20
+ ],
21
+ [
22
+ /^q-editor__content$/,
23
+ (
24
+ [, c],
25
+ { theme }
26
+ ) => `outline-0 p-10px min-h-10em border-b-inherit border-b-inherit overflow-auto max-w-full
27
+ [&_pre]:(whitespace-pre-wrap)
28
+ [&_hr]:(border-none outline-0 m-1px h-1px bg-black bg-op-12)
29
+ [&:empty:not(:focus):before]:(content-[attr(placeholder)] op-70)
30
+ `
31
+ ],
32
+ [
33
+ /^q-editor__toolbar$/,
34
+ (
35
+ [, c],
36
+ { theme }
37
+ ) => `border-b-solid border-b-color-black border-b-op-12 border-b-1px
38
+ min-h-32px
39
+ `
40
+ ],
41
+ [
42
+ /^q-editor__toolbars-container$/,
43
+ ([, c], { theme }) => `max-w-full
44
+ `
45
+ ],
46
+ [
47
+ /^q-editor__toolbar-group$/,
48
+ ([, c], { theme }) => `relative mx-4px my-0
49
+ [&+.q-editor\\_\\_toolbar-group:before]:(content-empty absolute left--4px top-4px bottom-4px w-1px bg-black bg-op-12)
50
+ `
51
+ ],
52
+ [
53
+ /^q-editor__link-input$/,
54
+ (
55
+ [, c],
56
+ { theme }
57
+ ) => `text-inherit decoration-none normal-case border-none border-rd-0 bg-none outline-0
58
+ `
59
+ ],
60
+ [
61
+ /^q-editor--flat$/,
62
+ ([, c], { theme }) => `border-0
63
+ [&_.q-editor\\_\\_toolbar]:(border-0)
64
+ `
65
+ ],
66
+ [
67
+ /^q-editor--dense$/,
68
+ (
69
+ [, c],
70
+ { theme }
71
+ ) => `[&_.q-editor\\_\\_toolbar-group]:(flex items-center flex-nowrap)
72
+ `
73
+ ],
74
+ [
75
+ /^q-editor--dark$/,
76
+ ([, c], { theme }) => `border-color-white border-op-28
77
+ [&_.q-editor\\_\\_content_hr]:(border-color-white border-op-28)
78
+ [&_.q-editor\\_\\_toolbar]:(border-color-white border-op-28)
79
+ [&_.q-editor\\_\\_toolbar-group+.q-editor\\_\\_toolbar-group:before]:(border-color-white border-op-28)
80
+
81
+ `
82
+ ]
83
+ ]
84
+
85
+ export { shortcuts }
@@ -0,0 +1,54 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-expansion-item__border$/, ([, c], { theme }) => `opacity-0`],
6
+
7
+ [
8
+ /^q-expansion-item__toggle-icon$/,
9
+ ([, c], { theme }) => `relative [transition:transform_0.3s]`
10
+ ],
11
+
12
+ [
13
+ /^q-expansion-item__toggle-icon--rotated$/,
14
+ ([, c], { theme }) => `rotate-180`
15
+ ],
16
+
17
+ [
18
+ /^q-expansion-item__toggle-focus$/,
19
+ ([, c], { theme }) =>
20
+ `!w-[1em] !h-[1em] !relative [&_+_.q-expansion-item\\_\\_toggle-icon]:(-mt-[1em])`
21
+ ],
22
+
23
+ [
24
+ /^q-expansion-item--popup$/,
25
+ ([, c], { theme }) =>
26
+ `[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
+ ],
28
+
29
+ [
30
+ /^q-expansion-item__content$/,
31
+ ([, c], { theme }) => `[&_>_.q-card]:([box-shadow:none] rounded-none)`
32
+ ],
33
+
34
+ [
35
+ /^q-expansion-item$/,
36
+ ([, c], { theme }) =>
37
+ `[&:first-child_>_div_>_.q-expansion-item\\_\\_border--top]:(opacity-0) [&:last-child_>_div_>_.q-expansion-item\\_\\_border--bottom]:(opacity-0)`
38
+ ],
39
+
40
+ [
41
+ /^q-expansion-item--expanded$/,
42
+ ([, c], { theme }) => `[&__+_.q-expansion-item--expanded
43
+ __>_div
44
+ __>_.q-expansion-item\\_\\_border--top]:(opacity-0)`
45
+ ],
46
+
47
+ [
48
+ /^q-expansion-item--expanded$/,
49
+ ([, c], { theme }) =>
50
+ `[&_.q-textarea--autogrow_textarea]:(animate-[q-expansion-done_0s])`
51
+ ]
52
+ ]
53
+
54
+ export { shortcuts }
@@ -0,0 +1,148 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^z-fab$/, ([, c], { theme }) => ``],
6
+
7
+ [
8
+ /^q-fab$/,
9
+ ([, c], { theme }) => `relative align-middle [&_>_.q-btn]:(w-full)`
10
+ ],
11
+
12
+ [/^q-fab--form-rounded$/, ([, c], { theme }) => `rounded-[28px]`],
13
+
14
+ [/^q-fab--form-square$/, ([, c], { theme }) => `rounded-[4px]`],
15
+
16
+ [
17
+ /^q-fab__icon$/,
18
+ ([, c], { theme }) =>
19
+ `[transition:opacity_0.4s,_transform_0.4s] opacity-100 rotate-0`
20
+ ],
21
+
22
+ [
23
+ /^q-fab__active-icon$/,
24
+ ([, c], { theme }) =>
25
+ `[transition:opacity_0.4s,_transform_0.4s] opacity-0 -rotate-180`
26
+ ],
27
+
28
+ [
29
+ /^q-fab__label--external$/,
30
+ ([, c], { theme }) =>
31
+ `absolute px-[8px] py-[0] [transition:opacity_0.18s_cubic-bezier(0.65,_0.815,_0.735,_0.395)]`
32
+ ],
33
+
34
+ [
35
+ /^q-fab__label--external-hidden$/,
36
+ ([, c], { theme }) => `opacity-0 pointer-events-none`
37
+ ],
38
+
39
+ [
40
+ /^q-fab__label--external-left$/,
41
+ ([, c], { theme }) =>
42
+ `top-2/4 -left-[12px] -translate-x-full -translate-y-1/2`
43
+ ],
44
+
45
+ [
46
+ /^q-fab__label--external-right$/,
47
+ ([, c], { theme }) =>
48
+ `top-2/4 -right-[12px] translate-x-full -translate-y-1/2`
49
+ ],
50
+
51
+ [
52
+ /^q-fab__label--external-bottom$/,
53
+ ([, c], { theme }) =>
54
+ `-bottom-[12px] left-2/4 -translate-x-1/2 translate-y-full`
55
+ ],
56
+
57
+ [
58
+ /^q-fab__label--external-top$/,
59
+ ([, c], { theme }) =>
60
+ `-top-[12px] left-2/4 -translate-x-1/2 -translate-y-full`
61
+ ],
62
+
63
+ [
64
+ /^q-fab__label--internal$/,
65
+ ([, c], { theme }) =>
66
+ `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
+ ],
68
+
69
+ [
70
+ /^q-fab__label--internal-hidden$/,
71
+ ([, c], { theme }) => `text-[0] opacity-0`
72
+ ],
73
+
74
+ [/^q-fab__label--internal-top$/, ([, c], { theme }) => `pb-[0.12em]`],
75
+
76
+ [/^q-fab__label--internal-bottom$/, ([, c], { theme }) => `pt-[0.12em]`],
77
+
78
+ [
79
+ /^q-fab__label--internal-left$/,
80
+ ([, c], { theme }) => `pl-[0.285em] pr-[0.571em]`
81
+ ],
82
+
83
+ [
84
+ /^q-fab__label--internal-right$/,
85
+ ([, c], { theme }) => `pr-[0.285em] pl-[0.571em]`
86
+ ],
87
+
88
+ [
89
+ /^q-fab__icon-holder$/,
90
+ ([, c], { theme }) => `min-w-[24px] min-h-[24px] relative`
91
+ ],
92
+
93
+ [
94
+ /^q-fab__icon-holder--opened$/,
95
+ ([, c], { theme }) =>
96
+ `[&_.q-fab\\_\\_icon]:(rotate-180 opacity-0) [&_.q-fab\\_\\_active-icon]:(rotate-0 opacity-100)`
97
+ ],
98
+
99
+ [
100
+ /^q-fab__actions$/,
101
+ ([, c], { theme }) =>
102
+ `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
+ ],
104
+
105
+ [
106
+ /^q-fab__actions--right$/,
107
+ ([, c], { theme }) =>
108
+ `origin-[0_50%] scale-[0.4] -translate-x-[62px] h-[56px] left-full ml-[9px]`
109
+ ],
110
+
111
+ [
112
+ /^q-fab__actions--left$/,
113
+ ([, c], { theme }) =>
114
+ `origin-[100%_50%] scale-[0.4] translate-x-[62px] h-[56px] right-full mr-[9px] flex-row-reverse`
115
+ ],
116
+
117
+ [
118
+ /^q-fab__actions--up$/,
119
+ ([, c], { theme }) =>
120
+ `origin-[50%_100%] scale-[0.4] translate-y-[62px] w-[56px] bottom-full mb-[9px] flex-col-reverse left-2/4 -ml-[28px]`
121
+ ],
122
+
123
+ [
124
+ /^q-fab__actions--down$/,
125
+ ([, c], { theme }) =>
126
+ `origin-[50%_0] scale-[0.4] -translate-y-[62px] w-[56px] top-full mt-[9px] flex-col left-2/4 -ml-[28px]`
127
+ ],
128
+
129
+ [
130
+ /^q-fab__actions--opened$/,
131
+ ([, c], { theme }) =>
132
+ `opacity-100 scale-100 translate-x-[0.1px] translate-y-[0]`
133
+ ],
134
+
135
+ [
136
+ /^q-fab--align-left$/,
137
+ ([, c], { theme }) =>
138
+ `[&_>_.q-fab\\_\\_actions--up]:(items-start left-[28px]) [&_>_.q-fab\\_\\_actions--down]:(items-start left-[28px])`
139
+ ],
140
+
141
+ [
142
+ /^q-fab--align-right$/,
143
+ ([, c], { theme }) =>
144
+ `[&_>_.q-fab\\_\\_actions--up]:(items-end left-auto right-0) [&_>_.q-fab\\_\\_actions--down]:(items-end left-auto right-0)`
145
+ ]
146
+ ]
147
+
148
+ export { shortcuts }
@@ -0,0 +1,220 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const preflights: Preflight<QuasarTheme>[] = [
5
+ {
6
+ getCSS: ({ theme }) => `
7
+ @keyframes q-field-label {
8
+ 40% {
9
+ margin-left: 2px;
10
+ }
11
+ 60%, 80% {
12
+ margin-left: -2px;
13
+ }
14
+ 70%, 90% {
15
+ margin-left: 2px;
16
+ }
17
+ }
18
+ @keyframes q-autofill {
19
+ to {
20
+ background: transparent;
21
+ color: inherit;
22
+ }
23
+ }
24
+ `
25
+ }
26
+ ]
27
+
28
+ const shortcuts: UserShortcuts<QuasarTheme> = [
29
+ [
30
+ /^q-field$/,
31
+ ([, c], { theme }) =>
32
+ `text-[14px] [&_::-ms-clear]:(hidden) [&_::-ms-reveal]:(hidden)`
33
+ ],
34
+
35
+ [/^q-field--with-bottom$/, ([, c], { theme }) => `pb-[20px]`],
36
+
37
+ [
38
+ /^q-field__marginal$/,
39
+ ([, c], { theme }) =>
40
+ `h-[56px] text-[rgba(0,_0,_0,_0.54)] text-[24px] [&_>_*_+_*]:(ml-[2px]) [&_.q-avatar]:(text-[32px])`
41
+ ],
42
+
43
+ [/^q-field__before$/, ([, c], { theme }) => `pr-[12px]`],
44
+
45
+ [/^q-field__prepend$/, ([, c], { theme }) => `pr-[12px]`],
46
+
47
+ [/^q-field__after$/, ([, c], { theme }) => `pl-[12px] [&:empty]:(hidden)`],
48
+
49
+ [
50
+ /^q-field__append$/,
51
+ ([, c], { theme }) =>
52
+ `pl-[12px] [&:empty]:(hidden) [&_+_.q-field\\_\\_append]:(pl-[2px])`
53
+ ],
54
+
55
+ [/^q-field__inner$/, ([, c], { theme }) => `text-left`],
56
+
57
+ [
58
+ /^q-field__bottom$/,
59
+ ([, c], { theme }) =>
60
+ `text-[12px] min-h-[20px] leading-none text-[rgba(0,_0,_0,_0.54)] pt-[8px] px-[12px] pb-[0] [backface-visibility:hidden]`
61
+ ],
62
+
63
+ [
64
+ /^q-field__bottom--animated$/,
65
+ ([, c], { theme }) => `translate-y-full absolute left-0 right-0 bottom-0`
66
+ ],
67
+
68
+ [
69
+ /^q-field__messages$/,
70
+ ([, c], { theme }) =>
71
+ `leading-none [&_>_div]:([word-wrap:break-word] break-words) [&_>_div_+_div]:(mt-[4px])`
72
+ ],
73
+
74
+ [/^q-field__counter$/, ([, c], { theme }) => `pl-[8px] leading-none`],
75
+
76
+ [
77
+ /^q-field--item-aligned$/,
78
+ ([, c], { theme }) =>
79
+ `px-[16px] py-[8px] [&_.q-field\\_\\_before]:(min-w-[56px])`
80
+ ],
81
+
82
+ [/^q-field__control-container$/, ([, c], { theme }) => `[height:inherit]`],
83
+
84
+ [
85
+ /^q-field__control$/,
86
+ ([, c], { theme }) =>
87
+ `h-[56px] max-w-full outline-[none] [&:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 pointer-events-none) [&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 pointer-events-none) [&:before]:([border-radius:inherit]) bg-primary`
88
+ ],
89
+
90
+ [
91
+ /^q-field__shadow$/,
92
+ ([, c], { theme }) =>
93
+ `top-[8px] opacity-0 overflow-hidden whitespace-pre-wrap [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] [&_+_.q-field\\_\\_native::placeholder]:([transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_+_.q-field\\_\\_native:focus::placeholder]:(opacity-0)`
94
+ ],
95
+
96
+ [
97
+ /^q-field__native$/,
98
+ ([, c], { theme }) =>
99
+ `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] w-full min-w-[0] !outline-0 select-auto [&:-webkit-autofill]:() [&:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='color']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='date']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='month']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='time']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='week']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&:invalid]:([box-shadow:none]) [&[type='file']]:(leading-[1em])`
100
+ ],
101
+
102
+ [
103
+ /^q-field__prefix$/,
104
+ ([, c], { theme }) =>
105
+ `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] whitespace-nowrap pr-[4px]`
106
+ ],
107
+
108
+ [
109
+ /^q-field__suffix$/,
110
+ ([, c], { theme }) =>
111
+ `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] whitespace-nowrap pl-[4px]`
112
+ ],
113
+
114
+ [
115
+ /^q-field__input$/,
116
+ ([, c], { theme }) =>
117
+ `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] w-full min-w-[0] !outline-0 select-auto [&:-webkit-autofill]:() [&:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='color']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='date']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='month']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='time']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='week']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&:invalid]:([box-shadow:none]) p-0 h-[0] min-h-[24px] leading-[24px]`
118
+ ],
119
+
120
+ [
121
+ /^q-field--readonly$/,
122
+ ([, c], { theme }) => `[&_.q-placeholder]:(!opacity-100)`
123
+ ],
124
+
125
+ [
126
+ /^q-field--disabled$/,
127
+ ([, c], { theme }) =>
128
+ `[&_.q-placeholder]:(!opacity-100) [&_.q-field\\_\\_inner]:(cursor-not-allowed) [&_.q-field\\_\\_control]:(pointer-events-none) [&_.q-field\\_\\_control_>_div]:(!opacity-60) [&_.q-field\\_\\_control_>_div]:(!outline-0) [&_.q-field\\_\\_control_>_div_*]:(!outline-0)`
129
+ ],
130
+
131
+ [
132
+ /^q-field__label$/,
133
+ ([, c], { theme }) =>
134
+ `left-0 top-[18px] max-w-full text-[rgba(0,_0,_0,_0.6)] text-[16px] leading-tight font-normal tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] origin-[left_top] [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_max-width_0.324s_cubic-bezier(0.4,_0,_0.2,_1)] [backface-visibility:hidden]`
135
+ ],
136
+
137
+ [
138
+ /^q-field--float$/,
139
+ ([, c], { theme }) =>
140
+ `[&_.q-field\\_\\_label]:(max-w-[133%] -translate-y-[40%] scale-[0.75] [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_max-width_0.396s_cubic-bezier(0.4,_0,_0.2,_1)])`
141
+ ],
142
+
143
+ [
144
+ /^q-field--highlighted$/,
145
+ ([, c], { theme }) =>
146
+ `[&_.q-field\\_\\_label]:(text-current) [&_.q-field\\_\\_shadow]:(opacity-50)`
147
+ ],
148
+
149
+ [
150
+ /^q-field--filled$/,
151
+ ([, c], { theme }) =>
152
+ `[&_.q-field\\_\\_control]:(px-[12px] py-[0] bg-[rgba(0,_0,_0,_0.05)] rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[0]) [&_.q-field\\_\\_control:before]:(bg-[rgba(0,_0,_0,_0.05)] [border-bottom:1px_solid_rgba(0,_0,_0,_0.42)] opacity-0 [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(opacity-100) [&_.q-field\\_\\_control:after]:(h-[2px] top-auto origin-[center_bottom] [transform:scale3d(0,_1,_1)] bg-current [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1)])`
153
+ ],
154
+
155
+ [
156
+ /^q-field--outlined$/,
157
+ ([, c], { theme }) =>
158
+ `[&_.q-field\\_\\_control]:(rounded-[4px] px-[12px] py-[0]) [&_.q-field\\_\\_control:before]:(border-[1px] border-solid border-[rgba(0,0,0,0.24)] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(border-[#000]) [&_.q-field\\_\\_control:after]:([height:inherit] [border-radius:inherit] border-[2px] border-solid border-[transparent] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_native:-webkit-autofill]:(mt-px mb-px) [&_.q-field\\_\\_input:-webkit-autofill]:(mt-px mb-px)`
159
+ ],
160
+
161
+ [
162
+ /^q-field--standard$/,
163
+ ([, c], { theme }) =>
164
+ `[&_.q-field\\_\\_control:before]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.24)] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(border-[#000]) [&_.q-field\\_\\_control:after]:(h-[2px] top-auto [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit] origin-[center_bottom] [transform:scale3d(0,_1,_1)] bg-current [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_bottom]:(pl-0 pr-0)`
165
+ ],
166
+
167
+ [
168
+ /^q-field--dark$/,
169
+ ([, c], { theme }) =>
170
+ `[&_.q-field\\_\\_control:before]:(border-[rgba(255,_255,_255,_0.6)]) [&_.q-field\\_\\_control:hover:before]:(border-[#fff]) [&_.q-field\\_\\_native]:(text-[#fff]) [&_.q-field\\_\\_prefix]:(text-[#fff]) [&_.q-field\\_\\_suffix]:(text-[#fff]) [&_.q-field\\_\\_input]:(text-[#fff]) [&:not(.q-field--highlighted)_.q-field\\_\\_label]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-field\\_\\_marginal]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-field\\_\\_bottom]:(text-[rgba(255,_255,_255,_0.7)])`
171
+ ],
172
+
173
+ [
174
+ /^q-field--standout$/,
175
+ ([, c], { theme }) =>
176
+ `[&_.q-field\\_\\_control]:(px-[12px] py-[0] bg-[rgba(0,_0,_0,_0.05)] rounded-[4px] [transition:box-shadow_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:before]:(bg-[rgba(0,_0,_0,_0.07)] opacity-0 [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(opacity-100)`
177
+ ],
178
+
179
+ [
180
+ /^q-field--labeled$/,
181
+ ([, c], { theme }) =>
182
+ `[&_.q-field\\_\\_native]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_prefix]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_suffix]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_shadow]:(top-0) [&:not(.q-field--float)_.q-field\\_\\_prefix]:(opacity-0) [&:not(.q-field--float)_.q-field\\_\\_suffix]:(opacity-0) [&:not(.q-field--float)_.q-field\\_\\_native::placeholder]:(text-transparent) [&:not(.q-field--float)_.q-field\\_\\_input::placeholder]:(text-transparent)`
183
+ ],
184
+
185
+ [
186
+ /^q-field--dense$/,
187
+ ([, c], { theme }) =>
188
+ `[&_.q-field--with-bottom]:(pb-[19px]) [&_.q-field\\_\\_shadow]:(top-0) [&_.q-field\\_\\_control]:(h-[40px]) [&_.q-field\\_\\_marginal]:(h-[40px]) [&_.q-field\\_\\_bottom]:(text-[11px]) [&_.q-field\\_\\_label]:(text-[14px] top-[10px]) [&_.q-field\\_\\_before]:(pr-[6px]) [&_.q-field\\_\\_prepend]:(pr-[6px]) [&_.q-field\\_\\_after]:(pl-[6px]) [&_.q-field\\_\\_append]:(pl-[6px]) [&_.q-field\\_\\_append_+_.q-field\\_\\_append]:(pl-[2px]) [&_.q-field\\_\\_marginal_.q-avatar]:(text-[24px]) [&_.q-field\\_\\_native:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='color']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='date']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='month']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='time']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='week']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='color']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='date']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='month']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='time']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='week']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75])`
189
+ ],
190
+
191
+ [
192
+ /^q-field--borderless$/,
193
+ ([, c], { theme }) => `[&_.q-field\\_\\_bottom]:(pl-0 pr-0)`
194
+ ],
195
+
196
+ [
197
+ /^q-field--error$/,
198
+ ([, c], { theme }) =>
199
+ `[&_.q-field\\_\\_label]:(animate-[q-field-label_0.36s]) [&_.q-field\\_\\_bottom]:(text-negative)`
200
+ ],
201
+
202
+ [
203
+ /^q-field__focusable-action$/,
204
+ ([, c], { theme }) =>
205
+ `opacity-60 cursor-pointer !outline-0 border-0 [color:inherit] bg-transparent p-0 [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
206
+ ],
207
+
208
+ [
209
+ /^q-field--auto-height$/,
210
+ ([, c], { theme }) =>
211
+ `[&_.q-field\\_\\_control]:(h-auto) [&_.q-field\\_\\_control]:(min-h-[56px]) [&_.q-field\\_\\_native]:(min-h-[56px]) [&_.q-field\\_\\_native]:(items-center) [&_.q-field\\_\\_control-container]:(pt-0) [&_.q-field\\_\\_native]:(leading-[18px]) [&_.q-field\\_\\_prefix]:(leading-[18px]) [&_.q-field\\_\\_suffix]:(leading-[18px])`
212
+ ],
213
+
214
+ [
215
+ /^q-field--square$/,
216
+ ([, c], { theme }) => `[&_.q-field\\_\\_control]:(!rounded-none)`
217
+ ]
218
+ ]
219
+
220
+ export { preflights, shortcuts }
@@ -0,0 +1,23 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-file$/,
7
+ ([, c], { theme }) =>
8
+ `[&_.q-field\\_\\_native]:(break-all overflow-hidden) [&_.q-field\\_\\_input]:(!opacity-0) [&_.q-field\\_\\_input::-webkit-file-upload-button]:(cursor-pointer)`
9
+ ],
10
+
11
+ [
12
+ /^q-file__filler$/,
13
+ ([, c], { theme }) => `invisible w-full border-none p-0`
14
+ ],
15
+
16
+ [
17
+ /^q-file__dnd$/,
18
+ ([, c], { theme }) =>
19
+ `outline-[1px_dashed_currentColor] outline-offset-[-4px]`
20
+ ]
21
+ ]
22
+
23
+ export { shortcuts }
@@ -0,0 +1,19 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-footer--hidden$/, ([, c], { theme }) => `translate-y-[110%]`],
6
+
7
+ [
8
+ /^q-footer--bordered$/,
9
+ ([, c], { theme }) => `[border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
10
+ ],
11
+
12
+ [
13
+ /^q-footer$/,
14
+ ([, c], { theme }) =>
15
+ `[&_.q-layout\\_\\_shadow]:(-top-[10px]) [&_.q-layout\\_\\_shadow:after]:(top-[10px]) relative z-2000`
16
+ ]
17
+ ]
18
+
19
+ export { shortcuts }
@@ -0,0 +1,8 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-form$/, ([, c], { theme }) => `relative`]
6
+ ]
7
+
8
+ export { shortcuts }
@@ -0,0 +1,20 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-header--hidden$/, ([, c], { theme }) => `-translate-y-[110%]`],
6
+
7
+ [
8
+ /^q-header--bordered$/,
9
+ ([, c], { theme }) => `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
10
+ ],
11
+
12
+ [
13
+ /^q-header$/,
14
+ ([, c], { theme }) =>
15
+ `z-2000 [&_.q-layout\\_\\_shadow]:(-bottom-10px) [&_.q-layout\\_\\_shadow:after]:(bottom-10px)`
16
+ // relative
17
+ ]
18
+ ]
19
+
20
+ export { shortcuts }
@@ -0,0 +1,30 @@
1
+ import type { UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-icon$/,
7
+ (
8
+ [, c],
9
+ { theme }
10
+ ) => `lh-1 w-1em h-1em shrink-0 tracking-normal normal-case whitespace-nowrap break-normal
11
+ text-center relative box-content fill-current
12
+ [&>svg]:(h-full w-full)
13
+ [&>img]:(h-full w-full)
14
+ [&:before]:(w-full h-full flex! items-center justify-center)
15
+ [&:after]:(w-full h-full flex! items-center justify-center)
16
+ select-none cursor-inherit text-inherit inline-flex items-center justify-center v-middle
17
+ `
18
+ ],
19
+ // [
20
+ // /^(q-icon:before|q-icon:after)$/,
21
+ // ([, c], { theme }) => `w-full h-full flex! items-center justify-center`
22
+ // ],
23
+ [
24
+ /^(material-icons|material-icons-outlined|material-icons-round|material-icons-sharp|material-symbols-outlined|material-symbols-rounded|material-symbols-sharp)$/,
25
+ ([, c], { theme }) =>
26
+ `select-none cursor-inherit text-inherit inline-flex items-center justify-center v-middle`
27
+ ]
28
+ ]
29
+
30
+ export { shortcuts }
@@ -0,0 +1,43 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-img$/,
7
+ ([, c], { theme }) =>
8
+ `relative w-full inline-block align-middle overflow-hidden`
9
+ ],
10
+
11
+ [/^q-img__loading$/, ([, c], { theme }) => `[&_.q-spinner]:(text-[50px])`],
12
+
13
+ [
14
+ /^q-img__container$/,
15
+ ([, c], { theme }) => `[border-radius:inherit] text-[0]`
16
+ ],
17
+
18
+ [
19
+ /^q-img__image$/,
20
+ ([, c], { theme }) => `[border-radius:inherit] w-full h-full opacity-0`
21
+ ],
22
+
23
+ [
24
+ /^q-img__image--with-transition$/,
25
+ ([, c], { theme }) => `[transition:opacity_0.28s_ease-in]`
26
+ ],
27
+
28
+ [/^q-img__image--loaded$/, ([, c], { theme }) => `opacity-100`],
29
+
30
+ [
31
+ /^q-img__content$/,
32
+ ([, c], { theme }) =>
33
+ `[border-radius:inherit] pointer-events-none [&_>_div]:(absolute p-[16px] text-[#fff] bg-[rgba(0,_0,_0,_0.47)])`
34
+ ],
35
+
36
+ [
37
+ /^q-img--no-menu$/,
38
+ ([, c], { theme }) =>
39
+ `[&_.q-img\\_\\_image]:(pointer-events-none) [&_.q-img\\_\\_placeholder]:(pointer-events-none)`
40
+ ]
41
+ ]
42
+
43
+ export { shortcuts }
@@ -0,0 +1,16 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-inner-loading$/,
7
+ ([, c], { theme }) =>
8
+ `bg-[rgba(255,_255,_255,_0.6)] [border-radius:inherit]`
9
+ ],
10
+
11
+ [/^q-inner-loading--dark$/, ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.4)]`],
12
+
13
+ [/^q-inner-loading__label$/, ([, c], { theme }) => `mt-[8px]`]
14
+ ]
15
+
16
+ export { shortcuts }