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
|
@@ -0,0 +1,58 @@
|
|
|
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-splitter__panel$/,
|
|
7
|
+
([, c], { theme }) => `relative z-0 [&_>_.q-splitter]:(w-full h-full)`
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
[
|
|
11
|
+
/^q-splitter__separator$/,
|
|
12
|
+
([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.12)] select-none relative`
|
|
13
|
+
],
|
|
14
|
+
|
|
15
|
+
[
|
|
16
|
+
/^q-splitter__separator-area$/,
|
|
17
|
+
([, c], { theme }) =>
|
|
18
|
+
`[&_>_*]:(absolute top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2)`
|
|
19
|
+
],
|
|
20
|
+
|
|
21
|
+
[
|
|
22
|
+
/^q-splitter--dark$/,
|
|
23
|
+
([, c], { theme }) =>
|
|
24
|
+
`[&_.q-splitter\\_\\_separator]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
25
|
+
],
|
|
26
|
+
|
|
27
|
+
[
|
|
28
|
+
/^q-splitter--vertical$/,
|
|
29
|
+
([, c], { theme }) =>
|
|
30
|
+
`[&_>_.q-splitter\\_\\_panel]:(h-full) [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px])`
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
[/^q-splitter--vertical.q-splitter--active$/, ([, c], { theme }) => ``],
|
|
34
|
+
|
|
35
|
+
[
|
|
36
|
+
/^q-splitter--vertical.q-splitter--workable$/,
|
|
37
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
|
|
38
|
+
],
|
|
39
|
+
|
|
40
|
+
[
|
|
41
|
+
/^q-splitter--horizontal$/,
|
|
42
|
+
([, c], { theme }) =>
|
|
43
|
+
`[&_>_.q-splitter\\_\\_panel]:(w-full) [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px])`
|
|
44
|
+
],
|
|
45
|
+
|
|
46
|
+
[/^q-splitter--horizontal.q-splitter--active$/, ([, c], { theme }) => ``],
|
|
47
|
+
|
|
48
|
+
[
|
|
49
|
+
/^q-splitter--horizontal.q-splitter--workable$/,
|
|
50
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
|
|
51
|
+
],
|
|
52
|
+
|
|
53
|
+
[/^q-splitter__before$/, ([, c], { theme }) => `overflow-auto`],
|
|
54
|
+
|
|
55
|
+
[/^q-splitter__after$/, ([, c], { theme }) => `overflow-auto`]
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
export { shortcuts }
|
|
@@ -0,0 +1,150 @@
|
|
|
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-stepper$/,
|
|
7
|
+
([, c], { theme }) =>
|
|
8
|
+
`[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] bg-[#fff]`
|
|
9
|
+
],
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
/^q-stepper__title$/,
|
|
13
|
+
([, c], { theme }) => `text-[14px] leading-[1.285714] tracking-[0.1px]`
|
|
14
|
+
],
|
|
15
|
+
|
|
16
|
+
[
|
|
17
|
+
/^q-stepper__caption$/,
|
|
18
|
+
([, c], { theme }) => `text-[12px] leading-[1.16667]`
|
|
19
|
+
],
|
|
20
|
+
|
|
21
|
+
[
|
|
22
|
+
/^q-stepper__dot$/,
|
|
23
|
+
([, c], { theme }) =>
|
|
24
|
+
`mr-[8px] text-[14px] w-[24px] min-w-[24px] h-[24px] rounded-[50%] bg-current [&_span]:(text-[#fff])`
|
|
25
|
+
],
|
|
26
|
+
|
|
27
|
+
[
|
|
28
|
+
/^q-stepper__tab$/,
|
|
29
|
+
([, c], { theme }) =>
|
|
30
|
+
`px-[24px] py-[8px] text-[14px] text-[#9e9e9e] flex-row`
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
[
|
|
34
|
+
/^q-stepper--dark$/,
|
|
35
|
+
([, c], { theme }) =>
|
|
36
|
+
`[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-stepper\\_\\_dot_span]:(text-[#000]) [&_.q-stepper\\_\\_header--border]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled]:(text-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_dot]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_label]:(text-[rgba(255,_255,_255,_0.54)])`
|
|
37
|
+
],
|
|
38
|
+
|
|
39
|
+
[
|
|
40
|
+
/^q-stepper__tab--navigation$/,
|
|
41
|
+
([, c], { theme }) => `select-none cursor-pointer`
|
|
42
|
+
],
|
|
43
|
+
|
|
44
|
+
[
|
|
45
|
+
/^q-stepper__tab--active$/,
|
|
46
|
+
([, c], { theme }) =>
|
|
47
|
+
` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
|
|
48
|
+
],
|
|
49
|
+
|
|
50
|
+
[
|
|
51
|
+
/^q-stepper__tab--done$/,
|
|
52
|
+
([, c], { theme }) =>
|
|
53
|
+
` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
|
|
54
|
+
],
|
|
55
|
+
|
|
56
|
+
[
|
|
57
|
+
/^q-stepper__tab--disabled$/,
|
|
58
|
+
([, c], { theme }) =>
|
|
59
|
+
`[&_.q-stepper\\_\\_dot]:(bg-[rgba(0,_0,_0,_0.22)]) [&_.q-stepper\\_\\_label]:(text-[rgba(0,_0,_0,_0.32)])`
|
|
60
|
+
],
|
|
61
|
+
|
|
62
|
+
[/^q-stepper__tab--error$/, ([, c], { theme }) => `text-negative`],
|
|
63
|
+
|
|
64
|
+
[
|
|
65
|
+
/^q-stepper__tab--error-with-icon$/,
|
|
66
|
+
([, c], { theme }) =>
|
|
67
|
+
`[&_.q-stepper\\_\\_dot]:(!bg-transparent) [&_.q-stepper\\_\\_dot_span]:(text-current text-[24px])`
|
|
68
|
+
],
|
|
69
|
+
|
|
70
|
+
[
|
|
71
|
+
/^q-stepper__header$/,
|
|
72
|
+
([, c], { theme }) =>
|
|
73
|
+
`[border-top-left-radius:inherit] [border-top-right-radius:inherit]`
|
|
74
|
+
],
|
|
75
|
+
|
|
76
|
+
[
|
|
77
|
+
/^q-stepper__header--border$/,
|
|
78
|
+
([, c], { theme }) => `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
79
|
+
],
|
|
80
|
+
|
|
81
|
+
[
|
|
82
|
+
/^q-stepper__header--standard-labels$/,
|
|
83
|
+
([, c], { theme }) =>
|
|
84
|
+
`[&_.q-stepper\\_\\_tab]:(min-h-[72px] justify-center) [&_.q-stepper\\_\\_tab:first-child]:(justify-start) [&_.q-stepper\\_\\_tab:last-child]:(justify-end) [&_.q-stepper\\_\\_tab:only-child]:(justify-center) [&_.q-stepper\\_\\_dot:after]:(hidden)`
|
|
85
|
+
],
|
|
86
|
+
|
|
87
|
+
[
|
|
88
|
+
/^q-stepper__header--alternative-labels$/,
|
|
89
|
+
([, c], { theme }) =>
|
|
90
|
+
`[&_.q-stepper\\_\\_tab]:(min-h-[104px] px-[32px] py-[24px] flex-col justify-start) [&_.q-stepper\\_\\_dot]:(mr-0) [&_.q-stepper\\_\\_label]:(mt-[8px] text-center) [&_.q-stepper\\_\\_label:before]:(hidden) [&_.q-stepper\\_\\_label:after]:(hidden)`
|
|
91
|
+
],
|
|
92
|
+
|
|
93
|
+
[
|
|
94
|
+
/^q-stepper__header--contracted$/,
|
|
95
|
+
([, c], { theme }) =>
|
|
96
|
+
`min-h-[72px] [&_.q-stepper\\_\\_tab]:(px-[0] py-[24px]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot]:(translate-x-[24px]) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot]:(-translate-x-[24px]) [&_.q-stepper\\_\\_dot]:(m-0) [&_.q-stepper\\_\\_label]:(hidden)`
|
|
97
|
+
],
|
|
98
|
+
|
|
99
|
+
[
|
|
100
|
+
/^q-stepper__header--contracted.q-stepper__header--alternative-labels$/,
|
|
101
|
+
([, c], { theme }) =>
|
|
102
|
+
`[&__.q-stepper\\_\\_tab]:(min-h-[72px]) [&__.q-stepper\\_\\_tab:first-child]:(items-start) [&__.q-stepper\\_\\_tab:last-child]:(items-end)`
|
|
103
|
+
],
|
|
104
|
+
|
|
105
|
+
[
|
|
106
|
+
/^q-stepper__header--contracted$/,
|
|
107
|
+
([, c], { theme }) =>
|
|
108
|
+
`[&__.q-stepper\\_\\_tab:not(:last-child)__.q-stepper\\_\\_dot:after]:(!block)`
|
|
109
|
+
],
|
|
110
|
+
|
|
111
|
+
[/^q-stepper__nav$/, ([, c], { theme }) => `pt-[24px]`],
|
|
112
|
+
|
|
113
|
+
[/^q-stepper--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
114
|
+
|
|
115
|
+
[
|
|
116
|
+
/^q-stepper--bordered$/,
|
|
117
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
118
|
+
],
|
|
119
|
+
|
|
120
|
+
[
|
|
121
|
+
/^q-stepper--horizontal$/,
|
|
122
|
+
([, c], { theme }) =>
|
|
123
|
+
`[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:() [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-empty right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
|
|
124
|
+
],
|
|
125
|
+
|
|
126
|
+
[
|
|
127
|
+
/^q-stepper--vertical$/,
|
|
128
|
+
([, c], { theme }) =>
|
|
129
|
+
`px-[0] py-[16px] [&_.q-stepper\\_\\_tab]:(px-[24px] py-[12px]) [&_.q-stepper\\_\\_title]:(leading-[18px]) [&_.q-stepper\\_\\_step-inner]:(pt-[0] pr-[24px] pb-[32px] pl-[60px]) [&_>_.q-stepper\\_\\_nav]:(pt-[24px] px-[24px] pb-[0]) [&_.q-stepper\\_\\_step]:(overflow-hidden) [&_.q-stepper\\_\\_dot]:(mr-[12px]) [&_.q-stepper\\_\\_dot:before]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:after]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:before]:(bottom-full mb-[8px]) [&_.q-stepper\\_\\_dot:after]:(top-full mt-[8px]) [&_.q-stepper\\_\\_step:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_step-inner]:(pb-[8px])`
|
|
130
|
+
],
|
|
131
|
+
|
|
132
|
+
[
|
|
133
|
+
/^q-stepper--dark.q-stepper--bordered$/,
|
|
134
|
+
([, c], { theme }) => `border-[rgba(255,_255,_255,_0.28)]`
|
|
135
|
+
],
|
|
136
|
+
|
|
137
|
+
[
|
|
138
|
+
/^q-stepper--dark.q-stepper--horizontal$/,
|
|
139
|
+
([, c], { theme }) =>
|
|
140
|
+
`[&_.q-stepper\\_\\_line:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_line:after]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
141
|
+
],
|
|
142
|
+
|
|
143
|
+
[
|
|
144
|
+
/^q-stepper--dark.q-stepper--vertical$/,
|
|
145
|
+
([, c], { theme }) =>
|
|
146
|
+
`[&_.q-stepper\\_\\_dot:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_dot:after]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
147
|
+
]
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
export { shortcuts }
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[/^q-tab-panels$/, ([, c], { theme }) => `bg-[#fff]`],
|
|
6
|
+
|
|
7
|
+
[/^q-tab-panel$/, ([, c], { theme }) => `p-[16px]`]
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
export { shortcuts }
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const preflights: Preflight<QuasarTheme>[] = [
|
|
5
|
+
{
|
|
6
|
+
getCSS: ({ theme }) => `
|
|
7
|
+
body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no-hover):before {
|
|
8
|
+
content: "";
|
|
9
|
+
}`
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
13
|
+
[/^q-markup-table$/, ([, c], { theme }) => `overflow-auto bg-[#fff]`],
|
|
14
|
+
[
|
|
15
|
+
/^q-table$/,
|
|
16
|
+
([, c], { theme }) =>
|
|
17
|
+
`w-full max-w-full border-separate [border-spacing:0] [&_thead_tr]:(h-[48px]) [&_tbody_td]:(h-[48px]) [&_th]:(font-medium text-[12px] select-none) [&_th.sortable]:(cursor-pointer) [&_th.sortable:hover_.q-table\\_\\_sort-icon]:(opacity-[0.64]) [&_th.sorted_.q-table\\_\\_sort-icon]:(!opacity-[0.86]) [&_th.sort-desc_.q-table\\_\\_sort-icon]:(rotate-180) [&_th]:(px-[16px] py-[7px] [background-color:inherit]) [&_td]:(px-[16px] py-[7px] [background-color:inherit]) [&_thead]:(border-solid border-0) [&_td]:(border-solid border-0) [&_th]:(border-solid border-0) [&_tbody_td]:(text-[13px]) [&_thead]:(border-[rgba(0,_0,_0,_0.12)]) [&_tr]:(border-[rgba(0,_0,_0,_0.12)]) [&_th]:(border-[rgba(0,_0,_0,_0.12)]) [&_td]:(border-[rgba(0,_0,_0,_0.12)]) [&_tbody_td]:(relative) [&_tbody_td:before]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:after]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:before]:(bg-[rgba(0,_0,_0,_0.03)]) [&_tbody_td:after]:(bg-[rgba(0,_0,_0,_0.06)]) [&_tbody_tr.selected_td:after]:(content-empty) [&_.q-virtual-scroll\\_\\_padding_tr]:(!h-[0]) [&_.q-virtual-scroll\\_\\_padding_td]:(!p-0)
|
|
18
|
+
[&_.q-virtual-scroll\\_\\_padding_tr]:(h-0!)
|
|
19
|
+
[&_.q-virtual-scroll\\_\\_padding_td]:(p-0!)`
|
|
20
|
+
],
|
|
21
|
+
|
|
22
|
+
[
|
|
23
|
+
/^q-table__card$/,
|
|
24
|
+
([, c], { theme }) =>
|
|
25
|
+
`text-[#000] bg-[#fff] rounded-[4px] [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)] [&_.q-table\\_\\_middle]:(flex-auto) [&_.q-table\\_\\_top]:(flex-[0_0_auto]) [&_.q-table\\_\\_bottom]:(flex-[0_0_auto])`
|
|
26
|
+
],
|
|
27
|
+
|
|
28
|
+
[
|
|
29
|
+
/^q-table__container$/,
|
|
30
|
+
([, c], { theme }) =>
|
|
31
|
+
`relative [&_>_div:first-child]:([border-top-left-radius:inherit] [border-top-right-radius:inherit]) [&_>_div:last-child]:([border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-inner-loading]:([border-radius:inherit!important])`
|
|
32
|
+
],
|
|
33
|
+
|
|
34
|
+
[
|
|
35
|
+
/^q-table__top$/,
|
|
36
|
+
([, c], { theme }) =>
|
|
37
|
+
`px-[16px] py-[12px] [&_.q-table\\_\\_control]:(flex-wrap)`
|
|
38
|
+
],
|
|
39
|
+
|
|
40
|
+
[
|
|
41
|
+
/^q-table__title$/,
|
|
42
|
+
([, c], { theme }) => `text-[20px] tracking-[0.005em] font-normal`
|
|
43
|
+
],
|
|
44
|
+
|
|
45
|
+
[/^q-table__separator$/, ([, c], { theme }) => `!min-w-[8px]`],
|
|
46
|
+
|
|
47
|
+
[
|
|
48
|
+
/^q-table__progress$/,
|
|
49
|
+
([, c], { theme }) =>
|
|
50
|
+
`!h-[0] [&_th]:(!p-0 !border-0) [&_.q-linear-progress]:(absolute bottom-0)`
|
|
51
|
+
],
|
|
52
|
+
|
|
53
|
+
[/^q-table__middle$/, ([, c], { theme }) => `max-w-full`],
|
|
54
|
+
|
|
55
|
+
[
|
|
56
|
+
/^q-table__bottom$/,
|
|
57
|
+
([, c], { theme }) =>
|
|
58
|
+
`min-h-[50px] pl-[16px] pr-[14px] py-[4px] text-[12px] [&_.q-table\\_\\_control]:(min-h-[24px]) [border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
59
|
+
],
|
|
60
|
+
|
|
61
|
+
[
|
|
62
|
+
/^q-table__bottom-nodata-icon$/,
|
|
63
|
+
([, c], { theme }) => `text-[200%] mr-[8px]`
|
|
64
|
+
],
|
|
65
|
+
|
|
66
|
+
[/^q-table__bottom-item$/, ([, c], { theme }) => `mr-[16px]`],
|
|
67
|
+
|
|
68
|
+
[/^q-table__control$/, ([, c], { theme }) => `flex items-center`],
|
|
69
|
+
|
|
70
|
+
[
|
|
71
|
+
/^q-table__sort-icon$/,
|
|
72
|
+
([, c], { theme }) =>
|
|
73
|
+
`[transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)] opacity-0 text-[120%]`
|
|
74
|
+
],
|
|
75
|
+
|
|
76
|
+
[/^q-table__sort-icon--left$/, ([, c], { theme }) => `ml-[4px]`],
|
|
77
|
+
|
|
78
|
+
[/^q-table__sort-icon--center$/, ([, c], { theme }) => `ml-[4px]`],
|
|
79
|
+
|
|
80
|
+
[/^q-table__sort-icon--right$/, ([, c], { theme }) => `mr-[4px]`],
|
|
81
|
+
|
|
82
|
+
[/^q-table--col-auto-width$/, ([, c], { theme }) => `w-px`],
|
|
83
|
+
|
|
84
|
+
[
|
|
85
|
+
/^q-table__card--dark$/,
|
|
86
|
+
([, c], { theme }) =>
|
|
87
|
+
`[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)]`
|
|
88
|
+
],
|
|
89
|
+
|
|
90
|
+
[
|
|
91
|
+
/^q-table--dark$/,
|
|
92
|
+
([, c], { theme }) =>
|
|
93
|
+
`[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)] [&_.q-table\\_\\_bottom]:(border-[rgba(255,_255,_255,_0.28)]) [&_thead]:(border-[rgba(255,_255,_255,_0.28)]) [&_tr]:(border-[rgba(255,_255,_255,_0.28)]) [&_th]:(border-[rgba(255,_255,_255,_0.28)]) [&_td]:(border-[rgba(255,_255,_255,_0.28)]) [&_tbody_td:before]:(bg-[rgba(255,_255,_255,_0.07)]) [&_tbody_td:after]:(bg-[rgba(255,_255,_255,_0.1)])`
|
|
94
|
+
],
|
|
95
|
+
|
|
96
|
+
[/^q-table--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
97
|
+
|
|
98
|
+
[
|
|
99
|
+
/^q-table--bordered$/,
|
|
100
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
101
|
+
],
|
|
102
|
+
|
|
103
|
+
[/^q-table--square$/, ([, c], { theme }) => `rounded-none`],
|
|
104
|
+
|
|
105
|
+
[/^q-table__linear-progress$/, ([, c], { theme }) => `h-[2px]`],
|
|
106
|
+
|
|
107
|
+
[
|
|
108
|
+
/^q-table--no-wrap$/,
|
|
109
|
+
([, c], { theme }) =>
|
|
110
|
+
`[&_th]:(whitespace-nowrap) [&_td]:(whitespace-nowrap)`
|
|
111
|
+
],
|
|
112
|
+
|
|
113
|
+
[
|
|
114
|
+
/^q-table--grid$/,
|
|
115
|
+
([, c], { theme }) =>
|
|
116
|
+
`[box-shadow:none] rounded-[4px] [&_.q-table\\_\\_top]:(pb-[4px]) [&_.q-table\\_\\_middle]:(min-h-[2px] mb-[4px]) [&_.q-table\\_\\_middle_thead]:(!border-0) [&_.q-table\\_\\_middle_thead_th]:(!border-0) [&_.q-table\\_\\_linear-progress]:(bottom-0) [&_.q-table\\_\\_bottom]:([border-top:0]) [&_.q-table\\_\\_grid-content]:(flex-auto)`
|
|
117
|
+
],
|
|
118
|
+
|
|
119
|
+
[/^q-table--grid.fullscreen$/, ([, c], { theme }) => `[background:inherit]`],
|
|
120
|
+
|
|
121
|
+
[
|
|
122
|
+
/^q-table__grid-item-card$/,
|
|
123
|
+
([, c], { theme }) =>
|
|
124
|
+
`align-top p-[12px] [&_.q-separator]:(mx-[0] my-[12px])`
|
|
125
|
+
],
|
|
126
|
+
|
|
127
|
+
[
|
|
128
|
+
/^q-table__grid-item-row$/,
|
|
129
|
+
([, c], { theme }) => `[&_+_.q-table\\_\\_grid-item-row]:(mt-[8px])`
|
|
130
|
+
],
|
|
131
|
+
|
|
132
|
+
[
|
|
133
|
+
/^q-table__grid-item-title$/,
|
|
134
|
+
([, c], { theme }) => `opacity-[0.54] font-medium text-[12px]`
|
|
135
|
+
],
|
|
136
|
+
|
|
137
|
+
[/^q-table__grid-item-value$/, ([, c], { theme }) => `text-[13px]`],
|
|
138
|
+
|
|
139
|
+
[
|
|
140
|
+
/^q-table__grid-item$/,
|
|
141
|
+
([, c], { theme }) =>
|
|
142
|
+
`p-[4px] [transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]`
|
|
143
|
+
],
|
|
144
|
+
|
|
145
|
+
[/^q-table__grid-item--selected$/, ([, c], { theme }) => `scale-[0.95]`],
|
|
146
|
+
|
|
147
|
+
[
|
|
148
|
+
/^q-table--horizontal-separator$/,
|
|
149
|
+
([, c], { theme }) =>
|
|
150
|
+
`[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b)`
|
|
151
|
+
],
|
|
152
|
+
|
|
153
|
+
[
|
|
154
|
+
/^q-table--cell-separator$/,
|
|
155
|
+
([, c], { theme }) =>
|
|
156
|
+
`[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b) [&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
|
|
157
|
+
],
|
|
158
|
+
|
|
159
|
+
[
|
|
160
|
+
/^q-table--vertical-separator$/,
|
|
161
|
+
([, c], { theme }) =>
|
|
162
|
+
`[&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
|
|
163
|
+
],
|
|
164
|
+
|
|
165
|
+
[
|
|
166
|
+
/^q-table--vertical-separator.q-table--loading$/,
|
|
167
|
+
([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
|
|
168
|
+
],
|
|
169
|
+
|
|
170
|
+
[
|
|
171
|
+
/^q-table--cell-separator.q-table--loading$/,
|
|
172
|
+
([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
|
|
173
|
+
],
|
|
174
|
+
|
|
175
|
+
[
|
|
176
|
+
/^q-table--dense$/,
|
|
177
|
+
([, c], { theme }) =>
|
|
178
|
+
`[&_.q-table\\_\\_top]:(px-[16px] py-[6px]) [&_.q-table\\_\\_bottom]:(min-h-[33px]) [&_.q-table\\_\\_sort-icon]:(text-[110%]) [&_.q-table_th]:(px-[8px] py-[4px]) [&_.q-table_td]:(px-[8px] py-[4px]) [&_.q-table_thead_tr]:(h-[28px]) [&_.q-table_tbody_tr]:(h-[28px]) [&_.q-table_tbody_td]:(h-[28px]) [&_.q-table_th:first-child]:(pl-[16px]) [&_.q-table_td:first-child]:(pl-[16px]) [&_.q-table_th:last-child]:(pr-[16px]) [&_.q-table_td:last-child]:(pr-[16px]) [&_.q-table\\_\\_bottom-item]:(mr-[8px]) [&_.q-table\\_\\_select_.q-field\\_\\_control]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_native]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_marginal]:(h-[24px])`
|
|
179
|
+
],
|
|
180
|
+
|
|
181
|
+
[
|
|
182
|
+
/^q-table--dark.q-table--vertical-separator$/,
|
|
183
|
+
([, c], { theme }) =>
|
|
184
|
+
`[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
|
|
185
|
+
],
|
|
186
|
+
|
|
187
|
+
[
|
|
188
|
+
/^q-table--dark.q-table--cell-separator$/,
|
|
189
|
+
([, c], { theme }) =>
|
|
190
|
+
`[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
|
|
191
|
+
]
|
|
192
|
+
]
|
|
193
|
+
|
|
194
|
+
export { preflights, shortcuts }
|
|
@@ -0,0 +1,139 @@
|
|
|
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-tab$/,
|
|
7
|
+
([, c], { theme }) =>
|
|
8
|
+
`px-[16px] py-[0] min-h-[48px] [transition:color_0.3s,_background-color_0.3s] uppercase whitespace-nowrap [color:inherit] no-underline [&_.q-badge]:(top-[3px] -right-[12px])`
|
|
9
|
+
],
|
|
10
|
+
|
|
11
|
+
[/^q-tab--full$/, ([, c], { theme }) => `min-h-[72px]`],
|
|
12
|
+
|
|
13
|
+
[/^q-tab--no-caps$/, ([, c], { theme }) => `normal-case`],
|
|
14
|
+
|
|
15
|
+
[
|
|
16
|
+
/^q-tab__content$/,
|
|
17
|
+
([, c], { theme }) =>
|
|
18
|
+
`[height:inherit] px-[0] py-[4px] min-w-[40px] [&_.q-chip--floating]:(top-0 -right-[16px])`
|
|
19
|
+
],
|
|
20
|
+
|
|
21
|
+
[
|
|
22
|
+
/^q-tab__content--inline$/,
|
|
23
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_icon_+_.q-tab\\_\\_label]:(pl-[8px])`
|
|
24
|
+
],
|
|
25
|
+
|
|
26
|
+
[/^q-tab__icon$/, ([, c], { theme }) => `w-[24px] h-[24px] text-[24px]`],
|
|
27
|
+
|
|
28
|
+
[
|
|
29
|
+
/^q-tab__label$/,
|
|
30
|
+
([, c], { theme }) => `text-[14px] leading-[1.715em] font-medium`
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
[
|
|
34
|
+
/^q-tab__alert$/,
|
|
35
|
+
([, c], { theme }) =>
|
|
36
|
+
`absolute top-[7px] -right-[9px] h-[10px] w-[10px] rounded-[50%] bg-current`
|
|
37
|
+
],
|
|
38
|
+
|
|
39
|
+
[
|
|
40
|
+
/^q-tab__alert-icon$/,
|
|
41
|
+
([, c], { theme }) => `absolute top-[2px] -right-[12px] text-[18px]`
|
|
42
|
+
],
|
|
43
|
+
|
|
44
|
+
[/^q-tab__indicator$/, ([, c], { theme }) => `opacity-0 h-[2px] bg-current`],
|
|
45
|
+
|
|
46
|
+
[
|
|
47
|
+
/^q-tab--active$/,
|
|
48
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_indicator]:(opacity-100 origin-left)`
|
|
49
|
+
],
|
|
50
|
+
|
|
51
|
+
[/^q-tab--inactive$/, ([, c], { theme }) => `opacity-[0.85]`],
|
|
52
|
+
|
|
53
|
+
[
|
|
54
|
+
/^q-tabs$/,
|
|
55
|
+
([, c], { theme }) =>
|
|
56
|
+
`relative [transition:color_0.3s,_background-color_0.3s]`
|
|
57
|
+
],
|
|
58
|
+
|
|
59
|
+
[
|
|
60
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--horizontal$/,
|
|
61
|
+
([, c], { theme }) => `pl-[36px] pr-[36px]`
|
|
62
|
+
],
|
|
63
|
+
|
|
64
|
+
[
|
|
65
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--vertical$/,
|
|
66
|
+
([, c], { theme }) => `pt-[36px] pb-[36px]`
|
|
67
|
+
],
|
|
68
|
+
|
|
69
|
+
[
|
|
70
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside$/,
|
|
71
|
+
([, c], { theme }) =>
|
|
72
|
+
`[&_.q-tabs\\_\\_arrow--faded]:(opacity-30 pointer-events-none)`
|
|
73
|
+
],
|
|
74
|
+
|
|
75
|
+
[
|
|
76
|
+
/^q-tabs--scrollable.q-tabs__arrows--inside$/,
|
|
77
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_arrow--faded]:(hidden)`
|
|
78
|
+
],
|
|
79
|
+
|
|
80
|
+
[
|
|
81
|
+
/^q-tabs--not-scrollable.q-tabs__arrows--outside$/,
|
|
82
|
+
([, c], { theme }) => `pl-0 pr-0`
|
|
83
|
+
],
|
|
84
|
+
|
|
85
|
+
[
|
|
86
|
+
/^q-tabs--not-scrollable$/,
|
|
87
|
+
([, c], { theme }) =>
|
|
88
|
+
`[&_.q-tabs\\_\\_arrow]:(hidden) [&_.q-tabs\\_\\_content]:([border-radius:inherit])`
|
|
89
|
+
],
|
|
90
|
+
|
|
91
|
+
[
|
|
92
|
+
/^q-tabs__arrow$/,
|
|
93
|
+
([, c], { theme }) =>
|
|
94
|
+
`cursor-pointer text-[32px] min-w-[36px] [text-shadow:0_0_3px_#fff,_0_0_1px_#fff,_0_0_1px_#000] [transition:opacity_0.3s]`
|
|
95
|
+
],
|
|
96
|
+
|
|
97
|
+
[/^q-tabs__content$/, ([, c], { theme }) => `overflow-hidden flex-auto`],
|
|
98
|
+
|
|
99
|
+
[/^q-tabs__content--align-center$/, ([, c], { theme }) => `justify-center`],
|
|
100
|
+
|
|
101
|
+
[/^q-tabs__content--align-right$/, ([, c], { theme }) => `justify-end`],
|
|
102
|
+
|
|
103
|
+
[
|
|
104
|
+
/^q-tabs__content--align-justify$/,
|
|
105
|
+
([, c], { theme }) => `[&_.q-tab]:(flex-auto)`
|
|
106
|
+
],
|
|
107
|
+
|
|
108
|
+
[/^q-tabs__offset$/, ([, c], { theme }) => `hidden`],
|
|
109
|
+
|
|
110
|
+
[
|
|
111
|
+
/^q-tabs--horizontal$/,
|
|
112
|
+
([, c], { theme }) =>
|
|
113
|
+
`[&_.q-tabs\\_\\_arrow]:(h-full) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 bottom-0) [&_.q-tabs\\_\\_arrow--right]:(top-0 right-0 bottom-0)`
|
|
114
|
+
],
|
|
115
|
+
|
|
116
|
+
[
|
|
117
|
+
/^q-tabs--vertical$/,
|
|
118
|
+
([, c], { theme }) =>
|
|
119
|
+
`!block h-full [&_.q-tabs\\_\\_content]:(!block h-full) [&_.q-tabs\\_\\_arrow]:(w-full h-[36px] text-center) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 right-0) [&_.q-tabs\\_\\_arrow--right]:(left-0 right-0 bottom-0) [&_.q-tab]:(px-[8px] py-[0]) [&_.q-tab\\_\\_indicator]:(h-[unset] w-[2px])`
|
|
120
|
+
],
|
|
121
|
+
|
|
122
|
+
[
|
|
123
|
+
/^q-tabs--vertical.q-tabs--not-scrollable$/,
|
|
124
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_content]:(h-full)`
|
|
125
|
+
],
|
|
126
|
+
|
|
127
|
+
[
|
|
128
|
+
/^q-tabs--vertical.q-tabs--dense$/,
|
|
129
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_content]:(min-w-[24px])`
|
|
130
|
+
],
|
|
131
|
+
|
|
132
|
+
[
|
|
133
|
+
/^q-tabs--dense$/,
|
|
134
|
+
([, c], { theme }) =>
|
|
135
|
+
`[&_.q-tab]:(min-h-[36px]) [&_.q-tab--full]:(min-h-[52px])`
|
|
136
|
+
]
|
|
137
|
+
]
|
|
138
|
+
|
|
139
|
+
export { shortcuts }
|