vitrify 0.16.4 → 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 +3 -3
- 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 +17 -10
- package/src/node/frameworks/vue/prerender.ts +3 -3
- 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,67 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.desktop .q-toggle:not(.disabled) .q-toggle__thumb:before {
|
|
5
|
+
content: "";
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
background: currentColor;
|
|
13
|
+
opacity: 0.12;
|
|
14
|
+
transform: scale3d(0, 0, 1);
|
|
15
|
+
transition: transform 0.22s cubic-bezier(0, 0, 0.2, 1);
|
|
16
|
+
}
|
|
17
|
+
body.desktop .q-toggle:not(.disabled):focus .q-toggle__thumb:before, body.desktop .q-toggle:not(.disabled):hover .q-toggle__thumb:before {
|
|
18
|
+
transform: scale3d(2, 2, 1);
|
|
19
|
+
}
|
|
20
|
+
body.desktop .q-toggle--dense:not(.disabled):focus .q-toggle__thumb:before, body.desktop .q-toggle--dense:not(.disabled):hover .q-toggle__thumb:before {
|
|
21
|
+
transform: scale3d(1.5, 1.5, 1);
|
|
22
|
+
}
|
|
23
|
+
`
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
const shortcuts = [
|
|
27
|
+
[/^q-toggle$/, ([, c], { theme }) => `align-middle`],
|
|
28
|
+
[/^q-toggle__native$/, ([, c], { theme }) => `w-px h-px`],
|
|
29
|
+
[
|
|
30
|
+
/^q-toggle__track$/,
|
|
31
|
+
([, c], { theme }) => `h-[0.35em] rounded-[0.175em] opacity-[0.38] bg-current`
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
/^q-toggle__thumb$/,
|
|
35
|
+
([, c], { theme }) => `top-[0.25em] left-[0.25em] w-[0.5em] h-[0.5em] [transition:left_0.22s_cubic-bezier(0.4,_0,_0.2,_1)] select-none z-0 [&_.q-icon]:(text-[0.3em] min-w-[1em] text-[#000] opacity-[0.54] z-1)`
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
/^q-toggle__thumb:after$/,
|
|
39
|
+
([, c], { theme }) => `content-empty absolute top-0 right-0 bottom-0 left-0 rounded-[50%] bg-[#fff] [box-shadow:0_3px_1px_-2px_rgba(0,_0,_0,_0.2),_0_2px_2px_0_rgba(0,_0,_0,_0.14),_0_1px_5px_0_rgba(0,_0,_0,_0.12)]`
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
/^q-toggle__inner$/,
|
|
43
|
+
([, c], { theme }) => `text-[40px] w-[1.4em] min-w-[1.4em] h-[1em] px-[0.3em] py-[0.325em]`
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
/^q-toggle__inner--indet$/,
|
|
47
|
+
([, c], { theme }) => `[&_.q-toggle\\_\\_thumb]:(left-[0.45em])`
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
/^q-toggle__inner--truthy$/,
|
|
51
|
+
([, c], { theme }) => ` [&_.q-toggle\\_\\_track]:(opacity-[0.54]) [&_.q-toggle\\_\\_thumb]:(left-[0.65em]) [&_.q-toggle\\_\\_thumb:after]:(bg-current) [&_.q-toggle\\_\\_thumb_.q-icon]:(text-[#fff] opacity-100) text-primary`
|
|
52
|
+
],
|
|
53
|
+
[/^q-toggle.disabled$/, ([, c], { theme }) => `!opacity-75`],
|
|
54
|
+
[
|
|
55
|
+
/^q-toggle--dark$/,
|
|
56
|
+
([, c], { theme }) => `[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:(text-primary) [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
/^q-toggle--dense$/,
|
|
60
|
+
([, c], { theme }) => `[&_.q-toggle\\_\\_inner]:(w-[0.8em] min-w-[0.8em] h-[0.5em] px-[0] py-[0.07625em]) [&_.q-toggle\\_\\_thumb]:(top-0 left-0) [&_.q-toggle\\_\\_inner--indet_.q-toggle\\_\\_thumb]:(left-[0.15em]) [&_.q-toggle\\_\\_inner--truthy_.q-toggle\\_\\_thumb]:(left-[0.3em]) [&_.q-toggle\\_\\_label]:(pl-[0.5em])`
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
/^q-toggle--dense.reverse$/,
|
|
64
|
+
([, c], { theme }) => `[&_.q-toggle\\_\\_label]:(pl-0 pr-[0.5em])`
|
|
65
|
+
]
|
|
66
|
+
];
|
|
67
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-toolbar$/,
|
|
4
|
+
([, c], { theme }) => `relative px-[12px] py-[0] min-h-[50px] [&_.q-avatar]:(text-[38px])
|
|
5
|
+
`
|
|
6
|
+
// w-full
|
|
7
|
+
],
|
|
8
|
+
[/^q-toolbar--inset$/, ([, c], { theme }) => `pl-[58px]`],
|
|
9
|
+
[
|
|
10
|
+
/^q-toolbar__title$/,
|
|
11
|
+
([, c], { theme }) => `flex-1 min-w-[1px] max-w-full text-[21px] font-normal tracking-[0.01em] px-[12px] py-[0] [&:first-child]:(pl-0) [&:last-child]:(pr-0)`
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
export { shortcuts };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-tooltip--style$/,
|
|
4
|
+
([, c], { theme }) => `text-[10px] text-[#fafafa] bg-[#757575] rounded-[4px] normal-case font-normal`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-tooltip$/,
|
|
8
|
+
([, c], { theme }) => `z-9000 !fixed overflow-y-auto overflow-x-hidden px-[10px] py-[6px] max-w-[95vw] max-h-[65vh] sm:(text-14px pt-8px pb-8px pl-16px pr-16px)`
|
|
9
|
+
]
|
|
10
|
+
];
|
|
11
|
+
export { shortcuts };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
[dir=rtl] .q-tree__arrow {
|
|
5
|
+
transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
|
|
6
|
+
}
|
|
7
|
+
[dir=rtl] .q-tree__arrow--rotate {
|
|
8
|
+
transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
|
|
9
|
+
}
|
|
10
|
+
`
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
const shortcuts = [
|
|
14
|
+
[
|
|
15
|
+
/^q-tree$/,
|
|
16
|
+
([, c], { theme }) => `relative text-[#9e9e9e] [&_>_.q-tree\\_\\_node]:(p-0) [&_>_.q-tree\\_\\_node:after]:(hidden) [&_>_.q-tree\\_\\_node_>_.q-tree\\_\\_node-header:before]:(hidden) [&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-[24px])`
|
|
17
|
+
],
|
|
18
|
+
[/^q-tree__node$/, ([, c], { theme }) => `pt-[0] pr-[0] pb-[3px] pl-[22px]`],
|
|
19
|
+
[
|
|
20
|
+
/^q-tree__node:after$/,
|
|
21
|
+
([, c], { theme }) => `content-empty absolute -top-[3px] bottom-0 w-[2px] right-auto -left-[13px] [border-left:1px_solid_currentColor]`
|
|
22
|
+
],
|
|
23
|
+
[/^q-tree__node:last-child:after$/, ([, c], { theme }) => `hidden`],
|
|
24
|
+
[
|
|
25
|
+
/^q-tree__node--disabled$/,
|
|
26
|
+
([, c], { theme }) => `pointer-events-none [&_.disabled]:(!opacity-100) [&_>_div]:(!opacity-60) [&_>_i]:(!opacity-60) [&_>_.disabled]:(!opacity-60) [&_>_div_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_div_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_i_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_div]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_i]:(!opacity-100) [&_>_.disabled_.q-tree\\_\\_node--disabled_>_.disabled]:(!opacity-100)`
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^q-tree__node-header:before$/,
|
|
30
|
+
([, c], { theme }) => `content-empty absolute -top-[3px] bottom-2/4 w-[31px] -left-[35px] [border-left:1px_solid_currentColor] [border-bottom:1px_solid_currentColor]`
|
|
31
|
+
],
|
|
32
|
+
[/^q-tree__children$/, ([, c], { theme }) => `pl-[25px]`],
|
|
33
|
+
[
|
|
34
|
+
/^q-tree__node-body$/,
|
|
35
|
+
([, c], { theme }) => `pt-[5px] pr-[0] pb-[8px] pl-[5px]`
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
/^q-tree__node--parent$/,
|
|
39
|
+
([, c], { theme }) => `pl-[2px] [&_>_.q-tree\\_\\_node-header:before]:(w-[15px] -left-[15px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body]:(pt-[5px] pr-[0] pb-[8px] pl-[27px]) [&_>_.q-tree\\_\\_node-collapsible_>_.q-tree\\_\\_node-body:after]:(content-empty absolute top-0 w-[2px] h-full right-auto left-[12px] [border-left:1px_solid_currentColor] bottom-[50px])`
|
|
40
|
+
],
|
|
41
|
+
[/^q-tree__node--link$/, ([, c], { theme }) => `cursor-pointer`],
|
|
42
|
+
[
|
|
43
|
+
/^q-tree__node-header$/,
|
|
44
|
+
([, c], { theme }) => `p-[4px] mt-[3px] rounded-[4px] outline-0`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
/^q-tree__node-header-content$/,
|
|
48
|
+
([, c], { theme }) => `text-[#000] [transition:color_0.3s] [&_.q-icon]:(text-[21px]) [&_.q-avatar]:(text-[28px] rounded-[50%] w-[28px] h-[28px])`
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
/^q-tree__node--selected$/,
|
|
52
|
+
([, c], { theme }) => `[&_.q-tree\\_\\_node-header-content]:(text-[#9e9e9e])`
|
|
53
|
+
],
|
|
54
|
+
[/^q-tree__icon$/, ([, c], { theme }) => `text-[21px]`],
|
|
55
|
+
[/^q-tree__img$/, ([, c], { theme }) => `h-[42px] rounded-[2px]`],
|
|
56
|
+
[
|
|
57
|
+
/^q-tree__avatar$/,
|
|
58
|
+
([, c], { theme }) => `text-[28px] rounded-[50%] w-[28px] h-[28px]`
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
/^q-tree__arrow$/,
|
|
62
|
+
([, c], { theme }) => `text-[16px] mr-[4px] [transition:transform_0.3s]`
|
|
63
|
+
],
|
|
64
|
+
[/^q-tree__spinner$/, ([, c], { theme }) => `text-[16px] mr-[4px]`],
|
|
65
|
+
[
|
|
66
|
+
/^q-tree__arrow--rotate$/,
|
|
67
|
+
([, c], { theme }) => `[transform:rotate3d(0,_0,_1,_90deg)]`
|
|
68
|
+
],
|
|
69
|
+
[/^q-tree__tickbox$/, ([, c], { theme }) => `mr-[4px]`],
|
|
70
|
+
[
|
|
71
|
+
/^q-tree--dark$/,
|
|
72
|
+
([, c], { theme }) => `[&_.q-tree\\_\\_node-header-content]:(text-[#fff])`
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
/^q-tree--no-connectors$/,
|
|
76
|
+
([, c], { theme }) => `[&_.q-tree\\_\\_node:after]:(!hidden) [&_.q-tree\\_\\_node-header:before]:(!hidden) [&_.q-tree\\_\\_node-body:after]:(!hidden)`
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
/^q-tree--dense$/,
|
|
80
|
+
([, c], { theme }) => `[&_>_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header]:(pl-px) [&_.q-tree\\_\\_arrow]:(mr-px) [&_.q-tree\\_\\_spinner]:(mr-px) [&_.q-tree\\_\\_img]:(h-[32px]) [&_.q-tree\\_\\_tickbox]:(mr-[3px]) [&_.q-tree\\_\\_node]:(p-0) [&_.q-tree\\_\\_node:after]:(top-0 -left-[8px]) [&_.q-tree\\_\\_node-header]:(mt-0 p-px) [&_.q-tree\\_\\_node-header:before]:(top-0 -left-[8px] w-[8px]) [&_.q-tree\\_\\_node--child]:(pl-[17px]) [&_.q-tree\\_\\_node--child_>_.q-tree\\_\\_node-header:before]:(-left-[25px] w-[21px]) [&_.q-tree\\_\\_node-body]:(pt-[0] px-[0] pb-[2px]) [&_.q-tree\\_\\_children]:(pl-[16px])`
|
|
81
|
+
],
|
|
82
|
+
[
|
|
83
|
+
/^q-tree--dense$/,
|
|
84
|
+
([, c], { theme }) => `[&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body]:(pt-[0] pr-[0] pb-[2px] pl-[20px]) [&__.q-tree\\_\\_node--parent__>_.q-tree\\_\\_node-collapsible__>_.q-tree\\_\\_node-body:after]:(left-[8px])`
|
|
85
|
+
]
|
|
86
|
+
];
|
|
87
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-uploader$/,
|
|
4
|
+
([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] rounded-[4px] align-top bg-[#fff] relative w-[320px] max-h-[320px]`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-uploader--bordered$/,
|
|
8
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-uploader__input$/,
|
|
12
|
+
([, c], { theme }) => `opacity-0 w-full h-full !cursor-pointer`
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
/^q-uploader__input::-webkit-file-upload-button$/,
|
|
16
|
+
([, c], { theme }) => `cursor-pointer`
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
/^q-uploader__file:before$/,
|
|
20
|
+
([, c], { theme }) => `content-empty [border-top-left-radius:inherit] [border-top-right-radius:inherit] absolute top-0 right-0 bottom-0 left-0 pointer-events-none bg-current opacity-[0.04]`
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
/^q-uploader__header$/,
|
|
24
|
+
([, c], { theme }) => `relative [border-top-left-radius:inherit] [border-top-right-radius:inherit] text-[#fff] w-full bg-primary`
|
|
25
|
+
],
|
|
26
|
+
[/^q-uploader__spinner$/, ([, c], { theme }) => `text-[24px] mr-[4px]`],
|
|
27
|
+
[/^q-uploader__header-content$/, ([, c], { theme }) => `p-[8px]`],
|
|
28
|
+
[
|
|
29
|
+
/^q-uploader__dnd$/,
|
|
30
|
+
([, c], { theme }) => `outline-[1px_dashed_currentColor] outline-offset-[-4px] bg-[rgba(255,_255,_255,_0.6)]`
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
/^q-uploader__overlay$/,
|
|
34
|
+
([, c], { theme }) => `text-[36px] text-[#000] bg-[rgba(255,_255,_255,_0.6)]`
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
/^q-uploader__list$/,
|
|
38
|
+
([, c], { theme }) => `relative [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit] p-[8px] min-h-[60px] flex-auto`
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
/^q-uploader__file$/,
|
|
42
|
+
([, c], { theme }) => `rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[0] border-[1px] border-solid border-[rgba(0,0,0,0.12)] [&_.q-circular-progress]:(text-[24px]) [&_+_.q-uploader\\_\\_file]:(mt-[8px])`
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
/^q-uploader__file--img$/,
|
|
46
|
+
([, c], { theme }) => `text-[#fff] h-[200px] min-w-[200px] bg-[50%_50%] bg-no-repeat [&_.q-circular-progress]:(text-[#fff]) [&_.q-uploader\\_\\_file-header]:(pb-[24px] bg-[linear-gradient(_to_bottom,_rgba(0,_0,_0,_0.7)_20%,_rgba(255,_255,_255,_0)_)])`
|
|
47
|
+
],
|
|
48
|
+
[/^q-uploader__file--img:before$/, ([, c], { theme }) => `content-[none]`],
|
|
49
|
+
[
|
|
50
|
+
/^q-uploader__file-header$/,
|
|
51
|
+
([, c], { theme }) => `relative px-[8px] py-[4px] [border-top-left-radius:inherit] [border-top-right-radius:inherit]`
|
|
52
|
+
],
|
|
53
|
+
[/^q-uploader__file-header-content$/, ([, c], { theme }) => `pr-[8px]`],
|
|
54
|
+
[/^q-uploader__file-status$/, ([, c], { theme }) => `text-[24px] mr-[4px]`],
|
|
55
|
+
[
|
|
56
|
+
/^q-uploader__title$/,
|
|
57
|
+
([, c], { theme }) => `text-[14px] font-bold leading-[1.285714]`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-uploader__subtitle$/,
|
|
61
|
+
([, c], { theme }) => `text-[12px] leading-normal`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-uploader--disable$/,
|
|
65
|
+
([, c], { theme }) => `[&_.q-uploader\\_\\_header]:(pointer-events-none) [&_.q-uploader\\_\\_list]:(pointer-events-none)`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-uploader--dark$/,
|
|
69
|
+
([, c], { theme }) => `border-[rgba(255,_255,_255,_0.28)] [box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] [&_.q-uploader\\_\\_file]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-uploader\\_\\_dnd]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(bg-[rgba(255,_255,_255,_0.3)]) [&_.q-uploader\\_\\_overlay]:(text-[#fff])`
|
|
70
|
+
]
|
|
71
|
+
];
|
|
72
|
+
export { shortcuts };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-video$/,
|
|
4
|
+
([, c], { theme }) => `relative overflow-hidden [border-radius:inherit] [&_iframe]:(w-full h-full) [&_object]:(w-full h-full) [&_embed]:(w-full h-full)`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-video--responsive$/,
|
|
8
|
+
([, c], { theme }) => `h-[0] [&_iframe]:(absolute top-0 left-0) [&_object]:(absolute top-0 left-0) [&_embed]:(absolute top-0 left-0)`
|
|
9
|
+
]
|
|
10
|
+
];
|
|
11
|
+
export { shortcuts };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-virtual-scroll:focus$/, ([, c], { theme }) => `focus:outline-0`],
|
|
3
|
+
[
|
|
4
|
+
/^q-virtual-scroll__content$/,
|
|
5
|
+
([, c], { theme }) => `outline-[none] [&_>_*]:([overflow-anchor:none]) [&_>_[data-q-vs-anchor]]:([overflow-anchor:auto])`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-virtual-scroll__padding$/,
|
|
9
|
+
([, c], { theme }) => `bg-[linear-gradient(_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0)_20%,_rgba(128,_128,_128,_0.03)_20%,_rgba(128,_128,_128,_0.08)_50%,_rgba(128,_128,_128,_0.03)_80%,_rgba(255,_255,_255,_0)_80%,_rgba(255,_255,_255,_0)_)] [background-size:var(--q-virtual-scroll-item-width,_100%)_var(--q-virtual-scroll-item-height,_50px)]`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-virtual-scroll--horizontal$/,
|
|
13
|
+
([, c], { theme }) => `flex flex-row flex-nowrap items-stretch [&_.q-virtual-scroll\\_\\_content]:(flex flex-row flex-nowrap) [&_.q-virtual-scroll\\_\\_padding]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_content]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_content_>_*]:(flex-[0_0_auto]) [&_.q-virtual-scroll\\_\\_padding]:(bg-[linear-gradient(_to_left,_rgba(255,_255,_255,_0),_rgba(255,_255,_255,_0)_20%,_rgba(128,_128,_128,_0.03)_20%,_rgba(128,_128,_128,_0.08)_50%,_rgba(128,_128,_128,_0.03)_80%,_rgba(255,_255,_255,_0)_80%,_rgba(255,_255,_255,_0)_)] [background-size:var(--q-virtual-scroll-item-width,_50px)_var(--q-virtual-scroll-item-height,_100%)])`
|
|
14
|
+
]
|
|
15
|
+
];
|
|
16
|
+
export { shortcuts };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
:root {
|
|
5
|
+
--q-primary: ${theme.colors.primary};
|
|
6
|
+
--q-secondary: ${theme.colors.secondary};
|
|
7
|
+
--q-accent: ${theme.colors.accent};
|
|
8
|
+
--q-positive: ${theme.colors.positive};
|
|
9
|
+
--q-negative: ${theme.colors.negative};
|
|
10
|
+
--q-info: ${theme.colors.info};
|
|
11
|
+
--q-warning: ${theme.colors.warning};
|
|
12
|
+
--q-dark: ${theme.colors['q-dark']};
|
|
13
|
+
--q-dark-page: ${theme.colors['dark-page']};
|
|
14
|
+
}`
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
export { preflights };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.body--dark {
|
|
5
|
+
color: #fff;
|
|
6
|
+
background: ${theme.colors['dark-page']};
|
|
7
|
+
}
|
|
8
|
+
`
|
|
9
|
+
}
|
|
10
|
+
];
|
|
11
|
+
const shortcuts = [
|
|
12
|
+
[/^q-dark$/, ([, c], { theme }) => `text-white bg-dark`]
|
|
13
|
+
];
|
|
14
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const shadows = (mode) => [
|
|
2
|
+
...Array.from({ length: 24 }, (_, i) => i + 1).reduce((acc, z) => {
|
|
3
|
+
acc.push([
|
|
4
|
+
new RegExp(`shadow-${z}`),
|
|
5
|
+
([, c], { symbols, theme }) => ({
|
|
6
|
+
[symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
|
|
7
|
+
'box-shadow': theme['shadows'][z]
|
|
8
|
+
})
|
|
9
|
+
]);
|
|
10
|
+
acc.push([
|
|
11
|
+
new RegExp(`shadow-up-${z}`),
|
|
12
|
+
([, c], { symbols, theme }) => ({
|
|
13
|
+
[symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
|
|
14
|
+
'box-shadow': theme['shadows']['up'][z]
|
|
15
|
+
})
|
|
16
|
+
]);
|
|
17
|
+
return acc;
|
|
18
|
+
}, []),
|
|
19
|
+
[
|
|
20
|
+
/^.inset-shadow$/,
|
|
21
|
+
function* ([, color], { symbols, theme }) {
|
|
22
|
+
yield {
|
|
23
|
+
[symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
|
|
24
|
+
'box-shadow': theme['insetShadow']
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^.inset-shadow-down$/,
|
|
30
|
+
function* ([, color], { symbols, theme }) {
|
|
31
|
+
yield {
|
|
32
|
+
[symbols.parent]: mode === 'dark' ? 'body.body--dark' : undefined,
|
|
33
|
+
'box-shadow': theme['insetShadowDown']
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
];
|
|
38
|
+
const rules = [
|
|
39
|
+
[
|
|
40
|
+
/^.shadow-transition$/,
|
|
41
|
+
function* ([, color], { theme }) {
|
|
42
|
+
yield {
|
|
43
|
+
transition: `${theme['shadowTransition']} !important`
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
...shadows('light'),
|
|
48
|
+
...shadows('dark'),
|
|
49
|
+
...['no-shadow', 'shadow-0'].map((c) => [
|
|
50
|
+
new RegExp(`${c}`),
|
|
51
|
+
function* ([, color], { theme }) {
|
|
52
|
+
yield {
|
|
53
|
+
'box-shadow': `none !important`
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
]),
|
|
57
|
+
...['z-marginals', 'z-notify', 'z-fullscreen', 'z-inherit'].map((c) => [
|
|
58
|
+
new RegExp(`${c}`),
|
|
59
|
+
function* ([, color], { theme }) {
|
|
60
|
+
const selector = c.replace('z-', '');
|
|
61
|
+
yield {
|
|
62
|
+
'z-index': c === 'z-inherit' ? 'inherit' : theme['z'][selector]
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
])
|
|
66
|
+
];
|
|
67
|
+
export { rules };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
const cols = 12;
|
|
2
|
+
const grid = Array.from({ length: cols }, (_, i) => i + 1);
|
|
3
|
+
const colGutter = {
|
|
4
|
+
none: 0,
|
|
5
|
+
xs: 1,
|
|
6
|
+
sm: 2,
|
|
7
|
+
md: 4,
|
|
8
|
+
lg: 6,
|
|
9
|
+
xl: 12
|
|
10
|
+
};
|
|
11
|
+
const sizes = ['sm', 'md', 'lg', 'xl'];
|
|
12
|
+
const shortcuts = [
|
|
13
|
+
[
|
|
14
|
+
/^row$/,
|
|
15
|
+
([, c], { theme }) => `flex flex-row flex-wrap
|
|
16
|
+
[&_>_.col]:(grow)
|
|
17
|
+
${sizes
|
|
18
|
+
.map((size) => `[&_>_.col-${size}]:(${size}:basis-auto ${size}:grow)`)
|
|
19
|
+
.join(' ')}
|
|
20
|
+
${grid.map((nr) => `[&_>_.col-${nr}]:(basis-${nr}/12)`).join(' ')}
|
|
21
|
+
${sizes
|
|
22
|
+
.map((size) => grid
|
|
23
|
+
.map((nr) => `[&_>_.col-${size}-${nr}]:(${size}:basis-${nr}/12)`)
|
|
24
|
+
.join(' '))
|
|
25
|
+
.join(' ')}
|
|
26
|
+
`
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^column$/,
|
|
30
|
+
([, c], { theme }) => `flex flex-col flex-wrap
|
|
31
|
+
[&_>_.col]:(grow)
|
|
32
|
+
${sizes
|
|
33
|
+
.map((size) => `[&_>_.col-${size}]:(${size}:basis-auto ${size}:grow)`)
|
|
34
|
+
.join(' ')}
|
|
35
|
+
${grid.map((nr) => `[&_>_.col-${nr}]:(basis-${nr}/12)`).join(' ')}
|
|
36
|
+
${sizes
|
|
37
|
+
.map((size) => grid
|
|
38
|
+
.map((nr) => `[&_>_.col-${size}-${nr}]:(${size}:basis-${nr}/12)`)
|
|
39
|
+
.join(' '))
|
|
40
|
+
.join(' ')}
|
|
41
|
+
`
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
/^q-col-gutter-(none|xs|sm|md|lg|xl)$/,
|
|
45
|
+
([, size], { theme }) => `gap-${colGutter[size]}`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q-col-gutter-x-(none|xs|sm|md|lg|xl)$/,
|
|
49
|
+
([, size], { theme }) => `gap-x-${colGutter[size]}`
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
/^q-col-gutter-y-(none|xs|sm|md|lg|xl)$/,
|
|
53
|
+
([, size], { theme }) => `gap-y-${colGutter[size]}`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-gutter-(none|xs|sm|md|lg|xl)$/,
|
|
57
|
+
([, size], { theme }) => `mt-${colGutter[size]}
|
|
58
|
+
ml-${colGutter[size]}
|
|
59
|
+
[&_>_*]:(mt-${colGutter[size]}
|
|
60
|
+
pl-${colGutter[size]})`
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
/^q-gutter-x-(none|xs|sm|md|lg|xl)$/,
|
|
64
|
+
([, size], { theme }) => `ml-${colGutter[size]}
|
|
65
|
+
[&_>_*]:(pl-${colGutter[size]})`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-gutter-y-(none|xs|sm|md|lg|xl)$/,
|
|
69
|
+
([, size], { theme }) => `mt-${colGutter[size]}
|
|
70
|
+
[&_>_*]:(mt-${colGutter[size]})`
|
|
71
|
+
],
|
|
72
|
+
[/^wrap$/, ([, size], { theme }) => `flex-wrap`],
|
|
73
|
+
[/^no-wrap$/, ([, size], { theme }) => `flex-nowrap`],
|
|
74
|
+
[/^reverse-wrap$/, ([, size], { theme }) => `flex-wrap-reverse`]
|
|
75
|
+
];
|
|
76
|
+
export { shortcuts };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.electron .q-electron-drag {
|
|
5
|
+
-webkit-user-select: none;
|
|
6
|
+
-webkit-app-region: drag;
|
|
7
|
+
}
|
|
8
|
+
body.electron .q-electron-drag .q-btn-item, body.electron .q-electron-drag--exception {
|
|
9
|
+
-webkit-app-region: no-drag;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
img.responsive {
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
height: auto;
|
|
15
|
+
}`
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
const rules = [
|
|
19
|
+
[
|
|
20
|
+
/^content-empty$/,
|
|
21
|
+
function* ([, color]) {
|
|
22
|
+
yield {
|
|
23
|
+
content: '""'
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
];
|
|
28
|
+
const shortcuts = [
|
|
29
|
+
[/^rounded-borders$/, ([, c], { theme }) => `rounded-[4px]`],
|
|
30
|
+
[/^border-radius-inherit$/, ([, c], { theme }) => `[border-radius:inherit]`],
|
|
31
|
+
[/^no-transition$/, ([, c], { theme }) => `transition-none`],
|
|
32
|
+
[/^transition-0$/, ([, c], { theme }) => `[transition:0s!important]`],
|
|
33
|
+
[
|
|
34
|
+
/^glossy$/,
|
|
35
|
+
([, c], { theme }) => `!bg-[linear-gradient(_to_bottom,_rgba(255,_255,_255,_0.3),_rgba(255,_255,_255,_0)_50%,_rgba(0,_0,_0,_0.12)_51%,_rgba(0,_0,_0,_0.04)_)]`
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
/^q-placeholder::placeholder$/,
|
|
39
|
+
([, c], { theme }) => `[color:inherit] opacity-70`
|
|
40
|
+
],
|
|
41
|
+
[/^q-body--fullscreen-mixin$/, ([, c], { theme }) => `!fixed`],
|
|
42
|
+
[/^q-body--prevent-scroll$/, ([, c], { theme }) => `!fixed`],
|
|
43
|
+
[/^q-body--force-scrollbar-x$/, ([, c], { theme }) => `overflow-x-scroll`],
|
|
44
|
+
[/^q-body--force-scrollbar-y$/, ([, c], { theme }) => `overflow-y-scroll`],
|
|
45
|
+
[/^q-no-input-spinner$/, ([, c], { theme }) => ``],
|
|
46
|
+
[
|
|
47
|
+
/^q-no-input-spinner::-webkit-outer-spin-button$/,
|
|
48
|
+
([, c], { theme }) => `m-0`
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
/^q-no-input-spinner::-webkit-inner-spin-button$/,
|
|
52
|
+
([, c], { theme }) => `m-0`
|
|
53
|
+
],
|
|
54
|
+
[/^q-link$/, ([, c], { theme }) => `outline-0 no-underline`],
|
|
55
|
+
[/^q-link--focusable:focus-visible$/, ([, c], { theme }) => ``]
|
|
56
|
+
];
|
|
57
|
+
export { rules, preflights, shortcuts };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
[aria-busy=true] {
|
|
5
|
+
cursor: progress;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[aria-controls] {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[aria-disabled=true] {
|
|
13
|
+
cursor: default;
|
|
14
|
+
}`
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
const shortcuts = [
|
|
18
|
+
[/^non-selectable$/, ([, c], { theme }) => `!select-none`],
|
|
19
|
+
[/^scroll$/, ([, c], { theme }) => `overflow-auto `],
|
|
20
|
+
[/^scroll-x$/, ([, c], { theme }) => ` overflow-x-auto`],
|
|
21
|
+
[/^scroll-y$/, ([, c], { theme }) => ` overflow-y-auto`],
|
|
22
|
+
[/^no-scroll$/, ([, c], { theme }) => `!overflow-hidden`],
|
|
23
|
+
[/^no-pointer-events$/, ([, c], { theme }) => `!pointer-events-none`],
|
|
24
|
+
[
|
|
25
|
+
/^no-pointer-events--children$/,
|
|
26
|
+
([, c], { theme }) => `!pointer-events-none [&_*]:(!pointer-events-none)`
|
|
27
|
+
],
|
|
28
|
+
[/^all-pointer-events$/, ([, c], { theme }) => ``],
|
|
29
|
+
[/^cursor-inherit$/, ([, c], { theme }) => `[cursor:inherit!important]`],
|
|
30
|
+
[/^cursor-none$/, ([, c], { theme }) => ``]
|
|
31
|
+
];
|
|
32
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^fixed-full$/, ([, c], { theme }) => `fixed top-0 right-0 bottom-0 left-0`],
|
|
3
|
+
[
|
|
4
|
+
/^fullscreen$/,
|
|
5
|
+
([, c], { theme }) => `fixed !rounded-none max-w-[100vw] max-h-screen top-0 right-0 bottom-0 left-0`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^fixed-center$/,
|
|
9
|
+
([, c], { theme }) => `fixed top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2`
|
|
10
|
+
],
|
|
11
|
+
[/^fixed-bottom$/, ([, c], { theme }) => `fixed right-0 bottom-0 left-0`],
|
|
12
|
+
[/^fixed-left$/, ([, c], { theme }) => `fixed top-0 bottom-0 left-0`],
|
|
13
|
+
[/^fixed-right$/, ([, c], { theme }) => `fixed top-0 right-0 bottom-0`],
|
|
14
|
+
[/^fixed-top$/, ([, c], { theme }) => `fixed top-0 left-0 right-0`],
|
|
15
|
+
[/^fixed-top-left$/, ([, c], { theme }) => `fixed top-0 left-0`],
|
|
16
|
+
[/^fixed-top-right$/, ([, c], { theme }) => `fixed top-0 right-0`],
|
|
17
|
+
[/^fixed-bottom-left$/, ([, c], { theme }) => `fixed bottom-0 left-0`],
|
|
18
|
+
[/^fixed-bottom-right$/, ([, c], { theme }) => `fixed bottom-0 right-0`],
|
|
19
|
+
[
|
|
20
|
+
/^absolute-full$/,
|
|
21
|
+
([, c], { theme }) => `absolute top-0 right-0 bottom-0 left-0`
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
/^absolute-center$/,
|
|
25
|
+
([, c], { theme }) => `absolute top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2`
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
/^absolute-bottom$/,
|
|
29
|
+
([, c], { theme }) => `absolute right-0 bottom-0 left-0`
|
|
30
|
+
],
|
|
31
|
+
[/^absolute-left$/, ([, c], { theme }) => `absolute top-0 bottom-0 left-0`],
|
|
32
|
+
[/^absolute-right$/, ([, c], { theme }) => `absolute top-0 right-0 bottom-0`],
|
|
33
|
+
[/^absolute-top$/, ([, c], { theme }) => `absolute top-0 left-0 right-0`],
|
|
34
|
+
[/^absolute-top-left$/, ([, c], { theme }) => `absolute top-0 left-0`],
|
|
35
|
+
[/^absolute-top-right$/, ([, c], { theme }) => `absolute top-0 right-0`],
|
|
36
|
+
[/^absolute-bottom-left$/, ([, c], { theme }) => `absolute bottom-0 left-0`],
|
|
37
|
+
[
|
|
38
|
+
/^absolute-bottom-right$/,
|
|
39
|
+
([, c], { theme }) => `absolute bottom-0 right-0`
|
|
40
|
+
],
|
|
41
|
+
[/^vertical-top$/, ([, c], { theme }) => `!align-top`],
|
|
42
|
+
[/^vertical-middle$/, ([, c], { theme }) => `!align-middle`],
|
|
43
|
+
[/^vertical-bottom$/, ([, c], { theme }) => `!align-bottom`],
|
|
44
|
+
[/^on-left$/, ([, c], { theme }) => `mr-[12px]`],
|
|
45
|
+
[/^on-right$/, ([, c], { theme }) => `ml-[12px]`],
|
|
46
|
+
[/^q-position-engine$/, ([, c], { theme }) => `!mt-0 !ml-0`]
|
|
47
|
+
];
|
|
48
|
+
export { shortcuts };
|