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,48 @@
|
|
|
1
|
+
import type { Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[/^q-scrollarea$/, ([, c], { theme }) => `relative`],
|
|
6
|
+
|
|
7
|
+
[
|
|
8
|
+
/^q-scrollarea__bar$/,
|
|
9
|
+
([, c], { theme }) => `opacity-20 [transition:opacity_0.3s]`
|
|
10
|
+
],
|
|
11
|
+
|
|
12
|
+
[
|
|
13
|
+
/^q-scrollarea__thumb$/,
|
|
14
|
+
([, c], { theme }) =>
|
|
15
|
+
`opacity-20 [transition:opacity_0.3s] bg-[#000] rounded-[3px]`
|
|
16
|
+
],
|
|
17
|
+
|
|
18
|
+
[/^q-scrollarea__bar--v$/, ([, c], { theme }) => `right-0 w-[10px]`],
|
|
19
|
+
|
|
20
|
+
[/^q-scrollarea__thumb--v$/, ([, c], { theme }) => `right-0 w-[10px]`],
|
|
21
|
+
|
|
22
|
+
[/^q-scrollarea__bar--h$/, ([, c], { theme }) => `bottom-0 h-[10px]`],
|
|
23
|
+
|
|
24
|
+
[/^q-scrollarea__thumb--h$/, ([, c], { theme }) => `bottom-0 h-[10px]`],
|
|
25
|
+
|
|
26
|
+
[
|
|
27
|
+
/^q-scrollarea__bar--invisible$/,
|
|
28
|
+
([, c], { theme }) => `!opacity-0 pointer-events-none`
|
|
29
|
+
],
|
|
30
|
+
|
|
31
|
+
[
|
|
32
|
+
/^q-scrollarea__thumb--invisible$/,
|
|
33
|
+
([, c], { theme }) => `!opacity-0 pointer-events-none`
|
|
34
|
+
],
|
|
35
|
+
|
|
36
|
+
[/^q-scrollarea__thumb:hover$/, ([, c], { theme }) => `hover:opacity-30`],
|
|
37
|
+
|
|
38
|
+
[/^q-scrollarea__thumb:active$/, ([, c], { theme }) => `active:opacity-50`],
|
|
39
|
+
|
|
40
|
+
[/^q-scrollarea__content$/, ([, c], { theme }) => `min-h-full min-w-full`],
|
|
41
|
+
|
|
42
|
+
[
|
|
43
|
+
/^q-scrollarea--dark$/,
|
|
44
|
+
([, c], { theme }) => `[&_.q-scrollarea\\_\\_thumb]:(bg-[#fff])`
|
|
45
|
+
]
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
export { shortcuts }
|
|
@@ -0,0 +1,69 @@
|
|
|
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.mobile:not(.native-mobile) .q-select__dialog {
|
|
8
|
+
max-height: calc(100vh - 108px) !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body.platform-android.native-mobile .q-dialog__inner--top .q-select__dialog {
|
|
12
|
+
max-height: calc(100vh - 24px) !important;
|
|
13
|
+
}
|
|
14
|
+
body.platform-android:not(.native-mobile) .q-dialog__inner--top .q-select__dialog {
|
|
15
|
+
max-height: calc(100vh - 80px) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
body.platform-ios.native-mobile .q-dialog__inner--top > div {
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
body.platform-ios.native-mobile .q-dialog__inner--top .q-select__dialog--focused {
|
|
22
|
+
max-height: 47vh !important;
|
|
23
|
+
}
|
|
24
|
+
body.platform-ios:not(.native-mobile) .q-dialog__inner--top .q-select__dialog--focused {
|
|
25
|
+
max-height: 50vh !important;
|
|
26
|
+
}`
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
31
|
+
[
|
|
32
|
+
/^q-select--without-input$/,
|
|
33
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(cursor-pointer)`
|
|
34
|
+
],
|
|
35
|
+
|
|
36
|
+
[
|
|
37
|
+
/^q-select--with-input$/,
|
|
38
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(cursor-text)`
|
|
39
|
+
],
|
|
40
|
+
|
|
41
|
+
[
|
|
42
|
+
/^q-select$/,
|
|
43
|
+
([, c], { theme }) =>
|
|
44
|
+
`[&_.q-field\\_\\_input]:(!min-w-[50px] cursor-text) [&_.q-field\\_\\_input--padding]:(pl-[4px])`
|
|
45
|
+
],
|
|
46
|
+
|
|
47
|
+
[
|
|
48
|
+
/^q-select__focus-target$/,
|
|
49
|
+
([, c], { theme }) => `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
|
|
50
|
+
],
|
|
51
|
+
|
|
52
|
+
[
|
|
53
|
+
/^q-select__autocomplete-input$/,
|
|
54
|
+
([, c], { theme }) => `absolute !outline-0 w-px h-px p-0 border-0 opacity-0`
|
|
55
|
+
],
|
|
56
|
+
|
|
57
|
+
[
|
|
58
|
+
/^q-select__dropdown-icon$/,
|
|
59
|
+
([, c], { theme }) => `cursor-pointer [transition:transform_0.28s]`
|
|
60
|
+
],
|
|
61
|
+
|
|
62
|
+
[
|
|
63
|
+
/^q-select__dialog$/,
|
|
64
|
+
([, c], { theme }) =>
|
|
65
|
+
`!w-[90vw] !max-w-[90vw] !max-h-[calc(100vh-70px)] bg-[#fff] flex flex-col [&_>_.scroll]:(relative [background:inherit])`
|
|
66
|
+
]
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
export { preflights, shortcuts }
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[
|
|
6
|
+
/^q-separator$/,
|
|
7
|
+
([, c], { theme }) =>
|
|
8
|
+
`border-0 bg-[rgba(0,_0,_0,_0.12)] m-0 [transition:background_0.3s,_opacity_0.3s] flex-shrink-0`
|
|
9
|
+
],
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
/^q-separator--dark$/,
|
|
13
|
+
([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.28)]`
|
|
14
|
+
],
|
|
15
|
+
|
|
16
|
+
[/^q-separator--horizontal$/, ([, c], { theme }) => `block h-px`],
|
|
17
|
+
|
|
18
|
+
[
|
|
19
|
+
/^q-separator--horizontal-inset$/,
|
|
20
|
+
([, c], { theme }) => `ml-[16px] mr-[16px]`
|
|
21
|
+
],
|
|
22
|
+
|
|
23
|
+
[
|
|
24
|
+
/^q-separator--horizontal-item-inset$/,
|
|
25
|
+
([, c], { theme }) => `ml-[72px] mr-0`
|
|
26
|
+
],
|
|
27
|
+
|
|
28
|
+
[
|
|
29
|
+
/^q-separator--horizontal-item-thumbnail-inset$/,
|
|
30
|
+
([, c], { theme }) => `ml-[116px] mr-0`
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
[/^q-separator--vertical$/, ([, c], { theme }) => `w-px h-auto self-stretch`],
|
|
34
|
+
|
|
35
|
+
[/^q-separator--vertical-inset$/, ([, c], { theme }) => `mt-[8px] mb-[8px]`]
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
export { shortcuts }
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const preflights: Preflight<QuasarTheme>[] = [
|
|
5
|
+
{
|
|
6
|
+
getCSS: ({ theme }) => `
|
|
7
|
+
@keyframes q-skeleton--fade {
|
|
8
|
+
0% {
|
|
9
|
+
opacity: 1;
|
|
10
|
+
}
|
|
11
|
+
50% {
|
|
12
|
+
opacity: 0.4;
|
|
13
|
+
}
|
|
14
|
+
100% {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
@keyframes q-skeleton--pulse {
|
|
19
|
+
0% {
|
|
20
|
+
transform: scale(1);
|
|
21
|
+
}
|
|
22
|
+
50% {
|
|
23
|
+
transform: scale(0.85);
|
|
24
|
+
}
|
|
25
|
+
100% {
|
|
26
|
+
transform: scale(1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
@keyframes q-skeleton--pulse-x {
|
|
30
|
+
0% {
|
|
31
|
+
transform: scaleX(1);
|
|
32
|
+
}
|
|
33
|
+
50% {
|
|
34
|
+
transform: scaleX(0.75);
|
|
35
|
+
}
|
|
36
|
+
100% {
|
|
37
|
+
transform: scaleX(1);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@keyframes q-skeleton--pulse-y {
|
|
41
|
+
0% {
|
|
42
|
+
transform: scaleY(1);
|
|
43
|
+
}
|
|
44
|
+
50% {
|
|
45
|
+
transform: scaleY(0.75);
|
|
46
|
+
}
|
|
47
|
+
100% {
|
|
48
|
+
transform: scaleY(1);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@keyframes q-skeleton--wave {
|
|
52
|
+
0% {
|
|
53
|
+
transform: translateX(-100%);
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
transform: translateX(100%);
|
|
57
|
+
}
|
|
58
|
+
}`
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
63
|
+
[
|
|
64
|
+
/^q-skeleton$/,
|
|
65
|
+
([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.12)] rounded-[4px] box-border`
|
|
66
|
+
],
|
|
67
|
+
|
|
68
|
+
[/^q-skeleton--anim$/, ([, c], { theme }) => `cursor-wait`],
|
|
69
|
+
|
|
70
|
+
[/^q-skeleton:before$/, ([, c], { theme }) => `content-['_']`],
|
|
71
|
+
|
|
72
|
+
[
|
|
73
|
+
/^q-skeleton--type-text$/,
|
|
74
|
+
([, c], { theme }) => `scale-x-100 scale-y-[0.5]`
|
|
75
|
+
],
|
|
76
|
+
|
|
77
|
+
[
|
|
78
|
+
/^q-skeleton--type-circle$/,
|
|
79
|
+
([, c], { theme }) => `h-[48px] w-[48px] rounded-[50%]`
|
|
80
|
+
],
|
|
81
|
+
|
|
82
|
+
[
|
|
83
|
+
/^q-skeleton--type-QAvatar$/,
|
|
84
|
+
([, c], { theme }) => `h-[48px] w-[48px] rounded-[50%]`
|
|
85
|
+
],
|
|
86
|
+
|
|
87
|
+
[/^q-skeleton--type-QBtn$/, ([, c], { theme }) => `w-[90px] h-[36px]`],
|
|
88
|
+
|
|
89
|
+
[/^q-skeleton--type-QBadge$/, ([, c], { theme }) => `w-[70px] h-[16px]`],
|
|
90
|
+
|
|
91
|
+
[
|
|
92
|
+
/^q-skeleton--type-QChip$/,
|
|
93
|
+
([, c], { theme }) => `w-[90px] h-[28px] rounded-[16px]`
|
|
94
|
+
],
|
|
95
|
+
|
|
96
|
+
[/^q-skeleton--type-QToolbar$/, ([, c], { theme }) => `h-[50px]`],
|
|
97
|
+
|
|
98
|
+
[
|
|
99
|
+
/^q-skeleton--type-QCheckbox$/,
|
|
100
|
+
([, c], { theme }) => `w-[40px] h-[40px] rounded-[50%]`
|
|
101
|
+
],
|
|
102
|
+
|
|
103
|
+
[
|
|
104
|
+
/^q-skeleton--type-QRadio$/,
|
|
105
|
+
([, c], { theme }) => `w-[40px] h-[40px] rounded-[50%]`
|
|
106
|
+
],
|
|
107
|
+
|
|
108
|
+
[
|
|
109
|
+
/^q-skeleton--type-QToggle$/,
|
|
110
|
+
([, c], { theme }) => `w-[56px] h-[40px] rounded-[7px]`
|
|
111
|
+
],
|
|
112
|
+
|
|
113
|
+
[/^q-skeleton--type-QSlider$/, ([, c], { theme }) => `h-[40px]`],
|
|
114
|
+
|
|
115
|
+
[/^q-skeleton--type-QRange$/, ([, c], { theme }) => `h-[40px]`],
|
|
116
|
+
|
|
117
|
+
[/^q-skeleton--type-QInput$/, ([, c], { theme }) => `h-[56px]`],
|
|
118
|
+
|
|
119
|
+
[
|
|
120
|
+
/^q-skeleton--bordered$/,
|
|
121
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.05)]`
|
|
122
|
+
],
|
|
123
|
+
|
|
124
|
+
[/^q-skeleton--square$/, ([, c], { theme }) => `rounded-none`],
|
|
125
|
+
|
|
126
|
+
[
|
|
127
|
+
/^q-skeleton--anim-fade$/,
|
|
128
|
+
([, c], { theme }) =>
|
|
129
|
+
`animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite]`
|
|
130
|
+
],
|
|
131
|
+
|
|
132
|
+
[
|
|
133
|
+
/^q-skeleton--anim-pulse$/,
|
|
134
|
+
([, c], { theme }) =>
|
|
135
|
+
`animate-[q-skeleton--pulse_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
|
|
136
|
+
],
|
|
137
|
+
|
|
138
|
+
[
|
|
139
|
+
/^q-skeleton--anim-pulse-x$/,
|
|
140
|
+
([, c], { theme }) =>
|
|
141
|
+
`animate-[q-skeleton--pulse-x_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
|
|
142
|
+
],
|
|
143
|
+
|
|
144
|
+
[
|
|
145
|
+
/^q-skeleton--anim-pulse-y$/,
|
|
146
|
+
([, c], { theme }) =>
|
|
147
|
+
`animate-[q-skeleton--pulse-y_var(--q-skeleton-speed)_ease-in-out_0.5s_infinite]`
|
|
148
|
+
],
|
|
149
|
+
|
|
150
|
+
[
|
|
151
|
+
/^q-skeleton--anim-wave$/,
|
|
152
|
+
([, c], { theme }) => `relative overflow-hidden z-1
|
|
153
|
+
[&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0 bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.5),_rgba(255,_255,_255,_0)_)] animate-[q-skeleton--wave_var(--q-skeleton-speed)_linear_0.5s_infinite] z-0)
|
|
154
|
+
`
|
|
155
|
+
],
|
|
156
|
+
|
|
157
|
+
[
|
|
158
|
+
/^q-skeleton--anim-blink$/,
|
|
159
|
+
([, c], { theme }) => `relative overflow-hidden z-1
|
|
160
|
+
[&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0 bg-[rgba(255,_255,_255,_0.7)] animate-[q-skeleton--fade_var(--q-skeleton-speed)_linear_0.5s_infinite] z-0)`
|
|
161
|
+
],
|
|
162
|
+
|
|
163
|
+
[
|
|
164
|
+
/^q-skeleton--anim-pop$/,
|
|
165
|
+
([, c], { theme }) => `relative overflow-hidden z-1
|
|
166
|
+
[&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 z-0)`
|
|
167
|
+
],
|
|
168
|
+
|
|
169
|
+
[
|
|
170
|
+
/^q-skeleton--dark$/,
|
|
171
|
+
([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.05)]`
|
|
172
|
+
],
|
|
173
|
+
|
|
174
|
+
[
|
|
175
|
+
/^q-skeleton--dark.q-skeleton--bordered$/,
|
|
176
|
+
([, c], { theme }) =>
|
|
177
|
+
`border-[1px] border-solid border-[rgba(255,255,255,0.25)]`
|
|
178
|
+
],
|
|
179
|
+
|
|
180
|
+
[
|
|
181
|
+
/^q-skeleton--dark.q-skeleton--anim-wave:after$/,
|
|
182
|
+
([, c], { theme }) =>
|
|
183
|
+
`bg-[linear-gradient(_90deg,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0.1),_rgba(255,_255,_255,_0)_)]`
|
|
184
|
+
],
|
|
185
|
+
|
|
186
|
+
[
|
|
187
|
+
/^q-skeleton--dark.q-skeleton--anim-blink:after$/,
|
|
188
|
+
([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.2)]`
|
|
189
|
+
]
|
|
190
|
+
]
|
|
191
|
+
|
|
192
|
+
export { preflights, shortcuts }
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[/^q-slide-item$/, ([, c], { theme }) => `relative bg-[white]`],
|
|
6
|
+
|
|
7
|
+
[
|
|
8
|
+
/^q-slide-item__left$/,
|
|
9
|
+
([, c], { theme }) =>
|
|
10
|
+
`invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#4caf50] px-[16px] py-[8px] [&_>_div]:(origin-[left_center])`
|
|
11
|
+
],
|
|
12
|
+
|
|
13
|
+
[
|
|
14
|
+
/^q-slide-item__right$/,
|
|
15
|
+
([, c], { theme }) =>
|
|
16
|
+
`invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#ff9800] px-[16px] py-[8px] [&_>_div]:(origin-[right_center])`
|
|
17
|
+
],
|
|
18
|
+
|
|
19
|
+
[
|
|
20
|
+
/^q-slide-item__top$/,
|
|
21
|
+
([, c], { theme }) =>
|
|
22
|
+
`invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#2196f3] px-[8px] py-[16px] [&_>_div]:(origin-[top_center])`
|
|
23
|
+
],
|
|
24
|
+
|
|
25
|
+
[
|
|
26
|
+
/^q-slide-item__bottom$/,
|
|
27
|
+
([, c], { theme }) =>
|
|
28
|
+
`invisible text-[14px] text-[#fff] [&_.q-icon]:(text-[1.714em]) bg-[#9c27b0] px-[8px] py-[16px] [&_>_div]:(origin-[bottom_center])`
|
|
29
|
+
],
|
|
30
|
+
|
|
31
|
+
[
|
|
32
|
+
/^q-slide-item__content$/,
|
|
33
|
+
([, c], { theme }) =>
|
|
34
|
+
`[background:inherit] [transition:transform_0.2s_ease-in] select-none cursor-pointer`
|
|
35
|
+
]
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
export { shortcuts }
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[/^q-slider$/, ([, c], { theme }) => `relative`],
|
|
6
|
+
|
|
7
|
+
[/^q-slider--h$/, ([, c], { theme }) => `w-full`],
|
|
8
|
+
|
|
9
|
+
[/^q-slider--v$/, ([, c], { theme }) => `h-[200px]`],
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
/^q-slider--editable$/,
|
|
13
|
+
([, c], { theme }) => `[&_.q-slider\\_\\_track-container]:()`
|
|
14
|
+
],
|
|
15
|
+
|
|
16
|
+
[/^q-slider__track-container$/, ([, c], { theme }) => `outline-0`],
|
|
17
|
+
|
|
18
|
+
[
|
|
19
|
+
/^q-slider__track-container--h$/,
|
|
20
|
+
([, c], { theme }) =>
|
|
21
|
+
`w-full px-[0] py-[12px] [&_.q-slider\\_\\_selection]:()`
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
[
|
|
25
|
+
/^q-slider__track-container--v$/,
|
|
26
|
+
([, c], { theme }) =>
|
|
27
|
+
`h-full px-[12px] py-[0] [&_.q-slider\\_\\_selection]:()`
|
|
28
|
+
],
|
|
29
|
+
|
|
30
|
+
[
|
|
31
|
+
/^q-slider__track$/,
|
|
32
|
+
([, c], { theme }) =>
|
|
33
|
+
`bg-[rgba(0,_0,_0,_0.1)] rounded-[4px] [width:inherit] [height:inherit] text-primary`
|
|
34
|
+
],
|
|
35
|
+
|
|
36
|
+
[
|
|
37
|
+
/^q-slider__inner$/,
|
|
38
|
+
([, c], { theme }) =>
|
|
39
|
+
`bg-[rgba(0,_0,_0,_0.1)] [border-radius:inherit] w-full h-full`
|
|
40
|
+
],
|
|
41
|
+
|
|
42
|
+
[
|
|
43
|
+
/^q-slider__selection$/,
|
|
44
|
+
([, c], { theme }) => `bg-current [border-radius:inherit] w-full h-full`
|
|
45
|
+
],
|
|
46
|
+
|
|
47
|
+
[
|
|
48
|
+
/^q-slider__markers$/,
|
|
49
|
+
([, c], { theme }) =>
|
|
50
|
+
`text-[rgba(0,_0,_0,_0.3)] [border-radius:inherit] w-full h-full [&:after]:(content-empty absolute bg-current)`
|
|
51
|
+
],
|
|
52
|
+
|
|
53
|
+
[
|
|
54
|
+
/^q-slider__markers--h$/,
|
|
55
|
+
([, c], { theme }) =>
|
|
56
|
+
`bg-[repeating-linear-gradient(_to_right,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(h-full w-[2px] top-0 right-0)`
|
|
57
|
+
],
|
|
58
|
+
|
|
59
|
+
[
|
|
60
|
+
/^q-slider__markers--v$/,
|
|
61
|
+
([, c], { theme }) =>
|
|
62
|
+
`bg-[repeating-linear-gradient(_to_bottom,_currentColor,_currentColor_2px,_rgba(255,_255,_255,_0)_0,_rgba(255,_255,_255,_0)_)] [&:after]:(w-full h-[2px] left-0 bottom-0)`
|
|
63
|
+
],
|
|
64
|
+
|
|
65
|
+
[
|
|
66
|
+
/^q-slider__marker-labels-container$/,
|
|
67
|
+
([, c], { theme }) => `relative w-full h-full min-h-[24px] min-w-[24px]`
|
|
68
|
+
],
|
|
69
|
+
|
|
70
|
+
[/^q-slider__marker-labels$/, ([, c], { theme }) => `absolute`],
|
|
71
|
+
|
|
72
|
+
[/^q-slider__marker-labels--h-standard$/, ([, c], { theme }) => `top-0`],
|
|
73
|
+
|
|
74
|
+
[/^q-slider__marker-labels--h-switched$/, ([, c], { theme }) => `bottom-0`],
|
|
75
|
+
|
|
76
|
+
[
|
|
77
|
+
/^q-slider__marker-labels--h-ltr$/,
|
|
78
|
+
([, c], { theme }) => `-translate-x-1/2`
|
|
79
|
+
],
|
|
80
|
+
|
|
81
|
+
[/^q-slider__marker-labels--h-rtl$/, ([, c], { theme }) => `translate-x-1/2`],
|
|
82
|
+
|
|
83
|
+
[/^q-slider__marker-labels--v-standard$/, ([, c], { theme }) => `left-[4px]`],
|
|
84
|
+
|
|
85
|
+
[
|
|
86
|
+
/^q-slider__marker-labels--v-switched$/,
|
|
87
|
+
([, c], { theme }) => `right-[4px]`
|
|
88
|
+
],
|
|
89
|
+
|
|
90
|
+
[
|
|
91
|
+
/^q-slider__marker-labels--v-ltr$/,
|
|
92
|
+
([, c], { theme }) => `-translate-y-1/2`
|
|
93
|
+
],
|
|
94
|
+
|
|
95
|
+
[/^q-slider__marker-labels--v-rtl$/, ([, c], { theme }) => `translate-y-1/2`],
|
|
96
|
+
|
|
97
|
+
[
|
|
98
|
+
/^q-slider__thumb$/,
|
|
99
|
+
([, c], { theme }) =>
|
|
100
|
+
`outline-0 [transition:transform_0.18s_ease-out,_fill_0.18s_ease-out,_stroke_0.18s_ease-out] text-primary`
|
|
101
|
+
],
|
|
102
|
+
|
|
103
|
+
[/^q-slider__thumb--h$/, ([, c], { theme }) => `top-2/4`],
|
|
104
|
+
|
|
105
|
+
[
|
|
106
|
+
/^q-slider__thumb--h-ltr$/,
|
|
107
|
+
([, c], { theme }) => `scale-100 -translate-x-1/2 -translate-y-1/2`
|
|
108
|
+
],
|
|
109
|
+
|
|
110
|
+
[
|
|
111
|
+
/^q-slider__thumb--h-rtl$/,
|
|
112
|
+
([, c], { theme }) => `scale-100 translate-x-1/2 -translate-y-1/2`
|
|
113
|
+
],
|
|
114
|
+
|
|
115
|
+
[/^q-slider__thumb--v$/, ([, c], { theme }) => `left-2/4`],
|
|
116
|
+
|
|
117
|
+
[
|
|
118
|
+
/^q-slider__thumb--v-ltr$/,
|
|
119
|
+
([, c], { theme }) => `scale-100 -translate-x-1/2 -translate-y-1/2`
|
|
120
|
+
],
|
|
121
|
+
|
|
122
|
+
[
|
|
123
|
+
/^q-slider__thumb--v-rtl$/,
|
|
124
|
+
([, c], { theme }) => `scale-100 -translate-x-1/2 translate-y-1/2`
|
|
125
|
+
],
|
|
126
|
+
|
|
127
|
+
[
|
|
128
|
+
/^q-slider__thumb-shape$/,
|
|
129
|
+
([, c], { theme }) =>
|
|
130
|
+
`top-0 left-0 stroke-[3.5] stroke-current [transition:transform_0.28s] [&_path]:(stroke-current fill-current)`
|
|
131
|
+
],
|
|
132
|
+
|
|
133
|
+
[
|
|
134
|
+
/^q-slider__focus-ring$/,
|
|
135
|
+
([, c], { theme }) =>
|
|
136
|
+
`rounded-[50%] opacity-0 [transition:transform_266.67ms_ease-out,_opacity_266.67ms_ease-out,_background-color_266.67ms_ease-out] delay-[140ms]`
|
|
137
|
+
],
|
|
138
|
+
|
|
139
|
+
[
|
|
140
|
+
/^q-slider__pin$/,
|
|
141
|
+
([, c], { theme }) =>
|
|
142
|
+
`opacity-0 whitespace-nowrap [transition:opacity_0.28s_ease-out] delay-[140ms] [&:before]:(content-empty w-[0] h-[0] absolute)`
|
|
143
|
+
],
|
|
144
|
+
|
|
145
|
+
[
|
|
146
|
+
/^q-slider__pin--h$/,
|
|
147
|
+
([, c], { theme }) =>
|
|
148
|
+
`[&:before]:([border-left:6px_solid_transparent] [border-right:6px_solid_transparent] left-2/4 -translate-x-1/2)`
|
|
149
|
+
],
|
|
150
|
+
|
|
151
|
+
[
|
|
152
|
+
/^q-slider__pin--h-standard$/,
|
|
153
|
+
([, c], { theme }) =>
|
|
154
|
+
`bottom-full [&:before]:(bottom-[2px] [border-top:6px_solid_currentColor])`
|
|
155
|
+
],
|
|
156
|
+
|
|
157
|
+
[
|
|
158
|
+
/^q-slider__pin--h-switched$/,
|
|
159
|
+
([, c], { theme }) =>
|
|
160
|
+
`top-full [&:before]:(top-[2px] [border-bottom:6px_solid_currentColor])`
|
|
161
|
+
],
|
|
162
|
+
|
|
163
|
+
[
|
|
164
|
+
/^q-slider__pin--v$/,
|
|
165
|
+
([, c], { theme }) =>
|
|
166
|
+
`top-0 [&:before]:(top-2/4 -translate-y-1/2 [border-top:6px_solid_transparent] [border-bottom:6px_solid_transparent])`
|
|
167
|
+
],
|
|
168
|
+
|
|
169
|
+
[
|
|
170
|
+
/^q-slider__pin--v-standard$/,
|
|
171
|
+
([, c], { theme }) =>
|
|
172
|
+
`left-full [&:before]:(left-[2px] [border-right:6px_solid_currentColor])`
|
|
173
|
+
],
|
|
174
|
+
|
|
175
|
+
[
|
|
176
|
+
/^q-slider__pin--v-switched$/,
|
|
177
|
+
([, c], { theme }) =>
|
|
178
|
+
`right-full [&:before]:(right-[2px] [border-left:6px_solid_currentColor])`
|
|
179
|
+
],
|
|
180
|
+
|
|
181
|
+
[/^q-slider__label$/, ([, c], { theme }) => `whitespace-nowrap absolute`],
|
|
182
|
+
|
|
183
|
+
[/^q-slider__label--h$/, ([, c], { theme }) => `left-2/4 -translate-x-1/2`],
|
|
184
|
+
|
|
185
|
+
[/^q-slider__label--h-standard$/, ([, c], { theme }) => `bottom-[7px]`],
|
|
186
|
+
|
|
187
|
+
[/^q-slider__label--h-switched$/, ([, c], { theme }) => `top-[7px]`],
|
|
188
|
+
|
|
189
|
+
[/^q-slider__label--v$/, ([, c], { theme }) => `top-2/4 -translate-y-1/2`],
|
|
190
|
+
|
|
191
|
+
[/^q-slider__label--v-standard$/, ([, c], { theme }) => `left-[7px]`],
|
|
192
|
+
|
|
193
|
+
[/^q-slider__label--v-switched$/, ([, c], { theme }) => `right-[7px]`],
|
|
194
|
+
|
|
195
|
+
[
|
|
196
|
+
/^q-slider__text-container$/,
|
|
197
|
+
([, c], { theme }) =>
|
|
198
|
+
`min-h-[25px] px-[8px] py-[2px] rounded-[4px] bg-current relative text-center`
|
|
199
|
+
],
|
|
200
|
+
|
|
201
|
+
[/^q-slider__text$/, ([, c], { theme }) => `text-[#fff] text-[12px]`],
|
|
202
|
+
|
|
203
|
+
[
|
|
204
|
+
/^q-slider--no-value$/,
|
|
205
|
+
([, c], { theme }) =>
|
|
206
|
+
`[&_.q-slider\\_\\_thumb]:(opacity-0) [&_.q-slider\\_\\_inner]:(opacity-0) [&_.q-slider\\_\\_selection]:(opacity-0)`
|
|
207
|
+
],
|
|
208
|
+
|
|
209
|
+
[
|
|
210
|
+
/^q-slider--focus$/,
|
|
211
|
+
([, c], { theme }) =>
|
|
212
|
+
`[&_.q-slider\\_\\_focus-ring]:(bg-current [transform:scale3d(1.55,_1.55,_1)] opacity-25) [&_.q-slider\\_\\_thumb]:(opacity-100) [&_.q-slider\\_\\_inner]:(opacity-100) [&_.q-slider\\_\\_selection]:(opacity-100)`
|
|
213
|
+
],
|
|
214
|
+
|
|
215
|
+
[
|
|
216
|
+
/^q-slider--inactive$/,
|
|
217
|
+
([, c], { theme }) =>
|
|
218
|
+
`[&_.q-slider\\_\\_thumb--h]:([transition:left_0.28s,_right_0.28s]) [&_.q-slider\\_\\_thumb--v]:([transition:top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_selection]:([transition:width_0.28s,_left_0.28s,_right_0.28s,_height_0.28s,_top_0.28s,_bottom_0.28s]) [&_.q-slider\\_\\_text-container]:([transition:transform_0.28s])`
|
|
219
|
+
],
|
|
220
|
+
|
|
221
|
+
[
|
|
222
|
+
/^q-slider--active$/,
|
|
223
|
+
([, c], { theme }) =>
|
|
224
|
+
` [&_.q-slider\\_\\_thumb-shape]:(scale-150) [&_.q-slider\\_\\_focus-ring]:(!scale-0)`
|
|
225
|
+
],
|
|
226
|
+
|
|
227
|
+
[
|
|
228
|
+
/^q-slider--label$/,
|
|
229
|
+
([, c], { theme }) =>
|
|
230
|
+
`[&_.q-slider--focus_.q-slider\\_\\_pin]:(opacity-100)`
|
|
231
|
+
],
|
|
232
|
+
|
|
233
|
+
[
|
|
234
|
+
/^q-slider--dark$/,
|
|
235
|
+
([, c], { theme }) =>
|
|
236
|
+
`[&_.q-slider\\_\\_track]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_inner]:(bg-[rgba(255,_255,_255,_0.1)]) [&_.q-slider\\_\\_markers]:(text-[rgba(255,_255,_255,_0.3)])`
|
|
237
|
+
],
|
|
238
|
+
|
|
239
|
+
[
|
|
240
|
+
/^q-slider--dense$/,
|
|
241
|
+
([, c], { theme }) =>
|
|
242
|
+
`[&_.q-slider\\_\\_track-container--h]:(px-[0] py-[6px]) [&_.q-slider\\_\\_track-container--v]:(px-[6px] py-[0])`
|
|
243
|
+
]
|
|
244
|
+
]
|
|
245
|
+
|
|
246
|
+
export { shortcuts }
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const preflights: Preflight<QuasarTheme>[] = [
|
|
5
|
+
{
|
|
6
|
+
getCSS: ({ theme }) => `
|
|
7
|
+
@keyframes q-spin {
|
|
8
|
+
0% {
|
|
9
|
+
transform: rotate3d(0, 0, 1, 0deg) /* rtl:ignore */;
|
|
10
|
+
}
|
|
11
|
+
25% {
|
|
12
|
+
transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
|
|
13
|
+
}
|
|
14
|
+
50% {
|
|
15
|
+
transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
|
|
16
|
+
}
|
|
17
|
+
75% {
|
|
18
|
+
transform: rotate3d(0, 0, 1, 270deg) /* rtl:ignore */;
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
transform: rotate3d(0, 0, 1, 359deg) /* rtl:ignore */;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
@keyframes q-mat-dash {
|
|
25
|
+
0% {
|
|
26
|
+
stroke-dasharray: 1, 200;
|
|
27
|
+
stroke-dashoffset: 0;
|
|
28
|
+
}
|
|
29
|
+
50% {
|
|
30
|
+
stroke-dasharray: 89, 200;
|
|
31
|
+
stroke-dashoffset: -35px;
|
|
32
|
+
}
|
|
33
|
+
100% {
|
|
34
|
+
stroke-dasharray: 89, 200;
|
|
35
|
+
stroke-dashoffset: -124px;
|
|
36
|
+
}
|
|
37
|
+
}`
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
42
|
+
[/^q-spinner$/, ([, c], { theme }) => `align-middle`],
|
|
43
|
+
|
|
44
|
+
[
|
|
45
|
+
/^q-spinner-mat$/,
|
|
46
|
+
([, c], { theme }) =>
|
|
47
|
+
`animate-[q-spin_2s_linear_infinite] origin-[center_center] [&_.path]:(animate-[q-mat-dash_1.5s_ease-in-out_infinite])`
|
|
48
|
+
]
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
export { preflights, shortcuts }
|