vitrify 0.17.8 → 0.17.9
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/QCarousel.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/flex.unocss.js +7 -8
- package/dist/plugins/quasar/unocss/core/mouse.unocss.js +15 -2
- package/dist/plugins/quasar/unocss/core/size.unocss.js +13 -1
- package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/theme.js +291 -284
- package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/theme.d.ts +291 -284
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +9 -14
- package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +16 -3
- package/src/node/plugins/quasar/unocss/core/size.unocss.ts +14 -1
- package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/theme.ts +582 -570
|
@@ -49,28 +49,23 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
49
49
|
[
|
|
50
50
|
/^q-gutter-(none|xs|sm|md|lg|xl)$/,
|
|
51
51
|
([, size], { theme }) =>
|
|
52
|
-
`mt
|
|
53
|
-
ml
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
pl-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']})`
|
|
52
|
+
`mt--${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
|
|
53
|
+
ml--${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
|
|
54
|
+
[&_>_*]:(ml-${
|
|
55
|
+
colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
|
|
56
|
+
} mt-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']})`
|
|
58
57
|
],
|
|
59
58
|
[
|
|
60
59
|
/^q-gutter-x-(none|xs|sm|md|lg|xl)$/,
|
|
61
60
|
([, size], { theme }) =>
|
|
62
|
-
`ml
|
|
63
|
-
|
|
64
|
-
colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
|
|
65
|
-
})`
|
|
61
|
+
`ml--${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
|
|
62
|
+
space-x-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']})`
|
|
66
63
|
],
|
|
67
64
|
[
|
|
68
65
|
/^q-gutter-y-(none|xs|sm|md|lg|xl)$/,
|
|
69
66
|
([, size], { theme }) =>
|
|
70
|
-
`mt
|
|
71
|
-
|
|
72
|
-
colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
|
|
73
|
-
})`
|
|
67
|
+
`mt--${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']}
|
|
68
|
+
space-y-${colGutter[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']})`
|
|
74
69
|
],
|
|
75
70
|
[/^wrap$/, ([, size], { theme }) => `flex-wrap`],
|
|
76
71
|
[/^no-wrap$/, ([, size], { theme }) => `flex-nowrap`],
|
|
@@ -36,11 +36,24 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
36
36
|
([, c], { theme }) => `!pointer-events-none [&_*]:(!pointer-events-none)`
|
|
37
37
|
],
|
|
38
38
|
|
|
39
|
-
[/^all-pointer-events$/, ([, c], { theme }) => ``],
|
|
40
|
-
|
|
41
39
|
[/^cursor-inherit$/, ([, c], { theme }) => `[cursor:inherit!important]`],
|
|
42
40
|
|
|
43
41
|
['cursor-pointer', 'cursor-[pointer]!']
|
|
44
42
|
]
|
|
45
43
|
|
|
46
|
-
|
|
44
|
+
const rules: Rule<QuasarTheme>[] = [
|
|
45
|
+
[
|
|
46
|
+
'all-pointer-events',
|
|
47
|
+
{
|
|
48
|
+
'pointer-events': 'all !important'
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
'pointer-events-all',
|
|
53
|
+
{
|
|
54
|
+
'pointer-events': 'all !important'
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
export { preflights, shortcuts, rules }
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
2
2
|
import type { QuasarTheme } from '../theme.js'
|
|
3
3
|
|
|
4
|
+
const preflights: Preflight<QuasarTheme>[] = [
|
|
5
|
+
{
|
|
6
|
+
getCSS: ({ theme }) => `
|
|
7
|
+
:root {
|
|
8
|
+
--q-size-xs: ${theme.breakpoints.xs};
|
|
9
|
+
--q-size-sm: ${theme.breakpoints.sm};
|
|
10
|
+
--q-size-md: ${theme.breakpoints.md};
|
|
11
|
+
--q-size-lg: ${theme.breakpoints.lg};
|
|
12
|
+
--q-size-xl: ${theme.breakpoints.xl};
|
|
13
|
+
}`
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
|
|
4
17
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
18
|
[/^fit$/, ([, c], { theme }) => `!w-full !h-full`],
|
|
6
19
|
|
|
@@ -193,4 +206,4 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
193
206
|
[/^q-mx-auto$/, ([, c], { theme }) => `ml-auto mr-auto`]
|
|
194
207
|
]
|
|
195
208
|
|
|
196
|
-
export { shortcuts }
|
|
209
|
+
export { preflights, shortcuts }
|
|
@@ -56,7 +56,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
56
56
|
/^q-notification$/,
|
|
57
57
|
([, c], { theme }) =>
|
|
58
58
|
`[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] inline-flex mt-[10px] mx-[10px] mb-[0] [transition:transform_1s,_opacity_1s] flex-shrink-0 max-w-[95vw] bg-[#323232] text-[#fff] text-[14px]
|
|
59
|
-
sm:max-w-65vw z-9500`
|
|
59
|
+
sm:max-w-65vw z-9500 pointer-events-all`
|
|
60
60
|
],
|
|
61
61
|
|
|
62
62
|
[
|