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.
- package/dist/frameworks/vue/prerender.js +8 -4
- package/dist/index.js +27 -1
- package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +20 -0
- package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +22 -0
- package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +24 -0
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +26 -0
- package/dist/plugins/quasar/unocss/components/QBreadcrumbs.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +62 -0
- package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +19 -0
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +30 -0
- package/dist/plugins/quasar/unocss/components/QBtnToggle.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +57 -0
- package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +82 -0
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +38 -0
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +65 -0
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +90 -0
- package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +32 -0
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +174 -0
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +122 -0
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +110 -0
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +53 -0
- package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +66 -0
- package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +38 -0
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +100 -0
- package/dist/plugins/quasar/unocss/components/QField.unocss.js +153 -0
- package/dist/plugins/quasar/unocss/components/QFile.unocss.js +15 -0
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QForm.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QIcon.unocss.js +22 -0
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +29 -0
- package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +9 -0
- package/dist/plugins/quasar/unocss/components/QInput.unocss.js +27 -0
- package/dist/plugins/quasar/unocss/components/QIntersection.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QItem.unocss.js +71 -0
- package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +81 -0
- package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +80 -0
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QOptionGroup.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QPage.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +7 -0
- package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +15 -0
- package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +8 -0
- package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +60 -0
- package/dist/plugins/quasar/unocss/components/QRating.unocss.js +23 -0
- package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +31 -0
- package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +56 -0
- package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +26 -0
- package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +153 -0
- package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +24 -0
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +163 -0
- package/dist/plugins/quasar/unocss/components/QSpace.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +44 -0
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +39 -0
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +102 -0
- package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/components/QTable.unocss.js +132 -0
- package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +96 -0
- package/dist/plugins/quasar/unocss/components/QTime.unocss.js +123 -0
- package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +80 -0
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +67 -0
- package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +14 -0
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QTree.unocss.js +87 -0
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +72 -0
- package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +16 -0
- package/dist/plugins/quasar/unocss/composables/panel.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/core/colors.unocss.js +17 -0
- package/dist/plugins/quasar/unocss/core/dark.unocss.js +14 -0
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +67 -0
- package/dist/plugins/quasar/unocss/core/flex.unocss.js +76 -0
- package/dist/plugins/quasar/unocss/core/helpers.unocss.js +57 -0
- package/dist/plugins/quasar/unocss/core/mouse.unocss.js +32 -0
- package/dist/plugins/quasar/unocss/core/orientation.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/core/position.unocss.js +48 -0
- package/dist/plugins/quasar/unocss/core/size.unocss.js +98 -0
- package/dist/plugins/quasar/unocss/core/touch.unocss.js +6 -0
- package/dist/plugins/quasar/unocss/core/transitions.unocss.js +271 -0
- package/dist/plugins/quasar/unocss/core/typography.unocss.js +147 -0
- package/dist/plugins/quasar/unocss/core/visibility.unocss.js +219 -0
- package/dist/plugins/quasar/unocss/directives/QMorph.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +19 -0
- package/dist/plugins/quasar/unocss/index.js +1249 -0
- package/dist/plugins/quasar/unocss/plugins/QBottomSheet.unocss.js +17 -0
- package/dist/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.js +9 -0
- package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +16 -0
- package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +207 -0
- package/dist/plugins/quasar/unocss/theme.js +439 -0
- package/dist/plugins/quasar.js +104 -4
- package/dist/types/frameworks/vue/server.d.ts +3 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/plugins/quasar/unocss/components/QAjaxBar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QAvatar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBadge.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBanner.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBreadcrumbs.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QBtn.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnDropdown.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnGroup.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnToggle.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCard.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCarousel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QChatMessage.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCheckbox.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QChip.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QCircularProgress.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QColorPicker.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QDate.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QDialog.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QDrawer.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QEditor.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QExpansionItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QFab.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QField.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QFile.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QFooter.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QForm.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QHeader.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QIcon.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QImg.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QInnerLoading.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QInput.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QIntersection.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QKnob.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QLayout.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QLinearProgress.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QMenu.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QOptionGroup.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPage.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPageSticky.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPagination.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QParallax.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPopupEdit.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPullToRefresh.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QRadio.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QRating.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QResponsive.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QScrollarea.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSelect.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSeparator.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSkeleton.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSlideItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSlider.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSpace.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSpinner.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSplitter.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QStepper.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTabPanel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTable.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QTabs.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTime.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTimeline.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QToggle.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QToolbar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTooltip.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTree.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QUploader.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QVideo.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QVirtualScroll.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/composables/panel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/colors.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/dark.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/flex.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/helpers.unocss.d.ts +6 -0
- package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/orientation.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/position.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/touch.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/typography.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/visibility.unocss.d.ts +6 -0
- package/dist/types/plugins/quasar/unocss/directives/QMorph.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/directives/QRipple.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/index.d.ts +11 -0
- package/dist/types/plugins/quasar/unocss/plugins/QBottomSheet.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QLoading.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QNotify.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/theme.d.ts +425 -0
- package/dist/types/plugins/quasar.d.ts +1 -0
- package/dist/types/vitrify-config.d.ts +11 -3
- package/package.json +23 -16
- package/src/node/frameworks/vue/prerender.ts +12 -4
- package/src/node/frameworks/vue/server.ts +3 -3
- package/src/node/index.ts +33 -3
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +34 -0
- package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +32 -0
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/components/QBreadcrumbs.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +93 -0
- package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +27 -0
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +48 -0
- package/src/node/plugins/quasar/unocss/components/QBtnToggle.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +64 -0
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +115 -0
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +59 -0
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +89 -0
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +98 -0
- package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +41 -0
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +178 -0
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +181 -0
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +118 -0
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +76 -0
- package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +85 -0
- package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +54 -0
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +148 -0
- package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +220 -0
- package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +23 -0
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/components/QForm.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QIcon.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +43 -0
- package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +16 -0
- package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +40 -0
- package/src/node/plugins/quasar/unocss/components/QIntersection.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +102 -0
- package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +22 -0
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +91 -0
- package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +104 -0
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QOptionGroup.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QPage.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +12 -0
- package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +13 -0
- package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +82 -0
- package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +36 -0
- package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +48 -0
- package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +69 -0
- package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +38 -0
- package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +192 -0
- package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +38 -0
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +246 -0
- package/src/node/plugins/quasar/unocss/components/QSpace.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +51 -0
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +58 -0
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +150 -0
- package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +10 -0
- package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +194 -0
- package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +139 -0
- package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +195 -0
- package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +122 -0
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +89 -0
- package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +22 -0
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +124 -0
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +107 -0
- package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +26 -0
- package/src/node/plugins/quasar/unocss/composables/panel.unocss.ts +9 -0
- package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +21 -0
- package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +94 -0
- package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +99 -0
- package/src/node/plugins/quasar/unocss/core/helpers.unocss.ts +78 -0
- package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +46 -0
- package/src/node/plugins/quasar/unocss/core/orientation.unocss.ts +10 -0
- package/src/node/plugins/quasar/unocss/core/position.unocss.ts +81 -0
- package/src/node/plugins/quasar/unocss/core/size.unocss.ts +196 -0
- package/src/node/plugins/quasar/unocss/core/touch.unocss.ts +12 -0
- package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +392 -0
- package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +192 -0
- package/src/node/plugins/quasar/unocss/core/visibility.unocss.ts +250 -0
- package/src/node/plugins/quasar/unocss/createSafelist.js +2549 -0
- package/src/node/plugins/quasar/unocss/directives/QMorph.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/index.ts +1443 -0
- package/src/node/plugins/quasar/unocss/parse.js +132 -0
- package/src/node/plugins/quasar/unocss/plugins/QBottomSheet.unocss.ts +27 -0
- package/src/node/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.ts +16 -0
- package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +266 -0
- package/src/node/plugins/quasar/unocss/theme.ts +452 -0
- package/src/node/plugins/quasar.ts +113 -4
- package/src/node/vitrify-config.ts +14 -7
- package/src/vite/fastify/server.ts +3 -1
- package/src/vite/vue/main.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { promises as fs } from 'fs';
|
|
1
|
+
import { existsSync, promises as fs, mkdirSync } from 'fs';
|
|
2
2
|
import { routesToPaths } from '../../helpers/routes.js';
|
|
3
3
|
import { appendToHead, addOrReplaceAppDiv } from '../../helpers/utils.js';
|
|
4
4
|
export const prerender = async ({ outDir, templatePath, manifestPath, entryServerPath, onRendered }) => {
|
|
@@ -8,14 +8,18 @@ export const prerender = async ({ outDir, templatePath, manifestPath, entryServe
|
|
|
8
8
|
const { render, getRoutes } = await import(entryServerPath);
|
|
9
9
|
const routes = await getRoutes();
|
|
10
10
|
const paths = routesToPaths(routes).filter((i) => !i.includes(':') && !i.includes('*'));
|
|
11
|
-
const
|
|
11
|
+
const beasties = new (await import('beasties')).default({
|
|
12
12
|
path: outDir,
|
|
13
|
-
logLevel: '
|
|
13
|
+
logLevel: 'info',
|
|
14
14
|
external: true,
|
|
15
15
|
inlineFonts: true,
|
|
16
16
|
preloadFonts: true
|
|
17
17
|
});
|
|
18
18
|
for (const url of paths) {
|
|
19
|
+
const directoryUrl = new URL(url.split('/').slice(0, -1).join('/'), `file://${outDir}`);
|
|
20
|
+
if (!existsSync(directoryUrl.pathname)) {
|
|
21
|
+
mkdirSync(directoryUrl.pathname, { recursive: true });
|
|
22
|
+
}
|
|
19
23
|
const filename = (url.endsWith('/') ? 'index' : url.replace(/^\//g, '')) + '.html';
|
|
20
24
|
console.log(`Generating ${filename}`);
|
|
21
25
|
const ssrContext = {
|
|
@@ -30,7 +34,7 @@ export const prerender = async ({ outDir, templatePath, manifestPath, entryServe
|
|
|
30
34
|
html = ssrFunction(html, ssrContext);
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
|
-
html = await
|
|
37
|
+
html = await beasties.process(html);
|
|
34
38
|
promises.push(fs.writeFile(outDir + filename, html, 'utf-8'));
|
|
35
39
|
}
|
|
36
40
|
return Promise.all(promises);
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,8 @@ import { resolve } from './app-urls.js';
|
|
|
13
13
|
import { addOrReplaceTitle, appendToBody } from './helpers/utils.js';
|
|
14
14
|
import Components from 'unplugin-vue-components/vite';
|
|
15
15
|
import { VitePWA } from 'vite-plugin-pwa';
|
|
16
|
+
import UnoCSS from 'unocss/vite';
|
|
17
|
+
import QuasarPreset from './plugins/quasar/unocss/index.js';
|
|
16
18
|
const internalServerModules = [
|
|
17
19
|
'util',
|
|
18
20
|
'vitrify',
|
|
@@ -184,7 +186,12 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
184
186
|
console.log('No valid vitrify.config.(ts|js) file found.');
|
|
185
187
|
throw e;
|
|
186
188
|
}
|
|
187
|
-
const localPackages = [
|
|
189
|
+
const localPackages = [
|
|
190
|
+
'vue',
|
|
191
|
+
'vue-router',
|
|
192
|
+
'@vue/server-renderer',
|
|
193
|
+
'@unocss/reset'
|
|
194
|
+
];
|
|
188
195
|
// const localPackages: string[] = []
|
|
189
196
|
const cliPackages = [];
|
|
190
197
|
const packageUrls = vitrifyConfig.vitrify?.urls?.packages || {};
|
|
@@ -245,6 +252,16 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
245
252
|
...serverModules,
|
|
246
253
|
...vitrifyConfig.vitrify.ssr.serverModules
|
|
247
254
|
];
|
|
255
|
+
const unoCssContentPipelineInclude = [
|
|
256
|
+
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/
|
|
257
|
+
];
|
|
258
|
+
if (vitrifyConfig.vitrify?.unocss?.presets?.some(async (preset) => {
|
|
259
|
+
if (!Array.isArray(preset)) {
|
|
260
|
+
return (await preset).name === 'quasar';
|
|
261
|
+
}
|
|
262
|
+
})) {
|
|
263
|
+
unoCssContentPipelineInclude.push(/quasar\/src\/.*\.js/);
|
|
264
|
+
}
|
|
248
265
|
const plugins = [
|
|
249
266
|
{
|
|
250
267
|
name: 'vitrify-transforms',
|
|
@@ -368,6 +385,10 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
368
385
|
/[\\/]\.nuxt[\\/]/
|
|
369
386
|
],
|
|
370
387
|
resolvers
|
|
388
|
+
}),
|
|
389
|
+
UnoCSS({
|
|
390
|
+
...vitrifyConfig.vitrify?.unocss,
|
|
391
|
+
content: unoCssContentPipelineInclude
|
|
371
392
|
})
|
|
372
393
|
];
|
|
373
394
|
if (isPwa) {
|
|
@@ -469,6 +490,10 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
469
490
|
find: new RegExp('^vue-router$'),
|
|
470
491
|
replacement: fileURLToPath(new URL('./dist/vue-router.esm-bundler.js', packageUrls['vue-router']))
|
|
471
492
|
},
|
|
493
|
+
{
|
|
494
|
+
find: new RegExp('@unocss/reset'),
|
|
495
|
+
replacement: fileURLToPath(new URL('./', packageUrls['@unocss/reset']))
|
|
496
|
+
},
|
|
472
497
|
...vuePkgAliases
|
|
473
498
|
];
|
|
474
499
|
if (mode === 'development' && vitrifyConfig.vitrify?.dev?.alias)
|
|
@@ -580,3 +605,4 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
580
605
|
};
|
|
581
606
|
export const vitrifyDir = new URL('..', import.meta.url);
|
|
582
607
|
export { prerender } from './frameworks/vue/prerender.js';
|
|
608
|
+
export { QuasarPreset };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-loading-bar$/,
|
|
4
|
+
([, c], { theme }) => `fixed z-9998 transition-transform bg-red`
|
|
5
|
+
],
|
|
6
|
+
[/^q-loading-bar--top$/, ([, c], { theme }) => `left-0 right-0 top-0 w-full`],
|
|
7
|
+
[
|
|
8
|
+
/^q-loading-bar--bottom$/,
|
|
9
|
+
([, c], { theme }) => `left-0 right-0 bottom-0 w-full`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-loading-bar--right$/,
|
|
13
|
+
([, c], { theme }) => `top-0 bottom-0 right-0 h-full`
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
/^q-loading-bar--left$/,
|
|
17
|
+
([, c], { theme }) => `top-0 bottom-0 left-0 h-full`
|
|
18
|
+
]
|
|
19
|
+
];
|
|
20
|
+
export { shortcuts };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-avatar$/,
|
|
4
|
+
([, c], { theme }) => `relative align-middle inline-block rounded-[50%] text-[48px] h-[1em] w-[1em] [&_img:not(.q-icon):not(.q-img\\_\\_image)]:([border-radius:inherit] [height:inherit] [width:inherit])`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-avatar__content$/,
|
|
8
|
+
([, c], { theme }) => `text-[0.5em] leading-[0.5em] [border-radius:inherit] [height:inherit] [width:inherit]`
|
|
9
|
+
],
|
|
10
|
+
[/^q-avatar--square$/, ([, c], { theme }) => `rounded-none`]
|
|
11
|
+
];
|
|
12
|
+
export { shortcuts };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-badge$/,
|
|
4
|
+
([, c], { theme }) => `text-[#fff] bg-primary px-[6px] py-[2px] rounded-[4px] text-[12px] leading-none min-h-[12px] font-normal align-baseline`
|
|
5
|
+
],
|
|
6
|
+
[/^q-badge--single-line$/, ([, c], { theme }) => `whitespace-nowrap`],
|
|
7
|
+
[
|
|
8
|
+
/^q-badge--multi-line$/,
|
|
9
|
+
([, c], { theme }) => `break-all [word-wrap:break-word]`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-badge--floating$/,
|
|
13
|
+
([, c], { theme }) => `absolute -top-[4px] -right-[3px] [cursor:inherit]`
|
|
14
|
+
],
|
|
15
|
+
[/^q-badge--transparent$/, ([, c], { theme }) => `opacity-80`],
|
|
16
|
+
[
|
|
17
|
+
/^q-badge--outline$/,
|
|
18
|
+
([, c], { theme }) => `bg-transparent border-[1px] border-solid border-[currentColor]`
|
|
19
|
+
],
|
|
20
|
+
[/^q-badge--rounded$/, ([, c], { theme }) => `rounded-[1em]`]
|
|
21
|
+
];
|
|
22
|
+
export { shortcuts };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-banner$/, ([, c], { theme }) => `min-h-54px px-16px py-8px bg-white`],
|
|
3
|
+
[/^q-banner--top-padding$/, ([, c], { theme }) => ``],
|
|
4
|
+
[/^q-banner--top-padding$/, ([, c], { theme }) => `pt-14px`],
|
|
5
|
+
[
|
|
6
|
+
/^q-banner__avatar$/,
|
|
7
|
+
([, c], { theme }) => `min-w-1px! [&.q-avatar]:(text-46px)
|
|
8
|
+
[&.q-icon]:(text-40px)
|
|
9
|
+
[&:not(:empty)+.q-banner\\_\\_content]:(pl-16px)`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-banner__actions$/,
|
|
13
|
+
([, c], { theme }) => `[&.col-auto]:(pl-16px)
|
|
14
|
+
[&.col-all_.q.btn-item]:(mt-4px mb-0 ml-4px mr-0)`
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
/^q-banner--dense$/,
|
|
18
|
+
([, c], { theme }) => `min-h-32px p-8px
|
|
19
|
+
[&_.q-banner\\_\\_avatar>.q-avatar,.q-banner--dense_.q-banner\\_\\_avatar>.q-icon]:(text-28px)
|
|
20
|
+
[&_.q-banner\\_\\_avatar:not(:empty)+.q-banner\\_\\_content]:(pl-8px)
|
|
21
|
+
[&_.q-banner\\_\\_actions.col-auto]:(pl-8px)`
|
|
22
|
+
]
|
|
23
|
+
];
|
|
24
|
+
export { shortcuts };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-bar$/,
|
|
4
|
+
([, c], { theme }) => `bg-black op-20
|
|
5
|
+
[&>.q-icon]:(ml-2px)
|
|
6
|
+
[&>div]:(ml-8px)
|
|
7
|
+
[&>div+.q-icon]:(ml-8px)
|
|
8
|
+
[&>.q-btn]:(ml-2px)
|
|
9
|
+
[&>.q-icon:first-child]:(ml-0)
|
|
10
|
+
[&>.q-btn:first-child]:(ml-0)
|
|
11
|
+
[&>div:first-child]:(ml-0)`
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
/^q-bar--standard$/,
|
|
15
|
+
([, c], { theme }) => `px-12px py-0 h-32px text-18px
|
|
16
|
+
[&>div]:(text-16px)
|
|
17
|
+
[&_.q-btn]:(text-11px)`
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
/^q-bar--dense$/,
|
|
21
|
+
([, c], { theme }) => `px-8px py-0 h-24px text-14px
|
|
22
|
+
[&_.q-btn]:(text-8px)`
|
|
23
|
+
],
|
|
24
|
+
[/^q-bar--dark$/, ([, c], { theme }) => `bg-white op-15`]
|
|
25
|
+
];
|
|
26
|
+
export { shortcuts };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `[dir=rtl] .q-breadcrumbs__separator .q-icon {
|
|
4
|
+
transform: scaleX(-1) /* rtl:ignore */;
|
|
5
|
+
};`
|
|
6
|
+
}
|
|
7
|
+
];
|
|
8
|
+
const shortcuts = [
|
|
9
|
+
[/^q-breadcrumbs__el$/, ([, c], { theme }) => `text-inherit`],
|
|
10
|
+
[/^q-breadcrumbs__el-icon$/, ([, c], { theme }) => `text-125%`],
|
|
11
|
+
[/^q-breadcrumbs__el-icon--with-label$/, ([, c], { theme }) => `mr-8px`]
|
|
12
|
+
];
|
|
13
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-btn$/,
|
|
4
|
+
([, c], { theme }) => `items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)])`
|
|
5
|
+
// inline-flex flex-col
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-btn--actionable$/,
|
|
9
|
+
([, c], { theme }) => `cursor-pointer [&.q-btn--standard:before]:([transition:box-shadow_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--standard:active:before]:([box-shadow:0_3px_5px_-1px_rgba(0,_0,_0,_0.2),_0_5px_8px_rgba(0,_0,_0,_0.14),_0_1px_14px_rgba(0,_0,_0,_0.12)]) [&.q-btn--standard.q-btn--active:before]:([box-shadow:0_3px_5px_-1px_rgba(0,_0,_0,_0.2),_0_5px_8px_rgba(0,_0,_0,_0.14),_0_1px_14px_rgba(0,_0,_0,_0.12)])`
|
|
10
|
+
],
|
|
11
|
+
[/^q-btn--no-uppercase$/, ([, c], { theme }) => `normal-case`],
|
|
12
|
+
[/^q-btn--rectangle$/, ([, c], { theme }) => `rounded-[3px]`],
|
|
13
|
+
[
|
|
14
|
+
/^q-btn--outline$/,
|
|
15
|
+
([, c], { theme }) => `!bg-transparent [&:before]:(border-[1px] border-solid border-[currentColor]) [&:before]:([box-shadow:none]) [&_.q-btn\\_\\_progress-indicator]:(opacity-20 bg-current)`
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
/^q-btn--push$/,
|
|
19
|
+
([, c], { theme }) => `rounded-[7px] [&:before]:([border-bottom:3px_solid_rgba(0,_0,_0,_0.15)]) [&.q-btn--actionable]:([transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--actionable:before]:([transition:border-width_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&.q-btn--actionable:active]:(translate-y-[2px]) [&.q-btn--actionable.q-btn--active]:(translate-y-[2px]) [&.q-btn--actionable:active:before]:(border-b-[0]) [&.q-btn--actionable.q-btn--active:before]:(border-b-[0])`
|
|
20
|
+
],
|
|
21
|
+
[/^q-btn--rounded$/, ([, c], { theme }) => `rounded-[28px]`],
|
|
22
|
+
[
|
|
23
|
+
/^q-btn--round$/,
|
|
24
|
+
([, c], { theme }) => `rounded-[50%] p-0 min-w-[3em] min-h-[3em]`
|
|
25
|
+
],
|
|
26
|
+
[/^q-btn--square$/, ([, c], { theme }) => `rounded-none`],
|
|
27
|
+
[
|
|
28
|
+
/^q-btn--flat$/,
|
|
29
|
+
([, c], { theme }) => `[&:before]:([box-shadow:none]) [&_.q-btn\\_\\_progress-indicator]:(opacity-20 bg-current)`
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
/^q-btn--unelevated$/,
|
|
33
|
+
([, c], { theme }) => `[&:before]:([box-shadow:none])`
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
/^q-btn--dense$/,
|
|
37
|
+
([, c], { theme }) => `p-[0.285em] min-h-[2em] [&.q-btn--round]:(p-0 min-h-[2.4em] min-w-[2.4em]) [&_.on-left]:(mr-[6px]) [&_.on-right]:(ml-[6px])`
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
/^q-btn--fab$/,
|
|
41
|
+
([, c], { theme }) => `[&_.q-icon]:(text-[24px]) p-[16px] min-h-[56px] min-w-[56px] [&_.q-icon]:(m-auto)`
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
/^q-btn--fab-mini$/,
|
|
45
|
+
([, c], { theme }) => `[&_.q-icon]:(text-[24px]) p-[8px] min-h-[40px] min-w-[40px]`
|
|
46
|
+
],
|
|
47
|
+
[/^q-btn__content$/, ([, c], { theme }) => `[transition:opacity_0.3s] z-0`],
|
|
48
|
+
[
|
|
49
|
+
/^q-btn__content--hidden$/,
|
|
50
|
+
([, c], { theme }) => `opacity-0 pointer-events-none`
|
|
51
|
+
],
|
|
52
|
+
[/^q-btn__progress$/, ([, c], { theme }) => `[border-radius:inherit] z-0`],
|
|
53
|
+
[
|
|
54
|
+
/^q-btn__progress-indicator$/,
|
|
55
|
+
([, c], { theme }) => `-translate-x-full bg-[rgba(255,_255,_255,_0.25)]`
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
/^q-btn__progress--dark$/,
|
|
59
|
+
([, c], { theme }) => `[&_.q-btn\\_\\_progress-indicator]:(bg-[rgba(0,_0,_0,_0.2)])`
|
|
60
|
+
]
|
|
61
|
+
];
|
|
62
|
+
export { shortcuts };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-btn-dropdown--split$/,
|
|
4
|
+
([, c], { theme }) => `[&_.q-btn-dropdown\\_\\_arrow-container]:(px-4px py-0)
|
|
5
|
+
[&_.q-btn-dropdown\\_\\_arrow-container.q-btn--outline]:(border-l-1px border-l-solid border-l-current)
|
|
6
|
+
[&_.q-btn-dropdown\\_\\_arrow-container:not(.q-btn--outline)]:(border-l-1px border-l-solid border-l-white)
|
|
7
|
+
`
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
/^q-btn-dropdown--simple$/,
|
|
11
|
+
([, c], { theme }) => `[&+.q-btn-dropdown\\_\\_arrow]:(ml-8px)`
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
/^q-btn-dropdown__arrow$/,
|
|
15
|
+
([, c], { theme }) => `transition-property-transform transition-duration-280`
|
|
16
|
+
],
|
|
17
|
+
[/^q-btn-dropdown--current$/, ([, c], { theme }) => `grow-1`]
|
|
18
|
+
];
|
|
19
|
+
export { shortcuts };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-btn-group$/,
|
|
4
|
+
([, c], { theme }) => `rounded-[3px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] align-middle [&_>_.q-btn-item]:([border-radius:inherit] self-stretch) [&_>_.q-btn-item:before]:([box-shadow:none]) [&_>_.q-btn-item_.q-badge--floating]:(right-0) [&_>_.q-btn-group]:([box-shadow:none]) [&_>_.q-btn-group:first-child_>_.q-btn:first-child]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_.q-btn-group:last-child_>_.q-btn:last-child]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-btn-group:not(:first-child)_>_.q-btn:first-child:before]:([border-left:0]) [&_>_.q-btn-group:not(:last-child)_>_.q-btn:last-child:before]:([border-right:0]) [&_>_.q-btn-item:not(:last-child)]:(rounded-tr-none rounded-br-none) [&_>_.q-btn-item:not(:first-child)]:(rounded-tl-none rounded-bl-none) [&_>_.q-btn-item.q-btn--standard:before]:()`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-btn-group--push$/,
|
|
8
|
+
([, c], { theme }) => `rounded-[7px] [&_>_.q-btn--push.q-btn--actionable]:(transform-none) [&_>_.q-btn--push.q-btn--actionable_.q-btn\\_\\_content]:([transition:margin-top_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1),_margin-bottom_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]) [&_>_.q-btn--push.q-btn--actionable:active_.q-btn\\_\\_content]:(mt-[2px] -mb-[2px])
|
|
9
|
+
[&__>_.q-btn--push.q-btn--actionable.q-btn--active__.q-btn\\_\\_content]:(mt-[2px] -mb-[2px])`
|
|
10
|
+
],
|
|
11
|
+
[/^q-btn-group--rounded$/, ([, c], { theme }) => `rounded-[28px]`],
|
|
12
|
+
[/^q-btn-group--square$/, ([, c], { theme }) => `rounded-none`],
|
|
13
|
+
[/^q-btn-group--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
14
|
+
[
|
|
15
|
+
/^q-btn-group--outline$/,
|
|
16
|
+
([, c], { theme }) => `[box-shadow:none] [&_>_.q-separator]:(hidden) [&_>_.q-btn-item_+_.q-btn-item:before]:([border-left:0]) [&_>_.q-btn-item:not(:last-child):before]:([border-right:0])`
|
|
17
|
+
],
|
|
18
|
+
[/^q-btn-group--unelevated$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
19
|
+
[/^q-btn-group--stretch$/, ([, c], { theme }) => `self-stretch rounded-none`],
|
|
20
|
+
[
|
|
21
|
+
/^q-btn-group--glossy$/,
|
|
22
|
+
([, c], { theme }) => `[&_>_.q-btn-item]:(!bg-[linear-gradient(_to_bottom,_rgba(255,_255,_255,_0.3),_rgba(255,_255,_255,_0)_50%,_rgba(0,_0,_0,_0.12)_51%,_rgba(0,_0,_0,_0.04)_)])`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-btn-group--spread$/,
|
|
26
|
+
([, c], { theme }) => `[&_>_.q-btn-group]:(!flex) [&_>_.q-btn-item]:(w-auto min-w-[0] max-w-full flex-[10000_1_0%])
|
|
27
|
+
[&__>_.q-btn-group_>_.q-btn-item:not(.q-btn-dropdown\\_\\_arrow-container)]:(w-auto min-w-[0] max-w-full flex-[10000_1_0%])`
|
|
28
|
+
]
|
|
29
|
+
];
|
|
30
|
+
export { shortcuts };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-card$/,
|
|
4
|
+
([, c], { theme }) => `shadow-black border-rd-4px v-top bg-white relative
|
|
5
|
+
[&>div:not(.q--avoid-card-border)]:(border-t-0 border-t-0 border-b-0 border-b-0)
|
|
6
|
+
[&>img:not(.q--avoid-card-border)]:(border-t-0 border-t-0 border-b-0 border-b-0)
|
|
7
|
+
[&>div:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-0 border-t-inherit border-t-inherit)
|
|
8
|
+
[&>img:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-0 border-t-inherit border-t-inherit)
|
|
9
|
+
[&>div:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-b-0 border-b-inherit border-b-inherit)
|
|
10
|
+
[&>img:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-b-0 border-b-inherit border-b-inherit)
|
|
11
|
+
[&>div:not(.q--avoid-card-border)]:(border-l-0 border-r-0 shadow-none)
|
|
12
|
+
[&>img]:(block w-full max-w-full border-none)
|
|
13
|
+
`
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
/^q-card--bordered$/,
|
|
17
|
+
([, c], { theme }) => `border-solid border-black border-op-120`
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
/^q-card--dark$/,
|
|
21
|
+
([, c], { theme }) => `border-white border-op-280 shadow-black`
|
|
22
|
+
],
|
|
23
|
+
[/^q-card__section$/, ([, c], { theme }) => `relative`],
|
|
24
|
+
[/^q-card__section--vert$/, ([, c], { theme }) => `p-16px`],
|
|
25
|
+
[
|
|
26
|
+
/^q-card__section--horiz$/,
|
|
27
|
+
([, c], { theme }) => `[&>div:not(.q--avoid-card-border)]:(border-t-0 border-b-0 border-t-0 border-b-0)
|
|
28
|
+
[&>img:not(.q--avoid-card-border)]:(border-t-0 border-b-0 border-t-0 border-b-0)
|
|
29
|
+
[&>div:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
|
|
30
|
+
[&>img:nth-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
|
|
31
|
+
[&>div:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
|
|
32
|
+
[&>img:nth-last-child(1_of_:not(.q--avoid-card-border))]:(border-t-inherit border-b-inherit)
|
|
33
|
+
[&>div:not(.q--avoid-card-border)]:(border-t-0 border-b-0 shadow-none)
|
|
34
|
+
`
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
/^q--card__actions$/,
|
|
38
|
+
([, c], { theme }) => `p-8px items-center
|
|
39
|
+
[&_.q-btn--rectangle]:(px-8px py-0)`
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
/^q--card__actions--horiz$/,
|
|
43
|
+
([, c], { theme }) => `[&>.q-btn-item+.q-btn-item]:(ml-8px)
|
|
44
|
+
[&>.q-btn-group+.q-btn-item]:(ml-8px)
|
|
45
|
+
[&>.q-btn-item+.q-btn-group]:(ml-8px)`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q--card__actions--vert$/,
|
|
49
|
+
([, c], { theme }) => `[&>.q-btn-item.q-btn--round]:(self-center)
|
|
50
|
+
[&>.q-btn-item+.q-btn-item]:(mt-4px)
|
|
51
|
+
[&>.q-btn-group+.q-btn-item]:(mt-4px)
|
|
52
|
+
[&>.q-btn-item+.q-btn-group]:(mt-4px)
|
|
53
|
+
[&>.q-btn-group>.q-btn-item]:(flex-grow)
|
|
54
|
+
`
|
|
55
|
+
]
|
|
56
|
+
];
|
|
57
|
+
export { shortcuts };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-carousel$/,
|
|
4
|
+
([, c], { theme }) => `bg-[#fff] h-[400px] [&_.q-carousel--padding]:(p-[16px]) [&_.q-carousel\\_\\_thumbnail]:(m-[2px] h-[50px] w-auto inline-block cursor-pointer border-[1px] border-solid border-[transparent] rounded-[4px] align-middle opacity-70 [transition:opacity_0.3s]) [&_.q-carousel\\_\\_thumbnail:hover]:(opacity-100) [&_.q-carousel\\_\\_thumbnail--active]:(opacity-100) [&_.q-carousel\\_\\_thumbnail--active]:(border-current cursor-default)`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-carousel__slide$/,
|
|
8
|
+
([, c], { theme }) => `min-h-full bg-cover bg-[50%] p-[16px]`
|
|
9
|
+
],
|
|
10
|
+
[/^q-carousel__slides-container$/, ([, c], { theme }) => `h-full`],
|
|
11
|
+
[/^q-carousel__control$/, ([, c], { theme }) => `text-[#fff]`],
|
|
12
|
+
[
|
|
13
|
+
/^q-carousel__arrow$/,
|
|
14
|
+
([, c], { theme }) => `pointer-events-none [&_.q-icon]:(text-[28px]) [&_.q-btn]:()`
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
/^q-carousel__prev-arrow--horizontal$/,
|
|
18
|
+
([, c], { theme }) => `top-[16px] bottom-[16px] left-[16px]`
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
/^q-carousel__next-arrow--horizontal$/,
|
|
22
|
+
([, c], { theme }) => `top-[16px] bottom-[16px] right-[16px]`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-carousel__prev-arrow--vertical$/,
|
|
26
|
+
([, c], { theme }) => `left-[16px] right-[16px] top-[16px]`
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^q-carousel__next-arrow--vertical$/,
|
|
30
|
+
([, c], { theme }) => `left-[16px] right-[16px] bottom-[16px]`
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
/^q-carousel__navigation--top$/,
|
|
34
|
+
([, c], { theme }) => `left-[16px] right-[16px] overflow-x-auto overflow-y-hidden top-[16px]`
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
/^q-carousel__navigation--bottom$/,
|
|
38
|
+
([, c], { theme }) => `left-[16px] right-[16px] overflow-x-auto overflow-y-hidden bottom-[16px]`
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
/^q-carousel__navigation--left$/,
|
|
42
|
+
([, c], { theme }) => `top-[16px] bottom-[16px] overflow-x-hidden overflow-y-auto [&_>_.q-carousel\\_\\_navigation-inner]:(flex-col) left-[16px]`
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
/^q-carousel__navigation--right$/,
|
|
46
|
+
([, c], { theme }) => `top-[16px] bottom-[16px] overflow-x-hidden overflow-y-auto [&_>_.q-carousel\\_\\_navigation-inner]:(flex-col) right-[16px]`
|
|
47
|
+
],
|
|
48
|
+
[/^q-carousel__navigation-inner$/, ([, c], { theme }) => `flex-auto`],
|
|
49
|
+
[
|
|
50
|
+
/^q-carousel__navigation$/,
|
|
51
|
+
([, c], { theme }) => `[&_.q-btn]:(mx-[4px] my-[6px] p-[5px])`
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
/^q-carousel__navigation-icon--inactive$/,
|
|
55
|
+
([, c], { theme }) => `opacity-70`
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
/^q-carousel--navigation-top$/,
|
|
59
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pt-[60px])`
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
/^q-carousel--arrows-vertical$/,
|
|
63
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pt-[60px]) [&_.q-carousel--padding]:(pb-[60px])`
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
/^q-carousel--navigation-bottom$/,
|
|
67
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pb-[60px])`
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
/^q-carousel--navigation-left$/,
|
|
71
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pl-[60px])`
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
/^q-carousel--arrows-horizontal$/,
|
|
75
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pl-[60px]) [&_.q-carousel--padding]:(pr-[60px])`
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
/^q-carousel--navigation-right$/,
|
|
79
|
+
([, c], { theme }) => `[&_.q-carousel--padding]:(pr-[60px])`
|
|
80
|
+
]
|
|
81
|
+
];
|
|
82
|
+
export { shortcuts };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-message-name$/, ([, c], { theme }) => `text-[small]`],
|
|
3
|
+
[
|
|
4
|
+
/^q-message-label$/,
|
|
5
|
+
([, c], { theme }) => `mx-[0] my-[24px] text-center text-[small]`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-message-stamp$/,
|
|
9
|
+
([, c], { theme }) => `[color:inherit] mt-[4px] opacity-60 hidden text-[small]`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-message-avatar$/,
|
|
13
|
+
([, c], { theme }) => `rounded-[50%] w-[48px] h-[48px] min-w-[48px]`
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
/^q-message$/,
|
|
17
|
+
([, c], { theme }) => `mb-[8px] [&:first-child_.q-message-label]:(mt-0)`
|
|
18
|
+
],
|
|
19
|
+
[/^q-message-avatar--received$/, ([, c], { theme }) => `mr-[8px]`],
|
|
20
|
+
[
|
|
21
|
+
/^q-message-text--received$/,
|
|
22
|
+
([, c], { theme }) => `text-[#81c784] rounded-tl-[4px] rounded-br-[4px] rounded-tr-[4px] rounded-bl-[0] [&:last-child:before]:(right-full [border-right:0_solid_transparent] [border-left:8px_solid_transparent] [border-bottom:8px_solid_currentColor])`
|
|
23
|
+
],
|
|
24
|
+
[/^q-message-text-content--received$/, ([, c], { theme }) => `text-[#000]`],
|
|
25
|
+
[/^q-message-name--sent$/, ([, c], { theme }) => `text-right`],
|
|
26
|
+
[/^q-message-avatar--sent$/, ([, c], { theme }) => `ml-[8px]`],
|
|
27
|
+
[/^q-message-container--sent$/, ([, c], { theme }) => `flex-row-reverse`],
|
|
28
|
+
[
|
|
29
|
+
/^q-message-text--sent$/,
|
|
30
|
+
([, c], { theme }) => `text-[#e0e0e0] rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[4px] [&:last-child:before]:(left-full [border-left:0_solid_transparent] [border-right:8px_solid_transparent] [border-bottom:8px_solid_currentColor])`
|
|
31
|
+
],
|
|
32
|
+
[/^q-message-text-content--sent$/, ([, c], { theme }) => `text-[#000]`],
|
|
33
|
+
[
|
|
34
|
+
/^q-message-text$/,
|
|
35
|
+
([, c], { theme }) => `bg-current p-[8px] leading-[1.2] relative [&_+_.q-message-text]:(mt-[3px]) [&:last-child]:(min-h-[48px]) [&:last-child_.q-message-stamp]:(block) [&:last-child:before]:(content-empty absolute bottom-0 w-[0] h-[0])`
|
|
36
|
+
]
|
|
37
|
+
];
|
|
38
|
+
export { shortcuts };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.desktop .q-checkbox:not(.disabled) .q-checkbox__inner:before {
|
|
5
|
+
content: "";
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
background: currentColor;
|
|
13
|
+
opacity: 0.12;
|
|
14
|
+
transform: scale3d(0, 0, 1);
|
|
15
|
+
transition: transform 0.22s cubic-bezier(0, 0, 0.2, 1);
|
|
16
|
+
}
|
|
17
|
+
body.desktop .q-checkbox:not(.disabled):focus .q-checkbox__inner:before, body.desktop .q-checkbox:not(.disabled):hover .q-checkbox__inner:before {
|
|
18
|
+
transform: scale3d(1, 1, 1);
|
|
19
|
+
}
|
|
20
|
+
body.desktop .q-checkbox--dense:not(.disabled):focus .q-checkbox__inner:before, body.desktop .q-checkbox--dense:not(.disabled):hover .q-checkbox__inner:before {
|
|
21
|
+
transform: scale3d(1.4, 1.4, 1);
|
|
22
|
+
}
|
|
23
|
+
`
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
const shortcuts = [
|
|
27
|
+
[/^q-checkbox$/, ([, c], { theme }) => `align-middle`],
|
|
28
|
+
[/^q-checkbox__native$/, ([, c], { theme }) => `w-px h-px`],
|
|
29
|
+
[
|
|
30
|
+
/^q-checkbox__bg$/,
|
|
31
|
+
([, c], { theme }) => `select-none top-1/4 left-1/4 w-1/2 h-1/2 border-[2px] border-solid border-[currentColor] rounded-[2px] [transition:background_0.22s_cubic-bezier(0,_0,_0.2,_1)_0ms]`
|
|
32
|
+
],
|
|
33
|
+
[/^q-checkbox__icon-container$/, ([, c], { theme }) => `select-none`],
|
|
34
|
+
[/^q-checkbox__icon$/, ([, c], { theme }) => `text-current text-[0.5em]`],
|
|
35
|
+
[/^q-checkbox__svg$/, ([, c], { theme }) => `text-[#fff]`],
|
|
36
|
+
[
|
|
37
|
+
/^q-checkbox__truthy$/,
|
|
38
|
+
([, c], { theme }) => `stroke-current stroke-[3.12px]`
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
/^q-checkbox__indet$/,
|
|
42
|
+
([, c], { theme }) => `fill-current origin-[50%_50%] -rotate-[280deg] scale-0`
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
/^q-checkbox__inner$/,
|
|
46
|
+
([, c], { theme }) => `text-[40px] w-[1em] min-w-[1em] h-[1em] outline-0 rounded-[50%] text-[rgba(0,_0,_0,_0.54)]`
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
/^q-checkbox__inner--truthy$/,
|
|
50
|
+
([, c], { theme }) => `text-primary [&_.q-checkbox\\_\\_bg]:(bg-current) [&_path]:([transition:stroke-dashoffset_0.18s_cubic-bezier(0.4,_0,_0.6,_1)_0ms])`
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
/^q-checkbox__inner--indet$/,
|
|
54
|
+
([, c], { theme }) => `text-primary [&_.q-checkbox\\_\\_bg]:(bg-current) [&_.q-checkbox\\_\\_indet]:(rotate-[0] scale-100 [transition:transform_0.22s_cubic-bezier(0,_0,_0.2,_1)_0ms])`
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
/^q-checkbox--dark$/,
|
|
58
|
+
([, c], { theme }) => `[&_.q-checkbox\\_\\_inner]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-checkbox\\_\\_inner:before]:(!opacity-[0.32]) [&_.q-checkbox\\_\\_inner--truthy]:(text-primary) [&_.q-checkbox\\_\\_inner--indet]:(text-primary)`
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
/^q-checkbox--dense$/,
|
|
62
|
+
([, c], { theme }) => `[&_.q-checkbox\\_\\_inner]:(w-[0.5em] min-w-[0.5em] h-[0.5em]) [&_.q-checkbox\\_\\_bg]:(left-[5%] top-[5%] w-[90%] h-[90%]) [&_.q-checkbox\\_\\_label]:(pl-[0.5em])`
|
|
63
|
+
]
|
|
64
|
+
];
|
|
65
|
+
export { preflights, shortcuts };
|