vitrify 0.16.3 → 0.17.0

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