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,20 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-avatar$/,
7
+ ([, c], { theme }) =>
8
+ `relative align-middle inline-block rounded-[50%] text-[48px] h-[1em] w-[1em] [&_img:not(.q-icon):not(.q-img\\_\\_image)]:([border-radius:inherit] [height:inherit] [width:inherit])`
9
+ ],
10
+
11
+ [
12
+ /^q-avatar__content$/,
13
+ ([, c], { theme }) =>
14
+ `text-[0.5em] leading-[0.5em] [border-radius:inherit] [height:inherit] [width:inherit]`
15
+ ],
16
+
17
+ [/^q-avatar--square$/, ([, c], { theme }) => `rounded-none`]
18
+ ]
19
+
20
+ export { shortcuts }
@@ -0,0 +1,34 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-badge$/,
7
+ ([, c], { theme }) =>
8
+ `text-[#fff] bg-primary px-[6px] py-[2px] rounded-[4px] text-[12px] leading-none min-h-[12px] font-normal align-baseline`
9
+ ],
10
+
11
+ [/^q-badge--single-line$/, ([, c], { theme }) => `whitespace-nowrap`],
12
+
13
+ [
14
+ /^q-badge--multi-line$/,
15
+ ([, c], { theme }) => `break-all [word-wrap:break-word]`
16
+ ],
17
+
18
+ [
19
+ /^q-badge--floating$/,
20
+ ([, c], { theme }) => `absolute -top-[4px] -right-[3px] [cursor:inherit]`
21
+ ],
22
+
23
+ [/^q-badge--transparent$/, ([, c], { theme }) => `opacity-80`],
24
+
25
+ [
26
+ /^q-badge--outline$/,
27
+ ([, c], { theme }) =>
28
+ `bg-transparent border-[1px] border-solid border-[currentColor]`
29
+ ],
30
+
31
+ [/^q-badge--rounded$/, ([, c], { theme }) => `rounded-[1em]`]
32
+ ]
33
+
34
+ export { shortcuts }
@@ -0,0 +1,32 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-banner$/, ([, c], { theme }) => `min-h-54px px-16px py-8px bg-white`],
6
+ [/^q-banner--top-padding$/, ([, c], { theme }) => ``],
7
+ [/^q-banner--top-padding$/, ([, c], { theme }) => `pt-14px`],
8
+ [
9
+ /^q-banner__avatar$/,
10
+ ([, c], { theme }) =>
11
+ `min-w-1px! [&.q-avatar]:(text-46px)
12
+ [&.q-icon]:(text-40px)
13
+ [&:not(:empty)+.q-banner\\_\\_content]:(pl-16px)`
14
+ ],
15
+ [
16
+ /^q-banner__actions$/,
17
+ ([, c], { theme }) =>
18
+ `[&.col-auto]:(pl-16px)
19
+ [&.col-all_.q.btn-item]:(mt-4px mb-0 ml-4px mr-0)`
20
+ ],
21
+
22
+ [
23
+ /^q-banner--dense$/,
24
+ ([, c], { theme }) =>
25
+ `min-h-32px p-8px
26
+ [&_.q-banner\\_\\_avatar>.q-avatar,.q-banner--dense_.q-banner\\_\\_avatar>.q-icon]:(text-28px)
27
+ [&_.q-banner\\_\\_avatar:not(:empty)+.q-banner\\_\\_content]:(pl-8px)
28
+ [&_.q-banner\\_\\_actions.col-auto]:(pl-8px)`
29
+ ]
30
+ ]
31
+
32
+ export { shortcuts }
@@ -0,0 +1,30 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-bar$/,
7
+ ([, c], { theme }) => `bg-black op-20
8
+ [&>.q-icon]:(ml-2px)
9
+ [&>div]:(ml-8px)
10
+ [&>div+.q-icon]:(ml-8px)
11
+ [&>.q-btn]:(ml-2px)
12
+ [&>.q-icon:first-child]:(ml-0)
13
+ [&>.q-btn:first-child]:(ml-0)
14
+ [&>div:first-child]:(ml-0)`
15
+ ],
16
+ [
17
+ /^q-bar--standard$/,
18
+ ([, c], { theme }) => `px-12px py-0 h-32px text-18px
19
+ [&>div]:(text-16px)
20
+ [&_.q-btn]:(text-11px)`
21
+ ],
22
+ [
23
+ /^q-bar--dense$/,
24
+ ([, c], { theme }) => `px-8px py-0 h-24px text-14px
25
+ [&_.q-btn]:(text-8px)`
26
+ ],
27
+ [/^q-bar--dark$/, ([, c], { theme }) => `bg-white op-15`]
28
+ ]
29
+
30
+ 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 preflights: Preflight<QuasarTheme>[] = [
5
+ {
6
+ getCSS: ({ theme }) => `[dir=rtl] .q-breadcrumbs__separator .q-icon {
7
+ transform: scaleX(-1) /* rtl:ignore */;
8
+ };`
9
+ }
10
+ ]
11
+
12
+ const shortcuts: UserShortcuts<QuasarTheme> = [
13
+ [/^q-breadcrumbs__el$/, ([, c], { theme }) => `text-inherit`],
14
+ [/^q-breadcrumbs__el-icon$/, ([, c], { theme }) => `text-125%`],
15
+ [/^q-breadcrumbs__el-icon--with-label$/, ([, c], { theme }) => `mr-8px`]
16
+ ]
17
+
18
+ export { preflights, shortcuts }
@@ -0,0 +1,93 @@
1
+ import type { UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-btn$/,
7
+ ([, c], { theme }) =>
8
+ `items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [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)])`
9
+ // inline-flex flex-col
10
+ ],
11
+
12
+ [
13
+ /^q-btn--actionable$/,
14
+ ([, c], { theme }) =>
15
+ `cursor-pointer [&.q-btn--standard:before]:([transition:box-shadow_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--standard:active:before]:([box-shadow:0_3px_5px_-1px_rgba(0,_0,_0,_0.2),_0_5px_8px_rgba(0,_0,_0,_0.14),_0_1px_14px_rgba(0,_0,_0,_0.12)]) [&.q-btn--standard.q-btn--active:before]:([box-shadow:0_3px_5px_-1px_rgba(0,_0,_0,_0.2),_0_5px_8px_rgba(0,_0,_0,_0.14),_0_1px_14px_rgba(0,_0,_0,_0.12)])`
16
+ ],
17
+
18
+ [/^q-btn--no-uppercase$/, ([, c], { theme }) => `normal-case`],
19
+
20
+ [/^q-btn--rectangle$/, ([, c], { theme }) => `rounded-[3px]`],
21
+
22
+ [
23
+ /^q-btn--outline$/,
24
+ ([, c], { theme }) =>
25
+ `!bg-transparent [&:before]:(border-[1px] border-solid border-[currentColor]) [&:before]:([box-shadow:none]) [&_.q-btn\\_\\_progress-indicator]:(opacity-20 bg-current)`
26
+ ],
27
+
28
+ [
29
+ /^q-btn--push$/,
30
+ ([, c], { theme }) =>
31
+ `rounded-[7px] [&:before]:([border-bottom:3px_solid_rgba(0,_0,_0,_0.15)]) [&.q-btn--actionable]:([transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--actionable:before]:([transition:border-width_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--actionable:active]:(translate-y-[2px]) [&.q-btn--actionable.q-btn--active]:(translate-y-[2px]) [&.q-btn--actionable:active:before]:(border-b-[0]) [&.q-btn--actionable.q-btn--active:before]:(border-b-[0])`
32
+ ],
33
+
34
+ [/^q-btn--rounded$/, ([, c], { theme }) => `rounded-[28px]`],
35
+
36
+ [
37
+ /^q-btn--round$/,
38
+ ([, c], { theme }) => `rounded-[50%] p-0 min-w-[3em] min-h-[3em]`
39
+ ],
40
+
41
+ [/^q-btn--square$/, ([, c], { theme }) => `rounded-none`],
42
+
43
+ [
44
+ /^q-btn--flat$/,
45
+ ([, c], { theme }) =>
46
+ `[&:before]:([box-shadow:none]) [&_.q-btn\\_\\_progress-indicator]:(opacity-20 bg-current)`
47
+ ],
48
+
49
+ [
50
+ /^q-btn--unelevated$/,
51
+ ([, c], { theme }) => `[&:before]:([box-shadow:none])`
52
+ ],
53
+
54
+ [
55
+ /^q-btn--dense$/,
56
+ ([, c], { theme }) =>
57
+ `p-[0.285em] min-h-[2em] [&.q-btn--round]:(p-0 min-h-[2.4em] min-w-[2.4em]) [&_.on-left]:(mr-[6px]) [&_.on-right]:(ml-[6px])`
58
+ ],
59
+
60
+ [
61
+ /^q-btn--fab$/,
62
+ ([, c], { theme }) =>
63
+ `[&_.q-icon]:(text-[24px]) p-[16px] min-h-[56px] min-w-[56px] [&_.q-icon]:(m-auto)`
64
+ ],
65
+
66
+ [
67
+ /^q-btn--fab-mini$/,
68
+ ([, c], { theme }) =>
69
+ `[&_.q-icon]:(text-[24px]) p-[8px] min-h-[40px] min-w-[40px]`
70
+ ],
71
+
72
+ [/^q-btn__content$/, ([, c], { theme }) => `[transition:opacity_0.3s] z-0`],
73
+
74
+ [
75
+ /^q-btn__content--hidden$/,
76
+ ([, c], { theme }) => `opacity-0 pointer-events-none`
77
+ ],
78
+
79
+ [/^q-btn__progress$/, ([, c], { theme }) => `[border-radius:inherit] z-0`],
80
+
81
+ [
82
+ /^q-btn__progress-indicator$/,
83
+ ([, c], { theme }) => `-translate-x-full bg-[rgba(255,_255,_255,_0.25)]`
84
+ ],
85
+
86
+ [
87
+ /^q-btn__progress--dark$/,
88
+ ([, c], { theme }) =>
89
+ `[&_.q-btn\\_\\_progress-indicator]:(bg-[rgba(0,_0,_0,_0.2)])`
90
+ ]
91
+ ]
92
+
93
+ export { shortcuts }
@@ -0,0 +1,27 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-btn-dropdown--split$/,
7
+ (
8
+ [, c],
9
+ { theme }
10
+ ) => `[&_.q-btn-dropdown\\_\\_arrow-container]:(px-4px py-0)
11
+ [&_.q-btn-dropdown\\_\\_arrow-container.q-btn--outline]:(border-l-1px border-l-solid border-l-current)
12
+ [&_.q-btn-dropdown\\_\\_arrow-container:not(.q-btn--outline)]:(border-l-1px border-l-solid border-l-white)
13
+ `
14
+ ],
15
+ [
16
+ /^q-btn-dropdown--simple$/,
17
+ ([, c], { theme }) => `[&+.q-btn-dropdown\\_\\_arrow]:(ml-8px)`
18
+ ],
19
+ [
20
+ /^q-btn-dropdown__arrow$/,
21
+ ([, c], { theme }) =>
22
+ `transition-property-transform transition-duration-280`
23
+ ],
24
+ [/^q-btn-dropdown--current$/, ([, c], { theme }) => `grow-1`]
25
+ ]
26
+
27
+ export { shortcuts }
@@ -0,0 +1,48 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-btn-group$/,
7
+ ([, c], { theme }) =>
8
+ `rounded-[3px] [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)] align-middle [&_>_.q-btn-item]:([border-radius:inherit] self-stretch) [&_>_.q-btn-item:before]:([box-shadow:none]) [&_>_.q-btn-item_.q-badge--floating]:(right-0) [&_>_.q-btn-group]:([box-shadow:none]) [&_>_.q-btn-group:first-child_>_.q-btn:first-child]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_.q-btn-group:last-child_>_.q-btn:last-child]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-btn-group:not(:first-child)_>_.q-btn:first-child:before]:([border-left:0]) [&_>_.q-btn-group:not(:last-child)_>_.q-btn:last-child:before]:([border-right:0]) [&_>_.q-btn-item:not(:last-child)]:(rounded-tr-none rounded-br-none) [&_>_.q-btn-item:not(:first-child)]:(rounded-tl-none rounded-bl-none) [&_>_.q-btn-item.q-btn--standard:before]:()`
9
+ ],
10
+
11
+ [
12
+ /^q-btn-group--push$/,
13
+ ([, c], { theme }) =>
14
+ `rounded-[7px] [&_>_.q-btn--push.q-btn--actionable]:(transform-none) [&_>_.q-btn--push.q-btn--actionable_.q-btn\\_\\_content]:([transition:margin-top_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1),_margin-bottom_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&_>_.q-btn--push.q-btn--actionable:active_.q-btn\\_\\_content]:(mt-[2px] -mb-[2px])
15
+ [&__>_.q-btn--push.q-btn--actionable.q-btn--active__.q-btn\\_\\_content]:(mt-[2px] -mb-[2px])`
16
+ ],
17
+
18
+ [/^q-btn-group--rounded$/, ([, c], { theme }) => `rounded-[28px]`],
19
+
20
+ [/^q-btn-group--square$/, ([, c], { theme }) => `rounded-none`],
21
+
22
+ [/^q-btn-group--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
23
+
24
+ [
25
+ /^q-btn-group--outline$/,
26
+ ([, c], { theme }) =>
27
+ `[box-shadow:none] [&_>_.q-separator]:(hidden) [&_>_.q-btn-item_+_.q-btn-item:before]:([border-left:0]) [&_>_.q-btn-item:not(:last-child):before]:([border-right:0])`
28
+ ],
29
+
30
+ [/^q-btn-group--unelevated$/, ([, c], { theme }) => `[box-shadow:none]`],
31
+
32
+ [/^q-btn-group--stretch$/, ([, c], { theme }) => `self-stretch rounded-none`],
33
+
34
+ [
35
+ /^q-btn-group--glossy$/,
36
+ ([, c], { theme }) =>
37
+ `[&_>_.q-btn-item]:(!bg-[linear-gradient(_to_bottom,_rgba(255,_255,_255,_0.3),_rgba(255,_255,_255,_0)_50%,_rgba(0,_0,_0,_0.12)_51%,_rgba(0,_0,_0,_0.04)_)])`
38
+ ],
39
+
40
+ [
41
+ /^q-btn-group--spread$/,
42
+ ([, c], { theme }) =>
43
+ `[&_>_.q-btn-group]:(!flex) [&_>_.q-btn-item]:(w-auto min-w-[0] max-w-full flex-[10000_1_0%])
44
+ [&__>_.q-btn-group_>_.q-btn-item:not(.q-btn-dropdown\\_\\_arrow-container)]:(w-auto min-w-[0] max-w-full flex-[10000_1_0%])`
45
+ ]
46
+ ]
47
+
48
+ 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-btn-toggle$/, ([, c], { theme }) => `relative`]
6
+ ]
7
+
8
+ export { shortcuts }
@@ -0,0 +1,64 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-card$/,
7
+ ([, c], { theme }) => `shadow-black border-rd-4px v-top bg-white relative
8
+ [&>div:not(.q--avoid-card-border)]:(border-t-0 border-t-0 border-b-0 border-b-0)
9
+ [&>img:not(.q--avoid-card-border)]:(border-t-0 border-t-0 border-b-0 border-b-0)
10
+ [&>div:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-0 border-t-inherit border-t-inherit)
11
+ [&>img:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-0 border-t-inherit border-t-inherit)
12
+ [&>div:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-b-0 border-b-inherit border-b-inherit)
13
+ [&>img:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-b-0 border-b-inherit border-b-inherit)
14
+ [&>div:not(.q--avoid-card-border)]:(border-l-0 border-r-0 shadow-none)
15
+ [&>img]:(block w-full max-w-full border-none)
16
+ `
17
+ ],
18
+ [
19
+ /^q-card--bordered$/,
20
+ ([, c], { theme }) => `border-solid border-black border-op-120`
21
+ ],
22
+ [
23
+ /^q-card--dark$/,
24
+ ([, c], { theme }) => `border-white border-op-280 shadow-black`
25
+ ],
26
+ [/^q-card__section$/, ([, c], { theme }) => `relative`],
27
+ [/^q-card__section--vert$/, ([, c], { theme }) => `p-16px`],
28
+ [
29
+ /^q-card__section--horiz$/,
30
+ (
31
+ [, c],
32
+ { theme }
33
+ ) => `[&>div:not(.q--avoid-card-border)]:(border-t-0 border-b-0 border-t-0 border-b-0)
34
+ [&>img:not(.q--avoid-card-border)]:(border-t-0 border-b-0 border-t-0 border-b-0)
35
+ [&>div:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
36
+ [&>img:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
37
+ [&>div:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
38
+ [&>img:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
39
+ [&>div:not(.q--avoid-card-border)]:(border-t-0 border-b-0 shadow-none)
40
+ `
41
+ ],
42
+ [
43
+ /^q--card__actions$/,
44
+ ([, c], { theme }) => `p-8px items-center
45
+ [&_.q-btn--rectangle]:(px-8px py-0)`
46
+ ],
47
+ [
48
+ /^q--card__actions--horiz$/,
49
+ ([, c], { theme }) => `[&>.q-btn-item+.q-btn-item]:(ml-8px)
50
+ [&>.q-btn-group+.q-btn-item]:(ml-8px)
51
+ [&>.q-btn-item+.q-btn-group]:(ml-8px)`
52
+ ],
53
+ [
54
+ /^q--card__actions--vert$/,
55
+ ([, c], { theme }) => `[&>.q-btn-item.q-btn--round]:(self-center)
56
+ [&>.q-btn-item+.q-btn-item]:(mt-4px)
57
+ [&>.q-btn-group+.q-btn-item]:(mt-4px)
58
+ [&>.q-btn-item+.q-btn-group]:(mt-4px)
59
+ [&>.q-btn-group>.q-btn-item]:(flex-grow)
60
+ `
61
+ ]
62
+ ]
63
+
64
+ export { shortcuts }
@@ -0,0 +1,115 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-carousel$/,
7
+ ([, c], { theme }) =>
8
+ `bg-[#fff] h-[400px] [&_.q-carousel--padding]:(p-[16px]) [&_.q-carousel\\_\\_thumbnail]:(m-[2px] h-[50px] w-auto inline-block cursor-pointer border-[1px] border-solid border-[transparent] rounded-[4px] align-middle opacity-70 [transition:opacity_0.3s]) [&_.q-carousel\\_\\_thumbnail:hover]:(opacity-100) [&_.q-carousel\\_\\_thumbnail--active]:(opacity-100) [&_.q-carousel\\_\\_thumbnail--active]:(border-current cursor-default)`
9
+ ],
10
+
11
+ [
12
+ /^q-carousel__slide$/,
13
+ ([, c], { theme }) => `min-h-full bg-cover bg-[50%] p-[16px]`
14
+ ],
15
+
16
+ [/^q-carousel__slides-container$/, ([, c], { theme }) => `h-full`],
17
+
18
+ [/^q-carousel__control$/, ([, c], { theme }) => `text-[#fff]`],
19
+
20
+ [
21
+ /^q-carousel__arrow$/,
22
+ ([, c], { theme }) =>
23
+ `pointer-events-none [&_.q-icon]:(text-[28px]) [&_.q-btn]:()`
24
+ ],
25
+
26
+ [
27
+ /^q-carousel__prev-arrow--horizontal$/,
28
+ ([, c], { theme }) => `top-[16px] bottom-[16px] left-[16px]`
29
+ ],
30
+
31
+ [
32
+ /^q-carousel__next-arrow--horizontal$/,
33
+ ([, c], { theme }) => `top-[16px] bottom-[16px] right-[16px]`
34
+ ],
35
+
36
+ [
37
+ /^q-carousel__prev-arrow--vertical$/,
38
+ ([, c], { theme }) => `left-[16px] right-[16px] top-[16px]`
39
+ ],
40
+
41
+ [
42
+ /^q-carousel__next-arrow--vertical$/,
43
+ ([, c], { theme }) => `left-[16px] right-[16px] bottom-[16px]`
44
+ ],
45
+
46
+ [
47
+ /^q-carousel__navigation--top$/,
48
+ ([, c], { theme }) =>
49
+ `left-[16px] right-[16px] overflow-x-auto overflow-y-hidden top-[16px]`
50
+ ],
51
+
52
+ [
53
+ /^q-carousel__navigation--bottom$/,
54
+ ([, c], { theme }) =>
55
+ `left-[16px] right-[16px] overflow-x-auto overflow-y-hidden bottom-[16px]`
56
+ ],
57
+
58
+ [
59
+ /^q-carousel__navigation--left$/,
60
+ ([, c], { theme }) =>
61
+ `top-[16px] bottom-[16px] overflow-x-hidden overflow-y-auto [&_>_.q-carousel\\_\\_navigation-inner]:(flex-col) left-[16px]`
62
+ ],
63
+
64
+ [
65
+ /^q-carousel__navigation--right$/,
66
+ ([, c], { theme }) =>
67
+ `top-[16px] bottom-[16px] overflow-x-hidden overflow-y-auto [&_>_.q-carousel\\_\\_navigation-inner]:(flex-col) right-[16px]`
68
+ ],
69
+
70
+ [/^q-carousel__navigation-inner$/, ([, c], { theme }) => `flex-auto`],
71
+
72
+ [
73
+ /^q-carousel__navigation$/,
74
+ ([, c], { theme }) => `[&_.q-btn]:(mx-[4px] my-[6px] p-[5px])`
75
+ ],
76
+
77
+ [
78
+ /^q-carousel__navigation-icon--inactive$/,
79
+ ([, c], { theme }) => `opacity-70`
80
+ ],
81
+
82
+ [
83
+ /^q-carousel--navigation-top$/,
84
+ ([, c], { theme }) => `[&_.q-carousel--padding]:(pt-[60px])`
85
+ ],
86
+
87
+ [
88
+ /^q-carousel--arrows-vertical$/,
89
+ ([, c], { theme }) =>
90
+ `[&_.q-carousel--padding]:(pt-[60px]) [&_.q-carousel--padding]:(pb-[60px])`
91
+ ],
92
+
93
+ [
94
+ /^q-carousel--navigation-bottom$/,
95
+ ([, c], { theme }) => `[&_.q-carousel--padding]:(pb-[60px])`
96
+ ],
97
+
98
+ [
99
+ /^q-carousel--navigation-left$/,
100
+ ([, c], { theme }) => `[&_.q-carousel--padding]:(pl-[60px])`
101
+ ],
102
+
103
+ [
104
+ /^q-carousel--arrows-horizontal$/,
105
+ ([, c], { theme }) =>
106
+ `[&_.q-carousel--padding]:(pl-[60px]) [&_.q-carousel--padding]:(pr-[60px])`
107
+ ],
108
+
109
+ [
110
+ /^q-carousel--navigation-right$/,
111
+ ([, c], { theme }) => `[&_.q-carousel--padding]:(pr-[60px])`
112
+ ]
113
+ ]
114
+
115
+ export { shortcuts }
@@ -0,0 +1,59 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-message-name$/, ([, c], { theme }) => `text-[small]`],
6
+
7
+ [
8
+ /^q-message-label$/,
9
+ ([, c], { theme }) => `mx-[0] my-[24px] text-center text-[small]`
10
+ ],
11
+
12
+ [
13
+ /^q-message-stamp$/,
14
+ ([, c], { theme }) =>
15
+ `[color:inherit] mt-[4px] opacity-60 hidden text-[small]`
16
+ ],
17
+
18
+ [
19
+ /^q-message-avatar$/,
20
+ ([, c], { theme }) => `rounded-[50%] w-[48px] h-[48px] min-w-[48px]`
21
+ ],
22
+
23
+ [
24
+ /^q-message$/,
25
+ ([, c], { theme }) => `mb-[8px] [&:first-child_.q-message-label]:(mt-0)`
26
+ ],
27
+
28
+ [/^q-message-avatar--received$/, ([, c], { theme }) => `mr-[8px]`],
29
+
30
+ [
31
+ /^q-message-text--received$/,
32
+ ([, c], { theme }) =>
33
+ `text-[#81c784] rounded-tl-[4px] rounded-br-[4px] rounded-tr-[4px] rounded-bl-[0] [&:last-child:before]:(right-full [border-right:0_solid_transparent] [border-left:8px_solid_transparent] [border-bottom:8px_solid_currentColor])`
34
+ ],
35
+
36
+ [/^q-message-text-content--received$/, ([, c], { theme }) => `text-[#000]`],
37
+
38
+ [/^q-message-name--sent$/, ([, c], { theme }) => `text-right`],
39
+
40
+ [/^q-message-avatar--sent$/, ([, c], { theme }) => `ml-[8px]`],
41
+
42
+ [/^q-message-container--sent$/, ([, c], { theme }) => `flex-row-reverse`],
43
+
44
+ [
45
+ /^q-message-text--sent$/,
46
+ ([, c], { theme }) =>
47
+ `text-[#e0e0e0] rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[4px] [&:last-child:before]:(left-full [border-left:0_solid_transparent] [border-right:8px_solid_transparent] [border-bottom:8px_solid_currentColor])`
48
+ ],
49
+
50
+ [/^q-message-text-content--sent$/, ([, c], { theme }) => `text-[#000]`],
51
+
52
+ [
53
+ /^q-message-text$/,
54
+ ([, c], { theme }) =>
55
+ `bg-current p-[8px] leading-[1.2] relative [&_+_.q-message-text]:(mt-[3px]) [&:last-child]:(min-h-[48px]) [&:last-child_.q-message-stamp]:(block) [&:last-child:before]:(content-empty absolute bottom-0 w-[0] h-[0])`
56
+ ]
57
+ ]
58
+
59
+ 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-checkbox:not(.disabled) .q-checkbox__inner: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-checkbox:not(.disabled):focus .q-checkbox__inner:before, body.desktop .q-checkbox:not(.disabled):hover .q-checkbox__inner:before {
21
+ transform: scale3d(1, 1, 1);
22
+ }
23
+ body.desktop .q-checkbox--dense:not(.disabled):focus .q-checkbox__inner:before, body.desktop .q-checkbox--dense:not(.disabled):hover .q-checkbox__inner:before {
24
+ transform: scale3d(1.4, 1.4, 1);
25
+ }
26
+ `
27
+ }
28
+ ]
29
+
30
+ const shortcuts: UserShortcuts<QuasarTheme> = [
31
+ [/^q-checkbox$/, ([, c], { theme }) => `align-middle`],
32
+
33
+ [/^q-checkbox__native$/, ([, c], { theme }) => `w-px h-px`],
34
+
35
+ [
36
+ /^q-checkbox__bg$/,
37
+ ([, c], { theme }) =>
38
+ `select-none top-1/4 left-1/4 w-1/2 h-1/2 border-[2px] border-solid border-[currentColor] rounded-[2px] [transition:background_0.22s_cubic-bezier(0,_0,_0.2,_1)_0ms]`
39
+ ],
40
+
41
+ [/^q-checkbox__icon-container$/, ([, c], { theme }) => `select-none`],
42
+
43
+ [/^q-checkbox__icon$/, ([, c], { theme }) => `text-current text-[0.5em]`],
44
+
45
+ [/^q-checkbox__svg$/, ([, c], { theme }) => `text-[#fff]`],
46
+
47
+ [
48
+ /^q-checkbox__truthy$/,
49
+ ([, c], { theme }) => `stroke-current stroke-[3.12px]`
50
+ ],
51
+
52
+ [
53
+ /^q-checkbox__indet$/,
54
+ ([, c], { theme }) =>
55
+ `fill-current origin-[50%_50%] -rotate-[280deg] scale-0`
56
+ ],
57
+
58
+ [
59
+ /^q-checkbox__inner$/,
60
+ ([, c], { theme }) =>
61
+ `text-[40px] w-[1em] min-w-[1em] h-[1em] outline-0 rounded-[50%] text-[rgba(0,_0,_0,_0.54)]`
62
+ ],
63
+
64
+ [
65
+ /^q-checkbox__inner--truthy$/,
66
+ ([, c], { theme }) =>
67
+ `text-primary [&_.q-checkbox\\_\\_bg]:(bg-current) [&_path]:([transition:stroke-dashoffset_0.18s_cubic-bezier(0.4,_0,_0.6,_1)_0ms])`
68
+ ],
69
+
70
+ [
71
+ /^q-checkbox__inner--indet$/,
72
+ ([, c], { theme }) =>
73
+ `text-primary [&_.q-checkbox\\_\\_bg]:(bg-current) [&_.q-checkbox\\_\\_indet]:(rotate-[0] scale-100 [transition:transform_0.22s_cubic-bezier(0,_0,_0.2,_1)_0ms])`
74
+ ],
75
+
76
+ [
77
+ /^q-checkbox--dark$/,
78
+ ([, c], { theme }) =>
79
+ `[&_.q-checkbox\\_\\_inner]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-checkbox\\_\\_inner:before]:(!opacity-[0.32]) [&_.q-checkbox\\_\\_inner--truthy]:(text-primary) [&_.q-checkbox\\_\\_inner--indet]:(text-primary)`
80
+ ],
81
+
82
+ [
83
+ /^q-checkbox--dense$/,
84
+ ([, c], { theme }) =>
85
+ `[&_.q-checkbox\\_\\_inner]:(w-[0.5em] min-w-[0.5em] h-[0.5em]) [&_.q-checkbox\\_\\_bg]:(left-[5%] top-[5%] w-[90%] h-[90%]) [&_.q-checkbox\\_\\_label]:(pl-[0.5em])`
86
+ ]
87
+ ]
88
+
89
+ export { preflights, shortcuts }