vitrify 0.18.5 → 0.19.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 (283) hide show
  1. package/dist/index.js +0 -2
  2. package/dist/types/bin/dev.d.ts +2 -46
  3. package/dist/types/index.d.ts +0 -2
  4. package/package.json +30 -25
  5. package/src/node/index.ts +1 -3
  6. package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +0 -24
  7. package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +0 -14
  8. package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +0 -26
  9. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +0 -24
  10. package/dist/plugins/quasar/unocss/components/QBar.unocss.js +0 -29
  11. package/dist/plugins/quasar/unocss/components/QBreadcrumbs.unocss.js +0 -13
  12. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +0 -76
  13. package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +0 -21
  14. package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +0 -35
  15. package/dist/plugins/quasar/unocss/components/QBtnToggle.unocss.js +0 -4
  16. package/dist/plugins/quasar/unocss/components/QCard.unocss.js +0 -48
  17. package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +0 -101
  18. package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +0 -50
  19. package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +0 -85
  20. package/dist/plugins/quasar/unocss/components/QChip.unocss.js +0 -68
  21. package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +0 -34
  22. package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +0 -118
  23. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +0 -151
  24. package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +0 -122
  25. package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +0 -58
  26. package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +0 -71
  27. package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +0 -46
  28. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +0 -124
  29. package/dist/plugins/quasar/unocss/components/QField.unocss.js +0 -344
  30. package/dist/plugins/quasar/unocss/components/QFile.unocss.js +0 -18
  31. package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +0 -14
  32. package/dist/plugins/quasar/unocss/components/QForm.unocss.js +0 -4
  33. package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +0 -15
  34. package/dist/plugins/quasar/unocss/components/QIcon.unocss.js +0 -22
  35. package/dist/plugins/quasar/unocss/components/QImg.unocss.js +0 -35
  36. package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +0 -10
  37. package/dist/plugins/quasar/unocss/components/QInput.unocss.js +0 -13
  38. package/dist/plugins/quasar/unocss/components/QIntersection.unocss.js +0 -4
  39. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +0 -87
  40. package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +0 -12
  41. package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +0 -84
  42. package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +0 -91
  43. package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +0 -14
  44. package/dist/plugins/quasar/unocss/components/QOptionGroup.unocss.js +0 -4
  45. package/dist/plugins/quasar/unocss/components/QPage.unocss.js +0 -4
  46. package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +0 -8
  47. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +0 -18
  48. package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +0 -13
  49. package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +0 -9
  50. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +0 -14
  51. package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +0 -74
  52. package/dist/plugins/quasar/unocss/components/QRating.unocss.js +0 -27
  53. package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +0 -14
  54. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +0 -39
  55. package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +0 -63
  56. package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +0 -30
  57. package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +0 -178
  58. package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +0 -29
  59. package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +0 -198
  60. package/dist/plugins/quasar/unocss/components/QSpace.unocss.js +0 -4
  61. package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +0 -45
  62. package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +0 -41
  63. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +0 -118
  64. package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +0 -5
  65. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +0 -178
  66. package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +0 -119
  67. package/dist/plugins/quasar/unocss/components/QTime.unocss.js +0 -225
  68. package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +0 -91
  69. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +0 -73
  70. package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +0 -16
  71. package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +0 -13
  72. package/dist/plugins/quasar/unocss/components/QTree.unocss.js +0 -114
  73. package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +0 -84
  74. package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +0 -13
  75. package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +0 -19
  76. package/dist/plugins/quasar/unocss/composables/panel.unocss.js +0 -5
  77. package/dist/plugins/quasar/unocss/core/colors.unocss.js +0 -17
  78. package/dist/plugins/quasar/unocss/core/dark.unocss.js +0 -13
  79. package/dist/plugins/quasar/unocss/core/elevation.unocss.js +0 -76
  80. package/dist/plugins/quasar/unocss/core/flex.unocss.js +0 -71
  81. package/dist/plugins/quasar/unocss/core/helpers.unocss.js +0 -57
  82. package/dist/plugins/quasar/unocss/core/mouse.unocss.js +0 -45
  83. package/dist/plugins/quasar/unocss/core/orientation.unocss.js +0 -5
  84. package/dist/plugins/quasar/unocss/core/position.unocss.js +0 -49
  85. package/dist/plugins/quasar/unocss/core/size.unocss.js +0 -122
  86. package/dist/plugins/quasar/unocss/core/touch.unocss.js +0 -6
  87. package/dist/plugins/quasar/unocss/core/transitions.unocss.js +0 -280
  88. package/dist/plugins/quasar/unocss/core/typography.unocss.js +0 -149
  89. package/dist/plugins/quasar/unocss/core/visibility.unocss.js +0 -219
  90. package/dist/plugins/quasar/unocss/directives/QMorph.unocss.js +0 -11
  91. package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +0 -19
  92. package/dist/plugins/quasar/unocss/index.js +0 -1909
  93. package/dist/plugins/quasar/unocss/plugins/QBottomSheet.unocss.js +0 -17
  94. package/dist/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.js +0 -9
  95. package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +0 -16
  96. package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +0 -207
  97. package/dist/plugins/quasar/unocss/theme.js +0 -335
  98. package/dist/types/plugins/quasar/unocss/components/QAjaxBar.unocss.d.ts +0 -4
  99. package/dist/types/plugins/quasar/unocss/components/QAvatar.unocss.d.ts +0 -4
  100. package/dist/types/plugins/quasar/unocss/components/QBadge.unocss.d.ts +0 -4
  101. package/dist/types/plugins/quasar/unocss/components/QBanner.unocss.d.ts +0 -4
  102. package/dist/types/plugins/quasar/unocss/components/QBar.unocss.d.ts +0 -4
  103. package/dist/types/plugins/quasar/unocss/components/QBreadcrumbs.unocss.d.ts +0 -5
  104. package/dist/types/plugins/quasar/unocss/components/QBtn.unocss.d.ts +0 -4
  105. package/dist/types/plugins/quasar/unocss/components/QBtnDropdown.unocss.d.ts +0 -4
  106. package/dist/types/plugins/quasar/unocss/components/QBtnGroup.unocss.d.ts +0 -4
  107. package/dist/types/plugins/quasar/unocss/components/QBtnToggle.unocss.d.ts +0 -4
  108. package/dist/types/plugins/quasar/unocss/components/QCard.unocss.d.ts +0 -4
  109. package/dist/types/plugins/quasar/unocss/components/QCarousel.unocss.d.ts +0 -4
  110. package/dist/types/plugins/quasar/unocss/components/QChatMessage.unocss.d.ts +0 -4
  111. package/dist/types/plugins/quasar/unocss/components/QCheckbox.unocss.d.ts +0 -5
  112. package/dist/types/plugins/quasar/unocss/components/QChip.unocss.d.ts +0 -5
  113. package/dist/types/plugins/quasar/unocss/components/QCircularProgress.unocss.d.ts +0 -5
  114. package/dist/types/plugins/quasar/unocss/components/QColorPicker.unocss.d.ts +0 -4
  115. package/dist/types/plugins/quasar/unocss/components/QDate.unocss.d.ts +0 -4
  116. package/dist/types/plugins/quasar/unocss/components/QDialog.unocss.d.ts +0 -5
  117. package/dist/types/plugins/quasar/unocss/components/QDrawer.unocss.d.ts +0 -4
  118. package/dist/types/plugins/quasar/unocss/components/QEditor.unocss.d.ts +0 -4
  119. package/dist/types/plugins/quasar/unocss/components/QExpansionItem.unocss.d.ts +0 -4
  120. package/dist/types/plugins/quasar/unocss/components/QFab.unocss.d.ts +0 -4
  121. package/dist/types/plugins/quasar/unocss/components/QField.unocss.d.ts +0 -5
  122. package/dist/types/plugins/quasar/unocss/components/QFile.unocss.d.ts +0 -4
  123. package/dist/types/plugins/quasar/unocss/components/QFooter.unocss.d.ts +0 -4
  124. package/dist/types/plugins/quasar/unocss/components/QForm.unocss.d.ts +0 -4
  125. package/dist/types/plugins/quasar/unocss/components/QHeader.unocss.d.ts +0 -4
  126. package/dist/types/plugins/quasar/unocss/components/QIcon.unocss.d.ts +0 -4
  127. package/dist/types/plugins/quasar/unocss/components/QImg.unocss.d.ts +0 -4
  128. package/dist/types/plugins/quasar/unocss/components/QInnerLoading.unocss.d.ts +0 -4
  129. package/dist/types/plugins/quasar/unocss/components/QInput.unocss.d.ts +0 -4
  130. package/dist/types/plugins/quasar/unocss/components/QIntersection.unocss.d.ts +0 -4
  131. package/dist/types/plugins/quasar/unocss/components/QItem.unocss.d.ts +0 -4
  132. package/dist/types/plugins/quasar/unocss/components/QKnob.unocss.d.ts +0 -4
  133. package/dist/types/plugins/quasar/unocss/components/QLayout.unocss.d.ts +0 -5
  134. package/dist/types/plugins/quasar/unocss/components/QLinearProgress.unocss.d.ts +0 -5
  135. package/dist/types/plugins/quasar/unocss/components/QMenu.unocss.d.ts +0 -4
  136. package/dist/types/plugins/quasar/unocss/components/QOptionGroup.unocss.d.ts +0 -4
  137. package/dist/types/plugins/quasar/unocss/components/QPage.unocss.d.ts +0 -4
  138. package/dist/types/plugins/quasar/unocss/components/QPageSticky.unocss.d.ts +0 -4
  139. package/dist/types/plugins/quasar/unocss/components/QPagination.unocss.d.ts +0 -4
  140. package/dist/types/plugins/quasar/unocss/components/QParallax.unocss.d.ts +0 -4
  141. package/dist/types/plugins/quasar/unocss/components/QPopupEdit.unocss.d.ts +0 -4
  142. package/dist/types/plugins/quasar/unocss/components/QPullToRefresh.unocss.d.ts +0 -4
  143. package/dist/types/plugins/quasar/unocss/components/QRadio.unocss.d.ts +0 -5
  144. package/dist/types/plugins/quasar/unocss/components/QRating.unocss.d.ts +0 -4
  145. package/dist/types/plugins/quasar/unocss/components/QResponsive.unocss.d.ts +0 -4
  146. package/dist/types/plugins/quasar/unocss/components/QScrollarea.unocss.d.ts +0 -4
  147. package/dist/types/plugins/quasar/unocss/components/QSelect.unocss.d.ts +0 -5
  148. package/dist/types/plugins/quasar/unocss/components/QSeparator.unocss.d.ts +0 -4
  149. package/dist/types/plugins/quasar/unocss/components/QSkeleton.unocss.d.ts +0 -5
  150. package/dist/types/plugins/quasar/unocss/components/QSlideItem.unocss.d.ts +0 -4
  151. package/dist/types/plugins/quasar/unocss/components/QSlider.unocss.d.ts +0 -4
  152. package/dist/types/plugins/quasar/unocss/components/QSpace.unocss.d.ts +0 -4
  153. package/dist/types/plugins/quasar/unocss/components/QSpinner.unocss.d.ts +0 -5
  154. package/dist/types/plugins/quasar/unocss/components/QSplitter.unocss.d.ts +0 -4
  155. package/dist/types/plugins/quasar/unocss/components/QStepper.unocss.d.ts +0 -4
  156. package/dist/types/plugins/quasar/unocss/components/QTabPanel.unocss.d.ts +0 -4
  157. package/dist/types/plugins/quasar/unocss/components/QTable.unocss.d.ts +0 -5
  158. package/dist/types/plugins/quasar/unocss/components/QTabs.unocss.d.ts +0 -4
  159. package/dist/types/plugins/quasar/unocss/components/QTime.unocss.d.ts +0 -4
  160. package/dist/types/plugins/quasar/unocss/components/QTimeline.unocss.d.ts +0 -4
  161. package/dist/types/plugins/quasar/unocss/components/QToggle.unocss.d.ts +0 -5
  162. package/dist/types/plugins/quasar/unocss/components/QToolbar.unocss.d.ts +0 -4
  163. package/dist/types/plugins/quasar/unocss/components/QTooltip.unocss.d.ts +0 -4
  164. package/dist/types/plugins/quasar/unocss/components/QTree.unocss.d.ts +0 -5
  165. package/dist/types/plugins/quasar/unocss/components/QUploader.unocss.d.ts +0 -4
  166. package/dist/types/plugins/quasar/unocss/components/QVideo.unocss.d.ts +0 -4
  167. package/dist/types/plugins/quasar/unocss/components/QVirtualScroll.unocss.d.ts +0 -4
  168. package/dist/types/plugins/quasar/unocss/composables/panel.unocss.d.ts +0 -4
  169. package/dist/types/plugins/quasar/unocss/core/colors.unocss.d.ts +0 -4
  170. package/dist/types/plugins/quasar/unocss/core/dark.unocss.d.ts +0 -5
  171. package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +0 -5
  172. package/dist/types/plugins/quasar/unocss/core/flex.unocss.d.ts +0 -4
  173. package/dist/types/plugins/quasar/unocss/core/helpers.unocss.d.ts +0 -6
  174. package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +0 -6
  175. package/dist/types/plugins/quasar/unocss/core/orientation.unocss.d.ts +0 -4
  176. package/dist/types/plugins/quasar/unocss/core/position.unocss.d.ts +0 -4
  177. package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +0 -5
  178. package/dist/types/plugins/quasar/unocss/core/touch.unocss.d.ts +0 -4
  179. package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +0 -5
  180. package/dist/types/plugins/quasar/unocss/core/typography.unocss.d.ts +0 -5
  181. package/dist/types/plugins/quasar/unocss/core/visibility.unocss.d.ts +0 -6
  182. package/dist/types/plugins/quasar/unocss/directives/QMorph.unocss.d.ts +0 -4
  183. package/dist/types/plugins/quasar/unocss/directives/QRipple.unocss.d.ts +0 -4
  184. package/dist/types/plugins/quasar/unocss/index.d.ts +0 -11
  185. package/dist/types/plugins/quasar/unocss/plugins/QBottomSheet.unocss.d.ts +0 -4
  186. package/dist/types/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.d.ts +0 -4
  187. package/dist/types/plugins/quasar/unocss/plugins/QLoading.unocss.d.ts +0 -4
  188. package/dist/types/plugins/quasar/unocss/plugins/QNotify.unocss.d.ts +0 -4
  189. package/dist/types/plugins/quasar/unocss/theme.d.ts +0 -1147
  190. package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +0 -32
  191. package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +0 -22
  192. package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +0 -40
  193. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +0 -36
  194. package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +0 -36
  195. package/src/node/plugins/quasar/unocss/components/QBreadcrumbs.unocss.ts +0 -18
  196. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +0 -111
  197. package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +0 -30
  198. package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +0 -53
  199. package/src/node/plugins/quasar/unocss/components/QBtnToggle.unocss.ts +0 -8
  200. package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +0 -67
  201. package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +0 -145
  202. package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +0 -74
  203. package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +0 -111
  204. package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +0 -95
  205. package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +0 -43
  206. package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +0 -169
  207. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +0 -219
  208. package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +0 -142
  209. package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +0 -83
  210. package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +0 -95
  211. package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +0 -66
  212. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +0 -178
  213. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +0 -413
  214. package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +0 -27
  215. package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +0 -22
  216. package/src/node/plugins/quasar/unocss/components/QForm.unocss.ts +0 -8
  217. package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +0 -23
  218. package/src/node/plugins/quasar/unocss/components/QIcon.unocss.ts +0 -30
  219. package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +0 -52
  220. package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +0 -17
  221. package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +0 -20
  222. package/src/node/plugins/quasar/unocss/components/QIntersection.unocss.ts +0 -8
  223. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +0 -125
  224. package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +0 -18
  225. package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +0 -95
  226. package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +0 -122
  227. package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +0 -22
  228. package/src/node/plugins/quasar/unocss/components/QOptionGroup.unocss.ts +0 -8
  229. package/src/node/plugins/quasar/unocss/components/QPage.unocss.ts +0 -8
  230. package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +0 -13
  231. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +0 -27
  232. package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +0 -20
  233. package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +0 -15
  234. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +0 -22
  235. package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +0 -98
  236. package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +0 -42
  237. package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +0 -22
  238. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +0 -60
  239. package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +0 -81
  240. package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +0 -48
  241. package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +0 -232
  242. package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +0 -43
  243. package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +0 -291
  244. package/src/node/plugins/quasar/unocss/components/QSpace.unocss.ts +0 -8
  245. package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +0 -52
  246. package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +0 -60
  247. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +0 -167
  248. package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +0 -10
  249. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +0 -253
  250. package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +0 -170
  251. package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +0 -322
  252. package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +0 -130
  253. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +0 -94
  254. package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +0 -24
  255. package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +0 -20
  256. package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +0 -159
  257. package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +0 -121
  258. package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +0 -20
  259. package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +0 -29
  260. package/src/node/plugins/quasar/unocss/composables/panel.unocss.ts +0 -9
  261. package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +0 -21
  262. package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +0 -18
  263. package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +0 -102
  264. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +0 -97
  265. package/src/node/plugins/quasar/unocss/core/helpers.unocss.ts +0 -78
  266. package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +0 -59
  267. package/src/node/plugins/quasar/unocss/core/orientation.unocss.ts +0 -10
  268. package/src/node/plugins/quasar/unocss/core/position.unocss.ts +0 -83
  269. package/src/node/plugins/quasar/unocss/core/size.unocss.ts +0 -227
  270. package/src/node/plugins/quasar/unocss/core/touch.unocss.ts +0 -12
  271. package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +0 -402
  272. package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +0 -194
  273. package/src/node/plugins/quasar/unocss/core/visibility.unocss.ts +0 -250
  274. package/src/node/plugins/quasar/unocss/createSafelist.js +0 -2549
  275. package/src/node/plugins/quasar/unocss/directives/QMorph.unocss.ts +0 -18
  276. package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +0 -30
  277. package/src/node/plugins/quasar/unocss/index.ts +0 -2165
  278. package/src/node/plugins/quasar/unocss/parse.js +0 -132
  279. package/src/node/plugins/quasar/unocss/plugins/QBottomSheet.unocss.ts +0 -27
  280. package/src/node/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.ts +0 -16
  281. package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +0 -24
  282. package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +0 -284
  283. package/src/node/plugins/quasar/unocss/theme.ts +0 -1489
