vitrify 0.16.4 → 0.17.1

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 +3 -3
  2. package/dist/index.js +31 -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 +1282 -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 +17 -10
  193. package/src/node/frameworks/vue/prerender.ts +3 -3
  194. package/src/node/frameworks/vue/server.ts +3 -3
  195. package/src/node/index.ts +37 -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 +1482 -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 +2 -0
@@ -0,0 +1,195 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-time$/,
7
+ ([, c], { theme }) =>
8
+ `[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`
9
+ ],
10
+
11
+ [
12
+ /^q-time--bordered$/,
13
+ ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
14
+ ],
15
+
16
+ [
17
+ /^q-time__header$/,
18
+ ([, c], { theme }) =>
19
+ `[border-top-left-radius:inherit] text-[#fff] p-[16px] font-light bg-primary`
20
+ ],
21
+
22
+ [/^q-time__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
23
+
24
+ [
25
+ /^q-time__header-label$/,
26
+ ([, c], { theme }) =>
27
+ `text-[28px] leading-none tracking-[-0.00833em] [&_>_div_+_div]:(ml-[4px])`
28
+ ],
29
+
30
+ [
31
+ /^q-time__link$/,
32
+ ([, c], { theme }) =>
33
+ `opacity-[0.56] outline-0 [transition:opacity_0.3s_ease-out]`
34
+ ],
35
+
36
+ [/^q-time__link--active$/, ([, c], { theme }) => `opacity-100`],
37
+
38
+ [/^q-time__link:hover$/, ([, c], { theme }) => `hover:opacity-100`],
39
+
40
+ [/^q-time__link:focus$/, ([, c], { theme }) => `focus:opacity-100`],
41
+
42
+ [
43
+ /^q-time__header-ampm$/,
44
+ ([, c], { theme }) => `text-[16px] tracking-widest`
45
+ ],
46
+
47
+ [/^q-time__content$/, ([, c], { theme }) => `p-[16px]`],
48
+
49
+ [
50
+ /^q-time__content:before$/,
51
+ ([, c], { theme }) => `content-empty block pb-[100%]`
52
+ ],
53
+
54
+ [/^q-time__container-parent$/, ([, c], { theme }) => `p-[16px]`],
55
+
56
+ [
57
+ /^q-time__container-child$/,
58
+ ([, c], { theme }) => `rounded-[50%] bg-[rgba(0,_0,_0,_0.12)]`
59
+ ],
60
+
61
+ [
62
+ /^q-time__clock$/,
63
+ ([, c], { theme }) =>
64
+ `p-[24px] w-full h-full max-w-full max-h-full text-[14px]`
65
+ ],
66
+
67
+ [/^q-time__clock-circle$/, ([, c], { theme }) => `relative`],
68
+
69
+ [
70
+ /^q-time__clock-center$/,
71
+ ([, c], { theme }) =>
72
+ `h-[6px] w-[6px] m-auto rounded-[50%] min-h-[0] bg-current`
73
+ ],
74
+
75
+ [
76
+ /^q-time__clock-pointer$/,
77
+ ([, c], { theme }) =>
78
+ `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`
79
+ ],
80
+
81
+ [
82
+ /^q-time__clock-pointer:before$/,
83
+ ([, c], { theme }) =>
84
+ `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -bottom-[4px] w-[8px] h-[8px]`
85
+ ],
86
+
87
+ [
88
+ /^q-time__clock-pointer:after$/,
89
+ ([, c], { theme }) =>
90
+ `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -top-[3px] h-[6px] w-[6px]`
91
+ ],
92
+
93
+ [
94
+ /^q-time__clock-position$/,
95
+ ([, c], { theme }) =>
96
+ `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%]`
97
+ ],
98
+
99
+ [/^q-time__clock-position--disable$/, ([, c], { theme }) => `opacity-40`],
100
+
101
+ [
102
+ /^q-time__clock-position--active$/,
103
+ ([, c], { theme }) => `text-[#fff] bg-primary`
104
+ ],
105
+
106
+ [/^q-time__clock-pos-0$/, ([, c], { theme }) => `top-[0%] left-2/4`],
107
+
108
+ [/^q-time__clock-pos-1$/, ([, c], { theme }) => `top-[6.7%] left-3/4`],
109
+
110
+ [/^q-time__clock-pos-2$/, ([, c], { theme }) => `top-1/4 left-[93.3%]`],
111
+
112
+ [/^q-time__clock-pos-3$/, ([, c], { theme }) => `top-2/4 left-full`],
113
+
114
+ [/^q-time__clock-pos-4$/, ([, c], { theme }) => `top-3/4 left-[93.3%]`],
115
+
116
+ [/^q-time__clock-pos-5$/, ([, c], { theme }) => `top-[93.3%] left-3/4`],
117
+
118
+ [/^q-time__clock-pos-6$/, ([, c], { theme }) => `top-full left-2/4`],
119
+
120
+ [/^q-time__clock-pos-7$/, ([, c], { theme }) => `top-[93.3%] left-1/4`],
121
+
122
+ [/^q-time__clock-pos-8$/, ([, c], { theme }) => `top-3/4 left-[6.7%]`],
123
+
124
+ [/^q-time__clock-pos-9$/, ([, c], { theme }) => `top-2/4 left-[0%]`],
125
+
126
+ [/^q-time__clock-pos-10$/, ([, c], { theme }) => `top-1/4 left-[6.7%]`],
127
+
128
+ [/^q-time__clock-pos-11$/, ([, c], { theme }) => `top-[6.7%] left-1/4`],
129
+
130
+ [/^q-time__clock-pos-12$/, ([, c], { theme }) => `top-[15%] left-2/4`],
131
+
132
+ [/^q-time__clock-pos-13$/, ([, c], { theme }) => `top-[19.69%] left-[67.5%]`],
133
+
134
+ [/^q-time__clock-pos-14$/, ([, c], { theme }) => `top-[32.5%] left-[80.31%]`],
135
+
136
+ [/^q-time__clock-pos-15$/, ([, c], { theme }) => `top-2/4 left-[85%]`],
137
+
138
+ [/^q-time__clock-pos-16$/, ([, c], { theme }) => `top-[67.5%] left-[80.31%]`],
139
+
140
+ [/^q-time__clock-pos-17$/, ([, c], { theme }) => `top-[80.31%] left-[67.5%]`],
141
+
142
+ [/^q-time__clock-pos-18$/, ([, c], { theme }) => `top-[85%] left-2/4`],
143
+
144
+ [/^q-time__clock-pos-19$/, ([, c], { theme }) => `top-[80.31%] left-[32.5%]`],
145
+
146
+ [/^q-time__clock-pos-20$/, ([, c], { theme }) => `top-[67.5%] left-[19.69%]`],
147
+
148
+ [/^q-time__clock-pos-21$/, ([, c], { theme }) => `top-2/4 left-[15%]`],
149
+
150
+ [/^q-time__clock-pos-22$/, ([, c], { theme }) => `top-[32.5%] left-[19.69%]`],
151
+
152
+ [/^q-time__clock-pos-23$/, ([, c], { theme }) => `top-[19.69%] left-[32.5%]`],
153
+
154
+ [
155
+ /^q-time__now-button$/,
156
+ ([, c], { theme }) => `text-[#fff] top-[12px] right-[12px] bg-primary`
157
+ ],
158
+
159
+ [
160
+ /^q-time.disabled$/,
161
+ ([, c], { theme }) =>
162
+ `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
163
+ ],
164
+
165
+ [
166
+ /^q-time--readonly$/,
167
+ ([, c], { theme }) =>
168
+ `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
169
+ ],
170
+
171
+ [
172
+ /^q-time--portrait$/,
173
+ ([, c], { theme }) =>
174
+ `inline-flex flex-col [&_.q-time\\_\\_header]:([border-top-right-radius:inherit] min-h-[86px]) [&_.q-time\\_\\_header-ampm]:(ml-[12px])`
175
+ ],
176
+
177
+ [
178
+ /^q-time--portrait.q-time--bordered$/,
179
+ ([, c], { theme }) => `[&_.q-time\\_\\_content]:(mx-[0] my-px)`
180
+ ],
181
+
182
+ [
183
+ /^q-time--landscape$/,
184
+ ([, c], { theme }) =>
185
+ `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])`
186
+ ],
187
+
188
+ [
189
+ /^q-time--dark$/,
190
+ ([, c], { theme }) =>
191
+ `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)]`
192
+ ]
193
+ ]
194
+
195
+ export { shortcuts }
@@ -0,0 +1,122 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-timeline$/,
7
+ ([, c], { theme }) =>
8
+ `p-0 w-full [list-style:none] [&_h6]:([line-height:inherit])`
9
+ ],
10
+
11
+ [
12
+ /^q-timeline--dark$/,
13
+ ([, c], { theme }) =>
14
+ `text-[#fff] [&_.q-timeline\\_\\_subtitle]:(opacity-70)`
15
+ ],
16
+
17
+ [/^q-timeline__content$/, ([, c], { theme }) => `pb-[24px]`],
18
+
19
+ [/^q-timeline__title$/, ([, c], { theme }) => `mt-0 mb-[16px]`],
20
+
21
+ [
22
+ /^q-timeline__subtitle$/,
23
+ ([, c], { theme }) =>
24
+ `text-[12px] mb-[8px] opacity-60 uppercase tracking-[1px] font-bold`
25
+ ],
26
+
27
+ [
28
+ /^q-timeline__dot$/,
29
+ ([, c], { theme }) =>
30
+ `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])`
31
+ ],
32
+
33
+ [
34
+ /^q-timeline__dot:before$/,
35
+ ([, c], { theme }) =>
36
+ `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]`
37
+ ],
38
+
39
+ [
40
+ /^q-timeline__dot:after$/,
41
+ ([, c], { theme }) =>
42
+ `content-empty bg-current block absolute w-[3px] opacity-40 top-[24px] bottom-0 left-[6px]`
43
+ ],
44
+
45
+ [
46
+ /^q-timeline__dot-img$/,
47
+ ([, c], { theme }) =>
48
+ `absolute top-[4px] left-0 right-0 h-[31px] w-[31px] bg-current rounded-[50%]`
49
+ ],
50
+
51
+ [/^q-timeline__heading$/, ([, c], { theme }) => `relative`],
52
+
53
+ [
54
+ /^q-timeline__heading:first-child$/,
55
+ ([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pt-0)`
56
+ ],
57
+
58
+ [
59
+ /^q-timeline__heading:last-child$/,
60
+ ([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pb-0)`
61
+ ],
62
+
63
+ [/^q-timeline__heading-title$/, ([, c], { theme }) => `px-[0] py-[32px] m-0`],
64
+
65
+ [/^q-timeline__entry$/, ([, c], { theme }) => `relative leading-[22px]`],
66
+
67
+ [
68
+ /^q-timeline__entry:last-child$/,
69
+ ([, c], { theme }) =>
70
+ `!pb-0 [&_.q-timeline\\_\\_dot:after]:(content-[none])`
71
+ ],
72
+
73
+ [
74
+ /^q-timeline__entry--icon$/,
75
+ ([, c], { theme }) =>
76
+ `[&_.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])`
77
+ ],
78
+
79
+ [
80
+ /^q-timeline--dense--right$/,
81
+ ([, c], { theme }) =>
82
+ `[&_.q-timeline\\_\\_entry]:(pl-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px]) [&_.q-timeline\\_\\_dot]:(left-0)`
83
+ ],
84
+
85
+ [
86
+ /^q-timeline--dense--left$/,
87
+ ([, c], { theme }) =>
88
+ `[&_.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)`
89
+ ],
90
+
91
+ [
92
+ /^q-timeline--comfortable$/,
93
+ ([, c], { theme }) =>
94
+ `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])`
95
+ ],
96
+
97
+ [
98
+ /^q-timeline--comfortable--right$/,
99
+ ([, c], { theme }) =>
100
+ `[&__.q-timeline\\_\\_heading__.q-timeline\\_\\_heading-title]:(-ml-[50px])`
101
+ ],
102
+
103
+ [
104
+ /^q-timeline--comfortable--right$/,
105
+ ([, c], { theme }) =>
106
+ `[&_.q-timeline\\_\\_subtitle]:(text-right pr-[30px]) [&_.q-timeline\\_\\_content]:(pl-[30px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px])`
107
+ ],
108
+
109
+ [
110
+ /^q-timeline--comfortable--left$/,
111
+ ([, c], { theme }) =>
112
+ `[&_.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])`
113
+ ],
114
+
115
+ [
116
+ /^q-timeline--loose$/,
117
+ ([, c], { theme }) =>
118
+ `[&_.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)`
119
+ ]
120
+ ]
121
+
122
+ export { shortcuts }
@@ -0,0 +1,89 @@
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
+ body.desktop .q-toggle:not(.disabled) .q-toggle__thumb:before {
8
+ content: "";
9
+ position: absolute;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
14
+ border-radius: 50%;
15
+ background: currentColor;
16
+ opacity: 0.12;
17
+ transform: scale3d(0, 0, 1);
18
+ transition: transform 0.22s cubic-bezier(0, 0, 0.2, 1);
19
+ }
20
+ body.desktop .q-toggle:not(.disabled):focus .q-toggle__thumb:before, body.desktop .q-toggle:not(.disabled):hover .q-toggle__thumb:before {
21
+ transform: scale3d(2, 2, 1);
22
+ }
23
+ body.desktop .q-toggle--dense:not(.disabled):focus .q-toggle__thumb:before, body.desktop .q-toggle--dense:not(.disabled):hover .q-toggle__thumb:before {
24
+ transform: scale3d(1.5, 1.5, 1);
25
+ }
26
+ `
27
+ }
28
+ ]
29
+ const shortcuts: UserShortcuts<QuasarTheme> = [
30
+ [/^q-toggle$/, ([, c], { theme }) => `align-middle`],
31
+
32
+ [/^q-toggle__native$/, ([, c], { theme }) => `w-px h-px`],
33
+
34
+ [
35
+ /^q-toggle__track$/,
36
+ ([, c], { theme }) =>
37
+ `h-[0.35em] rounded-[0.175em] opacity-[0.38] bg-current`
38
+ ],
39
+
40
+ [
41
+ /^q-toggle__thumb$/,
42
+ ([, c], { theme }) =>
43
+ `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)`
44
+ ],
45
+
46
+ [
47
+ /^q-toggle__thumb:after$/,
48
+ ([, c], { theme }) =>
49
+ `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)]`
50
+ ],
51
+
52
+ [
53
+ /^q-toggle__inner$/,
54
+ ([, c], { theme }) =>
55
+ `text-[40px] w-[1.4em] min-w-[1.4em] h-[1em] px-[0.3em] py-[0.325em]`
56
+ ],
57
+
58
+ [
59
+ /^q-toggle__inner--indet$/,
60
+ ([, c], { theme }) => `[&_.q-toggle\\_\\_thumb]:(left-[0.45em])`
61
+ ],
62
+
63
+ [
64
+ /^q-toggle__inner--truthy$/,
65
+ ([, c], { theme }) =>
66
+ ` [&_.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`
67
+ ],
68
+
69
+ [/^q-toggle.disabled$/, ([, c], { theme }) => `!opacity-75`],
70
+
71
+ [
72
+ /^q-toggle--dark$/,
73
+ ([, c], { theme }) =>
74
+ `[&_.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])`
75
+ ],
76
+
77
+ [
78
+ /^q-toggle--dense$/,
79
+ ([, c], { theme }) =>
80
+ `[&_.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])`
81
+ ],
82
+
83
+ [
84
+ /^q-toggle--dense.reverse$/,
85
+ ([, c], { theme }) => `[&_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
86
+ ]
87
+ ]
88
+
89
+ export { preflights, shortcuts }
@@ -0,0 +1,22 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-toolbar$/,
7
+ ([, c], { theme }) =>
8
+ `relative px-[12px] py-[0] min-h-[50px] [&_.q-avatar]:(text-[38px])
9
+ `
10
+ // w-full
11
+ ],
12
+
13
+ [/^q-toolbar--inset$/, ([, c], { theme }) => `pl-[58px]`],
14
+
15
+ [
16
+ /^q-toolbar__title$/,
17
+ ([, c], { theme }) =>
18
+ `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)`
19
+ ]
20
+ ]
21
+
22
+ export { shortcuts }
@@ -0,0 +1,18 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-tooltip--style$/,
7
+ ([, c], { theme }) =>
8
+ `text-[10px] text-[#fafafa] bg-[#757575] rounded-[4px] normal-case font-normal`
9
+ ],
10
+
11
+ [
12
+ /^q-tooltip$/,
13
+ ([, c], { theme }) =>
14
+ `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)`
15
+ ]
16
+ ]
17
+
18
+ export { shortcuts }
@@ -0,0 +1,124 @@
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
+ [dir=rtl] .q-tree__arrow {
8
+ transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
9
+ }
10
+ [dir=rtl] .q-tree__arrow--rotate {
11
+ transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
12
+ }
13
+ `
14
+ }
15
+ ]
16
+ const shortcuts: UserShortcuts<QuasarTheme> = [
17
+ [
18
+ /^q-tree$/,
19
+ ([, c], { theme }) =>
20
+ `relative text-[#9e9e9e] [&_>_.q-tree\\_\\_node]:(p-0) [&_>_.q-tree\\_\\_node:after]:(hidden) [&_>_.q-tree\\_\\_node_>_.q-tree\\_\\_node-header:before]:(hidden) [&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-[24px])`
21
+ ],
22
+
23
+ [/^q-tree__node$/, ([, c], { theme }) => `pt-[0] pr-[0] pb-[3px] pl-[22px]`],
24
+
25
+ [
26
+ /^q-tree__node:after$/,
27
+ ([, c], { theme }) =>
28
+ `content-empty absolute -top-[3px] bottom-0 w-[2px] right-auto -left-[13px] [border-left:1px_solid_currentColor]`
29
+ ],
30
+
31
+ [/^q-tree__node:last-child:after$/, ([, c], { theme }) => `hidden`],
32
+
33
+ [
34
+ /^q-tree__node--disabled$/,
35
+ ([, c], { theme }) =>
36
+ `pointer-events-none [&_.disabled]:(!opacity-100) [&_>_div]:(!opacity-60) [&_>_i]:(!opacity-60) [&_>_.disabled]:(!opacity-60) [&_>_div_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100)`
37
+ ],
38
+
39
+ [
40
+ /^q-tree__node-header:before$/,
41
+ ([, c], { theme }) =>
42
+ `content-empty absolute -top-[3px] bottom-2/4 w-[31px] -left-[35px] [border-left:1px_solid_currentColor] [border-bottom:1px_solid_currentColor]`
43
+ ],
44
+
45
+ [/^q-tree__children$/, ([, c], { theme }) => `pl-[25px]`],
46
+
47
+ [
48
+ /^q-tree__node-body$/,
49
+ ([, c], { theme }) => `pt-[5px] pr-[0] pb-[8px] pl-[5px]`
50
+ ],
51
+
52
+ [
53
+ /^q-tree__node--parent$/,
54
+ ([, c], { theme }) =>
55
+ `pl-[2px] [&_>_.q-tree\\_\\_node-header:before]:(w-[15px] -left-[15px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body]:(pt-[5px] pr-[0] pb-[8px] pl-[27px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body:after]:(content-empty absolute top-0 w-[2px] h-full right-auto left-[12px] [border-left:1px_solid_currentColor] bottom-[50px])`
56
+ ],
57
+
58
+ [/^q-tree__node--link$/, ([, c], { theme }) => `cursor-pointer`],
59
+
60
+ [
61
+ /^q-tree__node-header$/,
62
+ ([, c], { theme }) => `p-[4px] mt-[3px] rounded-[4px] outline-0`
63
+ ],
64
+
65
+ [
66
+ /^q-tree__node-header-content$/,
67
+ ([, c], { theme }) =>
68
+ `text-[#000] [transition:color_0.3s] [&_.q-icon]:(text-[21px]) [&_.q-avatar]:(text-[28px] rounded-[50%] w-[28px] h-[28px])`
69
+ ],
70
+
71
+ [
72
+ /^q-tree__node--selected$/,
73
+ ([, c], { theme }) =>
74
+ `[&_.q-tree\\_\\_node-header-content]:(text-[#9e9e9e])`
75
+ ],
76
+
77
+ [/^q-tree__icon$/, ([, c], { theme }) => `text-[21px]`],
78
+
79
+ [/^q-tree__img$/, ([, c], { theme }) => `h-[42px] rounded-[2px]`],
80
+
81
+ [
82
+ /^q-tree__avatar$/,
83
+ ([, c], { theme }) => `text-[28px] rounded-[50%] w-[28px] h-[28px]`
84
+ ],
85
+
86
+ [
87
+ /^q-tree__arrow$/,
88
+ ([, c], { theme }) => `text-[16px] mr-[4px] [transition:transform_0.3s]`
89
+ ],
90
+
91
+ [/^q-tree__spinner$/, ([, c], { theme }) => `text-[16px] mr-[4px]`],
92
+
93
+ [
94
+ /^q-tree__arrow--rotate$/,
95
+ ([, c], { theme }) => `[transform:rotate3d(0,_0,_1,_90deg)]`
96
+ ],
97
+
98
+ [/^q-tree__tickbox$/, ([, c], { theme }) => `mr-[4px]`],
99
+
100
+ [
101
+ /^q-tree--dark$/,
102
+ ([, c], { theme }) => `[&_.q-tree\\_\\_node-header-content]:(text-[#fff])`
103
+ ],
104
+
105
+ [
106
+ /^q-tree--no-connectors$/,
107
+ ([, c], { theme }) =>
108
+ `[&_.q-tree\\_\\_node:after]:(!hidden) [&_.q-tree\\_\\_node-header:before]:(!hidden) [&_.q-tree\\_\\_node-body:after]:(!hidden)`
109
+ ],
110
+
111
+ [
112
+ /^q-tree--dense$/,
113
+ ([, c], { theme }) =>
114
+ `[&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-px) [&_.q-tree\\_\\_arrow]:(mr-px) [&_.q-tree\\_\\_spinner]:(mr-px) [&_.q-tree\\_\\_img]:(h-[32px]) [&_.q-tree\\_\\_tickbox]:(mr-[3px]) [&_.q-tree\\_\\_node]:(p-0) [&_.q-tree\\_\\_node:after]:(top-0 -left-[8px]) [&_.q-tree\\_\\_node-header]:(mt-0 p-px) [&_.q-tree\\_\\_node-header:before]:(top-0 -left-[8px] w-[8px]) [&_.q-tree\\_\\_node--child]:(pl-[17px]) [&_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header:before]:(-left-[25px] w-[21px]) [&_.q-tree\\_\\_node-body]:(pt-[0] px-[0] pb-[2px]) [&_.q-tree\\_\\_children]:(pl-[16px])`
115
+ ],
116
+
117
+ [
118
+ /^q-tree--dense$/,
119
+ ([, c], { theme }) =>
120
+ `[&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body]:(pt-[0] pr-[0] pb-[2px] pl-[20px]) [&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body:after]:(left-[8px])`
121
+ ]
122
+ ]
123
+
124
+ export { preflights, shortcuts }
@@ -0,0 +1,107 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-uploader$/,
7
+ ([, c], { theme }) =>
8
+ `[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] align-top bg-[#fff] relative w-[320px] max-h-[320px]`
9
+ ],
10
+
11
+ [
12
+ /^q-uploader--bordered$/,
13
+ ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
14
+ ],
15
+
16
+ [
17
+ /^q-uploader__input$/,
18
+ ([, c], { theme }) => `opacity-0 w-full h-full !cursor-pointer`
19
+ ],
20
+
21
+ [
22
+ /^q-uploader__input::-webkit-file-upload-button$/,
23
+ ([, c], { theme }) => `cursor-pointer`
24
+ ],
25
+
26
+ [
27
+ /^q-uploader__file:before$/,
28
+ ([, c], { theme }) =>
29
+ `content-empty [border-top-left-radius:inherit] [border-top-right-radius:inherit] absolute top-0 right-0 bottom-0 left-0 pointer-events-none bg-current opacity-[0.04]`
30
+ ],
31
+
32
+ [
33
+ /^q-uploader__header$/,
34
+ ([, c], { theme }) =>
35
+ `relative [border-top-left-radius:inherit] [border-top-right-radius:inherit] text-[#fff] w-full bg-primary`
36
+ ],
37
+
38
+ [/^q-uploader__spinner$/, ([, c], { theme }) => `text-[24px] mr-[4px]`],
39
+
40
+ [/^q-uploader__header-content$/, ([, c], { theme }) => `p-[8px]`],
41
+
42
+ [
43
+ /^q-uploader__dnd$/,
44
+ ([, c], { theme }) =>
45
+ `outline-[1px_dashed_currentColor] outline-offset-[-4px] bg-[rgba(255,_255,_255,_0.6)]`
46
+ ],
47
+
48
+ [
49
+ /^q-uploader__overlay$/,
50
+ ([, c], { theme }) =>
51
+ `text-[36px] text-[#000] bg-[rgba(255,_255,_255,_0.6)]`
52
+ ],
53
+
54
+ [
55
+ /^q-uploader__list$/,
56
+ ([, c], { theme }) =>
57
+ `relative [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit] p-[8px] min-h-[60px] flex-auto`
58
+ ],
59
+
60
+ [
61
+ /^q-uploader__file$/,
62
+ ([, c], { theme }) =>
63
+ `rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[0] border-[1px] border-solid border-[rgba(0,0,0,0.12)] [&_.q-circular-progress]:(text-[24px]) [&_+_.q-uploader\\_\\_file]:(mt-[8px])`
64
+ ],
65
+
66
+ [
67
+ /^q-uploader__file--img$/,
68
+ ([, c], { theme }) =>
69
+ `text-[#fff] h-[200px] min-w-[200px] bg-[50%_50%] bg-no-repeat [&_.q-circular-progress]:(text-[#fff]) [&_.q-uploader\\_\\_file-header]:(pb-[24px] bg-[linear-gradient(_to_bottom,_rgba(0,_0,_0,_0.7)_20%,_rgba(255,_255,_255,_0)_)])`
70
+ ],
71
+
72
+ [/^q-uploader__file--img:before$/, ([, c], { theme }) => `content-[none]`],
73
+
74
+ [
75
+ /^q-uploader__file-header$/,
76
+ ([, c], { theme }) =>
77
+ `relative px-[8px] py-[4px] [border-top-left-radius:inherit] [border-top-right-radius:inherit]`
78
+ ],
79
+
80
+ [/^q-uploader__file-header-content$/, ([, c], { theme }) => `pr-[8px]`],
81
+
82
+ [/^q-uploader__file-status$/, ([, c], { theme }) => `text-[24px] mr-[4px]`],
83
+
84
+ [
85
+ /^q-uploader__title$/,
86
+ ([, c], { theme }) => `text-[14px] font-bold leading-[1.285714]`
87
+ ],
88
+
89
+ [
90
+ /^q-uploader__subtitle$/,
91
+ ([, c], { theme }) => `text-[12px] leading-normal`
92
+ ],
93
+
94
+ [
95
+ /^q-uploader--disable$/,
96
+ ([, c], { theme }) =>
97
+ `[&_.q-uploader\\_\\_header]:(pointer-events-none) [&_.q-uploader\\_\\_list]:(pointer-events-none)`
98
+ ],
99
+
100
+ [
101
+ /^q-uploader--dark$/,
102
+ ([, c], { theme }) =>
103
+ `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)] [&_.q-uploader\\_\\_file]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-uploader\\_\\_dnd]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(text-[#fff])`
104
+ ]
105
+ ]
106
+
107
+ export { shortcuts }