vitrify 0.16.4 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/dist/frameworks/vue/prerender.js +3 -3
  2. package/dist/index.js +27 -1
  3. package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +20 -0
  4. package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +12 -0
  5. package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +22 -0
  6. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +24 -0
  7. package/dist/plugins/quasar/unocss/components/QBar.unocss.js +26 -0
  8. package/dist/plugins/quasar/unocss/components/QBreadcrumbs.unocss.js +13 -0
  9. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +62 -0
  10. package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +19 -0
  11. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +30 -0
  12. package/dist/plugins/quasar/unocss/components/QBtnToggle.unocss.js +4 -0
  13. package/dist/plugins/quasar/unocss/components/QCard.unocss.js +57 -0
  14. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +82 -0
  15. package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +38 -0
  16. package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +65 -0
  17. package/dist/plugins/quasar/unocss/components/QChip.unocss.js +90 -0
  18. package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +32 -0
  19. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +174 -0
  20. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +122 -0
  21. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +110 -0
  22. package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +53 -0
  23. package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +66 -0
  24. package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +38 -0
  25. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +100 -0
  26. package/dist/plugins/quasar/unocss/components/QField.unocss.js +153 -0
  27. package/dist/plugins/quasar/unocss/components/QFile.unocss.js +15 -0
  28. package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +12 -0
  29. package/dist/plugins/quasar/unocss/components/QForm.unocss.js +4 -0
  30. package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +13 -0
  31. package/dist/plugins/quasar/unocss/components/QIcon.unocss.js +22 -0
  32. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +29 -0
  33. package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +9 -0
  34. package/dist/plugins/quasar/unocss/components/QInput.unocss.js +27 -0
  35. package/dist/plugins/quasar/unocss/components/QIntersection.unocss.js +4 -0
  36. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +71 -0
  37. package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +13 -0
  38. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +81 -0
  39. package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +80 -0
  40. package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +12 -0
  41. package/dist/plugins/quasar/unocss/components/QOptionGroup.unocss.js +4 -0
  42. package/dist/plugins/quasar/unocss/components/QPage.unocss.js +4 -0
  43. package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +7 -0
  44. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +15 -0
  45. package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +11 -0
  46. package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +8 -0
  47. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +12 -0
  48. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +60 -0
  49. package/dist/plugins/quasar/unocss/components/QRating.unocss.js +23 -0
  50. package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +12 -0
  51. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +31 -0
  52. package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +56 -0
  53. package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +26 -0
  54. package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +153 -0
  55. package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +24 -0
  56. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +163 -0
  57. package/dist/plugins/quasar/unocss/components/QSpace.unocss.js +4 -0
  58. package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +44 -0
  59. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +39 -0
  60. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +102 -0
  61. package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +5 -0
  62. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +132 -0
  63. package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +96 -0
  64. package/dist/plugins/quasar/unocss/components/QTime.unocss.js +123 -0
  65. package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +80 -0
  66. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +67 -0
  67. package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +14 -0
  68. package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +11 -0
  69. package/dist/plugins/quasar/unocss/components/QTree.unocss.js +87 -0
  70. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +72 -0
  71. package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +11 -0
  72. package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +16 -0
  73. package/dist/plugins/quasar/unocss/composables/panel.unocss.js +5 -0
  74. package/dist/plugins/quasar/unocss/core/colors.unocss.js +17 -0
  75. package/dist/plugins/quasar/unocss/core/dark.unocss.js +14 -0
  76. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +67 -0
  77. package/dist/plugins/quasar/unocss/core/flex.unocss.js +76 -0
  78. package/dist/plugins/quasar/unocss/core/helpers.unocss.js +57 -0
  79. package/dist/plugins/quasar/unocss/core/mouse.unocss.js +32 -0
  80. package/dist/plugins/quasar/unocss/core/orientation.unocss.js +5 -0
  81. package/dist/plugins/quasar/unocss/core/position.unocss.js +48 -0
  82. package/dist/plugins/quasar/unocss/core/size.unocss.js +98 -0
  83. package/dist/plugins/quasar/unocss/core/touch.unocss.js +6 -0
  84. package/dist/plugins/quasar/unocss/core/transitions.unocss.js +271 -0
  85. package/dist/plugins/quasar/unocss/core/typography.unocss.js +147 -0
  86. package/dist/plugins/quasar/unocss/core/visibility.unocss.js +219 -0
  87. package/dist/plugins/quasar/unocss/directives/QMorph.unocss.js +11 -0
  88. package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +19 -0
  89. package/dist/plugins/quasar/unocss/index.js +1249 -0
  90. package/dist/plugins/quasar/unocss/plugins/QBottomSheet.unocss.js +17 -0
  91. package/dist/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.js +9 -0
  92. package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +16 -0
  93. package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +207 -0
  94. package/dist/plugins/quasar/unocss/theme.js +439 -0
  95. package/dist/plugins/quasar.js +104 -4
  96. package/dist/types/frameworks/vue/server.d.ts +3 -3
  97. package/dist/types/index.d.ts +2 -0
  98. package/dist/types/plugins/quasar/unocss/components/QAjaxBar.unocss.d.ts +4 -0
  99. package/dist/types/plugins/quasar/unocss/components/QAvatar.unocss.d.ts +4 -0
  100. package/dist/types/plugins/quasar/unocss/components/QBadge.unocss.d.ts +4 -0
  101. package/dist/types/plugins/quasar/unocss/components/QBanner.unocss.d.ts +4 -0
  102. package/dist/types/plugins/quasar/unocss/components/QBar.unocss.d.ts +4 -0
  103. package/dist/types/plugins/quasar/unocss/components/QBreadcrumbs.unocss.d.ts +5 -0
  104. package/dist/types/plugins/quasar/unocss/components/QBtn.unocss.d.ts +4 -0
  105. package/dist/types/plugins/quasar/unocss/components/QBtnDropdown.unocss.d.ts +4 -0
  106. package/dist/types/plugins/quasar/unocss/components/QBtnGroup.unocss.d.ts +4 -0
  107. package/dist/types/plugins/quasar/unocss/components/QBtnToggle.unocss.d.ts +4 -0
  108. package/dist/types/plugins/quasar/unocss/components/QCard.unocss.d.ts +4 -0
  109. package/dist/types/plugins/quasar/unocss/components/QCarousel.unocss.d.ts +4 -0
  110. package/dist/types/plugins/quasar/unocss/components/QChatMessage.unocss.d.ts +4 -0
  111. package/dist/types/plugins/quasar/unocss/components/QCheckbox.unocss.d.ts +5 -0
  112. package/dist/types/plugins/quasar/unocss/components/QChip.unocss.d.ts +5 -0
  113. package/dist/types/plugins/quasar/unocss/components/QCircularProgress.unocss.d.ts +5 -0
  114. package/dist/types/plugins/quasar/unocss/components/QColorPicker.unocss.d.ts +4 -0
  115. package/dist/types/plugins/quasar/unocss/components/QDate.unocss.d.ts +4 -0
  116. package/dist/types/plugins/quasar/unocss/components/QDialog.unocss.d.ts +5 -0
  117. package/dist/types/plugins/quasar/unocss/components/QDrawer.unocss.d.ts +4 -0
  118. package/dist/types/plugins/quasar/unocss/components/QEditor.unocss.d.ts +4 -0
  119. package/dist/types/plugins/quasar/unocss/components/QExpansionItem.unocss.d.ts +4 -0
  120. package/dist/types/plugins/quasar/unocss/components/QFab.unocss.d.ts +4 -0
  121. package/dist/types/plugins/quasar/unocss/components/QField.unocss.d.ts +5 -0
  122. package/dist/types/plugins/quasar/unocss/components/QFile.unocss.d.ts +4 -0
  123. package/dist/types/plugins/quasar/unocss/components/QFooter.unocss.d.ts +4 -0
  124. package/dist/types/plugins/quasar/unocss/components/QForm.unocss.d.ts +4 -0
  125. package/dist/types/plugins/quasar/unocss/components/QHeader.unocss.d.ts +4 -0
  126. package/dist/types/plugins/quasar/unocss/components/QIcon.unocss.d.ts +4 -0
  127. package/dist/types/plugins/quasar/unocss/components/QImg.unocss.d.ts +4 -0
  128. package/dist/types/plugins/quasar/unocss/components/QInnerLoading.unocss.d.ts +4 -0
  129. package/dist/types/plugins/quasar/unocss/components/QInput.unocss.d.ts +4 -0
  130. package/dist/types/plugins/quasar/unocss/components/QIntersection.unocss.d.ts +4 -0
  131. package/dist/types/plugins/quasar/unocss/components/QItem.unocss.d.ts +4 -0
  132. package/dist/types/plugins/quasar/unocss/components/QKnob.unocss.d.ts +4 -0
  133. package/dist/types/plugins/quasar/unocss/components/QLayout.unocss.d.ts +5 -0
  134. package/dist/types/plugins/quasar/unocss/components/QLinearProgress.unocss.d.ts +5 -0
  135. package/dist/types/plugins/quasar/unocss/components/QMenu.unocss.d.ts +4 -0
  136. package/dist/types/plugins/quasar/unocss/components/QOptionGroup.unocss.d.ts +4 -0
  137. package/dist/types/plugins/quasar/unocss/components/QPage.unocss.d.ts +4 -0
  138. package/dist/types/plugins/quasar/unocss/components/QPageSticky.unocss.d.ts +4 -0
  139. package/dist/types/plugins/quasar/unocss/components/QPagination.unocss.d.ts +4 -0
  140. package/dist/types/plugins/quasar/unocss/components/QParallax.unocss.d.ts +4 -0
  141. package/dist/types/plugins/quasar/unocss/components/QPopupEdit.unocss.d.ts +4 -0
  142. package/dist/types/plugins/quasar/unocss/components/QPullToRefresh.unocss.d.ts +4 -0
  143. package/dist/types/plugins/quasar/unocss/components/QRadio.unocss.d.ts +5 -0
  144. package/dist/types/plugins/quasar/unocss/components/QRating.unocss.d.ts +4 -0
  145. package/dist/types/plugins/quasar/unocss/components/QResponsive.unocss.d.ts +4 -0
  146. package/dist/types/plugins/quasar/unocss/components/QScrollarea.unocss.d.ts +4 -0
  147. package/dist/types/plugins/quasar/unocss/components/QSelect.unocss.d.ts +5 -0
  148. package/dist/types/plugins/quasar/unocss/components/QSeparator.unocss.d.ts +4 -0
  149. package/dist/types/plugins/quasar/unocss/components/QSkeleton.unocss.d.ts +5 -0
  150. package/dist/types/plugins/quasar/unocss/components/QSlideItem.unocss.d.ts +4 -0
  151. package/dist/types/plugins/quasar/unocss/components/QSlider.unocss.d.ts +4 -0
  152. package/dist/types/plugins/quasar/unocss/components/QSpace.unocss.d.ts +4 -0
  153. package/dist/types/plugins/quasar/unocss/components/QSpinner.unocss.d.ts +5 -0
  154. package/dist/types/plugins/quasar/unocss/components/QSplitter.unocss.d.ts +4 -0
  155. package/dist/types/plugins/quasar/unocss/components/QStepper.unocss.d.ts +4 -0
  156. package/dist/types/plugins/quasar/unocss/components/QTabPanel.unocss.d.ts +4 -0
  157. package/dist/types/plugins/quasar/unocss/components/QTable.unocss.d.ts +5 -0
  158. package/dist/types/plugins/quasar/unocss/components/QTabs.unocss.d.ts +4 -0
  159. package/dist/types/plugins/quasar/unocss/components/QTime.unocss.d.ts +4 -0
  160. package/dist/types/plugins/quasar/unocss/components/QTimeline.unocss.d.ts +4 -0
  161. package/dist/types/plugins/quasar/unocss/components/QToggle.unocss.d.ts +5 -0
  162. package/dist/types/plugins/quasar/unocss/components/QToolbar.unocss.d.ts +4 -0
  163. package/dist/types/plugins/quasar/unocss/components/QTooltip.unocss.d.ts +4 -0
  164. package/dist/types/plugins/quasar/unocss/components/QTree.unocss.d.ts +5 -0
  165. package/dist/types/plugins/quasar/unocss/components/QUploader.unocss.d.ts +4 -0
  166. package/dist/types/plugins/quasar/unocss/components/QVideo.unocss.d.ts +4 -0
  167. package/dist/types/plugins/quasar/unocss/components/QVirtualScroll.unocss.d.ts +4 -0
  168. package/dist/types/plugins/quasar/unocss/composables/panel.unocss.d.ts +4 -0
  169. package/dist/types/plugins/quasar/unocss/core/colors.unocss.d.ts +4 -0
  170. package/dist/types/plugins/quasar/unocss/core/dark.unocss.d.ts +5 -0
  171. package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +4 -0
  172. package/dist/types/plugins/quasar/unocss/core/flex.unocss.d.ts +4 -0
  173. package/dist/types/plugins/quasar/unocss/core/helpers.unocss.d.ts +6 -0
  174. package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +5 -0
  175. package/dist/types/plugins/quasar/unocss/core/orientation.unocss.d.ts +4 -0
  176. package/dist/types/plugins/quasar/unocss/core/position.unocss.d.ts +4 -0
  177. package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +4 -0
  178. package/dist/types/plugins/quasar/unocss/core/touch.unocss.d.ts +4 -0
  179. package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +4 -0
  180. package/dist/types/plugins/quasar/unocss/core/typography.unocss.d.ts +5 -0
  181. package/dist/types/plugins/quasar/unocss/core/visibility.unocss.d.ts +6 -0
  182. package/dist/types/plugins/quasar/unocss/directives/QMorph.unocss.d.ts +4 -0
  183. package/dist/types/plugins/quasar/unocss/directives/QRipple.unocss.d.ts +4 -0
  184. package/dist/types/plugins/quasar/unocss/index.d.ts +11 -0
  185. package/dist/types/plugins/quasar/unocss/plugins/QBottomSheet.unocss.d.ts +4 -0
  186. package/dist/types/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.d.ts +4 -0
  187. package/dist/types/plugins/quasar/unocss/plugins/QLoading.unocss.d.ts +4 -0
  188. package/dist/types/plugins/quasar/unocss/plugins/QNotify.unocss.d.ts +4 -0
  189. package/dist/types/plugins/quasar/unocss/theme.d.ts +425 -0
  190. package/dist/types/plugins/quasar.d.ts +1 -0
  191. package/dist/types/vitrify-config.d.ts +11 -3
  192. package/package.json +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 +33 -3
  196. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +24 -0
  197. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +20 -0
  198. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +34 -0
  199. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +32 -0
  200. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +30 -0
  201. package/src/node/plugins/quasar/unocss/components/QBreadcrumbs.unocss.ts +18 -0
  202. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +93 -0
  203. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +27 -0
  204. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +48 -0
  205. package/src/node/plugins/quasar/unocss/components/QBtnToggle.unocss.ts +8 -0
  206. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +64 -0
  207. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +115 -0
  208. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +59 -0
  209. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +89 -0
  210. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +98 -0
  211. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +41 -0
  212. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +178 -0
  213. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +181 -0
  214. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +118 -0
  215. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +76 -0
  216. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +85 -0
  217. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +54 -0
  218. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +148 -0
  219. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +220 -0
  220. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +23 -0
  221. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +19 -0
  222. package/src/node/plugins/quasar/unocss/components/QForm.unocss.ts +8 -0
  223. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +20 -0
  224. package/src/node/plugins/quasar/unocss/components/QIcon.unocss.ts +30 -0
  225. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +43 -0
  226. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +16 -0
  227. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +40 -0
  228. package/src/node/plugins/quasar/unocss/components/QIntersection.unocss.ts +8 -0
  229. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +102 -0
  230. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +22 -0
  231. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +91 -0
  232. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +104 -0
  233. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +20 -0
  234. package/src/node/plugins/quasar/unocss/components/QOptionGroup.unocss.ts +8 -0
  235. package/src/node/plugins/quasar/unocss/components/QPage.unocss.ts +8 -0
  236. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +12 -0
  237. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +24 -0
  238. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +18 -0
  239. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +13 -0
  240. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +19 -0
  241. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +82 -0
  242. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +36 -0
  243. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +20 -0
  244. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +48 -0
  245. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +69 -0
  246. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +38 -0
  247. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +192 -0
  248. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +38 -0
  249. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +246 -0
  250. package/src/node/plugins/quasar/unocss/components/QSpace.unocss.ts +8 -0
  251. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +51 -0
  252. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +58 -0
  253. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +150 -0
  254. package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +10 -0
  255. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +194 -0
  256. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +139 -0
  257. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +195 -0
  258. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +122 -0
  259. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +89 -0
  260. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +22 -0
  261. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +18 -0
  262. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +124 -0
  263. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +107 -0
  264. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +18 -0
  265. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +26 -0
  266. package/src/node/plugins/quasar/unocss/composables/panel.unocss.ts +9 -0
  267. package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +21 -0
  268. package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +19 -0
  269. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +94 -0
  270. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +99 -0
  271. package/src/node/plugins/quasar/unocss/core/helpers.unocss.ts +78 -0
  272. package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +46 -0
  273. package/src/node/plugins/quasar/unocss/core/orientation.unocss.ts +10 -0
  274. package/src/node/plugins/quasar/unocss/core/position.unocss.ts +81 -0
  275. package/src/node/plugins/quasar/unocss/core/size.unocss.ts +196 -0
  276. package/src/node/plugins/quasar/unocss/core/touch.unocss.ts +12 -0
  277. package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +392 -0
  278. package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +192 -0
  279. package/src/node/plugins/quasar/unocss/core/visibility.unocss.ts +250 -0
  280. package/src/node/plugins/quasar/unocss/createSafelist.js +2549 -0
  281. package/src/node/plugins/quasar/unocss/directives/QMorph.unocss.ts +18 -0
  282. package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +30 -0
  283. package/src/node/plugins/quasar/unocss/index.ts +1443 -0
  284. package/src/node/plugins/quasar/unocss/parse.js +132 -0
  285. package/src/node/plugins/quasar/unocss/plugins/QBottomSheet.unocss.ts +27 -0
  286. package/src/node/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.ts +16 -0
  287. package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +24 -0
  288. package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +266 -0
  289. package/src/node/plugins/quasar/unocss/theme.ts +452 -0
  290. package/src/node/plugins/quasar.ts +113 -4
  291. package/src/node/vitrify-config.ts +14 -7
  292. package/src/vite/fastify/server.ts +3 -1
  293. package/src/vite/vue/main.ts +1 -0