@@ -1,159 +0,0 @@
1
- import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const preflights: Preflight<QuasarTheme>[] = [
5
- {
6
- getCSS: ({ theme }) => `
7
- [dir=rtl] .q-tree__arrow {
8
- transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
9
- }
10
- [dir=rtl] .q-tree__arrow--rotate {
11
- transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
12
- }
13
- `
14
- }
15
- ]
16
- const shortcuts: UserShortcuts<QuasarTheme> = [
17
- [
18
- /^q-tree$/,
19
- ([, c], { theme }) =>
20
- theme.quasar?.components?.['q-tree'] ??
21
- `relative text-[#9e9e9e] [&_>_.q-tree\\_\\_node]:(p-0) [&_>_.q-tree\\_\\_node:after]:(hidden) [&_>_.q-tree\\_\\_node_>_.q-tree\\_\\_node-header:before]:(hidden) [&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-[24px])`
22
- ],
23
-
24
- [
25
- /^q-tree__node$/,
26
- ([, c], { theme }) =>
27
- theme.quasar?.components?.['q-tree__node'] ??
28
- `pt-[0] pr-[0] pb-[3px] pl-[22px] [&:after]:(content-[''] absolute -top-[3px] bottom-[0] w-[2px] right-auto -left-[13px] [border-left:1px_solid_currentColor]) [&:last-child:after]:(hidden)`
29
- ],
30
-
31
- [
32
- /^q-tree__node--disabled$/,
33
- ([, c], { theme }) =>
34
- theme.quasar?.components?.['q-tree__node--disabled'] ??
35
- `pointer-events-none [&_.disabled]:(!opacity-100) [&_>_div]:(!opacity-60) [&_>_i]:(!opacity-60) [&_>_.disabled]:(!opacity-60) [&_>_div_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100)`
36
- ],
37
-
38
- [
39
- /^q-tree__node-header$/,
40
- ([, c], { theme }) =>
41
- theme.quasar?.components?.['q-tree__node-header'] ??
42
- `[&:before]:(content-[''] absolute -top-[3px] bottom-2/4 w-[31px] -left-[35px] [border-left:1px_solid_currentColor] [border-bottom:1px_solid_currentColor]) p-[4px] mt-[3px] rounded-[4px] outline-[0]`
43
- ],
44
-
45
- [
46
- /^q-tree__children$/,
47
- ([, c], { theme }) =>
48
- theme.quasar?.components?.['q-tree__children'] ?? `pl-[25px]`
49
- ],
50
-
51
- [
52
- /^q-tree__node-body$/,
53
- ([, c], { theme }) =>
54
- theme.quasar?.components?.['q-tree__node-body'] ??
55
- `pt-[5px] pr-[0] pb-[8px] pl-[5px]`
56
- ],
57
-
58
- [
59
- /^q-tree__node--parent$/,
60
- ([, c], { theme }) =>
61
- theme.quasar?.components?.['q-tree__node--parent'] ??
62
- `pl-[2px] [&_>_.q-tree\\_\\_node-header:before]:(w-[15px] -left-[15px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body]:(pt-[5px] pr-[0] pb-[8px] pl-[27px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body:after]:(content-[''] absolute top-[0] w-[2px] h-full right-auto left-[12px] [border-left:1px_solid_currentColor] bottom-[50px])`
63
- ],
64
-
65
- [
66
- /^q-tree__node--link$/,
67
- ([, c], { theme }) =>
68
- theme.quasar?.components?.['q-tree__node--link'] ?? `cursor-pointer`
69
- ],
70
-
71
- [
72
- /^q-tree__node-header-content$/,
73
- ([, c], { theme }) =>
74
- theme.quasar?.components?.['q-tree__node-header-content'] ??
75
- `text-[#000] [transition:color_0.3s] [&_.q-icon]:(text-[21px]) [&_.q-avatar]:(text-[28px] rounded-[50%] w-[28px] h-[28px])`
76
- ],
77
-
78
- [
79
- /^q-tree__node--selected$/,
80
- ([, c], { theme }) =>
81
- theme.quasar?.components?.['q-tree__node--selected'] ??
82
- `[&_.q-tree\\_\\_node-header-content]:(text-[#9e9e9e])`
83
- ],
84
-
85
- [
86
- /^q-tree__icon$/,
87
- ([, c], { theme }) =>
88
- theme.quasar?.components?.['q-tree__icon'] ?? `text-[21px]`
89
- ],
90
-
91
- [
92
- /^q-tree__img$/,
93
- ([, c], { theme }) =>
94
- theme.quasar?.components?.['q-tree__img'] ?? `h-[42px] rounded-[2px]`
95
- ],
96
-
97
- [
98
- /^q-tree__avatar$/,
99
- ([, c], { theme }) =>
100
- theme.quasar?.components?.['q-tree__avatar'] ??
101
- `text-[28px] rounded-[50%] w-[28px] h-[28px]`
102
- ],
103
-
104
- [
105
- /^q-tree__arrow$/,
106
- ([, c], { theme }) =>
107
- theme.quasar?.components?.['q-tree__arrow'] ??
108
- `text-[16px] mr-[4px] [transition:transform_0.3s]`
109
- ],
110
-
111
- [
112
- /^q-tree__spinner$/,
113
- ([, c], { theme }) =>
114
- theme.quasar?.components?.['q-tree__spinner'] ?? `text-[16px] mr-[4px]`
115
- ],
116
-
117
- [
118
- /^q-tree__arrow--rotate$/,
119
- ([, c], { theme }) =>
120
- theme.quasar?.components?.['q-tree__arrow--rotate'] ??
121
- `[transform:rotate3d(0,_0,_1,_90deg)]`
122
- ],
123
-
124
- [
125
- /^q-tree__tickbox$/,
126
- ([, c], { theme }) =>
127
- theme.quasar?.components?.['q-tree__tickbox'] ?? `mr-[4px]`
128
- ],
129
-
130
- [
131
- /^q-tree--dark$/,
132
- ([, c], { theme }) =>
133
- theme.quasar?.components?.['q-tree--dark'] ??
134
- `[&_.q-tree\\_\\_node-header-content]:(text-[#fff])`
135
- ],
136
-
137
- [
138
- /^q-tree--no-connectors$/,
139
- ([, c], { theme }) =>
140
- theme.quasar?.components?.['q-tree--no-connectors'] ??
141
- `[&_.q-tree\\_\\_node:after]:(!hidden) [&_.q-tree\\_\\_node-header:before]:(!hidden) [&_.q-tree\\_\\_node-body:after]:(!hidden)`
142
- ],
143
-
144
- [
145
- /^q-tree--dense$/,
146
- ([, c], { theme }) =>
147
- theme.quasar?.components?.['q-tree--dense'] ??
148
- `[&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-px) [&_.q-tree\\_\\_arrow]:(mr-px) [&_.q-tree\\_\\_spinner]:(mr-px) [&_.q-tree\\_\\_img]:(h-[32px]) [&_.q-tree\\_\\_tickbox]:(mr-[3px]) [&_.q-tree\\_\\_node]:(p-0) [&_.q-tree\\_\\_node:after]:(top-[0] -left-[8px]) [&_.q-tree\\_\\_node-header]:(mt-0 p-px) [&_.q-tree\\_\\_node-header:before]:(top-[0] -left-[8px] w-[8px]) [&_.q-tree\\_\\_node--child]:(pl-[17px]) [&_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header:before]:(-left-[25px] w-[21px]) [&_.q-tree\\_\\_node-body]:(pt-[0] px-[0] pb-[2px]) [&_.q-tree\\_\\_children]:(pl-[16px])`
149
- ],
150
-
151
- [
152
- /^q-tree--dense$/,
153
- ([, c], { theme }) =>
154
- theme.quasar?.components?.['q-tree--dense'] ??
155
- `[&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body]:(pt-[0] pr-[0] pb-[2px] pl-[20px]) [&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body:after]:(left-[8px])`
156
- ]
157
- ]
158
-
159
- export { preflights, shortcuts }
@@ -1,121 +0,0 @@
1
- import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const shortcuts: UserShortcuts<QuasarTheme> = [
5
- [
6
- /^q-uploader$/,
7
- ([, c], { theme }) =>
8
- theme.quasar?.components?.['q-uploader'] ??
9
- `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] align-top bg-[#fff] relative w-[320px] max-h-[320px]`
10
- ],
11
-
12
- [
13
- /^q-uploader--bordered$/,
14
- ([, c], { theme }) =>
15
- theme.quasar?.components?.['q-uploader--bordered'] ??
16
- `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
17
- ],
18
-
19
- [
20
- /^q-uploader__input$/,
21
- ([, c], { theme }) =>
22
- theme.quasar?.components?.['q-uploader__input'] ??
23
- `opacity-0 w-full h-full cursor-pointer [&::-webkit-file-upload-button]:(cursor-pointer)`
24
- ],
25
-
26
- [
27
- /^q-uploader__file$/,
28
- ([, c], { theme }) =>
29
- theme.quasar?.components?.['q-uploader__file'] ??
30
- `[&:before]:(content-[''] [border-top-left-radius:inherit] [border-top-right-radius:inherit] absolute top-[0] right-[0] bottom-[0] left-[0] pointer-events-none bg-current opacity-[0.04]) rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[0] border-[1px] border-solid border-[rgba(0,0,0,0.12)] [&_.q-circular-progress]:(text-[24px]) [&_+_.q-uploader\\_\\_file]:(mt-[8px])`
31
- ],
32
-
33
- [
34
- /^q-uploader__header$/,
35
- ([, c], { theme }) =>
36
- theme.quasar?.components?.['q-uploader__header'] ??
37
- `relative [border-top-left-radius:inherit] [border-top-right-radius:inherit] text-[#fff] w-full`
38
- ],
39
-
40
- [
41
- /^q-uploader__spinner$/,
42
- ([, c], { theme }) =>
43
- theme.quasar?.components?.['q-uploader__spinner'] ??
44
- `text-[24px] mr-[4px]`
45
- ],
46
-
47
- [
48
- /^q-uploader__header-content$/,
49
- ([, c], { theme }) =>
50
- theme.quasar?.components?.['q-uploader__header-content'] ?? `p-[8px]`
51
- ],
52
-
53
- [
54
- /^q-uploader__dnd$/,
55
- ([, c], { theme }) =>
56
- theme.quasar?.components?.['q-uploader__dnd'] ??
57
- `outline-[1px_dashed_currentColor] outline-offset-[-4px] bg-[rgba(255,_255,_255,_0.6)]`
58
- ],
59
-
60
- [
61
- /^q-uploader__overlay$/,
62
- ([, c], { theme }) =>
63
- theme.quasar?.components?.['q-uploader__overlay'] ??
64
- `text-[36px] text-[#000] bg-[rgba(255,_255,_255,_0.6)]`
65
- ],
66
-
67
- [
68
- /^q-uploader__list$/,
69
- ([, c], { theme }) =>
70
- theme.quasar?.components?.['q-uploader__list'] ??
71
- `relative [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit] p-[8px] min-h-[60px] flex-auto`
72
- ],
73
-
74
- [
75
- /^q-uploader__file--img$/,
76
- ([, c], { theme }) =>
77
- theme.quasar?.components?.['q-uploader__file--img'] ??
78
- `text-[#fff] h-[200px] min-w-[200px] bg-[50%_50%] bg-no-repeat [&:before]:(content-[none]) [&_.q-circular-progress]:(text-[#fff]) [&_.q-uploader\\_\\_file-header]:(pb-[24px] bg-[linear-gradient(_to_bottom,_rgba(0,_0,_0,_0.7)_20%,_rgba(255,_255,_255,_0)_)])`
79
- ],
80
-
81
- [
82
- /^q-uploader__file-header$/,
83
- ([, c], { theme }) =>
84
- theme.quasar?.components?.['q-uploader__file-header'] ??
85
- `relative px-[8px] py-[4px] [border-top-left-radius:inherit] [border-top-right-radius:inherit]`
86
- ],
87
-
88
- [/^q-uploader__file-header-content$/, ([, c], { theme }) => `pr-[8px]`],
89
-
90
- [/^q-uploader__file-status$/, ([, c], { theme }) => `text-[24px] mr-[4px]`],
91
-
92
- [
93
- /^q-uploader__title$/,
94
- ([, c], { theme }) =>
95
- theme.quasar?.components?.['q-uploader__title'] ??
96
- `text-[14px] font-bold leading-[1.285714]`
97
- ],
98
-
99
- [
100
- /^q-uploader__subtitle$/,
101
- ([, c], { theme }) =>
102
- theme.quasar?.components?.['q-uploader__subtitle'] ??
103
- `text-[12px] leading-normal`
104
- ],
105
-
106
- [
107
- /^q-uploader--disable$/,
108
- ([, c], { theme }) =>
109
- theme.quasar?.components?.['q-uploader--disable'] ??
110
- `[&_.q-uploader\\_\\_header]:(pointer-events-none) [&_.q-uploader\\_\\_list]:(pointer-events-none)`
111
- ],
112
-
113
- [
114
- /^q-uploader--dark$/,
115
- ([, c], { theme }) =>
116
- theme.quasar?.components?.['q-uploader--dark'] ??
117
- `border-[rgba(255,_255,_255,_0.28)] [box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] [&_.q-uploader\\_\\_file]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-uploader\\_\\_dnd]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(text-[#fff])`
118
- ]
119
- ]
120
-
121
- export { shortcuts }
@@ -1,20 +0,0 @@
1
- import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const shortcuts: UserShortcuts<QuasarTheme> = [
5
- [
6
- /^q-video$/,
7
- ([, c], { theme }) =>
8
- theme.quasar?.components?.['q-video'] ??
9
- `relative overflow-hidden [border-radius:inherit] [&_iframe]:(w-full h-full) [&_object]:(w-full h-full) [&_embed]:(w-full h-full)`
10
- ],
11
-
12
- [
13
- /^q-video--responsive$/,
14
- ([, c], { theme }) =>
15
- theme.quasar?.components?.['q-video--responsive'] ??
16
- `h-[0] [&_iframe]:(absolute top-0 left-0) [&_object]:(absolute top-0 left-0) [&_embed]:(absolute top-0 left-0)`
17
- ]
18
- ]
19
-
20
- export { shortcuts }
@@ -1,29 +0,0 @@
1
- import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const shortcuts: UserShortcuts<QuasarTheme> = [
5
- [/^q-virtual-scroll:focus$/, ([, c], { theme }) => `focus:outline-0`],
6
-
7
- [
8
- /^q-virtual-scroll__content$/,
9
- ([, c], { theme }) =>
10
- theme.quasar?.components?.['q-virtual-scroll__content'] ??
11
- `outline-[none] [&_>_*]:([overflow-anchor:none]) [&_>_[data-q-vs-anchor]]:([overflow-anchor:auto])`
12
- ],
13
-
14
- [
15
- /^q-virtual-scroll__padding$/,
16
- ([, c], { theme }) =>
17
- theme.quasar?.components?.['q-virtual-scroll__padding'] ??
18
- `bg-[linear-gradient(_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0)_20%,_rgba(128,_128,_128,_0.03)_20%,_rgba(128,_128,_128,_0.08)_50%,_rgba(128,_128,_128,_0.03)_80%,_rgba(255,_255,_255,_0)_80%,_rgba(255,_255,_255,_0)_)] [background-size:var(--q-virtual-scroll-item-width,_100%)_var(--q-virtual-scroll-item-height,_50px)]`
19
- ],
20
-
21
- [
22
- /^q-virtual-scroll--horizontal$/,
23
- ([, c], { theme }) =>
24
- theme.quasar?.components?.['q-virtual-scroll--horizontal'] ??
25
- `flex flex-row flex-nowrap items-stretch [&_.q-virtual-scroll\\_\\_content]:(flex flex-row flex-nowrap) [&_.q-virtual-scroll\\_\\_padding]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_content]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_content_>_*]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_padding]:(bg-[linear-gradient(_to_left,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0)_20%,_rgba(128,_128,_128,_0.03)_20%,_rgba(128,_128,_128,_0.08)_50%,_rgba(128,_128,_128,_0.03)_80%,_rgba(255,_255,_255,_0)_80%,_rgba(255,_255,_255,_0)_)] [background-size:var(--q-virtual-scroll-item-width,_50px)_var(--q-virtual-scroll-item-height,_100%)])`
26
- ]
27
- ]
28
-
29
- export { shortcuts }
@@ -1,9 +0,0 @@
1
- import type { UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const shortcuts: UserShortcuts<QuasarTheme> = [
5
- [/^q-panel$/, ([, c], { theme }) => `h-full w-full [&_div]:(h-full w-full)`],
6
- [/^q-panel-parent$/, ([, c], { theme }) => `overflow-hidden relative`]
7
- ]
8
-
9
- export { shortcuts }
@@ -1,21 +0,0 @@
1
- import { type Preflight } from '@unocss/core'
2
- import { type QuasarTheme } from '../theme.js'
3
-
4
- const preflights: Preflight<QuasarTheme>[] = [
5
- {
6
- getCSS: ({ theme }) => `
7
- :root {
8
- --q-primary: ${theme.colors.primary};
9
- --q-secondary: ${theme.colors.secondary};
10
- --q-accent: ${theme.colors.accent};
11
- --q-positive: ${theme.colors.positive};
12
- --q-negative: ${theme.colors.negative};
13
- --q-info: ${theme.colors.info};
14
- --q-warning: ${theme.colors.warning};
15
- --q-dark: ${theme.colors['dark']};
16
- --q-dark-page: ${theme.colors['dark-page']};
17
- }`
18
- }
19
- ]
20
-
21
- export { preflights }
@@ -1,18 +0,0 @@
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.body--dark {
8
- color: #fff;
9
- background: ${theme.colors['dark-page']};
10
- }`
11
- }
12
- ]
13
-
14
- const shortcuts: UserShortcuts<QuasarTheme> = [
15
- [/^q-dark$/, ([, c], { theme }) => `text-white bg-dark`]
16
- ]
17
-
18
- export { preflights, shortcuts }
@@ -1,102 +0,0 @@
1
- import type { Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- type Enumerate<
5
- N extends number,
6
- Acc extends number[] = []
7
- > = Acc['length'] extends N
8
- ? Acc[number]
9
- : Enumerate<N, [...Acc, Acc['length']]>
10
-
11
- type IntRange<F extends number, T extends number> = Exclude<
12
- Enumerate<T>,
13
- Enumerate<F>
14
- >
15
-
16
- // const shadows = (mode: 'light' | 'dark'): Rule<QuasarTheme>[] => [
17
- // ...Array.from({ length: 24 }, (_, i) => i + 1).reduce((acc, z) => {
18
- // acc.push([
19
- // new RegExp(`shadow-${z}`),
20
- // ([, c], { symbols, theme }) => ({
21
- // [symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
22
- // 'box-shadow': theme['shadows'][z as IntRange<0, 24>]
23
- // })
24
- // ])
25
- // acc.push([
26
- // new RegExp(`shadow-up-${z}`),
27
- // ([, c], { symbols, theme }) => ({
28
- // [symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
29
-
30
- // 'box-shadow': theme['shadows']['up'][z as IntRange<0, 24>]
31
- // })
32
- // ])
33
- // return acc
34
- // }, [] as Rule<QuasarTheme>[]),
35
- // [
36
- // /^inset-shadow$/,
37
- // function* ([, color], { symbols, theme }) {
38
- // yield {
39
- // [symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
40
- // 'box-shadow': theme['insetShadow']
41
- // }
42
- // }
43
- // ] as Rule<QuasarTheme>,
44
- // [
45
- // /^inset-shadow-down$/,
46
- // function* ([, color], { symbols, theme }) {
47
- // yield {
48
- // [symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
49
- // 'box-shadow': theme['insetShadowDown']
50
- // }
51
- // }
52
- // ] as Rule<QuasarTheme>
53
- // ]
54
-
55
- const rules: Rule<QuasarTheme>[] = [
56
- // [
57
- // /^shadow-transition$/,
58
- // function* ([, color], { theme }) {
59
- // yield {
60
- // transition: `${theme['shadowTransition']} !important`
61
- // }
62
- // }
63
- // ] as Rule<QuasarTheme>,
64
- // ...shadows('light'),
65
- // ...shadows('dark'),
66
- // ...['no-shadow', 'shadow-0'].map(
67
- // (c) =>
68
- // [
69
- // new RegExp(`${c}`),
70
- // function* ([, color], { theme }) {
71
- // yield {
72
- // 'box-shadow': `none !important`
73
- // }
74
- // }
75
- // ] as Rule<QuasarTheme>
76
- // ),
77
- ...(['z-marginals', 'z-notify', 'z-fullscreen', 'z-inherit'] as const).map(
78
- (c) =>
79
- [
80
- new RegExp(`${c}`),
81
- function* ([, color], { theme }) {
82
- const selector = c.replace('z-', '') as
83
- | 'marginals'
84
- | 'notify'
85
- | 'fullscreen'
86
- yield {
87
- 'z-index':
88
- c === 'z-inherit' ? 'inherit' : theme.quasar?.['z'][selector]
89
- }
90
- }
91
- ] as Rule<QuasarTheme>
92
- )
93
- ]
94
-
95
- const shortcuts: UserShortcuts<QuasarTheme> = [
96
- [/^shadow-none$/, ([, c], { theme }) => `shadow-none`],
97
- [/^no-shadow$/, ([, c], { theme }) => `shadow-none`],
98
- // TODO
99
- [/^shadow-(0?[1-9]|1[0-9]|2[0-4])$/, ([, nr], { theme }) => `shadow-md`]
100
- ]
101
-
102
- export { rules, shortcuts }
@@ -1,97 +0,0 @@
1
- import type { Rule, UserShortcuts } from '@unocss/core'
2
- import type { QuasarTheme } from '../theme.js'
3
-
4
- const cols = 12
5
- const grid = Array.from({ length: cols }, (_, i) => i + 1)
6
-
7
- const colGutter = {
8
- none: 0,
9
- xs: 1,
10
- sm: 2,
11
- md: 4,
12
- lg: 6,
13
- xl: 12
14
- } as const
15
-
16
- const shortcuts: UserShortcuts<QuasarTheme> = [
17
- [
18
- /^row$/,
19
- ([, c], { theme }) =>
20
- `flex flex-row flex-wrap flex-auto [&.reverse]:(flex-row-reverse)`
21
- ],
22
- [
23
- /^column$/,
24
- ([, c], { theme }) =>
25
- `flex flex-col flex-wrap flex-auto [&.reverse]:(flex-col-reverse)`
26
- ],
27
- [
28
- /^col(?:-)?(none|xs|sm|md|lg|xl)?(?:-)?([2-9]|1[0-2]?)?$/,
29
- ([, size, nr], { theme }) => {
30
- if (size && nr) {
31
- return `${size}:basis-${nr}/12)`
32
- } else if (nr) {
33
- return `basis-${nr}/12`
34
- } else if (size) {
35
- return `${size}:basis-auto ${size}:grow`
36
- }
37
- return `grow`
38
- }
39
- ],
40
- [
41
- /^q-col-gutter-(none|xs|sm|md|lg|xl)$/,
42
- ([, size], { theme }) =>
43
- `gap-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
44
- [&_>_[class^="col"]]:(mr--${
45
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
46
- })
47
- [&_>_[class^="col"]]:(mb--${
48
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
49
- })`
50
- ],
51
- [
52
- /^q-col-gutter-x-(none|xs|sm|md|lg|xl)$/,
53
- ([, size], { theme }) =>
54
- `gap-x-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
55
- [&_>_[class^="col"]]:(mr--${
56
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
57
- })`
58
- ],
59
- [
60
- /^q-col-gutter-y-(none|xs|sm|md|lg|xl)$/,
61
- ([, size], { theme }) =>
62
- `gap-y-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
63
- [&_>_[class^="col"]]:(mb--${
64
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
65
- })`
66
- ],
67
- [
68
- /^q-gutter-(none|xs|sm|md|lg|xl)$/,
69
- ([, size], { theme }) =>
70
- `[&_>_*]:(mr-${
71
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
72
- } mb-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']})`
73
- ],
74
- [
75
- /^q-gutter-x-(none|xs|sm|md|lg|xl)$/,
76
- ([, size], { theme }) =>
77
- `
78
- [&_>_*]:(mr-${
79
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
80
- })`
81
- ],
82
- [
83
- /^q-gutter-y-(none|xs|sm|md|lg|xl)$/,
84
- ([, size], { theme }) =>
85
- `
86
- [&_>_*]:(mb-${
87
- colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
88
- })`
89
- ],
90
- [/^wrap$/, ([, size], { theme }) => `flex-wrap`],
91
- [/^no-wrap$/, ([, size], { theme }) => `flex-nowrap`],
92
- [/^reverse-wrap$/, ([, size], { theme }) => `flex-wrap-reverse`],
93
- [/^flex-center$/, ([, c], { theme }) => 'justify-center items-center'],
94
- [/^inline$/, ([, c], { theme }) => 'flex-inline!']
95
- ]
96
-
97
- export { shortcuts }
@@ -1,78 +0,0 @@
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.electron .q-electron-drag {
8
- -webkit-user-select: none;
9
- -webkit-app-region: drag;
10
- }
11
- body.electron .q-electron-drag .q-btn-item, body.electron .q-electron-drag--exception {
12
- -webkit-app-region: no-drag;
13
- }
14
-
15
- img.responsive {
16
- max-width: 100%;
17
- height: auto;
18
- }`
19
- }
20
- ]
21
-
22
- const rules: Rule<QuasarTheme>[] = [
23
- [
24
- /^content-empty$/,
25
- function* ([, color]) {
26
- yield {
27
- content: '""'
28
- }
29
- }
30
- ]
31
- ]
32
-
33
- const shortcuts: UserShortcuts<QuasarTheme> = [
34
- [/^rounded-borders$/, ([, c], { theme }) => `rounded-[4px]`],
35
-
36
- [/^border-radius-inherit$/, ([, c], { theme }) => `[border-radius:inherit]`],
37
-
38
- [/^no-transition$/, ([, c], { theme }) => `transition-none`],
39
-
40
- [/^transition-0$/, ([, c], { theme }) => `[transition:0s!important]`],
41
-
42
- [
43
- /^glossy$/,
44
- ([, c], { theme }) =>
45
- `!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)_)]`
46
- ],
47
-
48
- [
49
- /^q-placeholder::placeholder$/,
50
- ([, c], { theme }) => `[color:inherit] opacity-70`
51
- ],
52
-
53
- [/^q-body--fullscreen-mixin$/, ([, c], { theme }) => `!fixed`],
54
-
55
- [/^q-body--prevent-scroll$/, ([, c], { theme }) => `!fixed`],
56
-
57
- [/^q-body--force-scrollbar-x$/, ([, c], { theme }) => `overflow-x-scroll`],
58
-
59
- [/^q-body--force-scrollbar-y$/, ([, c], { theme }) => `overflow-y-scroll`],
60
-
61
- [/^q-no-input-spinner$/, ([, c], { theme }) => ``],
62
-
63
- [
64
- /^q-no-input-spinner::-webkit-outer-spin-button$/,
65
- ([, c], { theme }) => `m-0`
66
- ],
67
-
68
- [
69
- /^q-no-input-spinner::-webkit-inner-spin-button$/,
70
- ([, c], { theme }) => `m-0`
71
- ],
72
-
73
- [/^q-link$/, ([, c], { theme }) => `outline-0 no-underline`],
74
-
75
- [/^q-link--focusable:focus-visible$/, ([, c], { theme }) => ``]
76
- ]
77
-
78
- export { rules, preflights, shortcuts }