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,100 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^z-fab$/, ([, c], { theme }) => ``],
|
|
3
|
+
[
|
|
4
|
+
/^q-fab$/,
|
|
5
|
+
([, c], { theme }) => `relative align-middle [&_>_.q-btn]:(w-full)`
|
|
6
|
+
],
|
|
7
|
+
[/^q-fab--form-rounded$/, ([, c], { theme }) => `rounded-[28px]`],
|
|
8
|
+
[/^q-fab--form-square$/, ([, c], { theme }) => `rounded-[4px]`],
|
|
9
|
+
[
|
|
10
|
+
/^q-fab__icon$/,
|
|
11
|
+
([, c], { theme }) => `[transition:opacity_0.4s,_transform_0.4s] opacity-100 rotate-0`
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
/^q-fab__active-icon$/,
|
|
15
|
+
([, c], { theme }) => `[transition:opacity_0.4s,_transform_0.4s] opacity-0 -rotate-180`
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
/^q-fab__label--external$/,
|
|
19
|
+
([, c], { theme }) => `absolute px-[8px] py-[0] [transition:opacity_0.18s_cubic-bezier(0.65,_0.815,_0.735,_0.395)]`
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
/^q-fab__label--external-hidden$/,
|
|
23
|
+
([, c], { theme }) => `opacity-0 pointer-events-none`
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
/^q-fab__label--external-left$/,
|
|
27
|
+
([, c], { theme }) => `top-2/4 -left-[12px] -translate-x-full -translate-y-1/2`
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
/^q-fab__label--external-right$/,
|
|
31
|
+
([, c], { theme }) => `top-2/4 -right-[12px] translate-x-full -translate-y-1/2`
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
/^q-fab__label--external-bottom$/,
|
|
35
|
+
([, c], { theme }) => `-bottom-[12px] left-2/4 -translate-x-1/2 translate-y-full`
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
/^q-fab__label--external-top$/,
|
|
39
|
+
([, c], { theme }) => `-top-[12px] left-2/4 -translate-x-1/2 -translate-y-full`
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
/^q-fab__label--internal$/,
|
|
43
|
+
([, c], { theme }) => `p-0 [transition:font-size_0.12s_cubic-bezier(0.65,_0.815,_0.735,_0.395),_max-height_0.12s_cubic-bezier(0.65,_0.815,_0.735,_0.395),_opacity_0.07s_cubic-bezier(0.65,_0.815,_0.735,_0.395)] max-h-[30px]`
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
/^q-fab__label--internal-hidden$/,
|
|
47
|
+
([, c], { theme }) => `text-[0] opacity-0`
|
|
48
|
+
],
|
|
49
|
+
[/^q-fab__label--internal-top$/, ([, c], { theme }) => `pb-[0.12em]`],
|
|
50
|
+
[/^q-fab__label--internal-bottom$/, ([, c], { theme }) => `pt-[0.12em]`],
|
|
51
|
+
[
|
|
52
|
+
/^q-fab__label--internal-left$/,
|
|
53
|
+
([, c], { theme }) => `pl-[0.285em] pr-[0.571em]`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-fab__label--internal-right$/,
|
|
57
|
+
([, c], { theme }) => `pr-[0.285em] pl-[0.571em]`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-fab__icon-holder$/,
|
|
61
|
+
([, c], { theme }) => `min-w-[24px] min-h-[24px] relative`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-fab__icon-holder--opened$/,
|
|
65
|
+
([, c], { theme }) => `[&_.q-fab\\_\\_icon]:(rotate-180 opacity-0) [&_.q-fab\\_\\_active-icon]:(rotate-0 opacity-100)`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-fab__actions$/,
|
|
69
|
+
([, c], { theme }) => `absolute opacity-0 [transition:transform_0.18s_ease-in,_opacity_0.18s_ease-in] pointer-events-none items-center justify-center self-center p-[3px] [&_.q-btn]:(m-[5px])`
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^q-fab__actions--right$/,
|
|
73
|
+
([, c], { theme }) => `origin-[0_50%] scale-[0.4] -translate-x-[62px] h-[56px] left-full ml-[9px]`
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
/^q-fab__actions--left$/,
|
|
77
|
+
([, c], { theme }) => `origin-[100%_50%] scale-[0.4] translate-x-[62px] h-[56px] right-full mr-[9px] flex-row-reverse`
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
/^q-fab__actions--up$/,
|
|
81
|
+
([, c], { theme }) => `origin-[50%_100%] scale-[0.4] translate-y-[62px] w-[56px] bottom-full mb-[9px] flex-col-reverse left-2/4 -ml-[28px]`
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
/^q-fab__actions--down$/,
|
|
85
|
+
([, c], { theme }) => `origin-[50%_0] scale-[0.4] -translate-y-[62px] w-[56px] top-full mt-[9px] flex-col left-2/4 -ml-[28px]`
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
/^q-fab__actions--opened$/,
|
|
89
|
+
([, c], { theme }) => `opacity-100 scale-100 translate-x-[0.1px] translate-y-[0]`
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
/^q-fab--align-left$/,
|
|
93
|
+
([, c], { theme }) => `[&_>_.q-fab\\_\\_actions--up]:(items-start left-[28px]) [&_>_.q-fab\\_\\_actions--down]:(items-start left-[28px])`
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
/^q-fab--align-right$/,
|
|
97
|
+
([, c], { theme }) => `[&_>_.q-fab\\_\\_actions--up]:(items-end left-auto right-0) [&_>_.q-fab\\_\\_actions--down]:(items-end left-auto right-0)`
|
|
98
|
+
]
|
|
99
|
+
];
|
|
100
|
+
export { shortcuts };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
@keyframes q-field-label {
|
|
5
|
+
40% {
|
|
6
|
+
margin-left: 2px;
|
|
7
|
+
}
|
|
8
|
+
60%, 80% {
|
|
9
|
+
margin-left: -2px;
|
|
10
|
+
}
|
|
11
|
+
70%, 90% {
|
|
12
|
+
margin-left: 2px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@keyframes q-autofill {
|
|
16
|
+
to {
|
|
17
|
+
background: transparent;
|
|
18
|
+
color: inherit;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
const shortcuts = [
|
|
25
|
+
[
|
|
26
|
+
/^q-field$/,
|
|
27
|
+
([, c], { theme }) => `text-[14px] [&_::-ms-clear]:(hidden) [&_::-ms-reveal]:(hidden)`
|
|
28
|
+
],
|
|
29
|
+
[/^q-field--with-bottom$/, ([, c], { theme }) => `pb-[20px]`],
|
|
30
|
+
[
|
|
31
|
+
/^q-field__marginal$/,
|
|
32
|
+
([, c], { theme }) => `h-[56px] text-[rgba(0,_0,_0,_0.54)] text-[24px] [&_>_*_+_*]:(ml-[2px]) [&_.q-avatar]:(text-[32px])`
|
|
33
|
+
],
|
|
34
|
+
[/^q-field__before$/, ([, c], { theme }) => `pr-[12px]`],
|
|
35
|
+
[/^q-field__prepend$/, ([, c], { theme }) => `pr-[12px]`],
|
|
36
|
+
[/^q-field__after$/, ([, c], { theme }) => `pl-[12px] [&:empty]:(hidden)`],
|
|
37
|
+
[
|
|
38
|
+
/^q-field__append$/,
|
|
39
|
+
([, c], { theme }) => `pl-[12px] [&:empty]:(hidden) [&_+_.q-field\\_\\_append]:(pl-[2px])`
|
|
40
|
+
],
|
|
41
|
+
[/^q-field__inner$/, ([, c], { theme }) => `text-left`],
|
|
42
|
+
[
|
|
43
|
+
/^q-field__bottom$/,
|
|
44
|
+
([, c], { theme }) => `text-[12px] min-h-[20px] leading-none text-[rgba(0,_0,_0,_0.54)] pt-[8px] px-[12px] pb-[0] [backface-visibility:hidden]`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
/^q-field__bottom--animated$/,
|
|
48
|
+
([, c], { theme }) => `translate-y-full absolute left-0 right-0 bottom-0`
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
/^q-field__messages$/,
|
|
52
|
+
([, c], { theme }) => `leading-none [&_>_div]:([word-wrap:break-word] break-words) [&_>_div_+_div]:(mt-[4px])`
|
|
53
|
+
],
|
|
54
|
+
[/^q-field__counter$/, ([, c], { theme }) => `pl-[8px] leading-none`],
|
|
55
|
+
[
|
|
56
|
+
/^q-field--item-aligned$/,
|
|
57
|
+
([, c], { theme }) => `px-[16px] py-[8px] [&_.q-field\\_\\_before]:(min-w-[56px])`
|
|
58
|
+
],
|
|
59
|
+
[/^q-field__control-container$/, ([, c], { theme }) => `[height:inherit]`],
|
|
60
|
+
[
|
|
61
|
+
/^q-field__control$/,
|
|
62
|
+
([, c], { theme }) => `h-[56px] max-w-full outline-[none] [&:before]:(content-empty absolute top-0 right-0 bottom-0 left-0 pointer-events-none) [&:after]:(content-empty absolute top-0 right-0 bottom-0 left-0 pointer-events-none) [&:before]:([border-radius:inherit]) bg-primary`
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
/^q-field__shadow$/,
|
|
66
|
+
([, c], { theme }) => `top-[8px] opacity-0 overflow-hidden whitespace-pre-wrap [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] [&_+_.q-field\\_\\_native::placeholder]:([transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_+_.q-field\\_\\_native:focus::placeholder]:(opacity-0)`
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
/^q-field__native$/,
|
|
70
|
+
([, c], { theme }) => `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] w-full min-w-[0] !outline-0 select-auto [&:-webkit-autofill]:() [&:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='color']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='date']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='month']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='time']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='week']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&:invalid]:([box-shadow:none]) [&[type='file']]:(leading-[1em])`
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
/^q-field__prefix$/,
|
|
74
|
+
([, c], { theme }) => `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] whitespace-nowrap pr-[4px]`
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
/^q-field__suffix$/,
|
|
78
|
+
([, c], { theme }) => `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1)] whitespace-nowrap pl-[4px]`
|
|
79
|
+
],
|
|
80
|
+
[
|
|
81
|
+
/^q-field__input$/,
|
|
82
|
+
([, c], { theme }) => `font-normal leading-[28px] tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] border-none rounded-none bg-none text-[rgba(0,_0,_0,_0.87)] outline-0 px-[0] py-[6px] w-full min-w-[0] !outline-0 select-auto [&:-webkit-autofill]:() [&:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='color']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='date']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='month']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='time']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&[type='week']_+_.q-field\\_\\_label]:(-translate-y-[40%] scale-[0.75]) [&:invalid]:([box-shadow:none]) p-0 h-[0] min-h-[24px] leading-[24px]`
|
|
83
|
+
],
|
|
84
|
+
[
|
|
85
|
+
/^q-field--readonly$/,
|
|
86
|
+
([, c], { theme }) => `[&_.q-placeholder]:(!opacity-100)`
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
/^q-field--disabled$/,
|
|
90
|
+
([, c], { theme }) => `[&_.q-placeholder]:(!opacity-100) [&_.q-field\\_\\_inner]:(cursor-not-allowed) [&_.q-field\\_\\_control]:(pointer-events-none) [&_.q-field\\_\\_control_>_div]:(!opacity-60) [&_.q-field\\_\\_control_>_div]:(!outline-0) [&_.q-field\\_\\_control_>_div_*]:(!outline-0)`
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
/^q-field__label$/,
|
|
94
|
+
([, c], { theme }) => `left-0 top-[18px] max-w-full text-[rgba(0,_0,_0,_0.6)] text-[16px] leading-tight font-normal tracking-[0.00937em] [text-decoration:inherit] [text-transform:inherit] origin-[left_top] [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_max-width_0.324s_cubic-bezier(0.4,_0,_0.2,_1)] [backface-visibility:hidden]`
|
|
95
|
+
],
|
|
96
|
+
[
|
|
97
|
+
/^q-field--float$/,
|
|
98
|
+
([, c], { theme }) => `[&_.q-field\\_\\_label]:(max-w-[133%] -translate-y-[40%] scale-[0.75] [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_max-width_0.396s_cubic-bezier(0.4,_0,_0.2,_1)])`
|
|
99
|
+
],
|
|
100
|
+
[
|
|
101
|
+
/^q-field--highlighted$/,
|
|
102
|
+
([, c], { theme }) => `[&_.q-field\\_\\_label]:(text-current) [&_.q-field\\_\\_shadow]:(opacity-50)`
|
|
103
|
+
],
|
|
104
|
+
[
|
|
105
|
+
/^q-field--filled$/,
|
|
106
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(px-[12px] py-[0] bg-[rgba(0,_0,_0,_0.05)] rounded-tl-[4px] rounded-br-[0] rounded-tr-[4px] rounded-bl-[0]) [&_.q-field\\_\\_control:before]:(bg-[rgba(0,_0,_0,_0.05)] [border-bottom:1px_solid_rgba(0,_0,_0,_0.42)] opacity-0 [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(opacity-100) [&_.q-field\\_\\_control:after]:(h-[2px] top-auto origin-[center_bottom] [transform:scale3d(0,_1,_1)] bg-current [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1)])`
|
|
107
|
+
],
|
|
108
|
+
[
|
|
109
|
+
/^q-field--outlined$/,
|
|
110
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(rounded-[4px] px-[12px] py-[0]) [&_.q-field\\_\\_control:before]:(border-[1px] border-solid border-[rgba(0,0,0,0.24)] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(border-[#000]) [&_.q-field\\_\\_control:after]:([height:inherit] [border-radius:inherit] border-[2px] border-solid border-[transparent] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_native:-webkit-autofill]:(mt-px mb-px) [&_.q-field\\_\\_input:-webkit-autofill]:(mt-px mb-px)`
|
|
111
|
+
],
|
|
112
|
+
[
|
|
113
|
+
/^q-field--standard$/,
|
|
114
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control:before]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.24)] [transition:border-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(border-[#000]) [&_.q-field\\_\\_control:after]:(h-[2px] top-auto [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit] origin-[center_bottom] [transform:scale3d(0,_1,_1)] bg-current [transition:transform_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_bottom]:(pl-0 pr-0)`
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
/^q-field--dark$/,
|
|
118
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control:before]:(border-[rgba(255,_255,_255,_0.6)]) [&_.q-field\\_\\_control:hover:before]:(border-[#fff]) [&_.q-field\\_\\_native]:(text-[#fff]) [&_.q-field\\_\\_prefix]:(text-[#fff]) [&_.q-field\\_\\_suffix]:(text-[#fff]) [&_.q-field\\_\\_input]:(text-[#fff]) [&:not(.q-field--highlighted)_.q-field\\_\\_label]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-field\\_\\_marginal]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-field\\_\\_bottom]:(text-[rgba(255,_255,_255,_0.7)])`
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
/^q-field--standout$/,
|
|
122
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(px-[12px] py-[0] bg-[rgba(0,_0,_0,_0.05)] rounded-[4px] [transition:box-shadow_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background-color_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:before]:(bg-[rgba(0,_0,_0,_0.07)] opacity-0 [transition:opacity_0.36s_cubic-bezier(0.4,_0,_0.2,_1),_background_0.36s_cubic-bezier(0.4,_0,_0.2,_1)]) [&_.q-field\\_\\_control:hover:before]:(opacity-100)`
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
/^q-field--labeled$/,
|
|
126
|
+
([, c], { theme }) => `[&_.q-field\\_\\_native]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_prefix]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_suffix]:(leading-[24px] pt-[24px] pb-[8px]) [&_.q-field\\_\\_shadow]:(top-0) [&:not(.q-field--float)_.q-field\\_\\_prefix]:(opacity-0) [&:not(.q-field--float)_.q-field\\_\\_suffix]:(opacity-0) [&:not(.q-field--float)_.q-field\\_\\_native::placeholder]:(text-transparent) [&:not(.q-field--float)_.q-field\\_\\_input::placeholder]:(text-transparent)`
|
|
127
|
+
],
|
|
128
|
+
[
|
|
129
|
+
/^q-field--dense$/,
|
|
130
|
+
([, c], { theme }) => `[&_.q-field--with-bottom]:(pb-[19px]) [&_.q-field\\_\\_shadow]:(top-0) [&_.q-field\\_\\_control]:(h-[40px]) [&_.q-field\\_\\_marginal]:(h-[40px]) [&_.q-field\\_\\_bottom]:(text-[11px]) [&_.q-field\\_\\_label]:(text-[14px] top-[10px]) [&_.q-field\\_\\_before]:(pr-[6px]) [&_.q-field\\_\\_prepend]:(pr-[6px]) [&_.q-field\\_\\_after]:(pl-[6px]) [&_.q-field\\_\\_append]:(pl-[6px]) [&_.q-field\\_\\_append_+_.q-field\\_\\_append]:(pl-[2px]) [&_.q-field\\_\\_marginal_.q-avatar]:(text-[24px]) [&_.q-field\\_\\_native:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input:-webkit-autofill_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='color']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='date']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='month']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='time']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_native[type='week']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='color']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='date']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='datetime-local']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='month']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='time']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75]) [&_.q-field\\_\\_input[type='week']_+_.q-field\\_\\_label]:(-translate-y-[30%] scale-[0.75])`
|
|
131
|
+
],
|
|
132
|
+
[
|
|
133
|
+
/^q-field--borderless$/,
|
|
134
|
+
([, c], { theme }) => `[&_.q-field\\_\\_bottom]:(pl-0 pr-0)`
|
|
135
|
+
],
|
|
136
|
+
[
|
|
137
|
+
/^q-field--error$/,
|
|
138
|
+
([, c], { theme }) => `[&_.q-field\\_\\_label]:(animate-[q-field-label_0.36s]) [&_.q-field\\_\\_bottom]:(text-negative)`
|
|
139
|
+
],
|
|
140
|
+
[
|
|
141
|
+
/^q-field__focusable-action$/,
|
|
142
|
+
([, c], { theme }) => `opacity-60 cursor-pointer !outline-0 border-0 [color:inherit] bg-transparent p-0 [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
143
|
+
],
|
|
144
|
+
[
|
|
145
|
+
/^q-field--auto-height$/,
|
|
146
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(h-auto) [&_.q-field\\_\\_control]:(min-h-[56px]) [&_.q-field\\_\\_native]:(min-h-[56px]) [&_.q-field\\_\\_native]:(items-center) [&_.q-field\\_\\_control-container]:(pt-0) [&_.q-field\\_\\_native]:(leading-[18px]) [&_.q-field\\_\\_prefix]:(leading-[18px]) [&_.q-field\\_\\_suffix]:(leading-[18px])`
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
/^q-field--square$/,
|
|
150
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(!rounded-none)`
|
|
151
|
+
]
|
|
152
|
+
];
|
|
153
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-file$/,
|
|
4
|
+
([, c], { theme }) => `[&_.q-field\\_\\_native]:(break-all overflow-hidden) [&_.q-field\\_\\_input]:(!opacity-0) [&_.q-field\\_\\_input::-webkit-file-upload-button]:(cursor-pointer)`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-file__filler$/,
|
|
8
|
+
([, c], { theme }) => `invisible w-full border-none p-0`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-file__dnd$/,
|
|
12
|
+
([, c], { theme }) => `outline-[1px_dashed_currentColor] outline-offset-[-4px]`
|
|
13
|
+
]
|
|
14
|
+
];
|
|
15
|
+
export { shortcuts };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-footer--hidden$/, ([, c], { theme }) => `translate-y-[110%]`],
|
|
3
|
+
[
|
|
4
|
+
/^q-footer--bordered$/,
|
|
5
|
+
([, c], { theme }) => `[border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-footer$/,
|
|
9
|
+
([, c], { theme }) => `[&_.q-layout\\_\\_shadow]:(-top-[10px]) [&_.q-layout\\_\\_shadow:after]:(top-[10px]) relative z-2000`
|
|
10
|
+
]
|
|
11
|
+
];
|
|
12
|
+
export { shortcuts };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-header--hidden$/, ([, c], { theme }) => `-translate-y-[110%]`],
|
|
3
|
+
[
|
|
4
|
+
/^q-header--bordered$/,
|
|
5
|
+
([, c], { theme }) => `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-header$/,
|
|
9
|
+
([, c], { theme }) => `z-2000 [&_.q-layout\\_\\_shadow]:(-bottom-10px) [&_.q-layout\\_\\_shadow:after]:(bottom-10px)`
|
|
10
|
+
// relative
|
|
11
|
+
]
|
|
12
|
+
];
|
|
13
|
+
export { shortcuts };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-icon$/,
|
|
4
|
+
([, c], { theme }) => `lh-1 w-1em h-1em shrink-0 tracking-normal normal-case whitespace-nowrap break-normal
|
|
5
|
+
text-center relative box-content fill-current
|
|
6
|
+
[&>svg]:(h-full w-full)
|
|
7
|
+
[&>img]:(h-full w-full)
|
|
8
|
+
[&:before]:(w-full h-full flex! items-center justify-center)
|
|
9
|
+
[&:after]:(w-full h-full flex! items-center justify-center)
|
|
10
|
+
select-none cursor-inherit text-inherit inline-flex items-center justify-center v-middle
|
|
11
|
+
`
|
|
12
|
+
],
|
|
13
|
+
// [
|
|
14
|
+
// /^(q-icon:before|q-icon:after)$/,
|
|
15
|
+
// ([, c], { theme }) => `w-full h-full flex! items-center justify-center`
|
|
16
|
+
// ],
|
|
17
|
+
[
|
|
18
|
+
/^(material-icons|material-icons-outlined|material-icons-round|material-icons-sharp|material-symbols-outlined|material-symbols-rounded|material-symbols-sharp)$/,
|
|
19
|
+
([, c], { theme }) => `select-none cursor-inherit text-inherit inline-flex items-center justify-center v-middle`
|
|
20
|
+
]
|
|
21
|
+
];
|
|
22
|
+
export { shortcuts };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-img$/,
|
|
4
|
+
([, c], { theme }) => `relative w-full inline-block align-middle overflow-hidden`
|
|
5
|
+
],
|
|
6
|
+
[/^q-img__loading$/, ([, c], { theme }) => `[&_.q-spinner]:(text-[50px])`],
|
|
7
|
+
[
|
|
8
|
+
/^q-img__container$/,
|
|
9
|
+
([, c], { theme }) => `[border-radius:inherit] text-[0]`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-img__image$/,
|
|
13
|
+
([, c], { theme }) => `[border-radius:inherit] w-full h-full opacity-0`
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
/^q-img__image--with-transition$/,
|
|
17
|
+
([, c], { theme }) => `[transition:opacity_0.28s_ease-in]`
|
|
18
|
+
],
|
|
19
|
+
[/^q-img__image--loaded$/, ([, c], { theme }) => `opacity-100`],
|
|
20
|
+
[
|
|
21
|
+
/^q-img__content$/,
|
|
22
|
+
([, c], { theme }) => `[border-radius:inherit] pointer-events-none [&_>_div]:(absolute p-[16px] text-[#fff] bg-[rgba(0,_0,_0,_0.47)])`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-img--no-menu$/,
|
|
26
|
+
([, c], { theme }) => `[&_.q-img\\_\\_image]:(pointer-events-none) [&_.q-img\\_\\_placeholder]:(pointer-events-none)`
|
|
27
|
+
]
|
|
28
|
+
];
|
|
29
|
+
export { shortcuts };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-inner-loading$/,
|
|
4
|
+
([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.6)] [border-radius:inherit]`
|
|
5
|
+
],
|
|
6
|
+
[/^q-inner-loading--dark$/, ([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.4)]`],
|
|
7
|
+
[/^q-inner-loading__label$/, ([, c], { theme }) => `mt-[8px]`]
|
|
8
|
+
];
|
|
9
|
+
export { shortcuts };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-textarea$/,
|
|
4
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(min-h-[56px] h-auto) [&_.q-field\\_\\_control-container]:(pt-[2px] pb-[2px]) [&_.q-field\\_\\_shadow]:(top-[2px] bottom-[2px]) [&_.q-field\\_\\_native]:(leading-[18px]) [&_.q-field\\_\\_prefix]:(leading-[18px]) [&_.q-field\\_\\_suffix]:(leading-[18px]) [&_.q-field\\_\\_native]:(resize-y pt-[17px] min-h-[52px])`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-textarea.q-field--labeled$/,
|
|
8
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control-container]:(pt-[26px]) [&_.q-field\\_\\_shadow]:(top-[26px]) [&_.q-field\\_\\_native]:(pt-0) [&_.q-field\\_\\_prefix]:(pt-0) [&_.q-field\\_\\_suffix]:(pt-0) [&_.q-field\\_\\_native]:(min-h-[26px] pt-px)`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-textarea--autogrow$/,
|
|
12
|
+
([, c], { theme }) => `[&_.q-field\\_\\_native]:(resize-none)`
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
/^q-textarea.q-field--dense$/,
|
|
16
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control]:(min-h-[36px]) [&_.q-field\\_\\_native]:(min-h-[36px]) [&_.q-field\\_\\_native]:(pt-[9px])`
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
/^q-textarea.q-field--dense.q-field--labeled$/,
|
|
20
|
+
([, c], { theme }) => `[&_.q-field\\_\\_control-container]:(pt-[14px]) [&_.q-field\\_\\_shadow]:(top-[14px]) [&_.q-field\\_\\_native]:(min-h-[24px] pt-[3px]) [&_.q-field\\_\\_prefix]:(pt-[2px]) [&_.q-field\\_\\_suffix]:(pt-[2px])`
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
/^q-textarea.disabled$/,
|
|
24
|
+
([, c], { theme }) => `[&_.q-field\\_\\_native]:(resize-none)`
|
|
25
|
+
]
|
|
26
|
+
];
|
|
27
|
+
export { shortcuts };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-item$/,
|
|
4
|
+
([, c], { theme }) => `min-h-[48px] px-[16px] py-[8px] [color:inherit] [transition:color_0.3s,_background-color_0.3s] [&_>_.q-item\\_\\_section--thumbnail:first-child]:(-ml-[16px]) [&_>_.q-focus-helper_+_.q-item\\_\\_section--thumbnail]:(-ml-[16px]) [&_>_.q-item\\_\\_section--thumbnail:last-of-type]:(-mr-[16px]) relative
|
|
5
|
+
[&.q-router-link--active]:(text-primary)`
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
/^q-item__section--side$/,
|
|
9
|
+
([, c], { theme }) => `text-[#757575] items-start pr-[16px] w-auto min-w-[0] max-w-full [&_>_.q-icon]:(text-[24px]) [&_>_.q-avatar]:(text-[40px])`
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^q-item__section--avatar$/,
|
|
13
|
+
([, c], { theme }) => `[color:inherit] min-w-[56px]`
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
/^q-item__section--thumbnail$/,
|
|
17
|
+
([, c], { theme }) => `[&_img]:(w-[100px] h-[56px])`
|
|
18
|
+
],
|
|
19
|
+
[/^q-item__section--nowrap$/, ([, c], { theme }) => `whitespace-nowrap`],
|
|
20
|
+
[
|
|
21
|
+
/^q-item__label$/,
|
|
22
|
+
([, c], { theme }) => `!leading-[1.2em] max-w-full [&_+_.q-item\\_\\_label]:(mt-[4px])`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-item__label--overline$/,
|
|
26
|
+
([, c], { theme }) => `text-[rgba(0,_0,_0,_0.7)]`
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^q-item__label--caption$/,
|
|
30
|
+
([, c], { theme }) => `text-[rgba(0,_0,_0,_0.54)]`
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
/^q-item__label--header$/,
|
|
34
|
+
([, c], { theme }) => `text-[#757575] p-[16px] text-[0.875rem] leading-5 tracking-[0.01786em]`
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
/^q-separator--spaced$/,
|
|
38
|
+
([, c], { theme }) => `[&_+_.q-item\\_\\_label--header]:(pt-[8px])`
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
/^q-list--padding$/,
|
|
42
|
+
([, c], { theme }) => `[&_.q-item\\_\\_label--header]:(pt-[8px]) px-[0] py-[8px]`
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
/^q-item__section--main$/,
|
|
46
|
+
([, c], { theme }) => `w-auto min-w-[0] max-w-full flex-[10000_1_0%] [&_+_.q-item\\_\\_section--main]:(ml-[8px]) [&_~_.q-item\\_\\_section--side]:(items-end pr-0 pl-[16px])`
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
/^q-list--bordered$/,
|
|
50
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
/^q-list--separator$/,
|
|
54
|
+
([, c], { theme }) => `[&_>_.q-item-type_+_.q-item-type]:([border-top:1px_solid_rgba(0,_0,_0,_0.12)]) [&_>_.q-virtual-scroll\\_\\_content_>_.q-item-type_+_.q-item-type]:([border-top:1px_solid_rgba(0,_0,_0,_0.12)])`
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
/^q-list--dense$/,
|
|
58
|
+
([, c], { theme }) => `[&_>_.q-item]:(min-h-[32px] px-[16px] py-[2px])`
|
|
59
|
+
],
|
|
60
|
+
[/^q-item--dense$/, ([, c], { theme }) => `min-h-[32px] px-[16px] py-[2px]`],
|
|
61
|
+
[
|
|
62
|
+
/^q-list--dark$/,
|
|
63
|
+
([, c], { theme }) => `text-[#fff] border-[rgba(255,_255,_255,_0.28)] [&_.q-item\\_\\_section--side:not(.q-item\\_\\_section--avatar)]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-item\\_\\_label--header]:(text-[rgba(255,_255,_255,_0.64)]) [&_.q-item\\_\\_label--overline]:(text-[rgba(255,_255,_255,_0.8)]) [&_.q-item\\_\\_label--caption]:(text-[rgba(255,_255,_255,_0.8)])`
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
/^q-item--dark$/,
|
|
67
|
+
([, c], { theme }) => `text-[#fff] border-[rgba(255,_255,_255,_0.28)] [&_.q-item\\_\\_section--side:not(.q-item\\_\\_section--avatar)]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-item\\_\\_label--header]:(text-[rgba(255,_255,_255,_0.64)]) [&_.q-item\\_\\_label--overline]:(text-[rgba(255,_255,_255,_0.8)]) [&_.q-item\\_\\_label--caption]:(text-[rgba(255,_255,_255,_0.8)])`
|
|
68
|
+
],
|
|
69
|
+
[/^q-item--active$/, ([, c], { theme }) => `text-primary`]
|
|
70
|
+
];
|
|
71
|
+
export { shortcuts };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[/^q-knob$/, ([, c], { theme }) => `text-[48px]`],
|
|
3
|
+
[/^q-knob--editable$/, ([, c], { theme }) => `cursor-pointer outline-0`],
|
|
4
|
+
[
|
|
5
|
+
/^q-knob--editable:before$/,
|
|
6
|
+
([, c], { theme }) => `content-empty absolute top-0 right-0 bottom-0 left-0 rounded-[50%] [box-shadow:none] [transition:box-shadow_0.24s_ease-in-out]`
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
/^q-knob--editable:focus:before$/,
|
|
10
|
+
([, 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)]`
|
|
11
|
+
]
|
|
12
|
+
];
|
|
13
|
+
export { shortcuts };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
// {
|
|
3
|
+
// getCSS: ({ theme }) => `
|
|
4
|
+
// body.q-ios-padding .q-layout--standard .q-header > .q-toolbar:nth-child(1),
|
|
5
|
+
// body.q-ios-padding .q-layout--standard .q-header > .q-tabs:nth-child(1) .q-tabs__content,
|
|
6
|
+
// body.q-ios-padding .q-layout--standard .q-drawer--top-padding .q-drawer__content {
|
|
7
|
+
// padding-top: 20px;
|
|
8
|
+
// min-height: 70px;
|
|
9
|
+
// padding-top: env(safe-area-inset-top);
|
|
10
|
+
// min-height: calc(env(safe-area-inset-top) + 50px);
|
|
11
|
+
// }
|
|
12
|
+
// body.q-ios-padding .q-layout--standard .q-footer > .q-toolbar:last-child,
|
|
13
|
+
// body.q-ios-padding .q-layout--standard .q-footer > .q-tabs:nth-last-child(1 of :not(.q-layout__shadow)) .q-tabs__content,
|
|
14
|
+
// body.q-ios-padding .q-layout--standard .q-drawer--top-padding .q-drawer__content {
|
|
15
|
+
// padding-bottom: env(safe-area-inset-bottom);
|
|
16
|
+
// min-height: calc(env(safe-area-inset-bottom) + 50px);
|
|
17
|
+
// }
|
|
18
|
+
// .q-body--layout-animate .q-drawer__backdrop {
|
|
19
|
+
// transition: background-color 0.12s !important;
|
|
20
|
+
// }
|
|
21
|
+
// .q-body--layout-animate .q-drawer {
|
|
22
|
+
// transition: transform 0.12s, width 0.12s, top 0.12s, bottom 0.12s !important;
|
|
23
|
+
// }
|
|
24
|
+
// .q-body--layout-animate .q-layout__section--marginal {
|
|
25
|
+
// transition: transform 0.12s, left 0.12s, right 0.12s !important;
|
|
26
|
+
// }
|
|
27
|
+
// .q-body--layout-animate .q-page-container {
|
|
28
|
+
// transition: padding-top 0.12s, padding-right 0.12s, padding-bottom 0.12s, padding-left 0.12s !important;
|
|
29
|
+
// }
|
|
30
|
+
// .q-body--layout-animate .q-page-sticky {
|
|
31
|
+
// transition: transform 0.12s, left 0.12s, right 0.12s, top 0.12s, bottom 0.12s !important;
|
|
32
|
+
// }
|
|
33
|
+
// body:not(.q-body--layout-animate) .q-layout--prevent-focus {
|
|
34
|
+
// visibility: hidden;
|
|
35
|
+
// }
|
|
36
|
+
// .q-body--drawer-toggle {
|
|
37
|
+
// overflow-x: hidden !important;
|
|
38
|
+
// }
|
|
39
|
+
// @media (max-width: 599.98px) {
|
|
40
|
+
// .q-layout-padding {
|
|
41
|
+
// padding: 8px;
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
// @media (min-width: 600px) and (max-width: 1439.98px) {
|
|
45
|
+
// .q-layout-padding {
|
|
46
|
+
// padding: 16px;
|
|
47
|
+
// }
|
|
48
|
+
// }
|
|
49
|
+
// @media (min-width: 1440px) {
|
|
50
|
+
// .q-layout-padding {
|
|
51
|
+
// padding: 24px;
|
|
52
|
+
// }
|
|
53
|
+
// }
|
|
54
|
+
// body.body--dark .q-header, body.body--dark .q-footer, body.body--dark .q-drawer {
|
|
55
|
+
// border-color: rgba(255, 255, 255, 0.28);
|
|
56
|
+
// }
|
|
57
|
+
// body.body--dark .q-layout__shadow:after {
|
|
58
|
+
// box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.2), 0 0px 10px rgba(255, 255, 255, 0.24);
|
|
59
|
+
// }
|
|
60
|
+
// body.platform-ios .q-layout--containerized {
|
|
61
|
+
// position: unset !important;
|
|
62
|
+
// }`
|
|
63
|
+
// }
|
|
64
|
+
];
|
|
65
|
+
const shortcuts = [
|
|
66
|
+
[/^q-layout$/, ([, c], { theme }) => `w-full outline-0 relative`],
|
|
67
|
+
[
|
|
68
|
+
/^q-layout-container$/,
|
|
69
|
+
([, c], { theme }) => `relative w-full h-full [&_.q-layout]:(min-h-full) [&_>_div]:([transform:translate3d(0,_0,_0)]) [&_>_div_>_div]:(min-h-[0] max-h-full)`
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^q-layout__shadow$/,
|
|
73
|
+
([, c], { theme }) => `w-full
|
|
74
|
+
[&:after]:(content-empty absolute top-[0] right-[0] bottom-[0] left-[0] [box-shadow:0_0_10px_2px_rgba(0,_0,_0,_0.2),_0_0px_10px_rgba(0,_0,_0,_0.24)])`
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
/^q-layout__section--marginal$/,
|
|
78
|
+
([, c], { theme }) => `text-[#fff] bg-primary`
|
|
79
|
+
]
|
|
80
|
+
];
|
|
81
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
@keyframes q-linear-progress--indeterminate {
|
|
5
|
+
0% {
|
|
6
|
+
transform: translate3d(-35%, 0, 0) scale3d(0.35, 1, 1);
|
|
7
|
+
}
|
|
8
|
+
60% {
|
|
9
|
+
transform: translate3d(100%, 0, 0) scale3d(0.9, 1, 1);
|
|
10
|
+
}
|
|
11
|
+
100% {
|
|
12
|
+
transform: translate3d(100%, 0, 0) scale3d(0.9, 1, 1);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@keyframes q-linear-progress--indeterminate-short {
|
|
16
|
+
0% {
|
|
17
|
+
transform: translate3d(-101%, 0, 0) scale3d(1, 1, 1);
|
|
18
|
+
}
|
|
19
|
+
60% {
|
|
20
|
+
transform: translate3d(107%, 0, 0) scale3d(0.01, 1, 1);
|
|
21
|
+
}
|
|
22
|
+
100% {
|
|
23
|
+
transform: translate3d(107%, 0, 0) scale3d(0.01, 1, 1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
`
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
const shortcuts = [
|
|
30
|
+
[
|
|
31
|
+
/^q-linear-progress$/,
|
|
32
|
+
([, c], { theme }) => `relative w-full overflow-hidden text-[4px] h-[1em] [transform:scale3d(1,_1,_1)] text-primary`
|
|
33
|
+
],
|
|
34
|
+
[/^q-linear-progress__model$/, ([, c], { theme }) => `origin-[0_0]`],
|
|
35
|
+
[
|
|
36
|
+
/^q-linear-progress__track$/,
|
|
37
|
+
([, c], { theme }) => `origin-[0_0] opacity-40`
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
/^q-linear-progress__model--with-transition$/,
|
|
41
|
+
([, c], { theme }) => `[transition:transform_var(--q-linear-progress-speed)]`
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
/^q-linear-progress__track--with-transition$/,
|
|
45
|
+
([, c], { theme }) => `[transition:transform_var(--q-linear-progress-speed)]`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q-linear-progress--reverse$/,
|
|
49
|
+
([, c], { theme }) => `[&_.q-linear-progress\\_\\_model]:(origin-[0_100%]) [&_.q-linear-progress\\_\\_track]:(origin-[0_100%])`
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
/^q-linear-progress__model--determinate$/,
|
|
53
|
+
([, c], { theme }) => `bg-current`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-linear-progress__model--indeterminate$/,
|
|
57
|
+
([, c], { theme }) => `transition-none [&:before]:(bg-current content-empty absolute top-0 right-0 bottom-0 left-0 origin-[0_0]) [&:after]:(bg-current content-empty absolute top-0 right-0 bottom-0 left-0 origin-[0_0]) [&:before]:(animate-[q-linear-progress--indeterminate_2.1s_cubic-bezier(0.65,_0.815,_0.735,_0.395)_infinite]) [&:after]:([transform:translate3d(-101%,_0,_0)_scale3d(1,_1,_1)] animate-[q-linear-progress--indeterminate-short_2.1s_cubic-bezier(0.165,_0.84,_0.44,_1)_infinite] [animation-delay:1.15s])`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-linear-progress__model--query$/,
|
|
61
|
+
([, c], { theme }) => `transition-none [&:before]:(bg-current content-empty absolute top-0 right-0 bottom-0 left-0 origin-[0_0]) [&:after]:(bg-current content-empty absolute top-0 right-0 bottom-0 left-0 origin-[0_0]) [&:before]:(animate-[q-linear-progress--indeterminate_2.1s_cubic-bezier(0.65,_0.815,_0.735,_0.395)_infinite]) [&:after]:([transform:translate3d(-101%,_0,_0)_scale3d(1,_1,_1)] animate-[q-linear-progress--indeterminate-short_2.1s_cubic-bezier(0.165,_0.84,_0.44,_1)_infinite] [animation-delay:1.15s])`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-linear-progress__track--light$/,
|
|
65
|
+
([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.26)]`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-linear-progress__track--dark$/,
|
|
69
|
+
([, c], { theme }) => `bg-[rgba(255,_255,_255,_0.6)]`
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^q-linear-progress__stripe$/,
|
|
73
|
+
([, c], { theme }) => `!bg-[linear-gradient(_45deg,_rgba(255,_255,_255,_0.15)_25%,_rgba(255,_255,_255,_0)_25%,_rgba(255,_255,_255,_0)_50%,_rgba(255,_255,_255,_0.15)_50%,_rgba(255,_255,_255,_0.15)_75%,_rgba(255,_255,_255,_0)_75%,_rgba(255,_255,_255,_0)_)] [background-size:40px_40px!important]`
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
/^q-linear-progress__stripe--with-transition$/,
|
|
77
|
+
([, c], { theme }) => `[transition:width_var(--q-linear-progress-speed)]`
|
|
78
|
+
]
|
|
79
|
+
];
|
|
80
|
+
export { preflights, shortcuts };
|