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
|
@@ -39,24 +39,32 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
39
39
|
[/^q-dialog$/, ([, c], { theme }) => ``],
|
|
40
40
|
[
|
|
41
41
|
/^q-dialog__title$/,
|
|
42
|
-
([, c], { theme }) =>
|
|
42
|
+
([, c], { theme }) =>
|
|
43
|
+
theme.quasar?.components?.['q-dialog__title'] ??
|
|
44
|
+
`text-1.25rem font-500 lh-1.6 tracking-0.0125em`
|
|
43
45
|
],
|
|
44
46
|
[/^q-dialog__progress$/, ([, c], { theme }) => `text-4rem`],
|
|
45
47
|
[
|
|
46
48
|
/^q-dialog__inner$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
49
|
+
([, c], { theme }) =>
|
|
50
|
+
theme.quasar?.components?.['q-dialog__inner'] ??
|
|
51
|
+
`outline-0
|
|
48
52
|
[&>div]:(pointer-events-auto overflow-auto border-rd-4px)
|
|
49
53
|
[&>.q-card>.q-card\\_\\_actions_.q-btn--rectangle]:(min-w-64px)
|
|
50
54
|
`
|
|
51
55
|
],
|
|
52
56
|
[
|
|
53
57
|
/^q-dialog__inner--square$/,
|
|
54
|
-
([, c], { theme }) =>
|
|
58
|
+
([, c], { theme }) =>
|
|
59
|
+
theme.quasar?.components?.['q-dialog__inner--square'] ??
|
|
60
|
+
`[&>div]:(border-rd-0!)
|
|
55
61
|
`
|
|
56
62
|
],
|
|
57
63
|
[
|
|
58
64
|
/^q-dialog__inner--minimized$/,
|
|
59
|
-
([, c], { theme }) =>
|
|
65
|
+
([, c], { theme }) =>
|
|
66
|
+
theme.quasar?.components?.['q-dialog__inner--minimized'] ??
|
|
67
|
+
`p-24px
|
|
60
68
|
[&>div]:(max-h-[calc(100vh-48px)])
|
|
61
69
|
`
|
|
62
70
|
],
|
|
@@ -70,47 +78,63 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
70
78
|
],
|
|
71
79
|
[
|
|
72
80
|
/^q-dialog__inner--top$/,
|
|
73
|
-
([, c], { theme }) =>
|
|
81
|
+
([, c], { theme }) =>
|
|
82
|
+
theme.quasar?.components?.['q-dialog__inner--top'] ??
|
|
83
|
+
`pt-0! pb-0!
|
|
74
84
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-tr-none)
|
|
75
85
|
|
|
76
86
|
`
|
|
77
87
|
],
|
|
78
88
|
[
|
|
79
89
|
/^q-dialog__inner--bottom$/,
|
|
80
|
-
([, c], { theme }) =>
|
|
90
|
+
([, c], { theme }) =>
|
|
91
|
+
theme.quasar?.components?.['q-dialog__inner--bottom'] ??
|
|
92
|
+
`pt-0! pb-0!
|
|
81
93
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-bl-none rounded-br-none)
|
|
82
94
|
`
|
|
83
95
|
],
|
|
84
96
|
[
|
|
85
97
|
/^q-dialog__inner--left$/,
|
|
86
|
-
([, c], { theme }) =>
|
|
98
|
+
([, c], { theme }) =>
|
|
99
|
+
theme.quasar?.components?.['q-dialog__inner--left'] ??
|
|
100
|
+
`pt-0! pb-0!
|
|
87
101
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tl-none rounded-bl-none)
|
|
88
102
|
`
|
|
89
103
|
],
|
|
90
104
|
[
|
|
91
105
|
/^q-dialog__inner--right$/,
|
|
92
|
-
([, c], { theme }) =>
|
|
106
|
+
([, c], { theme }) =>
|
|
107
|
+
theme.quasar?.components?.['q-dialog__inner--right'] ??
|
|
108
|
+
`pt-0! pb-0!
|
|
93
109
|
[&:not(.q-dialog\\_\\_inner--animating)>div]:(rounded-tr-none rounded-br-none)
|
|
94
110
|
`
|
|
95
111
|
],
|
|
96
112
|
[
|
|
97
113
|
/^q-dialog__inner--fullwidth$/,
|
|
98
|
-
([, c], { theme }) =>
|
|
114
|
+
([, c], { theme }) =>
|
|
115
|
+
theme.quasar?.components?.['q-dialog__inner--fullwidth'] ??
|
|
116
|
+
`[&>div]:(w-full! max-w-full!)
|
|
99
117
|
`
|
|
100
118
|
],
|
|
101
119
|
[
|
|
102
120
|
/^q-dialog__inner--fullheight$/,
|
|
103
|
-
([, c], { theme }) =>
|
|
121
|
+
([, c], { theme }) =>
|
|
122
|
+
theme.quasar?.components?.['q-dialog__inner--fullheight'] ??
|
|
123
|
+
`[&>div]:(h-full! max-h-full!)
|
|
104
124
|
`
|
|
105
125
|
],
|
|
106
126
|
[
|
|
107
127
|
/^q-dialog__backdrop$/,
|
|
108
|
-
([, c], { theme }) =>
|
|
128
|
+
([, c], { theme }) =>
|
|
129
|
+
theme.quasar?.components?.['q-dialog__backdrop'] ??
|
|
130
|
+
`-z-1 pointer-events-auto outline-0 bg-black bg-op-40
|
|
109
131
|
`
|
|
110
132
|
],
|
|
111
133
|
[
|
|
112
134
|
/^q-body--dialog$/,
|
|
113
|
-
([, c], { theme }) =>
|
|
135
|
+
([, c], { theme }) =>
|
|
136
|
+
theme.quasar?.components?.['q-body--dialog'] ??
|
|
137
|
+
`overflow-hidden
|
|
114
138
|
`
|
|
115
139
|
]
|
|
116
140
|
]
|
|
@@ -2,74 +2,77 @@ import type { Rule, UserShortcuts } from '@unocss/core'
|
|
|
2
2
|
import type { QuasarTheme } from '../theme.js'
|
|
3
3
|
|
|
4
4
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
-
[/^q-drawer$/, ([, c], { theme }) => `absolute top-0 bottom-0 bg-[#fff]`],
|
|
6
|
-
|
|
7
|
-
[/^q-drawer--on-top$/, ([, c], { theme }) => `z-3000`],
|
|
8
|
-
|
|
9
5
|
[
|
|
10
|
-
/^q-drawer
|
|
6
|
+
/^q-drawer$/,
|
|
11
7
|
([, c], { theme }) =>
|
|
12
|
-
|
|
8
|
+
theme.quasar?.components?.['q-drawer'] ??
|
|
9
|
+
`absolute top-[0] bottom-[0] bg-[#fff]`
|
|
13
10
|
],
|
|
14
11
|
|
|
15
12
|
[
|
|
16
|
-
/^q-drawer--
|
|
17
|
-
([, c], { theme }) =>
|
|
13
|
+
/^q-drawer--on-top$/,
|
|
14
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer--on-top'] ?? ``
|
|
18
15
|
],
|
|
19
16
|
|
|
20
17
|
[
|
|
21
|
-
/^q-drawer--
|
|
18
|
+
/^q-drawer--left$/,
|
|
22
19
|
([, c], { theme }) =>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
[
|
|
27
|
-
/^q-drawer--right.q-drawer--bordered$/,
|
|
28
|
-
([, c], { theme }) => `[border-left:1px_solid_rgba(0,_0,_0,_0.12)]`
|
|
20
|
+
theme.quasar?.components?.['q-drawer--left'] ??
|
|
21
|
+
`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])`
|
|
29
22
|
],
|
|
30
23
|
|
|
31
24
|
[
|
|
32
|
-
/^q-drawer
|
|
25
|
+
/^q-drawer--right$/,
|
|
33
26
|
([, c], { theme }) =>
|
|
34
|
-
|
|
27
|
+
theme.quasar?.components?.['q-drawer--right'] ??
|
|
28
|
+
`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])`
|
|
35
29
|
],
|
|
36
30
|
|
|
37
31
|
[
|
|
38
|
-
/^q-drawer-container
|
|
39
|
-
([, c], { theme }) =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
__.q-item\\_\\_section--side__~_.q-item\\_\\_section--side]:(hidden)`
|
|
32
|
+
/^q-drawer-container$/,
|
|
33
|
+
([, c], { theme }) =>
|
|
34
|
+
theme.quasar?.components?.['q-drawer-container'] ??
|
|
35
|
+
`[&: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)`
|
|
43
36
|
],
|
|
44
37
|
|
|
45
38
|
[
|
|
46
39
|
/^q-drawer--mini$/,
|
|
47
40
|
([, c], { theme }) =>
|
|
41
|
+
theme.quasar?.components?.['q-drawer--mini'] ??
|
|
48
42
|
`[&_.q-mini-drawer-hide]:(hidden) [&_.q-expansion-item\\_\\_content]:(hidden)`
|
|
49
43
|
],
|
|
50
44
|
|
|
51
45
|
[
|
|
52
46
|
/^q-drawer--mini-animate$/,
|
|
53
47
|
([, c], { theme }) =>
|
|
48
|
+
theme.quasar?.components?.['q-drawer--mini-animate'] ??
|
|
54
49
|
`[&_.q-drawer\\_\\_content]:(!overflow-x-hidden whitespace-nowrap)`
|
|
55
50
|
],
|
|
56
51
|
|
|
57
52
|
[
|
|
58
53
|
/^q-drawer--standard$/,
|
|
59
|
-
([, c], { theme }) =>
|
|
54
|
+
([, c], { theme }) =>
|
|
55
|
+
theme.quasar?.components?.['q-drawer--standard'] ??
|
|
56
|
+
`[&_.q-mini-drawer-only]:(hidden)`
|
|
60
57
|
],
|
|
61
58
|
|
|
62
59
|
[
|
|
63
60
|
/^q-drawer--mobile$/,
|
|
64
61
|
([, c], { theme }) =>
|
|
62
|
+
theme.quasar?.components?.['q-drawer--mobile'] ??
|
|
65
63
|
`[&_.q-mini-drawer-only]:(hidden) [&_.q-mini-drawer-hide]:(hidden)`
|
|
66
64
|
],
|
|
67
65
|
|
|
68
|
-
[
|
|
66
|
+
[
|
|
67
|
+
/^q-drawer__backdrop$/,
|
|
68
|
+
([, c], { theme }) => theme.quasar?.components?.['q-drawer__backdrop'] ?? ``
|
|
69
|
+
],
|
|
69
70
|
|
|
70
71
|
[
|
|
71
72
|
/^q-drawer__opener$/,
|
|
72
|
-
([, c], { theme }) =>
|
|
73
|
+
([, c], { theme }) =>
|
|
74
|
+
theme.quasar?.components?.['q-drawer__opener'] ??
|
|
75
|
+
`h-full w-[15px] select-none`
|
|
73
76
|
]
|
|
74
77
|
]
|
|
75
78
|
|
|
@@ -15,7 +15,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
15
15
|
[/^q-editor.disabled$/, ([, c], { theme }) => `border-dashed`],
|
|
16
16
|
[
|
|
17
17
|
/^q-editor__toolbars-container$/,
|
|
18
|
-
([, c], { theme }) =>
|
|
18
|
+
([, c], { theme }) =>
|
|
19
|
+
theme.quasar?.components?.['q-editor__toolbars-container'] ??
|
|
20
|
+
`rounded-tl-[inherit] rounded-tr-[inherit]
|
|
19
21
|
[&>div:first-child]:(rounded-tl-[inherit] rounded-tr-[inherit])`
|
|
20
22
|
],
|
|
21
23
|
[
|
|
@@ -40,12 +42,16 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
40
42
|
],
|
|
41
43
|
[
|
|
42
44
|
/^q-editor__toolbars-container$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
45
|
+
([, c], { theme }) =>
|
|
46
|
+
theme.quasar?.components?.['q-editor__toolbars-container'] ??
|
|
47
|
+
`max-w-full
|
|
44
48
|
`
|
|
45
49
|
],
|
|
46
50
|
[
|
|
47
51
|
/^q-editor__toolbar-group$/,
|
|
48
|
-
([, c], { theme }) =>
|
|
52
|
+
([, c], { theme }) =>
|
|
53
|
+
theme.quasar?.components?.['q-editor__toolbar-group'] ??
|
|
54
|
+
`relative mx-4px my-0
|
|
49
55
|
[&+.q-editor\\_\\_toolbar-group:before]:(content-empty absolute left--4px top-4px bottom-4px w-1px bg-black bg-op-12)
|
|
50
56
|
`
|
|
51
57
|
],
|
|
@@ -59,7 +65,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
59
65
|
],
|
|
60
66
|
[
|
|
61
67
|
/^q-editor--flat$/,
|
|
62
|
-
([, c], { theme }) =>
|
|
68
|
+
([, c], { theme }) =>
|
|
69
|
+
theme.quasar?.components?.['q-editor--flat'] ??
|
|
70
|
+
`border-0
|
|
63
71
|
[&_.q-editor\\_\\_toolbar]:(border-0)
|
|
64
72
|
`
|
|
65
73
|
],
|
|
@@ -73,7 +81,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
73
81
|
],
|
|
74
82
|
[
|
|
75
83
|
/^q-editor--dark$/,
|
|
76
|
-
([, c], { theme }) =>
|
|
84
|
+
([, c], { theme }) =>
|
|
85
|
+
theme.quasar?.components?.['q-editor--dark'] ??
|
|
86
|
+
`border-color-white border-op-28
|
|
77
87
|
[&_.q-editor\\_\\_content_hr]:(border-color-white border-op-28)
|
|
78
88
|
[&_.q-editor\\_\\_toolbar]:(border-color-white border-op-28)
|
|
79
89
|
[&_.q-editor\\_\\_toolbar-group+.q-editor\\_\\_toolbar-group:before]:(border-color-white border-op-28)
|
|
@@ -6,40 +6,51 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
|
|
7
7
|
[
|
|
8
8
|
/^q-expansion-item__toggle-icon$/,
|
|
9
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) =>
|
|
10
|
+
theme.quasar?.components?.['q-expansion-item__toggle-icon'] ??
|
|
11
|
+
`relative [transition:transform_0.3s]`
|
|
10
12
|
],
|
|
11
13
|
|
|
12
14
|
[
|
|
13
15
|
/^q-expansion-item__toggle-icon--rotated$/,
|
|
14
|
-
([, c], { theme }) =>
|
|
16
|
+
([, c], { theme }) =>
|
|
17
|
+
theme.quasar?.components?.['q-expansion-item__toggle-icon--rotated'] ??
|
|
18
|
+
`rotate-180`
|
|
15
19
|
],
|
|
16
20
|
|
|
17
21
|
[
|
|
18
22
|
/^q-expansion-item__toggle-focus$/,
|
|
19
23
|
([, c], { theme }) =>
|
|
24
|
+
theme.quasar?.components?.['q-expansion-item__toggle-focus'] ??
|
|
20
25
|
`!w-[1em] !h-[1em] !relative [&_+_.q-expansion-item\\_\\_toggle-icon]:(-mt-[1em])`
|
|
21
26
|
],
|
|
22
27
|
|
|
23
28
|
[
|
|
24
29
|
/^q-expansion-item--popup$/,
|
|
25
30
|
([, c], { theme }) =>
|
|
31
|
+
theme.quasar?.components?.['q-expansion-item--popup'] ??
|
|
26
32
|
`[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)`
|
|
27
33
|
],
|
|
28
34
|
|
|
29
35
|
[
|
|
30
36
|
/^q-expansion-item__content$/,
|
|
31
|
-
([, c], { theme }) =>
|
|
37
|
+
([, c], { theme }) =>
|
|
38
|
+
theme.quasar?.components?.['q-expansion-item__content'] ??
|
|
39
|
+
`[&_>_.q-card]:([box-shadow:none] rounded-none)`
|
|
32
40
|
],
|
|
33
41
|
|
|
34
42
|
[
|
|
35
43
|
/^q-expansion-item$/,
|
|
36
44
|
([, c], { theme }) =>
|
|
45
|
+
theme.quasar?.components?.['q-expansion-item'] ??
|
|
37
46
|
`[&:first-child_>_div_>_.q-expansion-item\\_\\_border--top]:(opacity-0) [&:last-child_>_div_>_.q-expansion-item\\_\\_border--bottom]:(opacity-0)`
|
|
38
47
|
],
|
|
39
48
|
|
|
40
49
|
[
|
|
41
50
|
/^q-expansion-item--expanded$/,
|
|
42
|
-
([, c], { theme }) =>
|
|
51
|
+
([, c], { theme }) =>
|
|
52
|
+
theme.quasar?.components?.['q-expansion-item--expanded'] ??
|
|
53
|
+
`[&__+_.q-expansion-item--expanded
|
|
43
54
|
__>_div
|
|
44
55
|
__>_.q-expansion-item\\_\\_border--top]:(opacity-0)`
|
|
45
56
|
],
|
|
@@ -47,6 +58,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
47
58
|
[
|
|
48
59
|
/^q-expansion-item--expanded$/,
|
|
49
60
|
([, c], { theme }) =>
|
|
61
|
+
theme.quasar?.components?.['q-expansion-item--expanded'] ??
|
|
50
62
|
`[&_.q-textarea--autogrow_textarea]:(animate-[q-expansion-done_0s])`
|
|
51
63
|
]
|
|
52
64
|
]
|
|
@@ -6,7 +6,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
|
|
7
7
|
[
|
|
8
8
|
/^q-fab$/,
|
|
9
|
-
([, c], { theme }) =>
|
|
9
|
+
([, c], { theme }) =>
|
|
10
|
+
theme.quasar?.components?.['q-fab'] ??
|
|
11
|
+
`relative align-middle [&_>_.q-btn]:(w-full)`
|
|
10
12
|
],
|
|
11
13
|
|
|
12
14
|
[/^q-fab--form-rounded$/, ([, c], { theme }) => `rounded-[28px]`],
|
|
@@ -16,59 +18,71 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
16
18
|
[
|
|
17
19
|
/^q-fab__icon$/,
|
|
18
20
|
([, c], { theme }) =>
|
|
21
|
+
theme.quasar?.components?.['q-fab__icon'] ??
|
|
19
22
|
`[transition:opacity_0.4s,_transform_0.4s] opacity-100 rotate-0`
|
|
20
23
|
],
|
|
21
24
|
|
|
22
25
|
[
|
|
23
26
|
/^q-fab__active-icon$/,
|
|
24
27
|
([, c], { theme }) =>
|
|
28
|
+
theme.quasar?.components?.['q-fab__active-icon'] ??
|
|
25
29
|
`[transition:opacity_0.4s,_transform_0.4s] opacity-0 -rotate-180`
|
|
26
30
|
],
|
|
27
31
|
|
|
28
32
|
[
|
|
29
33
|
/^q-fab__label--external$/,
|
|
30
34
|
([, c], { theme }) =>
|
|
35
|
+
theme.quasar?.components?.['q-fab__label--external'] ??
|
|
31
36
|
`absolute px-[8px] py-[0] [transition:opacity_0.18s_cubic-bezier(0.65,_0.815,_0.735,_0.395)]`
|
|
32
37
|
],
|
|
33
38
|
|
|
34
39
|
[
|
|
35
40
|
/^q-fab__label--external-hidden$/,
|
|
36
|
-
([, c], { theme }) =>
|
|
41
|
+
([, c], { theme }) =>
|
|
42
|
+
theme.quasar?.components?.['q-fab__label--external-hidden'] ??
|
|
43
|
+
`opacity-0 pointer-events-none`
|
|
37
44
|
],
|
|
38
45
|
|
|
39
46
|
[
|
|
40
47
|
/^q-fab__label--external-left$/,
|
|
41
48
|
([, c], { theme }) =>
|
|
49
|
+
theme.quasar?.components?.['q-fab__label--external-left'] ??
|
|
42
50
|
`top-2/4 -left-[12px] -translate-x-full -translate-y-1/2`
|
|
43
51
|
],
|
|
44
52
|
|
|
45
53
|
[
|
|
46
54
|
/^q-fab__label--external-right$/,
|
|
47
55
|
([, c], { theme }) =>
|
|
56
|
+
theme.quasar?.components?.['q-fab__label--external-right'] ??
|
|
48
57
|
`top-2/4 -right-[12px] translate-x-full -translate-y-1/2`
|
|
49
58
|
],
|
|
50
59
|
|
|
51
60
|
[
|
|
52
61
|
/^q-fab__label--external-bottom$/,
|
|
53
62
|
([, c], { theme }) =>
|
|
63
|
+
theme.quasar?.components?.['q-fab__label--external-bottom'] ??
|
|
54
64
|
`-bottom-[12px] left-2/4 -translate-x-1/2 translate-y-full`
|
|
55
65
|
],
|
|
56
66
|
|
|
57
67
|
[
|
|
58
68
|
/^q-fab__label--external-top$/,
|
|
59
69
|
([, c], { theme }) =>
|
|
70
|
+
theme.quasar?.components?.['q-fab__label--external-top'] ??
|
|
60
71
|
`-top-[12px] left-2/4 -translate-x-1/2 -translate-y-full`
|
|
61
72
|
],
|
|
62
73
|
|
|
63
74
|
[
|
|
64
75
|
/^q-fab__label--internal$/,
|
|
65
76
|
([, c], { theme }) =>
|
|
77
|
+
theme.quasar?.components?.['q-fab__label--internal'] ??
|
|
66
78
|
`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]`
|
|
67
79
|
],
|
|
68
80
|
|
|
69
81
|
[
|
|
70
82
|
/^q-fab__label--internal-hidden$/,
|
|
71
|
-
([, c], { theme }) =>
|
|
83
|
+
([, c], { theme }) =>
|
|
84
|
+
theme.quasar?.components?.['q-fab__label--internal-hidden'] ??
|
|
85
|
+
`text-[0] opacity-0`
|
|
72
86
|
],
|
|
73
87
|
|
|
74
88
|
[/^q-fab__label--internal-top$/, ([, c], { theme }) => `pb-[0.12em]`],
|
|
@@ -77,70 +91,85 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
77
91
|
|
|
78
92
|
[
|
|
79
93
|
/^q-fab__label--internal-left$/,
|
|
80
|
-
([, c], { theme }) =>
|
|
94
|
+
([, c], { theme }) =>
|
|
95
|
+
theme.quasar?.components?.['q-fab__label--internal-left'] ??
|
|
96
|
+
`pl-[0.285em] pr-[0.571em]`
|
|
81
97
|
],
|
|
82
98
|
|
|
83
99
|
[
|
|
84
100
|
/^q-fab__label--internal-right$/,
|
|
85
|
-
([, c], { theme }) =>
|
|
101
|
+
([, c], { theme }) =>
|
|
102
|
+
theme.quasar?.components?.['q-fab__label--internal-right'] ??
|
|
103
|
+
`pr-[0.285em] pl-[0.571em]`
|
|
86
104
|
],
|
|
87
105
|
|
|
88
106
|
[
|
|
89
107
|
/^q-fab__icon-holder$/,
|
|
90
|
-
([, c], { theme }) =>
|
|
108
|
+
([, c], { theme }) =>
|
|
109
|
+
theme.quasar?.components?.['q-fab__icon-holder'] ??
|
|
110
|
+
`min-w-[24px] min-h-[24px] relative`
|
|
91
111
|
],
|
|
92
112
|
|
|
93
113
|
[
|
|
94
114
|
/^q-fab__icon-holder--opened$/,
|
|
95
115
|
([, c], { theme }) =>
|
|
116
|
+
theme.quasar?.components?.['q-fab__icon-holder--opened'] ??
|
|
96
117
|
`[&_.q-fab\\_\\_icon]:(rotate-180 opacity-0) [&_.q-fab\\_\\_active-icon]:(rotate-0 opacity-100)`
|
|
97
118
|
],
|
|
98
119
|
|
|
99
120
|
[
|
|
100
121
|
/^q-fab__actions$/,
|
|
101
122
|
([, c], { theme }) =>
|
|
123
|
+
theme.quasar?.components?.['q-fab__actions'] ??
|
|
102
124
|
`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])`
|
|
103
125
|
],
|
|
104
126
|
|
|
105
127
|
[
|
|
106
128
|
/^q-fab__actions--right$/,
|
|
107
129
|
([, c], { theme }) =>
|
|
130
|
+
theme.quasar?.components?.['q-fab__actions--right'] ??
|
|
108
131
|
`origin-[0_50%] scale-[0.4] -translate-x-[62px] h-[56px] left-full ml-[9px]`
|
|
109
132
|
],
|
|
110
133
|
|
|
111
134
|
[
|
|
112
135
|
/^q-fab__actions--left$/,
|
|
113
136
|
([, c], { theme }) =>
|
|
137
|
+
theme.quasar?.components?.['q-fab__actions--left'] ??
|
|
114
138
|
`origin-[100%_50%] scale-[0.4] translate-x-[62px] h-[56px] right-full mr-[9px] flex-row-reverse`
|
|
115
139
|
],
|
|
116
140
|
|
|
117
141
|
[
|
|
118
142
|
/^q-fab__actions--up$/,
|
|
119
143
|
([, c], { theme }) =>
|
|
144
|
+
theme.quasar?.components?.['q-fab__actions--up'] ??
|
|
120
145
|
`origin-[50%_100%] scale-[0.4] translate-y-[62px] w-[56px] bottom-full mb-[9px] flex-col-reverse left-2/4 -ml-[28px]`
|
|
121
146
|
],
|
|
122
147
|
|
|
123
148
|
[
|
|
124
149
|
/^q-fab__actions--down$/,
|
|
125
150
|
([, c], { theme }) =>
|
|
151
|
+
theme.quasar?.components?.['q-fab__actions--down'] ??
|
|
126
152
|
`origin-[50%_0] scale-[0.4] -translate-y-[62px] w-[56px] top-full mt-[9px] flex-col left-2/4 -ml-[28px]`
|
|
127
153
|
],
|
|
128
154
|
|
|
129
155
|
[
|
|
130
156
|
/^q-fab__actions--opened$/,
|
|
131
157
|
([, c], { theme }) =>
|
|
158
|
+
theme.quasar?.components?.['q-fab__actions--opened'] ??
|
|
132
159
|
`opacity-100 scale-100 translate-x-[0.1px] translate-y-[0]`
|
|
133
160
|
],
|
|
134
161
|
|
|
135
162
|
[
|
|
136
163
|
/^q-fab--align-left$/,
|
|
137
164
|
([, c], { theme }) =>
|
|
165
|
+
theme.quasar?.components?.['q-fab--align-left'] ??
|
|
138
166
|
`[&_>_.q-fab\\_\\_actions--up]:(items-start left-[28px]) [&_>_.q-fab\\_\\_actions--down]:(items-start left-[28px])`
|
|
139
167
|
],
|
|
140
168
|
|
|
141
169
|
[
|
|
142
170
|
/^q-fab--align-right$/,
|
|
143
171
|
([, c], { theme }) =>
|
|
172
|
+
theme.quasar?.components?.['q-fab--align-right'] ??
|
|
144
173
|
`[&_>_.q-fab\\_\\_actions--up]:(items-end left-auto right-0) [&_>_.q-fab\\_\\_actions--down]:(items-end left-auto right-0)`
|
|
145
174
|
]
|
|
146
175
|
]
|