vitrify 0.16.4 → 0.17.1
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 +31 -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 +1282 -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 +37 -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 +1482 -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 +2 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
@keyframes q-spin {
|
|
5
|
+
0% {
|
|
6
|
+
transform: rotate3d(0, 0, 1, 0deg) /* rtl:ignore */;
|
|
7
|
+
}
|
|
8
|
+
25% {
|
|
9
|
+
transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
|
|
10
|
+
}
|
|
11
|
+
50% {
|
|
12
|
+
transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
|
|
13
|
+
}
|
|
14
|
+
75% {
|
|
15
|
+
transform: rotate3d(0, 0, 1, 270deg) /* rtl:ignore */;
|
|
16
|
+
}
|
|
17
|
+
100% {
|
|
18
|
+
transform: rotate3d(0, 0, 1, 359deg) /* rtl:ignore */;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
@keyframes q-mat-dash {
|
|
22
|
+
0% {
|
|
23
|
+
stroke-dasharray: 1, 200;
|
|
24
|
+
stroke-dashoffset: 0;
|
|
25
|
+
}
|
|
26
|
+
50% {
|
|
27
|
+
stroke-dasharray: 89, 200;
|
|
28
|
+
stroke-dashoffset: -35px;
|
|
29
|
+
}
|
|
30
|
+
100% {
|
|
31
|
+
stroke-dasharray: 89, 200;
|
|
32
|
+
stroke-dashoffset: -124px;
|
|
33
|
+
}
|
|
34
|
+
}`
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
const shortcuts = [
|
|
38
|
+
[/^q-spinner$/, ([, c], { theme }) => `align-middle`],
|
|
39
|
+
[
|
|
40
|
+
/^q-spinner-mat$/,
|
|
41
|
+
([, c], { theme }) => `animate-[q-spin_2s_linear_infinite] origin-[center_center] [&_.path]:(animate-[q-mat-dash_1.5s_ease-in-out_infinite])`
|
|
42
|
+
]
|
|
43
|
+
];
|
|
44
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-splitter__panel$/,
|
|
4
|
+
([, c], { theme }) => `relative z-0 [&_>_.q-splitter]:(w-full h-full)`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-splitter__separator$/,
|
|
8
|
+
([, c], { theme }) => `bg-[rgba(0,_0,_0,_0.12)] select-none relative`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-splitter__separator-area$/,
|
|
12
|
+
([, c], { theme }) => `[&_>_*]:(absolute top-2/4 left-2/4 -translate-x-1/2 -translate-y-1/2)`
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
/^q-splitter--dark$/,
|
|
16
|
+
([, c], { theme }) => `[&_.q-splitter\\_\\_separator]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
/^q-splitter--vertical$/,
|
|
20
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_panel]:(h-full) [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px])`
|
|
21
|
+
],
|
|
22
|
+
[/^q-splitter--vertical.q-splitter--active$/, ([, c], { theme }) => ``],
|
|
23
|
+
[
|
|
24
|
+
/^q-splitter--vertical.q-splitter--workable$/,
|
|
25
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
/^q-splitter--horizontal$/,
|
|
29
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_panel]:(w-full) [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px])`
|
|
30
|
+
],
|
|
31
|
+
[/^q-splitter--horizontal.q-splitter--active$/, ([, c], { theme }) => ``],
|
|
32
|
+
[
|
|
33
|
+
/^q-splitter--horizontal.q-splitter--workable$/,
|
|
34
|
+
([, c], { theme }) => `[&_>_.q-splitter\\_\\_separator]:()`
|
|
35
|
+
],
|
|
36
|
+
[/^q-splitter__before$/, ([, c], { theme }) => `overflow-auto`],
|
|
37
|
+
[/^q-splitter__after$/, ([, c], { theme }) => `overflow-auto`]
|
|
38
|
+
];
|
|
39
|
+
export { shortcuts };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-stepper$/,
|
|
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] bg-[#fff]`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-stepper__title$/,
|
|
8
|
+
([, c], { theme }) => `text-[14px] leading-[1.285714] tracking-[0.1px]`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-stepper__caption$/,
|
|
12
|
+
([, c], { theme }) => `text-[12px] leading-[1.16667]`
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
/^q-stepper__dot$/,
|
|
16
|
+
([, c], { theme }) => `mr-[8px] text-[14px] w-[24px] min-w-[24px] h-[24px] rounded-[50%] bg-current [&_span]:(text-[#fff])`
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
/^q-stepper__tab$/,
|
|
20
|
+
([, c], { theme }) => `px-[24px] py-[8px] text-[14px] text-[#9e9e9e] flex-row`
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
/^q-stepper--dark$/,
|
|
24
|
+
([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] [&_.q-stepper\\_\\_dot_span]:(text-[#000]) [&_.q-stepper\\_\\_header--border]:(border-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled]:(text-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_dot]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_tab--disabled_.q-stepper\\_\\_label]:(text-[rgba(255,_255,_255,_0.54)])`
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
/^q-stepper__tab--navigation$/,
|
|
28
|
+
([, c], { theme }) => `select-none cursor-pointer`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
/^q-stepper__tab--active$/,
|
|
32
|
+
([, c], { theme }) => ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
/^q-stepper__tab--done$/,
|
|
36
|
+
([, c], { theme }) => ` [&_.q-stepper\\_\\_dot]:([text-shadow:0_0_0_currentColor]) [&_.q-stepper\\_\\_label]:([text-shadow:0_0_0_currentColor]) text-primary`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
/^q-stepper__tab--disabled$/,
|
|
40
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_dot]:(bg-[rgba(0,_0,_0,_0.22)]) [&_.q-stepper\\_\\_label]:(text-[rgba(0,_0,_0,_0.32)])`
|
|
41
|
+
],
|
|
42
|
+
[/^q-stepper__tab--error$/, ([, c], { theme }) => `text-negative`],
|
|
43
|
+
[
|
|
44
|
+
/^q-stepper__tab--error-with-icon$/,
|
|
45
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_dot]:(!bg-transparent) [&_.q-stepper\\_\\_dot_span]:(text-current text-[24px])`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q-stepper__header$/,
|
|
49
|
+
([, c], { theme }) => `[border-top-left-radius:inherit] [border-top-right-radius:inherit]`
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
/^q-stepper__header--border$/,
|
|
53
|
+
([, c], { theme }) => `[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-stepper__header--standard-labels$/,
|
|
57
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_tab]:(min-h-[72px] justify-center) [&_.q-stepper\\_\\_tab:first-child]:(justify-start) [&_.q-stepper\\_\\_tab:last-child]:(justify-end) [&_.q-stepper\\_\\_tab:only-child]:(justify-center) [&_.q-stepper\\_\\_dot:after]:(hidden)`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-stepper__header--alternative-labels$/,
|
|
61
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_tab]:(min-h-[104px] px-[32px] py-[24px] flex-col justify-start) [&_.q-stepper\\_\\_dot]:(mr-0) [&_.q-stepper\\_\\_label]:(mt-[8px] text-center) [&_.q-stepper\\_\\_label:before]:(hidden) [&_.q-stepper\\_\\_label:after]:(hidden)`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-stepper__header--contracted$/,
|
|
65
|
+
([, c], { theme }) => `min-h-[72px] [&_.q-stepper\\_\\_tab]:(px-[0] py-[24px]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot]:(translate-x-[24px]) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot]:(-translate-x-[24px]) [&_.q-stepper\\_\\_dot]:(m-0) [&_.q-stepper\\_\\_label]:(hidden)`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-stepper__header--contracted.q-stepper__header--alternative-labels$/,
|
|
69
|
+
([, c], { theme }) => `[&__.q-stepper\\_\\_tab]:(min-h-[72px]) [&__.q-stepper\\_\\_tab:first-child]:(items-start) [&__.q-stepper\\_\\_tab:last-child]:(items-end)`
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^q-stepper__header--contracted$/,
|
|
73
|
+
([, c], { theme }) => `[&__.q-stepper\\_\\_tab:not(:last-child)__.q-stepper\\_\\_dot:after]:(!block)`
|
|
74
|
+
],
|
|
75
|
+
[/^q-stepper__nav$/, ([, c], { theme }) => `pt-[24px]`],
|
|
76
|
+
[/^q-stepper--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
77
|
+
[
|
|
78
|
+
/^q-stepper--bordered$/,
|
|
79
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
80
|
+
],
|
|
81
|
+
[
|
|
82
|
+
/^q-stepper--horizontal$/,
|
|
83
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:() [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-empty left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-empty right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
/^q-stepper--vertical$/,
|
|
87
|
+
([, c], { theme }) => `px-[0] py-[16px] [&_.q-stepper\\_\\_tab]:(px-[24px] py-[12px]) [&_.q-stepper\\_\\_title]:(leading-[18px]) [&_.q-stepper\\_\\_step-inner]:(pt-[0] pr-[24px] pb-[32px] pl-[60px]) [&_>_.q-stepper\\_\\_nav]:(pt-[24px] px-[24px] pb-[0]) [&_.q-stepper\\_\\_step]:(overflow-hidden) [&_.q-stepper\\_\\_dot]:(mr-[12px]) [&_.q-stepper\\_\\_dot:before]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:after]:(content-empty absolute left-2/4 w-px h-[99999px] bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_dot:before]:(bottom-full mb-[8px]) [&_.q-stepper\\_\\_dot:after]:(top-full mt-[8px]) [&_.q-stepper\\_\\_step:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_step:last-child_.q-stepper\\_\\_step-inner]:(pb-[8px])`
|
|
88
|
+
],
|
|
89
|
+
[
|
|
90
|
+
/^q-stepper--dark.q-stepper--bordered$/,
|
|
91
|
+
([, c], { theme }) => `border-[rgba(255,_255,_255,_0.28)]`
|
|
92
|
+
],
|
|
93
|
+
[
|
|
94
|
+
/^q-stepper--dark.q-stepper--horizontal$/,
|
|
95
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_line:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_line:after]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
/^q-stepper--dark.q-stepper--vertical$/,
|
|
99
|
+
([, c], { theme }) => `[&_.q-stepper\\_\\_dot:before]:(bg-[rgba(255,_255,_255,_0.28)]) [&_.q-stepper\\_\\_dot:after]:(bg-[rgba(255,_255,_255,_0.28)])`
|
|
100
|
+
]
|
|
101
|
+
];
|
|
102
|
+
export { shortcuts };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no-hover):before {
|
|
5
|
+
content: "";
|
|
6
|
+
}`
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
const shortcuts = [
|
|
10
|
+
[/^q-markup-table$/, ([, c], { theme }) => `overflow-auto bg-[#fff]`],
|
|
11
|
+
[
|
|
12
|
+
/^q-table$/,
|
|
13
|
+
([, c], { theme }) => `w-full max-w-full border-separate [border-spacing:0] [&_thead_tr]:(h-[48px]) [&_tbody_td]:(h-[48px]) [&_th]:(font-medium text-[12px] select-none) [&_th.sortable]:(cursor-pointer) [&_th.sortable:hover_.q-table\\_\\_sort-icon]:(opacity-[0.64]) [&_th.sorted_.q-table\\_\\_sort-icon]:(!opacity-[0.86]) [&_th.sort-desc_.q-table\\_\\_sort-icon]:(rotate-180) [&_th]:(px-[16px] py-[7px] [background-color:inherit]) [&_td]:(px-[16px] py-[7px] [background-color:inherit]) [&_thead]:(border-solid border-0) [&_td]:(border-solid border-0) [&_th]:(border-solid border-0) [&_tbody_td]:(text-[13px]) [&_thead]:(border-[rgba(0,_0,_0,_0.12)]) [&_tr]:(border-[rgba(0,_0,_0,_0.12)]) [&_th]:(border-[rgba(0,_0,_0,_0.12)]) [&_td]:(border-[rgba(0,_0,_0,_0.12)]) [&_tbody_td]:(relative) [&_tbody_td:before]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:after]:(absolute top-0 left-0 right-0 bottom-0 pointer-events-none) [&_tbody_td:before]:(bg-[rgba(0,_0,_0,_0.03)]) [&_tbody_td:after]:(bg-[rgba(0,_0,_0,_0.06)]) [&_tbody_tr.selected_td:after]:(content-empty) [&_.q-virtual-scroll\\_\\_padding_tr]:(!h-[0]) [&_.q-virtual-scroll\\_\\_padding_td]:(!p-0)
|
|
14
|
+
[&_.q-virtual-scroll\\_\\_padding_tr]:(h-0!)
|
|
15
|
+
[&_.q-virtual-scroll\\_\\_padding_td]:(p-0!)`
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
/^q-table__card$/,
|
|
19
|
+
([, c], { theme }) => `text-[#000] bg-[#fff] rounded-[4px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] [&_.q-table\\_\\_middle]:(flex-auto) [&_.q-table\\_\\_top]:(flex-[0_0_auto]) [&_.q-table\\_\\_bottom]:(flex-[0_0_auto])`
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
/^q-table__container$/,
|
|
23
|
+
([, c], { theme }) => `relative [&_>_div:first-child]:([border-top-left-radius:inherit] [border-top-right-radius:inherit]) [&_>_div:last-child]:([border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-inner-loading]:([border-radius:inherit!important])`
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
/^q-table__top$/,
|
|
27
|
+
([, c], { theme }) => `px-[16px] py-[12px] [&_.q-table\\_\\_control]:(flex-wrap)`
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
/^q-table__title$/,
|
|
31
|
+
([, c], { theme }) => `text-[20px] tracking-[0.005em] font-normal`
|
|
32
|
+
],
|
|
33
|
+
[/^q-table__separator$/, ([, c], { theme }) => `!min-w-[8px]`],
|
|
34
|
+
[
|
|
35
|
+
/^q-table__progress$/,
|
|
36
|
+
([, c], { theme }) => `!h-[0] [&_th]:(!p-0 !border-0) [&_.q-linear-progress]:(absolute bottom-0)`
|
|
37
|
+
],
|
|
38
|
+
[/^q-table__middle$/, ([, c], { theme }) => `max-w-full`],
|
|
39
|
+
[
|
|
40
|
+
/^q-table__bottom$/,
|
|
41
|
+
([, c], { theme }) => `min-h-[50px] pl-[16px] pr-[14px] py-[4px] text-[12px] [&_.q-table\\_\\_control]:(min-h-[24px]) [border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
/^q-table__bottom-nodata-icon$/,
|
|
45
|
+
([, c], { theme }) => `text-[200%] mr-[8px]`
|
|
46
|
+
],
|
|
47
|
+
[/^q-table__bottom-item$/, ([, c], { theme }) => `mr-[16px]`],
|
|
48
|
+
[/^q-table__control$/, ([, c], { theme }) => `flex items-center`],
|
|
49
|
+
[
|
|
50
|
+
/^q-table__sort-icon$/,
|
|
51
|
+
([, c], { theme }) => `[transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)] opacity-0 text-[120%]`
|
|
52
|
+
],
|
|
53
|
+
[/^q-table__sort-icon--left$/, ([, c], { theme }) => `ml-[4px]`],
|
|
54
|
+
[/^q-table__sort-icon--center$/, ([, c], { theme }) => `ml-[4px]`],
|
|
55
|
+
[/^q-table__sort-icon--right$/, ([, c], { theme }) => `mr-[4px]`],
|
|
56
|
+
[/^q-table--col-auto-width$/, ([, c], { theme }) => `w-px`],
|
|
57
|
+
[
|
|
58
|
+
/^q-table__card--dark$/,
|
|
59
|
+
([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)]`
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
/^q-table--dark$/,
|
|
63
|
+
([, c], { theme }) => `[box-shadow:0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)] border-[rgba(255,_255,_255,_0.28)] [&_.q-table\\_\\_bottom]:(border-[rgba(255,_255,_255,_0.28)]) [&_thead]:(border-[rgba(255,_255,_255,_0.28)]) [&_tr]:(border-[rgba(255,_255,_255,_0.28)]) [&_th]:(border-[rgba(255,_255,_255,_0.28)]) [&_td]:(border-[rgba(255,_255,_255,_0.28)]) [&_tbody_td:before]:(bg-[rgba(255,_255,_255,_0.07)]) [&_tbody_td:after]:(bg-[rgba(255,_255,_255,_0.1)])`
|
|
64
|
+
],
|
|
65
|
+
[/^q-table--flat$/, ([, c], { theme }) => `[box-shadow:none]`],
|
|
66
|
+
[
|
|
67
|
+
/^q-table--bordered$/,
|
|
68
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
69
|
+
],
|
|
70
|
+
[/^q-table--square$/, ([, c], { theme }) => `rounded-none`],
|
|
71
|
+
[/^q-table__linear-progress$/, ([, c], { theme }) => `h-[2px]`],
|
|
72
|
+
[
|
|
73
|
+
/^q-table--no-wrap$/,
|
|
74
|
+
([, c], { theme }) => `[&_th]:(whitespace-nowrap) [&_td]:(whitespace-nowrap)`
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
/^q-table--grid$/,
|
|
78
|
+
([, c], { theme }) => `[box-shadow:none] rounded-[4px] [&_.q-table\\_\\_top]:(pb-[4px]) [&_.q-table\\_\\_middle]:(min-h-[2px] mb-[4px]) [&_.q-table\\_\\_middle_thead]:(!border-0) [&_.q-table\\_\\_middle_thead_th]:(!border-0) [&_.q-table\\_\\_linear-progress]:(bottom-0) [&_.q-table\\_\\_bottom]:([border-top:0]) [&_.q-table\\_\\_grid-content]:(flex-auto)`
|
|
79
|
+
],
|
|
80
|
+
[/^q-table--grid.fullscreen$/, ([, c], { theme }) => `[background:inherit]`],
|
|
81
|
+
[
|
|
82
|
+
/^q-table__grid-item-card$/,
|
|
83
|
+
([, c], { theme }) => `align-top p-[12px] [&_.q-separator]:(mx-[0] my-[12px])`
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
/^q-table__grid-item-row$/,
|
|
87
|
+
([, c], { theme }) => `[&_+_.q-table\\_\\_grid-item-row]:(mt-[8px])`
|
|
88
|
+
],
|
|
89
|
+
[
|
|
90
|
+
/^q-table__grid-item-title$/,
|
|
91
|
+
([, c], { theme }) => `opacity-[0.54] font-medium text-[12px]`
|
|
92
|
+
],
|
|
93
|
+
[/^q-table__grid-item-value$/, ([, c], { theme }) => `text-[13px]`],
|
|
94
|
+
[
|
|
95
|
+
/^q-table__grid-item$/,
|
|
96
|
+
([, c], { theme }) => `p-[4px] [transition:transform_0.3s_cubic-bezier(0.25,_0.8,_0.5,_1)]`
|
|
97
|
+
],
|
|
98
|
+
[/^q-table__grid-item--selected$/, ([, c], { theme }) => `scale-[0.95]`],
|
|
99
|
+
[
|
|
100
|
+
/^q-table--horizontal-separator$/,
|
|
101
|
+
([, c], { theme }) => `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b)`
|
|
102
|
+
],
|
|
103
|
+
[
|
|
104
|
+
/^q-table--cell-separator$/,
|
|
105
|
+
([, c], { theme }) => `[&_thead_th]:(border-b) [&_tbody_tr:not(:last-child)_>_td]:(border-b) [&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
/^q-table--vertical-separator$/,
|
|
109
|
+
([, c], { theme }) => `[&_td]:(border-l) [&_th]:(border-l) [&_thead_tr:last-child_th]:(border-b) [&_td:first-child]:([border-left:0]) [&_th:first-child]:([border-left:0]) [&_.q-table\\_\\_top]:([border-bottom:1px_solid_rgba(0,_0,_0,_0.12)])`
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
/^q-table--vertical-separator.q-table--loading$/,
|
|
113
|
+
([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
/^q-table--cell-separator.q-table--loading$/,
|
|
117
|
+
([, c], { theme }) => `[&_tr:nth-last-child(2)_th]:(border-b)`
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
/^q-table--dense$/,
|
|
121
|
+
([, c], { theme }) => `[&_.q-table\\_\\_top]:(px-[16px] py-[6px]) [&_.q-table\\_\\_bottom]:(min-h-[33px]) [&_.q-table\\_\\_sort-icon]:(text-[110%]) [&_.q-table_th]:(px-[8px] py-[4px]) [&_.q-table_td]:(px-[8px] py-[4px]) [&_.q-table_thead_tr]:(h-[28px]) [&_.q-table_tbody_tr]:(h-[28px]) [&_.q-table_tbody_td]:(h-[28px]) [&_.q-table_th:first-child]:(pl-[16px]) [&_.q-table_td:first-child]:(pl-[16px]) [&_.q-table_th:last-child]:(pr-[16px]) [&_.q-table_td:last-child]:(pr-[16px]) [&_.q-table\\_\\_bottom-item]:(mr-[8px]) [&_.q-table\\_\\_select_.q-field\\_\\_control]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_native]:(min-h-[24px] p-0) [&_.q-table\\_\\_select_.q-field\\_\\_marginal]:(h-[24px])`
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
/^q-table--dark.q-table--vertical-separator$/,
|
|
125
|
+
([, c], { theme }) => `[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
/^q-table--dark.q-table--cell-separator$/,
|
|
129
|
+
([, c], { theme }) => `[&_.q-table\\_\\_top]:(border-[rgba(255,_255,_255,_0.28)])`
|
|
130
|
+
]
|
|
131
|
+
];
|
|
132
|
+
export { preflights, shortcuts };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-tab$/,
|
|
4
|
+
([, c], { theme }) => `px-[16px] py-[0] min-h-[48px] [transition:color_0.3s,_background-color_0.3s] uppercase whitespace-nowrap [color:inherit] no-underline [&_.q-badge]:(top-[3px] -right-[12px])`
|
|
5
|
+
],
|
|
6
|
+
[/^q-tab--full$/, ([, c], { theme }) => `min-h-[72px]`],
|
|
7
|
+
[/^q-tab--no-caps$/, ([, c], { theme }) => `normal-case`],
|
|
8
|
+
[
|
|
9
|
+
/^q-tab__content$/,
|
|
10
|
+
([, c], { theme }) => `[height:inherit] px-[0] py-[4px] min-w-[40px] [&_.q-chip--floating]:(top-0 -right-[16px])`
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
/^q-tab__content--inline$/,
|
|
14
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_icon_+_.q-tab\\_\\_label]:(pl-[8px])`
|
|
15
|
+
],
|
|
16
|
+
[/^q-tab__icon$/, ([, c], { theme }) => `w-[24px] h-[24px] text-[24px]`],
|
|
17
|
+
[
|
|
18
|
+
/^q-tab__label$/,
|
|
19
|
+
([, c], { theme }) => `text-[14px] leading-[1.715em] font-medium`
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
/^q-tab__alert$/,
|
|
23
|
+
([, c], { theme }) => `absolute top-[7px] -right-[9px] h-[10px] w-[10px] rounded-[50%] bg-current`
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
/^q-tab__alert-icon$/,
|
|
27
|
+
([, c], { theme }) => `absolute top-[2px] -right-[12px] text-[18px]`
|
|
28
|
+
],
|
|
29
|
+
[/^q-tab__indicator$/, ([, c], { theme }) => `opacity-0 h-[2px] bg-current`],
|
|
30
|
+
[
|
|
31
|
+
/^q-tab--active$/,
|
|
32
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_indicator]:(opacity-100 origin-left)`
|
|
33
|
+
],
|
|
34
|
+
[/^q-tab--inactive$/, ([, c], { theme }) => `opacity-[0.85]`],
|
|
35
|
+
[
|
|
36
|
+
/^q-tabs$/,
|
|
37
|
+
([, c], { theme }) => `relative [transition:color_0.3s,_background-color_0.3s]`
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--horizontal$/,
|
|
41
|
+
([, c], { theme }) => `pl-[36px] pr-[36px]`
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside.q-tabs--vertical$/,
|
|
45
|
+
([, c], { theme }) => `pt-[36px] pb-[36px]`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q-tabs--scrollable.q-tabs__arrows--outside$/,
|
|
49
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_arrow--faded]:(opacity-30 pointer-events-none)`
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
/^q-tabs--scrollable.q-tabs__arrows--inside$/,
|
|
53
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_arrow--faded]:(hidden)`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-tabs--not-scrollable.q-tabs__arrows--outside$/,
|
|
57
|
+
([, c], { theme }) => `pl-0 pr-0`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-tabs--not-scrollable$/,
|
|
61
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_arrow]:(hidden) [&_.q-tabs\\_\\_content]:([border-radius:inherit])`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-tabs__arrow$/,
|
|
65
|
+
([, c], { theme }) => `cursor-pointer text-[32px] min-w-[36px] [text-shadow:0_0_3px_#fff,_0_0_1px_#fff,_0_0_1px_#000] [transition:opacity_0.3s]`
|
|
66
|
+
],
|
|
67
|
+
[/^q-tabs__content$/, ([, c], { theme }) => `overflow-hidden flex-auto`],
|
|
68
|
+
[/^q-tabs__content--align-center$/, ([, c], { theme }) => `justify-center`],
|
|
69
|
+
[/^q-tabs__content--align-right$/, ([, c], { theme }) => `justify-end`],
|
|
70
|
+
[
|
|
71
|
+
/^q-tabs__content--align-justify$/,
|
|
72
|
+
([, c], { theme }) => `[&_.q-tab]:(flex-auto)`
|
|
73
|
+
],
|
|
74
|
+
[/^q-tabs__offset$/, ([, c], { theme }) => `hidden`],
|
|
75
|
+
[
|
|
76
|
+
/^q-tabs--horizontal$/,
|
|
77
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_arrow]:(h-full) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 bottom-0) [&_.q-tabs\\_\\_arrow--right]:(top-0 right-0 bottom-0)`
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
/^q-tabs--vertical$/,
|
|
81
|
+
([, c], { theme }) => `!block h-full [&_.q-tabs\\_\\_content]:(!block h-full) [&_.q-tabs\\_\\_arrow]:(w-full h-[36px] text-center) [&_.q-tabs\\_\\_arrow--left]:(top-0 left-0 right-0) [&_.q-tabs\\_\\_arrow--right]:(left-0 right-0 bottom-0) [&_.q-tab]:(px-[8px] py-[0]) [&_.q-tab\\_\\_indicator]:(h-[unset] w-[2px])`
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
/^q-tabs--vertical.q-tabs--not-scrollable$/,
|
|
85
|
+
([, c], { theme }) => `[&_.q-tabs\\_\\_content]:(h-full)`
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
/^q-tabs--vertical.q-tabs--dense$/,
|
|
89
|
+
([, c], { theme }) => `[&_.q-tab\\_\\_content]:(min-w-[24px])`
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
/^q-tabs--dense$/,
|
|
93
|
+
([, c], { theme }) => `[&_.q-tab]:(min-h-[36px]) [&_.q-tab--full]:(min-h-[52px])`
|
|
94
|
+
]
|
|
95
|
+
];
|
|
96
|
+
export { shortcuts };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-time$/,
|
|
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] bg-[#fff] outline-0 w-[290px] min-w-[290px] max-w-full`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-time--bordered$/,
|
|
8
|
+
([, c], { theme }) => `border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
/^q-time__header$/,
|
|
12
|
+
([, c], { theme }) => `[border-top-left-radius:inherit] text-[#fff] p-[16px] font-light bg-primary`
|
|
13
|
+
],
|
|
14
|
+
[/^q-time__actions$/, ([, c], { theme }) => `pt-[0] px-[16px] pb-[16px]`],
|
|
15
|
+
[
|
|
16
|
+
/^q-time__header-label$/,
|
|
17
|
+
([, c], { theme }) => `text-[28px] leading-none tracking-[-0.00833em] [&_>_div_+_div]:(ml-[4px])`
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
/^q-time__link$/,
|
|
21
|
+
([, c], { theme }) => `opacity-[0.56] outline-0 [transition:opacity_0.3s_ease-out]`
|
|
22
|
+
],
|
|
23
|
+
[/^q-time__link--active$/, ([, c], { theme }) => `opacity-100`],
|
|
24
|
+
[/^q-time__link:hover$/, ([, c], { theme }) => `hover:opacity-100`],
|
|
25
|
+
[/^q-time__link:focus$/, ([, c], { theme }) => `focus:opacity-100`],
|
|
26
|
+
[
|
|
27
|
+
/^q-time__header-ampm$/,
|
|
28
|
+
([, c], { theme }) => `text-[16px] tracking-widest`
|
|
29
|
+
],
|
|
30
|
+
[/^q-time__content$/, ([, c], { theme }) => `p-[16px]`],
|
|
31
|
+
[
|
|
32
|
+
/^q-time__content:before$/,
|
|
33
|
+
([, c], { theme }) => `content-empty block pb-[100%]`
|
|
34
|
+
],
|
|
35
|
+
[/^q-time__container-parent$/, ([, c], { theme }) => `p-[16px]`],
|
|
36
|
+
[
|
|
37
|
+
/^q-time__container-child$/,
|
|
38
|
+
([, c], { theme }) => `rounded-[50%] bg-[rgba(0,_0,_0,_0.12)]`
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
/^q-time__clock$/,
|
|
42
|
+
([, c], { theme }) => `p-[24px] w-full h-full max-w-full max-h-full text-[14px]`
|
|
43
|
+
],
|
|
44
|
+
[/^q-time__clock-circle$/, ([, c], { theme }) => `relative`],
|
|
45
|
+
[
|
|
46
|
+
/^q-time__clock-center$/,
|
|
47
|
+
([, c], { theme }) => `h-[6px] w-[6px] m-auto rounded-[50%] min-h-[0] bg-current`
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
/^q-time__clock-pointer$/,
|
|
51
|
+
([, c], { theme }) => `w-[2px] h-1/2 origin-[0_0] min-h-[0] absolute left-2/4 right-0 bottom-0 bg-current -translate-x-1/2 text-primary`
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
/^q-time__clock-pointer:before$/,
|
|
55
|
+
([, c], { theme }) => `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -bottom-[4px] w-[8px] h-[8px]`
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
/^q-time__clock-pointer:after$/,
|
|
59
|
+
([, c], { theme }) => `content-empty absolute left-2/4 rounded-[50%] bg-current -translate-x-1/2 -top-[3px] h-[6px] w-[6px]`
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
/^q-time__clock-position$/,
|
|
63
|
+
([, c], { theme }) => `absolute min-h-[32px] w-[32px] h-[32px] text-[12px] leading-[32px] m-0 p-0 -translate-x-1/2 -translate-y-1/2 rounded-[50%]`
|
|
64
|
+
],
|
|
65
|
+
[/^q-time__clock-position--disable$/, ([, c], { theme }) => `opacity-40`],
|
|
66
|
+
[
|
|
67
|
+
/^q-time__clock-position--active$/,
|
|
68
|
+
([, c], { theme }) => `text-[#fff] bg-primary`
|
|
69
|
+
],
|
|
70
|
+
[/^q-time__clock-pos-0$/, ([, c], { theme }) => `top-[0%] left-2/4`],
|
|
71
|
+
[/^q-time__clock-pos-1$/, ([, c], { theme }) => `top-[6.7%] left-3/4`],
|
|
72
|
+
[/^q-time__clock-pos-2$/, ([, c], { theme }) => `top-1/4 left-[93.3%]`],
|
|
73
|
+
[/^q-time__clock-pos-3$/, ([, c], { theme }) => `top-2/4 left-full`],
|
|
74
|
+
[/^q-time__clock-pos-4$/, ([, c], { theme }) => `top-3/4 left-[93.3%]`],
|
|
75
|
+
[/^q-time__clock-pos-5$/, ([, c], { theme }) => `top-[93.3%] left-3/4`],
|
|
76
|
+
[/^q-time__clock-pos-6$/, ([, c], { theme }) => `top-full left-2/4`],
|
|
77
|
+
[/^q-time__clock-pos-7$/, ([, c], { theme }) => `top-[93.3%] left-1/4`],
|
|
78
|
+
[/^q-time__clock-pos-8$/, ([, c], { theme }) => `top-3/4 left-[6.7%]`],
|
|
79
|
+
[/^q-time__clock-pos-9$/, ([, c], { theme }) => `top-2/4 left-[0%]`],
|
|
80
|
+
[/^q-time__clock-pos-10$/, ([, c], { theme }) => `top-1/4 left-[6.7%]`],
|
|
81
|
+
[/^q-time__clock-pos-11$/, ([, c], { theme }) => `top-[6.7%] left-1/4`],
|
|
82
|
+
[/^q-time__clock-pos-12$/, ([, c], { theme }) => `top-[15%] left-2/4`],
|
|
83
|
+
[/^q-time__clock-pos-13$/, ([, c], { theme }) => `top-[19.69%] left-[67.5%]`],
|
|
84
|
+
[/^q-time__clock-pos-14$/, ([, c], { theme }) => `top-[32.5%] left-[80.31%]`],
|
|
85
|
+
[/^q-time__clock-pos-15$/, ([, c], { theme }) => `top-2/4 left-[85%]`],
|
|
86
|
+
[/^q-time__clock-pos-16$/, ([, c], { theme }) => `top-[67.5%] left-[80.31%]`],
|
|
87
|
+
[/^q-time__clock-pos-17$/, ([, c], { theme }) => `top-[80.31%] left-[67.5%]`],
|
|
88
|
+
[/^q-time__clock-pos-18$/, ([, c], { theme }) => `top-[85%] left-2/4`],
|
|
89
|
+
[/^q-time__clock-pos-19$/, ([, c], { theme }) => `top-[80.31%] left-[32.5%]`],
|
|
90
|
+
[/^q-time__clock-pos-20$/, ([, c], { theme }) => `top-[67.5%] left-[19.69%]`],
|
|
91
|
+
[/^q-time__clock-pos-21$/, ([, c], { theme }) => `top-2/4 left-[15%]`],
|
|
92
|
+
[/^q-time__clock-pos-22$/, ([, c], { theme }) => `top-[32.5%] left-[19.69%]`],
|
|
93
|
+
[/^q-time__clock-pos-23$/, ([, c], { theme }) => `top-[19.69%] left-[32.5%]`],
|
|
94
|
+
[
|
|
95
|
+
/^q-time__now-button$/,
|
|
96
|
+
([, c], { theme }) => `text-[#fff] top-[12px] right-[12px] bg-primary`
|
|
97
|
+
],
|
|
98
|
+
[
|
|
99
|
+
/^q-time.disabled$/,
|
|
100
|
+
([, c], { theme }) => `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
/^q-time--readonly$/,
|
|
104
|
+
([, c], { theme }) => `[&_.q-time\\_\\_header-ampm]:(pointer-events-none) [&_.q-time\\_\\_content]:(pointer-events-none)`
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
/^q-time--portrait$/,
|
|
108
|
+
([, c], { theme }) => `inline-flex flex-col [&_.q-time\\_\\_header]:([border-top-right-radius:inherit] min-h-[86px]) [&_.q-time\\_\\_header-ampm]:(ml-[12px])`
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
/^q-time--portrait.q-time--bordered$/,
|
|
112
|
+
([, c], { theme }) => `[&_.q-time\\_\\_content]:(mx-[0] my-px)`
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
/^q-time--landscape$/,
|
|
116
|
+
([, c], { theme }) => `inline-flex items-stretch min-w-[420px] [&_>_div]:(flex flex-col justify-center) [&_.q-time\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[156px]) [&_.q-time\\_\\_header-ampm]:(mt-[12px])`
|
|
117
|
+
],
|
|
118
|
+
[
|
|
119
|
+
/^q-time--dark$/,
|
|
120
|
+
([, 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)]`
|
|
121
|
+
]
|
|
122
|
+
];
|
|
123
|
+
export { shortcuts };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const shortcuts = [
|
|
2
|
+
[
|
|
3
|
+
/^q-timeline$/,
|
|
4
|
+
([, c], { theme }) => `p-0 w-full [list-style:none] [&_h6]:([line-height:inherit])`
|
|
5
|
+
],
|
|
6
|
+
[
|
|
7
|
+
/^q-timeline--dark$/,
|
|
8
|
+
([, c], { theme }) => `text-[#fff] [&_.q-timeline\\_\\_subtitle]:(opacity-70)`
|
|
9
|
+
],
|
|
10
|
+
[/^q-timeline__content$/, ([, c], { theme }) => `pb-[24px]`],
|
|
11
|
+
[/^q-timeline__title$/, ([, c], { theme }) => `mt-0 mb-[16px]`],
|
|
12
|
+
[
|
|
13
|
+
/^q-timeline__subtitle$/,
|
|
14
|
+
([, c], { theme }) => `text-[12px] mb-[8px] opacity-60 uppercase tracking-[1px] font-bold`
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
/^q-timeline__dot$/,
|
|
18
|
+
([, c], { theme }) => `absolute top-0 bottom-0 w-[15px] [&_.q-icon]:(absolute top-0 left-0 right-0 text-[16px] h-[38px] leading-[38px] w-full text-[#fff]) [&_.q-icon_>_svg]:(w-[1em] h-[1em]) [&_.q-icon_>_img]:(w-[1em] h-[1em])`
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
/^q-timeline__dot:before$/,
|
|
22
|
+
([, c], { theme }) => `content-empty bg-current block absolute border-[3px] border-solid border-[transparent] rounded-[100%] h-[15px] w-[15px] top-[4px] left-0 [transition:background_0.3s_ease-in-out,_border_0.3s_ease-in-out]`
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^q-timeline__dot:after$/,
|
|
26
|
+
([, c], { theme }) => `content-empty bg-current block absolute w-[3px] opacity-40 top-[24px] bottom-0 left-[6px]`
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/^q-timeline__dot-img$/,
|
|
30
|
+
([, c], { theme }) => `absolute top-[4px] left-0 right-0 h-[31px] w-[31px] bg-current rounded-[50%]`
|
|
31
|
+
],
|
|
32
|
+
[/^q-timeline__heading$/, ([, c], { theme }) => `relative`],
|
|
33
|
+
[
|
|
34
|
+
/^q-timeline__heading:first-child$/,
|
|
35
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pt-0)`
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
/^q-timeline__heading:last-child$/,
|
|
39
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(pb-0)`
|
|
40
|
+
],
|
|
41
|
+
[/^q-timeline__heading-title$/, ([, c], { theme }) => `px-[0] py-[32px] m-0`],
|
|
42
|
+
[/^q-timeline__entry$/, ([, c], { theme }) => `relative leading-[22px]`],
|
|
43
|
+
[
|
|
44
|
+
/^q-timeline__entry:last-child$/,
|
|
45
|
+
([, c], { theme }) => `!pb-0 [&_.q-timeline\\_\\_dot:after]:(content-[none])`
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
/^q-timeline__entry--icon$/,
|
|
49
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_dot]:(w-[31px]) [&_.q-timeline\\_\\_dot:before]:(h-[31px] w-[31px]) [&_.q-timeline\\_\\_dot:after]:(top-[41px] left-[14px]) [&_.q-timeline\\_\\_subtitle]:(pt-[8px])`
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
/^q-timeline--dense--right$/,
|
|
53
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_entry]:(pl-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px]) [&_.q-timeline\\_\\_dot]:(left-0)`
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
/^q-timeline--dense--left$/,
|
|
57
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_entry]:(pr-[40px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-right-[8px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_subtitle]:(text-right) [&_.q-timeline\\_\\_dot]:(right-0)`
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^q-timeline--comfortable$/,
|
|
61
|
+
([, c], { theme }) => `table [&_.q-timeline\\_\\_heading]:(table-row text-[200%]) [&_.q-timeline\\_\\_heading_>_div]:(table-cell) [&_.q-timeline\\_\\_entry]:(table-row p-0) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_subtitle]:(table-cell align-top) [&_.q-timeline\\_\\_dot]:(table-cell align-top) [&_.q-timeline\\_\\_content]:(table-cell align-top) [&_.q-timeline\\_\\_subtitle]:(w-[35%]) [&_.q-timeline\\_\\_dot]:(relative min-w-[31px])`
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
/^q-timeline--comfortable--right$/,
|
|
65
|
+
([, c], { theme }) => `[&__.q-timeline\\_\\_heading__.q-timeline\\_\\_heading-title]:(-ml-[50px])`
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
/^q-timeline--comfortable--right$/,
|
|
69
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_subtitle]:(text-right pr-[30px]) [&_.q-timeline\\_\\_content]:(pl-[30px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-left-[8px])`
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^q-timeline--comfortable--left$/,
|
|
73
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_heading]:(text-right) [&_.q-timeline\\_\\_heading_.q-timeline\\_\\_heading-title]:(-mr-[50px]) [&_.q-timeline\\_\\_subtitle]:(pl-[30px]) [&_.q-timeline\\_\\_content]:(pr-[30px]) [&_.q-timeline\\_\\_content]:(text-right) [&_.q-timeline\\_\\_title]:(text-right) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(right-0) [&_.q-timeline\\_\\_dot]:(-right-[8px])`
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
/^q-timeline--loose$/,
|
|
77
|
+
([, c], { theme }) => `[&_.q-timeline\\_\\_heading-title]:(text-center ml-0) [&_.q-timeline\\_\\_entry]:(block m-0 p-0) [&_.q-timeline\\_\\_subtitle]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(block m-0 p-0) [&_.q-timeline\\_\\_content]:(block m-0 p-0) [&_.q-timeline\\_\\_dot]:(absolute left-2/4 -ml-[7.15px]) [&_.q-timeline\\_\\_entry]:(pb-[24px] overflow-hidden) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_dot]:(-ml-[15px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_subtitle]:(leading-[38px]) [&_.q-timeline\\_\\_entry--icon_.q-timeline\\_\\_content]:(pt-[8px]) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_content]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_subtitle]:(float-left pr-[30px] text-right) [&_.q-timeline\\_\\_entry--left_.q-timeline\\_\\_subtitle]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_entry--right_.q-timeline\\_\\_content]:(float-right text-left pl-[30px]) [&_.q-timeline\\_\\_subtitle]:(w-1/2) [&_.q-timeline\\_\\_content]:(w-1/2)`
|
|
78
|
+
]
|
|
79
|
+
];
|
|
80
|
+
export { shortcuts };
|