@@ -0,0 +1,98 @@
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-chip--clickable:focus {
8
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
9
+ }
10
+ body.desktop.body--dark .q-chip--clickable:focus {
11
+ box-shadow: 0 1px 3px rgba(255, 255, 255, 0.2), 0 1px 1px rgba(255, 255, 255, 0.14), 0 2px 1px -1px rgba(255, 255, 255, 0.12);
12
+ }
13
+ `
14
+ }
15
+ ]
16
+
17
+ const shortcuts: UserShortcuts<QuasarTheme> = [
18
+ [
19
+ /^q-chip$/,
20
+ (
21
+ [, c],
22
+ { theme }
23
+ ) => `v-middle border-rd-16px outline-0 relative h-2em max-w-full m-4px bg-gray-1 text-black text-op-87 text-14px px-0.9em py-0.5em
24
+ [&_.q-avatar]:(text-2em ml--0.45em mr-0.2em border-rd-16px)
25
+ `
26
+ ],
27
+ [
28
+ /^q-chip--colored$/,
29
+ ([, c], { theme }) => `
30
+ [&_.q-chip__icon]:(text-inherit)
31
+ [&_.q-chip--dark_.q-chip\\_\\_icon]:(text-inherit)
32
+ `
33
+ ],
34
+ [
35
+ /^q-chip--outline$/,
36
+ ([, c], { theme }) => `
37
+ bg-transparent! border-solid border-width-1px border-current
38
+ [&_.q-chip--dark_.q-chip\\_\\_icon]:(text-inherit)
39
+ `
40
+ ],
41
+ [
42
+ /^q-chip--selected$/,
43
+ ([, c], { theme }) => `
44
+ hidden
45
+ `
46
+ ],
47
+ [
48
+ /^q-chip__icon$/,
49
+ ([, c], { theme }) => `
50
+ text-black text-op-540 text-1.5em m--0.2em
51
+ `
52
+ ],
53
+ [
54
+ /^q-chip__icon--left$/,
55
+ ([, c], { theme }) => `
56
+ mr-0.2em
57
+ `
58
+ ],
59
+ [
60
+ /^q-chip__icon--right$/,
61
+ ([, c], { theme }) => `
62
+ ml-0.2em
63
+ `
64
+ ],
65
+ [
66
+ /^q-chip__icon--remove$/,
67
+ ([, c], { theme }) => `
68
+ ml-0.1em mr--0.5em op-60 outline-0
69
+ [&:hover]:(op-100)
70
+ [&:focus]:(op-100)
71
+ `
72
+ ],
73
+ [
74
+ /^q-chip__icon--content$/,
75
+ ([, c], { theme }) => `
76
+ whitespace-nowrap
77
+ `
78
+ ],
79
+ [
80
+ /^q-chip__icon--dense$/,
81
+ ([, c], { theme }) => `
82
+ border-rd-12px px-0.4em py-0 h-1.5em
83
+ [&_.q-avatar]:(text-1.5em ml--0.27em mr-0.1em border-rd-12px)
84
+ [&._q-chip\\_\\_icon]:(text-1.25em)
85
+ [&._q-chip\\_\\_icon--left]:(mr-0.195em)
86
+ [&._q-chip\\_\\_icon--remove]:(mr--0.25em)
87
+ `
88
+ ],
89
+ [
90
+ /^q-chip__icon--square$/,
91
+ ([, c], { theme }) => `
92
+ border-rd-4px
93
+ [&_q-avatar]:(border-rd-tl-3px border-rd-br-3px border-rd-tr-0 border-rd-bl-0)
94
+ `
95
+ ]
96
+ ]
97
+
98
+ export { preflights, shortcuts }
@@ -0,0 +1,41 @@
1
+ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const preflights: Preflight<QuasarTheme>[] = [
5
+ {
6
+ getCSS: ({ theme }) => `
7
+ @keyframes q-circular-progress-circle {
8
+ 0% {
9
+ stroke-dasharray: 1, 400;
10
+ stroke-dashoffset: 0;
11
+ }
12
+ 50% {
13
+ stroke-dasharray: 400, 400;
14
+ stroke-dashoffset: -100;
15
+ }
16
+ 100% {
17
+ stroke-dasharray: 400, 400;
18
+ stroke-dashoffset: -300;
19
+ }
20
+ }`
21
+ }
22
+ ]
23
+ const shortcuts: UserShortcuts<QuasarTheme> = [
24
+ [
25
+ /^q-circular-progress$/,
26
+ ([, c], { theme }) =>
27
+ `inline-block relative align-middle w-[1em] h-[1em] leading-none`
28
+ ],
29
+
30
+ [/^q-circular-progress__svg$/, ([, c], { theme }) => `w-full h-full`],
31
+
32
+ [/^q-circular-progress__text$/, ([, c], { theme }) => `text-[0.25em]`],
33
+
34
+ [
35
+ /^q-circular-progress--indeterminate$/,
36
+ ([, c], { theme }) =>
37
+ `[&_.q-circular-progress\\_\\_svg]:(origin-[50%_50%] animate-[q-spin_2s_linear_infinite]) [&_.q-circular-progress\\_\\_circle]:(animate-[q-circular-progress-circle_1.5s_ease-in-out_infinite])`
38
+ ]
39
+ ]
40
+
41
+ export { preflights, shortcuts }
@@ -0,0 +1,178 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-color-picker$/,
7
+ ([, c], { theme }) => `
8
+ overflow-hidden bg-white max-w-350px v-top min-w-180px border-rd-4px
9
+ shadow-sm
10
+ [&.q-tab]:(p-0!)
11
+ [&_input]:(text-inherit bg-transparent outline-0 text-center)
12
+ [&_.q-tabs]:(overflow-hidden)
13
+ [&_.q-tab--active]:(shadow-sm)
14
+ [&_.q-tab--active_.q-focus-helper]:(hidden)
15
+ [&_q-tab\\_\\_indicator]:(hidden)
16
+ [&_q-tab-panels]:(bg-inherit)
17
+ `
18
+ ],
19
+ [
20
+ /^q-color-picker--bordered$/,
21
+ ([, c], { theme }) => `
22
+ border-1px border-black border-op-120
23
+ `
24
+ ],
25
+ [
26
+ /^q-color-picker__header-tabs$/,
27
+ ([, c], { theme }) => `
28
+ h-32px
29
+ `
30
+ ],
31
+ [
32
+ /^q-color-picker__header-banner$/,
33
+ ([, c], { theme }) => `
34
+ h-36px
35
+ `
36
+ ],
37
+ [
38
+ /^q-color-picker__header$/,
39
+ ([, c], { theme }) => `
40
+ [&_input]:(lh-24px border-none)
41
+ [&_.q-tab]:(min-h-32px! h-32px!)
42
+ [&_.q-tab--inactive]:(bg-gradient-linear from-black/30 via-black/15 to-black/10)
43
+ `
44
+ ],
45
+ [
46
+ /^q-color-picker__error-icon$/,
47
+ ([, c], { theme }) => `
48
+ bottom-2px right-2px text-24px op-0 transition-opacity-300
49
+ `
50
+ ],
51
+ [
52
+ /^q-color-picker__header-content$/,
53
+ ([, c], { theme }) => `
54
+ relative bg-white
55
+ `
56
+ ],
57
+ [
58
+ /^q-color-picker__header-content--light$/,
59
+ ([, c], { theme }) => `
60
+ text-black
61
+ `
62
+ ],
63
+ [
64
+ /^q-color-picker__header-content--dark$/,
65
+ ([, c], { theme }) => `
66
+ text-white
67
+ [&_.q-tab--inactive:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 bg-white bg-op-200)
68
+ `
69
+ ],
70
+ [
71
+ /^q-color-picker__header-banner$/,
72
+ ([, c], { theme }) => `
73
+ h-36px
74
+ `
75
+ ],
76
+ [
77
+ /^q-color-picker__header-bg$/,
78
+ ([, c], { theme }) => `
79
+ bg-white bg-[url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==)')]
80
+
81
+ `
82
+ ],
83
+ [
84
+ /^q-color-picker__footer$/,
85
+ ([, c], { theme }) => `
86
+ h-36px
87
+ [&_.q-tab]:(min-h-36px! h-36px!)
88
+ [&_.q-tab--inactive]:(bg-gradient-to-b from-black/0.3 via-black/0.15 to-black/0.1)
89
+ `
90
+ ],
91
+ [
92
+ /^q-color-picker__spectrum$/,
93
+ ([, c], { theme }) => `
94
+ h-full w-full
95
+ `
96
+ ],
97
+ [
98
+ /^q-color-picker__spectrum-tab$/,
99
+ ([, c], { theme }) => `
100
+ p-0!
101
+ `
102
+ ],
103
+ [
104
+ /^q-color-picker__spectrum--white$/,
105
+ ([, c], { theme }) => `
106
+ bg-gradient-to-r from-white to-black
107
+ `
108
+ ],
109
+ [
110
+ /^q-color-picker__spectrum--white$/,
111
+ ([, c], { theme }) => `
112
+ bg-gradient-to-t from-black to-black
113
+ `
114
+ ],
115
+ [
116
+ /^q-color-picker__spectrum--circle$/,
117
+ ([, c], { theme }) => `
118
+ w-10px h-10px shadow-sm border-rd-50% translate-x--5px translate-y--5px
119
+ `
120
+ ],
121
+ [
122
+ /^q-color-picker__hue$/,
123
+ ([, c], { theme }) => `
124
+ [&_.q-slider-track]:(bg-gradient-to-r! from-[#f00] via-[#ff0/17] via-[#0f0/33] via-[#off/50] via-[#00f/67] via-[#f0f/83] to-[#f00] op-100)
125
+ `
126
+ ],
127
+ [
128
+ /^q-color-picker__alpha$/,
129
+ ([, c], { theme }) => `
130
+ [&_.q-slider\\_\\_track-container]:(pt-0)
131
+ [&_.q-slider\\_\\_track:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 border-rd-inherit bg-gradient-to-r from-black to-[#757575])
132
+ `
133
+ ],
134
+ [
135
+ /^q-color-picker__sliders$/,
136
+ ([, c], { theme }) => `
137
+ pt-0 pb-0 pl-16px pr-16px
138
+ [&_.q-slider\\_\\_thumb]:(text-[#424242])
139
+ [&_.q-slider\\_\\_thumb_path]:(stroke-2px fill-transparent)
140
+ [&_.q-slider--active_path]:(stroke-3px)
141
+ `
142
+ ],
143
+ [
144
+ /^q-color-picker__tune-tab$/,
145
+ ([, c], { theme }) => `
146
+ [&_.q-slider]:(ml-18px mr-18px)
147
+ [&_input]:(text-11px border-solid border-1 border-color-[#e0e0e0] border-rd-4px w-3.5em)
148
+ `
149
+ ],
150
+ [
151
+ /^q-color-picker__palette-tab$/,
152
+ ([, c], { theme }) => `
153
+ p-0!
154
+ `
155
+ ],
156
+ [
157
+ /^q-color-picker__palette-rows--editable$/,
158
+ ([, c], { theme }) => `
159
+ [&_.q-color-picker__cube]:(cursor-pointer)
160
+ `
161
+ ],
162
+ [
163
+ /^q-color-picker__cube$/,
164
+ ([, c], { theme }) => `
165
+ pb-10% w-10%!
166
+ `
167
+ ],
168
+ [
169
+ /^q-color-picker--dark$/,
170
+ ([, c], { theme }) => `
171
+ shadow-sm
172
+ [&_.q-color-picker\\_\\_tune-tab_input]:(border-solid border-1px border-black border-op-30)
173
+ [&_.q-slider__thumb]:(text-[#fafafa])
174
+ `
175
+ ]
176
+ ]
177
+
178
+ export { shortcuts }
@@ -0,0 +1,181 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [
6
+ /^q-date$/,
7
+ ([, c], { theme }) =>
8
+ `inline-flex [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] w-[290px] min-w-[290px] max-w-full`
9
+ ],
10
+
11
+ [
12
+ /^q-date--bordered$/,
13
+ ([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
14
+ ],
15
+
16
+ [
17
+ /^q-date__header$/,
18
+ ([, c], { theme }) =>
19
+ `[border-top-left-radius:inherit] text-[#fff] p-[16px] bg-primary`
20
+ ],
21
+
22
+ [/^q-date__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
23
+
24
+ [
25
+ /^q-date__content$/,
26
+ ([, c], { theme }) => `outline-0 [&_.q-btn]:(font-normal)`
27
+ ],
28
+
29
+ [/^q-date__main$/, ([, c], { theme }) => `outline-0`],
30
+
31
+ [
32
+ /^q-date__header-link$/,
33
+ ([, c], { theme }) =>
34
+ `opacity-[0.64] outline-0 [transition:opacity_0.3s_ease-out] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
35
+ ],
36
+
37
+ [/^q-date__header-link--active$/, ([, c], { theme }) => `opacity-100`],
38
+
39
+ [
40
+ /^q-date__header-subtitle$/,
41
+ ([, c], { theme }) => `text-[14px] leading-[1.75] tracking-[0.00938em]`
42
+ ],
43
+
44
+ [
45
+ /^q-date__header-title-label$/,
46
+ ([, c], { theme }) => `text-[24px] leading-[1.2] tracking-[0.00735em]`
47
+ ],
48
+
49
+ [
50
+ /^q-date__view$/,
51
+ ([, c], { theme }) => `h-full w-full min-h-[290px] p-[16px]`
52
+ ],
53
+
54
+ [
55
+ /^q-date__navigation$/,
56
+ ([, c], { theme }) =>
57
+ `h-[12.5%] [&_>_div:first-child]:(w-[8%] min-w-[24px] justify-end) [&_>_div:last-child]:(w-[8%] min-w-[24px] justify-start)`
58
+ ],
59
+
60
+ [
61
+ /^q-date__calendar-weekdays$/,
62
+ ([, c], { theme }) => `h-[12.5%] [&_>_div]:(opacity-[0.38] text-[12px])`
63
+ ],
64
+
65
+ [
66
+ /^q-date__calendar-item$/,
67
+ ([, c], { theme }) =>
68
+ `inline-flex items-center justify-center align-middle !w-[14.285%] !h-[12.5%] relative p-px [&:after]:(content-empty absolute pointer-events-none top-px right-0 bottom-px left-0 border-dashed border-transparent border) [&_>_div]:(w-[30px] h-[30px] rounded-[50%]) [&_button]:(w-[30px] h-[30px] rounded-[50%]) [&_>_div]:(leading-[30px] text-center) [&_>_button]:(leading-[22px])`
69
+ ],
70
+
71
+ [/^q-date__calendar-item--out$/, ([, c], { theme }) => `opacity-[0.18]`],
72
+
73
+ [/^q-date__calendar-item--fill$/, ([, c], { theme }) => `invisible`],
74
+
75
+ [
76
+ /^q-date__range$/,
77
+ ([, c], { theme }) =>
78
+ `[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none)`
79
+ ],
80
+
81
+ [
82
+ /^q-date__range-from$/,
83
+ ([, c], { theme }) =>
84
+ `[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(left-2/4)`
85
+ ],
86
+
87
+ [
88
+ /^q-date__range-to$/,
89
+ ([, c], { theme }) =>
90
+ `[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(right-2/4)`
91
+ ],
92
+
93
+ [
94
+ /^q-date__edit-range$/,
95
+ ([, c], { theme }) =>
96
+ `[&:after]:() [&:nth-child(7n-6):after]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):after]:(rounded-tr-none rounded-br-none)`
97
+ ],
98
+
99
+ [
100
+ /^q-date__edit-range-from$/,
101
+ ([, c], { theme }) =>
102
+ `[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px])`
103
+ ],
104
+
105
+ [
106
+ /^q-date__edit-range-from-to$/,
107
+ ([, c], { theme }) =>
108
+ `[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px]) [&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
109
+ ],
110
+
111
+ [
112
+ /^q-date__edit-range-to$/,
113
+ ([, c], { theme }) =>
114
+ `[&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
115
+ ],
116
+
117
+ [
118
+ /^q-date__calendar-days-container$/,
119
+ ([, c], { theme }) => `h-3/4 min-h-[192px]`
120
+ ],
121
+
122
+ [/^q-date__calendar-days$/, ([, c], { theme }) => `[&_>_div]:(!h-1/6)`],
123
+
124
+ [
125
+ /^q-date__event$/,
126
+ ([, c], { theme }) =>
127
+ `absolute bottom-[2px] left-2/4 h-[5px] w-[8px] rounded-[5px] [transform:translate3d(-50%,_0,_0)] bg-primary`
128
+ ],
129
+
130
+ [
131
+ /^q-date__today$/,
132
+ ([, c], { theme }) => `[box-shadow:0_0_1px_0_currentColor]`
133
+ ],
134
+
135
+ [/^q-date__years-content$/, ([, c], { theme }) => `px-[8px] py-[0]`],
136
+
137
+ [/^q-date__years-item$/, ([, c], { theme }) => `flex-[0_0_33.3333%]`],
138
+
139
+ [/^q-date__months-item$/, ([, c], { theme }) => `flex-[0_0_33.3333%]`],
140
+
141
+ [
142
+ /^q-date--readonly$/,
143
+ ([, c], { theme }) =>
144
+ `[&_.q-date\\_\\_header]:(pointer-events-none) [&_.q-date\\_\\_content]:(pointer-events-none) [&_.q-date\\_\\_navigation]:(hidden)`
145
+ ],
146
+
147
+ [/^q-date--portrait$/, ([, c], { theme }) => `flex-col`],
148
+
149
+ [
150
+ /^q-date--portrait-standard$/,
151
+ ([, c], { theme }) =>
152
+ `[&_.q-date\\_\\_content]:(h-[calc(100% - 86px)]) [&_.q-date\\_\\_header]:([border-top-right-radius:inherit] h-[86px]) [&_.q-date\\_\\_header-title]:(items-center h-[30px])`
153
+ ],
154
+
155
+ [
156
+ /^q-date--portrait-minimal$/,
157
+ ([, c], { theme }) => `[&_.q-date\\_\\_content]:(h-full)`
158
+ ],
159
+
160
+ [
161
+ /^q-date--landscape$/,
162
+ ([, c], { theme }) =>
163
+ `flex-row items-stretch min-w-[420px] [&_>_div]:(flex flex-col) [&_.q-date\\_\\_content]:(h-full)`
164
+ ],
165
+
166
+ [
167
+ /^q-date--landscape-standard$/,
168
+ ([, c], { theme }) =>
169
+ `min-w-[420px] [&_.q-date\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[110px] w-[110px]) [&_.q-date\\_\\_header-title]:(flex-col) [&_.q-date\\_\\_header-today]:(mt-[12px] -ml-[8px])`
170
+ ],
171
+
172
+ [/^q-date--landscape-minimal$/, ([, c], { theme }) => `w-[310px]`],
173
+
174
+ [
175
+ /^q-date--dark$/,
176
+ ([, c], { theme }) =>
177
+ `[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)] border-[rgba(255,_255,_255,_0.28)]`
178
+ ]
179
+ ]
180
+
181
+ export { shortcuts }
@@ -0,0 +1,118 @@
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.platform-ios .q-dialog__inner--minimized > div, body.platform-android:not(.native-mobile) .q-dialog__inner--minimized > div {
8
+ max-height: calc(100vh - 108px);
9
+ }
10
+
11
+ body.q-ios-padding .q-dialog__inner {
12
+ padding-top: 20px !important;
13
+ padding-top: env(safe-area-inset-top) !important;
14
+ padding-bottom: env(safe-area-inset-bottom) !important;
15
+ }
16
+ body.q-ios-padding .q-dialog__inner > div {
17
+ max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
18
+ }
19
+
20
+ @media (max-width: 599.98px) {
21
+ .q-dialog__inner--top, .q-dialog__inner--bottom {
22
+ padding-left: 0;
23
+ padding-right: 0;
24
+ }
25
+ .q-dialog__inner--top > div, .q-dialog__inner--bottom > div {
26
+ width: 100% !important;
27
+ }
28
+ }
29
+ @media (min-width: 600px) {
30
+ .q-dialog__inner--minimized > div {
31
+ max-width: 560px;
32
+ }
33
+ }
34
+ `
35
+ }
36
+ ]
37
+
38
+ const shortcuts: UserShortcuts<QuasarTheme> = [
39
+ [/^q-dialog$/, ([, c], { theme }) => ``],
40
+ [
41
+ /^q-dialog__title$/,
42
+ ([, c], { theme }) => `text-1.25rem font-500 lh-1.6 tracking-0.0125em`
43
+ ],
44
+ [/^q-dialog__progress$/, ([, c], { theme }) => `text-4rem`],
45
+ [
46
+ /^q-dialog__inner$/,
47
+ ([, c], { theme }) => `outline-0
48
+ [&>div]:(pointer-events-auto overflow-auto border-rd-4px)
49
+ [&>.q-card>.q-card\\_\\_actions_.q-btn--rectangle]:(min-w-64px)
50
+ `
51
+ ],
52
+ [
53
+ /^q-dialog__inner--square$/,
54
+ ([, c], { theme }) => `[&>div]:(border-rd-0!)
55
+ `
56
+ ],
57
+ [
58
+ /^q-dialog__inner--minimized$/,
59
+ ([, c], { theme }) => `p-24px
60
+ [&>div]:(max-h-[calc(100vh-48px)])
61
+ `
62
+ ],
63
+ [
64
+ /^q-dialog__inner--maximized$/,
65
+ (
66
+ [, c],
67
+ { theme }
68
+ ) => `[&>div]:(h-full w-full max-h-100vh max-w-100vw border-rd-0! top-0! left-0!)
69
+ `
70
+ ],
71
+ [
72
+ /^q-dialog__inner--top$/,
73
+ ([, c], { theme }) => `pt-0! pb-0!
74
+ [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-tr-none)
75
+
76
+ `
77
+ ],
78
+ [
79
+ /^q-dialog__inner--bottom$/,
80
+ ([, c], { theme }) => `pt-0! pb-0!
81
+ [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-bl-none rounded-br-none)
82
+ `
83
+ ],
84
+ [
85
+ /^q-dialog__inner--left$/,
86
+ ([, c], { theme }) => `pt-0! pb-0!
87
+ [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-bl-none)
88
+ `
89
+ ],
90
+ [
91
+ /^q-dialog__inner--right$/,
92
+ ([, c], { theme }) => `pt-0! pb-0!
93
+ [&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tr-none rounded-br-none)
94
+ `
95
+ ],
96
+ [
97
+ /^q-dialog__inner--fullwidth$/,
98
+ ([, c], { theme }) => `[&>div]:(w-full! max-w-full!)
99
+ `
100
+ ],
101
+ [
102
+ /^q-dialog__inner--fullheight$/,
103
+ ([, c], { theme }) => `[&>div]:(h-full! max-h-full!)
104
+ `
105
+ ],
106
+ [
107
+ /^q-dialog__backdrop$/,
108
+ ([, c], { theme }) => `-z-1 pointer-events-auto outline-0 bg-black bg-op-40
109
+ `
110
+ ],
111
+ [
112
+ /^q-body--dialog$/,
113
+ ([, c], { theme }) => `overflow-hidden
114
+ `
115
+ ]
116
+ ]
117
+
118
+ export { preflights, shortcuts }
@@ -0,0 +1,76 @@
1
+ import type { Rule, UserShortcuts } from '@unocss/core'
2
+ import type { QuasarTheme } from '../theme.js'
3
+
4
+ const shortcuts: UserShortcuts<QuasarTheme> = [
5
+ [/^q-drawer$/, ([, c], { theme }) => `absolute top-0 bottom-0 bg-[#fff]`],
6
+
7
+ [/^q-drawer--on-top$/, ([, c], { theme }) => `z-3000`],
8
+
9
+ [
10
+ /^q-drawer--left$/,
11
+ ([, c], { theme }) =>
12
+ `left-0 -translate-x-full [&_.q-layout\\_\\_shadow]:(left-[10px] -right-[10px]) [&_.q-layout\\_\\_shadow:after]:(right-[10px])`
13
+ ],
14
+
15
+ [
16
+ /^q-drawer--left.q-drawer--bordered$/,
17
+ ([, c], { theme }) => `[border-right:1px_solid_rgba(0,_0,_0,_0.12)]`
18
+ ],
19
+
20
+ [
21
+ /^q-drawer--right$/,
22
+ ([, c], { theme }) =>
23
+ `right-0 translate-x-full [&_.q-layout\\_\\_shadow]:(-left-[10px]) [&_.q-layout\\_\\_shadow:after]:(left-[10px])`
24
+ ],
25
+
26
+ [
27
+ /^q-drawer--right.q-drawer--bordered$/,
28
+ ([, c], { theme }) => `[border-left:1px_solid_rgba(0,_0,_0,_0.12)]`
29
+ ],
30
+
31
+ [
32
+ /^q-drawer-container:not(.q-drawer--mini-animate)$/,
33
+ ([, c], { theme }) =>
34
+ `[&_.q-drawer--mini]:(!p-0) [&_.q-drawer--mini_.q-item]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&_.q-drawer--mini_.q-item\\_\\_label]:(hidden)`
35
+ ],
36
+
37
+ [
38
+ /^q-drawer-container:not(.q-drawer--mini-animate)$/,
39
+ ([, c], { theme }) => `[&__.q-drawer--mini
40
+ __.q-item\\_\\_section]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&__.q-drawer--mini
41
+ __.q-item\\_\\_section--main]:(hidden) [&__.q-drawer--mini
42
+ __.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
43
+ ],
44
+
45
+ [
46
+ /^q-drawer--mini$/,
47
+ ([, c], { theme }) =>
48
+ `[&_.q-mini-drawer-hide]:(hidden) [&_.q-expansion-item\\_\\_content]:(hidden)`
49
+ ],
50
+
51
+ [
52
+ /^q-drawer--mini-animate$/,
53
+ ([, c], { theme }) =>
54
+ `[&_.q-drawer\\_\\_content]:(!overflow-x-hidden whitespace-nowrap)`
55
+ ],
56
+
57
+ [
58
+ /^q-drawer--standard$/,
59
+ ([, c], { theme }) => `[&_.q-mini-drawer-only]:(hidden)`
60
+ ],
61
+
62
+ [
63
+ /^q-drawer--mobile$/,
64
+ ([, c], { theme }) =>
65
+ `[&_.q-mini-drawer-only]:(hidden) [&_.q-mini-drawer-hide]:(hidden)`
66
+ ],
67
+
68
+ [/^q-drawer__backdrop$/, ([, c], { theme }) => `z-2999!`],
69
+
70
+ [
71
+ /^q-drawer__opener$/,
72
+ ([, c], { theme }) => `h-full w-[15px] select-none z-2001`
73
+ ]
74
+ ]
75
+
76
+ export { shortcuts }