vitrify 0.17.5 → 0.17.6
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/plugins/quasar/unocss/components/QAjaxBar.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +26 -13
- package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +38 -19
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +25 -47
- package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +46 -102
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +24 -12
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +28 -25
- package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +46 -23
- package/dist/plugins/quasar/unocss/components/QField.unocss.js +60 -30
- package/dist/plugins/quasar/unocss/components/QFile.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +12 -6
- package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QInput.unocss.js +4 -18
- package/dist/plugins/quasar/unocss/components/QItem.unocss.js +32 -16
- package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +5 -6
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +23 -12
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +29 -15
- package/dist/plugins/quasar/unocss/components/QRating.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +9 -5
- package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +67 -42
- package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +70 -35
- package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +18 -16
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +54 -38
- package/dist/plugins/quasar/unocss/components/QTable.unocss.js +101 -55
- package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +67 -44
- package/dist/plugins/quasar/unocss/components/QTime.unocss.js +167 -65
- package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +41 -30
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +23 -18
- package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTree.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +37 -25
- package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +59 -56
- package/dist/plugins/quasar/unocss/index.js +2 -2
- package/dist/plugins/quasar/unocss/theme.js +300 -426
- package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
- package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
- package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
- package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
- package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
- package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
- package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
- package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
- package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
- package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
- package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
- package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
- package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
- package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
- package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
- package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
- package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
- package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
- package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
- package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
- package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
- package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
- package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
- package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
- package/src/node/plugins/quasar/unocss/index.ts +2 -2
- package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
|
-
[/^q-drawer$/, ([, c], { theme }) => `absolute top-0 bottom-0 bg-[#fff]`],
|
|
3
|
-
[/^q-drawer--on-top$/, ([, c], { theme }) => `z-3000`],
|
|
4
2
|
[
|
|
5
|
-
/^q-drawer
|
|
6
|
-
([, c], { theme }) =>
|
|
7
|
-
|
|
8
|
-
[
|
|
9
|
-
/^q-drawer--left.q-drawer--bordered$/,
|
|
10
|
-
([, c], { theme }) => `[border-right:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
3
|
+
/^q-drawer$/,
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer'] ??
|
|
5
|
+
`absolute top-[0] bottom-[0] bg-[#fff]`
|
|
11
6
|
],
|
|
12
7
|
[
|
|
13
|
-
/^q-drawer--
|
|
14
|
-
([, c], { theme }) =>
|
|
8
|
+
/^q-drawer--on-top$/,
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--on-top'] ?? ``
|
|
15
10
|
],
|
|
16
11
|
[
|
|
17
|
-
/^q-drawer--
|
|
18
|
-
([, c], { theme }) =>
|
|
12
|
+
/^q-drawer--left$/,
|
|
13
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--left'] ??
|
|
14
|
+
`left-[0] -translate-x-full [&.q-drawer--bordered]:([border-right:1px_solid_rgba(0,_0,_0,_0.12)]) [&_.q-layout\\_\\_shadow]:(left-[10px] -right-[10px]) [&_.q-layout\\_\\_shadow:after]:(right-[10px])`
|
|
19
15
|
],
|
|
20
16
|
[
|
|
21
|
-
/^q-drawer
|
|
22
|
-
([, c], { theme }) =>
|
|
17
|
+
/^q-drawer--right$/,
|
|
18
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--right'] ??
|
|
19
|
+
`right-[0] translate-x-full [&.q-drawer--bordered]:([border-left:1px_solid_rgba(0,_0,_0,_0.12)]) [&_.q-layout\\_\\_shadow]:(-left-[10px]) [&_.q-layout\\_\\_shadow:after]:(left-[10px])`
|
|
23
20
|
],
|
|
24
21
|
[
|
|
25
|
-
/^q-drawer-container
|
|
26
|
-
([, c], { theme }) =>
|
|
27
|
-
|
|
28
|
-
__.q-item\\_\\_section--main]:(hidden) [&__.q-drawer--mini
|
|
29
|
-
__.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
|
|
22
|
+
/^q-drawer-container$/,
|
|
23
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer-container'] ??
|
|
24
|
+
`[&:not(.q-drawer--mini-animate)_.q-drawer--mini]:(!p-0) [&:not(.q-drawer--mini-animate)_.q-drawer--mini_.q-item]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section]:(text-center justify-center pl-0 pr-0 min-w-[0]) [&:not(.q-drawer--mini-animate)_.q-drawer--mini_.q-item\\_\\_label]:(hidden) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section--main]:(hidden) [&:not(.q-drawer--mini-animate)__.q-drawer--mini__.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
|
|
30
25
|
],
|
|
31
26
|
[
|
|
32
27
|
/^q-drawer--mini$/,
|
|
33
|
-
([, c], { theme }) =>
|
|
28
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--mini'] ??
|
|
29
|
+
`[&_.q-mini-drawer-hide]:(hidden) [&_.q-expansion-item\\_\\_content]:(hidden)`
|
|
34
30
|
],
|
|
35
31
|
[
|
|
36
32
|
/^q-drawer--mini-animate$/,
|
|
37
|
-
([, c], { theme }) =>
|
|
33
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--mini-animate'] ??
|
|
34
|
+
`[&_.q-drawer\\_\\_content]:(!overflow-x-hidden whitespace-nowrap)`
|
|
38
35
|
],
|
|
39
36
|
[
|
|
40
37
|
/^q-drawer--standard$/,
|
|
41
|
-
([, c], { theme }) =>
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--standard'] ??
|
|
39
|
+
`[&_.q-mini-drawer-only]:(hidden)`
|
|
42
40
|
],
|
|
43
41
|
[
|
|
44
42
|
/^q-drawer--mobile$/,
|
|
45
|
-
([, c], { theme }) =>
|
|
43
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--mobile'] ??
|
|
44
|
+
`[&_.q-mini-drawer-only]:(hidden) [&_.q-mini-drawer-hide]:(hidden)`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
/^q-drawer__backdrop$/,
|
|
48
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer__backdrop'] ?? ``
|
|
46
49
|
],
|
|
47
|
-
[/^q-drawer__backdrop$/, ([, c], { theme }) => `z-2999!`],
|
|
48
50
|
[
|
|
49
51
|
/^q-drawer__opener$/,
|
|
50
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer__opener'] ??
|
|
53
|
+
`h-full w-[15px] select-none`
|
|
51
54
|
]
|
|
52
55
|
];
|
|
53
56
|
export { shortcuts };
|
|
@@ -9,7 +9,8 @@ const shortcuts = [
|
|
|
9
9
|
[/^q-editor.disabled$/, ([, c], { theme }) => `border-dashed`],
|
|
10
10
|
[
|
|
11
11
|
/^q-editor__toolbars-container$/,
|
|
12
|
-
([, c], { theme }) =>
|
|
12
|
+
([, c], { theme }) => theme.quasar?.components?.['q-editor__toolbars-container'] ??
|
|
13
|
+
`rounded-tl-[inherit] rounded-tr-[inherit]
|
|
13
14
|
[&>div:first-child]:(rounded-tl-[inherit] rounded-tr-[inherit])`
|
|
14
15
|
],
|
|
15
16
|
[
|
|
@@ -28,12 +29,14 @@ const shortcuts = [
|
|
|
28
29
|
],
|
|
29
30
|
[
|
|
30
31
|
/^q-editor__toolbars-container$/,
|
|
31
|
-
([, c], { theme }) =>
|
|
32
|
+
([, c], { theme }) => theme.quasar?.components?.['q-editor__toolbars-container'] ??
|
|
33
|
+
`max-w-full
|
|
32
34
|
`
|
|
33
35
|
],
|
|
34
36
|
[
|
|
35
37
|
/^q-editor__toolbar-group$/,
|
|
36
|
-
([, c], { theme }) =>
|
|
38
|
+
([, c], { theme }) => theme.quasar?.components?.['q-editor__toolbar-group'] ??
|
|
39
|
+
`relative mx-4px my-0
|
|
37
40
|
[&+.q-editor\\_\\_toolbar-group:before]:(content-empty absolute left--4px top-4px bottom-4px w-1px bg-black bg-op-12)
|
|
38
41
|
`
|
|
39
42
|
],
|
|
@@ -44,7 +47,8 @@ const shortcuts = [
|
|
|
44
47
|
],
|
|
45
48
|
[
|
|
46
49
|
/^q-editor--flat$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
50
|
+
([, c], { theme }) => theme.quasar?.components?.['q-editor--flat'] ??
|
|
51
|
+
`border-0
|
|
48
52
|
[&_.q-editor\\_\\_toolbar]:(border-0)
|
|
49
53
|
`
|
|
50
54
|
],
|
|
@@ -55,7 +59,8 @@ const shortcuts = [
|
|
|
55
59
|
],
|
|
56
60
|
[
|
|
57
61
|
/^q-editor--dark$/,
|
|
58
|
-
([, c], { theme }) =>
|
|
62
|
+
([, c], { theme }) => theme.quasar?.components?.['q-editor--dark'] ??
|
|
63
|
+
`border-color-white border-op-28
|
|
59
64
|
[&_.q-editor\\_\\_content_hr]:(border-color-white border-op-28)
|
|
60
65
|
[&_.q-editor\\_\\_toolbar]:(border-color-white border-op-28)
|
|
61
66
|
[&_.q-editor\\_\\_toolbar-group+.q-editor\\_\\_toolbar-group:before]:(border-color-white border-op-28)
|
|
@@ -2,37 +2,45 @@ const shortcuts = [
|
|
|
2
2
|
[/^q-expansion-item__border$/, ([, c], { theme }) => `opacity-0`],
|
|
3
3
|
[
|
|
4
4
|
/^q-expansion-item__toggle-icon$/,
|
|
5
|
-
([, c], { theme }) =>
|
|
5
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item__toggle-icon'] ??
|
|
6
|
+
`relative [transition:transform_0.3s]`
|
|
6
7
|
],
|
|
7
8
|
[
|
|
8
9
|
/^q-expansion-item__toggle-icon--rotated$/,
|
|
9
|
-
([, c], { theme }) =>
|
|
10
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item__toggle-icon--rotated'] ??
|
|
11
|
+
`rotate-180`
|
|
10
12
|
],
|
|
11
13
|
[
|
|
12
14
|
/^q-expansion-item__toggle-focus$/,
|
|
13
|
-
([, c], { theme }) =>
|
|
15
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item__toggle-focus'] ??
|
|
16
|
+
`!w-[1em] !h-[1em] !relative [&_+_.q-expansion-item\\_\\_toggle-icon]:(-mt-[1em])`
|
|
14
17
|
],
|
|
15
18
|
[
|
|
16
19
|
/^q-expansion-item--popup$/,
|
|
17
|
-
([, c], { theme }) =>
|
|
20
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item--popup'] ??
|
|
21
|
+
`[transition:padding_0.5s] [&_>_.q-expansion-item\\_\\_container]:(border-[1px] border-solid border-[rgba(0,0,0,0.12)]) [&_>_.q-expansion-item\\_\\_container_>_.q-separator]:(hidden)`
|
|
18
22
|
],
|
|
19
23
|
[
|
|
20
24
|
/^q-expansion-item__content$/,
|
|
21
|
-
([, c], { theme }) =>
|
|
25
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item__content'] ??
|
|
26
|
+
`[&_>_.q-card]:([box-shadow:none] rounded-none)`
|
|
22
27
|
],
|
|
23
28
|
[
|
|
24
29
|
/^q-expansion-item$/,
|
|
25
|
-
([, c], { theme }) =>
|
|
30
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item'] ??
|
|
31
|
+
`[&:first-child_>_div_>_.q-expansion-item\\_\\_border--top]:(opacity-0) [&:last-child_>_div_>_.q-expansion-item\\_\\_border--bottom]:(opacity-0)`
|
|
26
32
|
],
|
|
27
33
|
[
|
|
28
34
|
/^q-expansion-item--expanded$/,
|
|
29
|
-
([, c], { theme }) =>
|
|
35
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item--expanded'] ??
|
|
36
|
+
`[&__+_.q-expansion-item--expanded
|
|
30
37
|
__>_div
|
|
31
38
|
__>_.q-expansion-item\\_\\_border--top]:(opacity-0)`
|
|
32
39
|
],
|
|
33
40
|
[
|
|
34
41
|
/^q-expansion-item--expanded$/,
|
|
35
|
-
([, c], { theme }) =>
|
|
42
|
+
([, c], { theme }) => theme.quasar?.components?.['q-expansion-item--expanded'] ??
|
|
43
|
+
`[&_.q-textarea--autogrow_textarea]:(animate-[q-expansion-done_0s])`
|
|
36
44
|
]
|
|
37
45
|
];
|
|
38
46
|
export { shortcuts };
|
|
@@ -2,99 +2,122 @@ const shortcuts = [
|
|
|
2
2
|
[/^z-fab$/, ([, c], { theme }) => ``],
|
|
3
3
|
[
|
|
4
4
|
/^q-fab$/,
|
|
5
|
-
([, c], { theme }) =>
|
|
5
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab'] ??
|
|
6
|
+
`relative align-middle [&_>_.q-btn]:(w-full)`
|
|
6
7
|
],
|
|
7
8
|
[/^q-fab--form-rounded$/, ([, c], { theme }) => `rounded-[28px]`],
|
|
8
9
|
[/^q-fab--form-square$/, ([, c], { theme }) => `rounded-[4px]`],
|
|
9
10
|
[
|
|
10
11
|
/^q-fab__icon$/,
|
|
11
|
-
([, c], { theme }) =>
|
|
12
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__icon'] ??
|
|
13
|
+
`[transition:opacity_0.4s,_transform_0.4s] opacity-100 rotate-0`
|
|
12
14
|
],
|
|
13
15
|
[
|
|
14
16
|
/^q-fab__active-icon$/,
|
|
15
|
-
([, c], { theme }) =>
|
|
17
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__active-icon'] ??
|
|
18
|
+
`[transition:opacity_0.4s,_transform_0.4s] opacity-0 -rotate-180`
|
|
16
19
|
],
|
|
17
20
|
[
|
|
18
21
|
/^q-fab__label--external$/,
|
|
19
|
-
([, c], { theme }) =>
|
|
22
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external'] ??
|
|
23
|
+
`absolute px-[8px] py-[0] [transition:opacity_0.18s_cubic-bezier(0.65,_0.815,_0.735,_0.395)]`
|
|
20
24
|
],
|
|
21
25
|
[
|
|
22
26
|
/^q-fab__label--external-hidden$/,
|
|
23
|
-
([, c], { theme }) =>
|
|
27
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external-hidden'] ??
|
|
28
|
+
`opacity-0 pointer-events-none`
|
|
24
29
|
],
|
|
25
30
|
[
|
|
26
31
|
/^q-fab__label--external-left$/,
|
|
27
|
-
([, c], { theme }) =>
|
|
32
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external-left'] ??
|
|
33
|
+
`top-2/4 -left-[12px] -translate-x-full -translate-y-1/2`
|
|
28
34
|
],
|
|
29
35
|
[
|
|
30
36
|
/^q-fab__label--external-right$/,
|
|
31
|
-
([, c], { theme }) =>
|
|
37
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external-right'] ??
|
|
38
|
+
`top-2/4 -right-[12px] translate-x-full -translate-y-1/2`
|
|
32
39
|
],
|
|
33
40
|
[
|
|
34
41
|
/^q-fab__label--external-bottom$/,
|
|
35
|
-
([, c], { theme }) =>
|
|
42
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external-bottom'] ??
|
|
43
|
+
`-bottom-[12px] left-2/4 -translate-x-1/2 translate-y-full`
|
|
36
44
|
],
|
|
37
45
|
[
|
|
38
46
|
/^q-fab__label--external-top$/,
|
|
39
|
-
([, c], { theme }) =>
|
|
47
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--external-top'] ??
|
|
48
|
+
`-top-[12px] left-2/4 -translate-x-1/2 -translate-y-full`
|
|
40
49
|
],
|
|
41
50
|
[
|
|
42
51
|
/^q-fab__label--internal$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--internal'] ??
|
|
53
|
+
`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
54
|
],
|
|
45
55
|
[
|
|
46
56
|
/^q-fab__label--internal-hidden$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--internal-hidden'] ??
|
|
58
|
+
`text-[0] opacity-0`
|
|
48
59
|
],
|
|
49
60
|
[/^q-fab__label--internal-top$/, ([, c], { theme }) => `pb-[0.12em]`],
|
|
50
61
|
[/^q-fab__label--internal-bottom$/, ([, c], { theme }) => `pt-[0.12em]`],
|
|
51
62
|
[
|
|
52
63
|
/^q-fab__label--internal-left$/,
|
|
53
|
-
([, c], { theme }) =>
|
|
64
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--internal-left'] ??
|
|
65
|
+
`pl-[0.285em] pr-[0.571em]`
|
|
54
66
|
],
|
|
55
67
|
[
|
|
56
68
|
/^q-fab__label--internal-right$/,
|
|
57
|
-
([, c], { theme }) =>
|
|
69
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__label--internal-right'] ??
|
|
70
|
+
`pr-[0.285em] pl-[0.571em]`
|
|
58
71
|
],
|
|
59
72
|
[
|
|
60
73
|
/^q-fab__icon-holder$/,
|
|
61
|
-
([, c], { theme }) =>
|
|
74
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__icon-holder'] ??
|
|
75
|
+
`min-w-[24px] min-h-[24px] relative`
|
|
62
76
|
],
|
|
63
77
|
[
|
|
64
78
|
/^q-fab__icon-holder--opened$/,
|
|
65
|
-
([, c], { theme }) =>
|
|
79
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__icon-holder--opened'] ??
|
|
80
|
+
`[&_.q-fab\\_\\_icon]:(rotate-180 opacity-0) [&_.q-fab\\_\\_active-icon]:(rotate-0 opacity-100)`
|
|
66
81
|
],
|
|
67
82
|
[
|
|
68
83
|
/^q-fab__actions$/,
|
|
69
|
-
([, c], { theme }) =>
|
|
84
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions'] ??
|
|
85
|
+
`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
86
|
],
|
|
71
87
|
[
|
|
72
88
|
/^q-fab__actions--right$/,
|
|
73
|
-
([, c], { theme }) =>
|
|
89
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions--right'] ??
|
|
90
|
+
`origin-[0_50%] scale-[0.4] -translate-x-[62px] h-[56px] left-full ml-[9px]`
|
|
74
91
|
],
|
|
75
92
|
[
|
|
76
93
|
/^q-fab__actions--left$/,
|
|
77
|
-
([, c], { theme }) =>
|
|
94
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions--left'] ??
|
|
95
|
+
`origin-[100%_50%] scale-[0.4] translate-x-[62px] h-[56px] right-full mr-[9px] flex-row-reverse`
|
|
78
96
|
],
|
|
79
97
|
[
|
|
80
98
|
/^q-fab__actions--up$/,
|
|
81
|
-
([, c], { theme }) =>
|
|
99
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions--up'] ??
|
|
100
|
+
`origin-[50%_100%] scale-[0.4] translate-y-[62px] w-[56px] bottom-full mb-[9px] flex-col-reverse left-2/4 -ml-[28px]`
|
|
82
101
|
],
|
|
83
102
|
[
|
|
84
103
|
/^q-fab__actions--down$/,
|
|
85
|
-
([, c], { theme }) =>
|
|
104
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions--down'] ??
|
|
105
|
+
`origin-[50%_0] scale-[0.4] -translate-y-[62px] w-[56px] top-full mt-[9px] flex-col left-2/4 -ml-[28px]`
|
|
86
106
|
],
|
|
87
107
|
[
|
|
88
108
|
/^q-fab__actions--opened$/,
|
|
89
|
-
([, c], { theme }) =>
|
|
109
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab__actions--opened'] ??
|
|
110
|
+
`opacity-100 scale-100 translate-x-[0.1px] translate-y-[0]`
|
|
90
111
|
],
|
|
91
112
|
[
|
|
92
113
|
/^q-fab--align-left$/,
|
|
93
|
-
([, c], { theme }) =>
|
|
114
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab--align-left'] ??
|
|
115
|
+
`[&_>_.q-fab\\_\\_actions--up]:(items-start left-[28px]) [&_>_.q-fab\\_\\_actions--down]:(items-start left-[28px])`
|
|
94
116
|
],
|
|
95
117
|
[
|
|
96
118
|
/^q-fab--align-right$/,
|
|
97
|
-
([, c], { theme }) =>
|
|
119
|
+
([, c], { theme }) => theme.quasar?.components?.['q-fab--align-right'] ??
|
|
120
|
+
`[&_>_.q-fab\\_\\_actions--up]:(items-end left-auto right-0) [&_>_.q-fab\\_\\_actions--down]:(items-end left-auto right-0)`
|
|
98
121
|
]
|
|
99
122
|
];
|
|
100
123
|
export { shortcuts };
|
|
@@ -24,130 +24,160 @@ const preflights = [
|
|
|
24
24
|
const shortcuts = [
|
|
25
25
|
[
|
|
26
26
|
/^q-field$/,
|
|
27
|
-
([, c], { theme }) =>
|
|
27
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field'] ??
|
|
28
|
+
`text-[14px] [&_::-ms-clear]:(hidden) [&_::-ms-reveal]:(hidden)`
|
|
28
29
|
],
|
|
29
30
|
[/^q-field--with-bottom$/, ([, c], { theme }) => `pb-[20px]`],
|
|
30
31
|
[
|
|
31
32
|
/^q-field__marginal$/,
|
|
32
|
-
([, c], { theme }) =>
|
|
33
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__marginal'] ??
|
|
34
|
+
`h-[56px] text-[rgba(0,_0,_0,_0.54)] text-[24px] [&_>_*_+_*]:(ml-[2px]) [&_.q-avatar]:(text-[32px])`
|
|
33
35
|
],
|
|
34
36
|
[/^q-field__before$/, ([, c], { theme }) => `pr-[12px]`],
|
|
35
37
|
[/^q-field__prepend$/, ([, c], { theme }) => `pr-[12px]`],
|
|
36
38
|
[/^q-field__after$/, ([, c], { theme }) => `pl-[12px] [&:empty]:(hidden)`],
|
|
37
39
|
[
|
|
38
40
|
/^q-field__append$/,
|
|
39
|
-
([, c], { theme }) =>
|
|
41
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__append'] ??
|
|
42
|
+
`pl-[12px] [&:empty]:(hidden) [&_+_.q-field\\_\\_append]:(pl-[2px])`
|
|
40
43
|
],
|
|
41
44
|
[/^q-field__inner$/, ([, c], { theme }) => `text-left`],
|
|
42
45
|
[
|
|
43
46
|
/^q-field__bottom$/,
|
|
44
|
-
([, c], { theme }) =>
|
|
47
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__bottom'] ??
|
|
48
|
+
`text-[12px] min-h-[20px] leading-none text-[rgba(0,_0,_0,_0.54)] pt-[8px] px-[12px] pb-[0] [backface-visibility:hidden]`
|
|
45
49
|
],
|
|
46
50
|
[
|
|
47
51
|
/^q-field__bottom--animated$/,
|
|
48
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__bottom--animated'] ??
|
|
53
|
+
`translate-y-full absolute left-0 right-0 bottom-0`
|
|
49
54
|
],
|
|
50
55
|
[
|
|
51
56
|
/^q-field__messages$/,
|
|
52
|
-
([, c], { theme }) =>
|
|
57
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__messages'] ??
|
|
58
|
+
`leading-none [&_>_div]:([word-wrap:break-word] break-words) [&_>_div_+_div]:(mt-[4px])`
|
|
53
59
|
],
|
|
54
60
|
[/^q-field__counter$/, ([, c], { theme }) => `pl-[8px] leading-none`],
|
|
55
61
|
[
|
|
56
62
|
/^q-field--item-aligned$/,
|
|
57
|
-
([, c], { theme }) =>
|
|
63
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--item-aligned'] ??
|
|
64
|
+
`px-[16px] py-[8px] [&_.q-field\\_\\_before]:(min-w-[56px])`
|
|
58
65
|
],
|
|
59
66
|
[/^q-field__control-container$/, ([, c], { theme }) => `[height:inherit]`],
|
|
60
67
|
[
|
|
61
68
|
/^q-field__control$/,
|
|
62
|
-
([, c], { theme }) =>
|
|
69
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__control'] ??
|
|
70
|
+
`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
71
|
],
|
|
64
72
|
[
|
|
65
73
|
/^q-field__shadow$/,
|
|
66
|
-
([, c], { theme }) =>
|
|
74
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__shadow'] ??
|
|
75
|
+
`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
76
|
],
|
|
68
77
|
[
|
|
69
78
|
/^q-field__native$/,
|
|
70
|
-
([, c], { theme }) =>
|
|
79
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__native'] ??
|
|
80
|
+
`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
81
|
],
|
|
72
82
|
[
|
|
73
83
|
/^q-field__prefix$/,
|
|
74
|
-
([, c], { theme }) =>
|
|
84
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__prefix'] ??
|
|
85
|
+
`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
86
|
],
|
|
76
87
|
[
|
|
77
88
|
/^q-field__suffix$/,
|
|
78
|
-
([, c], { theme }) =>
|
|
89
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__suffix'] ??
|
|
90
|
+
`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
91
|
],
|
|
80
92
|
[
|
|
81
93
|
/^q-field__input$/,
|
|
82
|
-
([, c], { theme }) =>
|
|
94
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__input'] ??
|
|
95
|
+
`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
96
|
],
|
|
84
97
|
[
|
|
85
98
|
/^q-field--readonly$/,
|
|
86
|
-
([, c], { theme }) =>
|
|
99
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--readonly'] ??
|
|
100
|
+
`[&_.q-placeholder]:(!opacity-100)`
|
|
87
101
|
],
|
|
88
102
|
[
|
|
89
103
|
/^q-field--disabled$/,
|
|
90
|
-
([, c], { theme }) =>
|
|
104
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--disabled'] ??
|
|
105
|
+
`[&_.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
106
|
],
|
|
92
107
|
[
|
|
93
108
|
/^q-field__label$/,
|
|
94
|
-
([, c], { theme }) =>
|
|
109
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__label'] ??
|
|
110
|
+
`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
111
|
],
|
|
96
112
|
[
|
|
97
113
|
/^q-field--float$/,
|
|
98
|
-
([, c], { theme }) =>
|
|
114
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--float'] ??
|
|
115
|
+
`[&_.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
116
|
],
|
|
100
117
|
[
|
|
101
118
|
/^q-field--highlighted$/,
|
|
102
|
-
([, c], { theme }) =>
|
|
119
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--highlighted'] ??
|
|
120
|
+
`[&_.q-field\\_\\_label]:(text-current) [&_.q-field\\_\\_shadow]:(opacity-50)`
|
|
103
121
|
],
|
|
104
122
|
[
|
|
105
123
|
/^q-field--filled$/,
|
|
106
|
-
([, c], { theme }) =>
|
|
124
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--filled'] ??
|
|
125
|
+
`[&_.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
126
|
],
|
|
108
127
|
[
|
|
109
128
|
/^q-field--outlined$/,
|
|
110
|
-
([, c], { theme }) =>
|
|
129
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--outlined'] ??
|
|
130
|
+
`[&_.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
131
|
],
|
|
112
132
|
[
|
|
113
133
|
/^q-field--standard$/,
|
|
114
|
-
([, c], { theme }) =>
|
|
134
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--standard'] ??
|
|
135
|
+
`[&_.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
136
|
],
|
|
116
137
|
[
|
|
117
138
|
/^q-field--dark$/,
|
|
118
|
-
([, c], { theme }) =>
|
|
139
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--dark'] ??
|
|
140
|
+
`[&_.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
141
|
],
|
|
120
142
|
[
|
|
121
143
|
/^q-field--standout$/,
|
|
122
|
-
([, c], { theme }) =>
|
|
144
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--standout'] ??
|
|
145
|
+
`[&_.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
146
|
],
|
|
124
147
|
[
|
|
125
148
|
/^q-field--labeled$/,
|
|
126
|
-
([, c], { theme }) =>
|
|
149
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--labeled'] ??
|
|
150
|
+
`[&_.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
151
|
],
|
|
128
152
|
[
|
|
129
153
|
/^q-field--dense$/,
|
|
130
|
-
([, c], { theme }) =>
|
|
154
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--dense'] ??
|
|
155
|
+
`[&_.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
156
|
],
|
|
132
157
|
[
|
|
133
158
|
/^q-field--borderless$/,
|
|
134
|
-
([, c], { theme }) =>
|
|
159
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--borderless'] ??
|
|
160
|
+
`[&_.q-field\\_\\_bottom]:(pl-0 pr-0)`
|
|
135
161
|
],
|
|
136
162
|
[
|
|
137
163
|
/^q-field--error$/,
|
|
138
|
-
([, c], { theme }) =>
|
|
164
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--error'] ??
|
|
165
|
+
`[&_.q-field\\_\\_label]:(animate-[q-field-label_0.36s]) [&_.q-field\\_\\_bottom]:(text-negative)`
|
|
139
166
|
],
|
|
140
167
|
[
|
|
141
168
|
/^q-field__focusable-action$/,
|
|
142
|
-
([, c], { theme }) =>
|
|
169
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field__focusable-action'] ??
|
|
170
|
+
`opacity-60 cursor-pointer !outline-0 border-0 [color:inherit] bg-transparent p-0 [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
143
171
|
],
|
|
144
172
|
[
|
|
145
173
|
/^q-field--auto-height$/,
|
|
146
|
-
([, c], { theme }) =>
|
|
174
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--auto-height'] ??
|
|
175
|
+
`[&_.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
176
|
],
|
|
148
177
|
[
|
|
149
178
|
/^q-field--square$/,
|
|
150
|
-
([, c], { theme }) =>
|
|
179
|
+
([, c], { theme }) => theme.quasar?.components?.['q-field--square'] ??
|
|
180
|
+
`[&_.q-field\\_\\_control]:(!rounded-none)`
|
|
151
181
|
]
|
|
152
182
|
];
|
|
153
183
|
export { preflights, shortcuts };
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
const shortcuts = [
|
|
2
2
|
[
|
|
3
3
|
/^q-file$/,
|
|
4
|
-
([, c], { theme }) =>
|
|
4
|
+
([, c], { theme }) => theme.quasar?.components?.['q-file'] ??
|
|
5
|
+
`[&_.q-field\\_\\_native]:(break-all overflow-hidden) [&_.q-field\\_\\_input]:(!opacity-0) [&_.q-field\\_\\_input::-webkit-file-upload-button]:(cursor-pointer)`
|
|
5
6
|
],
|
|
6
7
|
[
|
|
7
8
|
/^q-file__filler$/,
|
|
8
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) => theme.quasar?.components?.['q-file__filler'] ??
|
|
10
|
+
`invisible w-full border-none p-0`
|
|
9
11
|
],
|
|
10
12
|
[
|
|
11
13
|
/^q-file__dnd$/,
|
|
12
|
-
([, c], { theme }) =>
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-file__dnd'] ??
|
|
15
|
+
`outline-[1px_dashed_currentColor] outline-offset-[-4px]`
|
|
13
16
|
]
|
|
14
17
|
];
|
|
15
18
|
export { shortcuts };
|
|
@@ -2,11 +2,13 @@ const shortcuts = [
|
|
|
2
2
|
[/^q-footer--hidden$/, ([, c], { theme }) => `translate-y-[110%]`],
|
|
3
3
|
[
|
|
4
4
|
/^q-footer--bordered$/,
|
|
5
|
-
([, c], { theme }) =>
|
|
5
|
+
([, c], { theme }) => theme.quasar?.components?.['q-footer--bordered'] ??
|
|
6
|
+
`[border-top:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
6
7
|
],
|
|
7
8
|
[
|
|
8
9
|
/^q-footer$/,
|
|
9
|
-
([, c], { theme }) =>
|
|
10
|
+
([, c], { theme }) => theme.quasar?.components?.['q-footer'] ??
|
|
11
|
+
`[&_.q-layout\\_\\_shadow]:(-top-[10px]) [&_.q-layout\\_\\_shadow:after]:(top-[10px]) relative z-2000`
|
|
10
12
|
]
|
|
11
13
|
];
|
|
12
14
|
export { shortcuts };
|
|
@@ -2,11 +2,13 @@ const shortcuts = [
|
|
|
2
2
|
[/^q-header--hidden$/, ([, c], { theme }) => `-translate-y-[110%]`],
|
|
3
3
|
[
|
|
4
4
|
/^q-header--bordered$/,
|
|
5
|
-
([, c], { theme }) =>
|
|
5
|
+
([, c], { theme }) => theme.quasar?.components?.['q-header--bordered'] ??
|
|
6
|
+
`[border-bottom:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
6
7
|
],
|
|
7
8
|
[
|
|
8
9
|
/^q-header$/,
|
|
9
|
-
([, c], { theme }) =>
|
|
10
|
+
([, c], { theme }) => theme.quasar?.components?.['q-header'] ??
|
|
11
|
+
`z-2000 [&_.q-layout\\_\\_shadow]:(-bottom-10px) [&_.q-layout\\_\\_shadow:after]:(bottom-10px)`
|
|
10
12
|
// relative
|
|
11
13
|
]
|
|
12
14
|
];
|