vitrify 0.17.11 → 0.17.12

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.
Files changed (34) hide show
  1. package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +9 -12
  2. package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +4 -2
  3. package/dist/plugins/quasar/unocss/components/QDate.unocss.js +5 -3
  4. package/dist/plugins/quasar/unocss/components/QFab.unocss.js +6 -5
  5. package/dist/plugins/quasar/unocss/components/QField.unocss.js +196 -35
  6. package/dist/plugins/quasar/unocss/components/QItem.unocss.js +3 -3
  7. package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +1 -1
  8. package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +1 -1
  9. package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +4 -1
  10. package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +1 -1
  11. package/dist/plugins/quasar/unocss/components/QTable.unocss.js +3 -3
  12. package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +2 -2
  13. package/dist/plugins/quasar/unocss/core/flex.unocss.js +14 -12
  14. package/dist/plugins/quasar/unocss/core/size.unocss.js +96 -84
  15. package/dist/plugins/quasar/unocss/index.js +13 -1
  16. package/dist/plugins/quasar/unocss/theme.js +8 -0
  17. package/dist/types/plugins/quasar/unocss/theme.d.ts +8 -0
  18. package/package.json +1 -1
  19. package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +13 -12
  20. package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +4 -2
  21. package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +5 -3
  22. package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +6 -5
  23. package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +196 -37
  24. package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +3 -3
  25. package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +1 -1
  26. package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +1 -1
  27. package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +4 -1
  28. package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +1 -1
  29. package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +3 -3
  30. package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +2 -2
  31. package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +28 -14
  32. package/src/node/plugins/quasar/unocss/core/size.unocss.ts +102 -84
  33. package/src/node/plugins/quasar/unocss/index.ts +34 -2
  34. package/src/node/plugins/quasar/unocss/theme.ts +16 -0
@@ -25,173 +25,191 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
25
25
 
26
26
  [/^window-width$/, ([, c], { theme }) => `!ml-0 !mr-0 !w-screen`],
27
27
 
28
- [/^q-pa-none$/, ([, c], { theme }) => `p-[0]`],
28
+ [
29
+ /^q-p(a|t|b|l|r)?(?:-)(none|xs|sm|md|lg|xl)$/,
30
+ ([, side, size], { theme }) => {
31
+ return `p${side}-${
32
+ theme.quasar?.spaces[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
33
+ }`
34
+ }
35
+ ],
29
36
 
30
- [/^q-pl-none$/, ([, c], { theme }) => `pl-0`],
37
+ [
38
+ /^q-m(a|t|b|l|r)?(?:-)(none|xs|sm|md|lg|xl)$/,
39
+ ([, side, size], { theme }) => {
40
+ return `m${side}-${
41
+ theme.quasar?.spaces[size as 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl']
42
+ }`
43
+ }
44
+ ],
31
45
 
32
- [/^q-pr-none$/, ([, c], { theme }) => `pr-0`],
46
+ // [/^q-pa-none$/, ([, c], { theme }) => `p-[0]`],
33
47
 
34
- [/^q-pt-none$/, ([, c], { theme }) => `pt-0`],
48
+ // [/^q-pl-none$/, ([, c], { theme }) => `pl-0`],
35
49
 
36
- [/^q-pb-none$/, ([, c], { theme }) => `pb-0`],
50
+ // [/^q-pr-none$/, ([, c], { theme }) => `pr-0`],
37
51
 
38
- [/^q-px-none$/, ([, c], { theme }) => `pl-0 pr-0`],
52
+ // [/^q-pt-none$/, ([, c], { theme }) => `pt-0`],
39
53
 
40
- [/^q-py-none$/, ([, c], { theme }) => `pt-0 pb-0`],
54
+ // [/^q-pb-none$/, ([, c], { theme }) => `pb-0`],
41
55
 
42
- [/^q-ma-none$/, ([, c], { theme }) => `m-[0]`],
56
+ // [/^q-px-none$/, ([, c], { theme }) => `pl-0 pr-0`],
43
57
 
44
- [/^q-ml-none$/, ([, c], { theme }) => `ml-0`],
58
+ // [/^q-py-none$/, ([, c], { theme }) => `pt-0 pb-0`],
45
59
 
46
- [/^q-mr-none$/, ([, c], { theme }) => `mr-0`],
60
+ // [/^q-ma-none$/, ([, c], { theme }) => `m-[0]`],
47
61
 
48
- [/^q-mt-none$/, ([, c], { theme }) => `mt-0`],
62
+ // [/^q-ml-none$/, ([, c], { theme }) => `ml-0`],
49
63
 
50
- [/^q-mb-none$/, ([, c], { theme }) => `mb-0`],
64
+ // [/^q-mr-none$/, ([, c], { theme }) => `mr-0`],
51
65
 
52
- [/^q-mx-none$/, ([, c], { theme }) => `ml-0 mr-0`],
66
+ // [/^q-mt-none$/, ([, c], { theme }) => `mt-0`],
53
67
 
54
- [/^q-my-none$/, ([, c], { theme }) => `mt-0 mb-0`],
68
+ // [/^q-mb-none$/, ([, c], { theme }) => `mb-0`],
55
69
 
56
- [/^q-pa-xs$/, ([, c], { theme }) => `p-[4px]`],
70
+ // [/^q-mx-none$/, ([, c], { theme }) => `ml-0 mr-0`],
57
71
 
58
- [/^q-pl-xs$/, ([, c], { theme }) => `pl-[4px]`],
72
+ // [/^q-my-none$/, ([, c], { theme }) => `mt-0 mb-0`],
59
73
 
60
- [/^q-pr-xs$/, ([, c], { theme }) => `pr-[4px]`],
74
+ // [/^q-pa-xs$/, ([, c], { theme }) => `p-[4px]`],
61
75
 
62
- [/^q-pt-xs$/, ([, c], { theme }) => `pt-[4px]`],
76
+ // [/^q-pl-xs$/, ([, c], { theme }) => `pl-[4px]`],
63
77
 
64
- [/^q-pb-xs$/, ([, c], { theme }) => `pb-[4px]`],
78
+ // [/^q-pr-xs$/, ([, c], { theme }) => `pr-[4px]`],
65
79
 
66
- [/^q-px-xs$/, ([, c], { theme }) => `pl-[4px] pr-[4px]`],
80
+ // [/^q-pt-xs$/, ([, c], { theme }) => `pt-[4px]`],
67
81
 
68
- [/^q-py-xs$/, ([, c], { theme }) => `pt-[4px] pb-[4px]`],
82
+ // [/^q-pb-xs$/, ([, c], { theme }) => `pb-[4px]`],
69
83
 
70
- [/^q-ma-xs$/, ([, c], { theme }) => `m-[4px]`],
84
+ // [/^q-px-xs$/, ([, c], { theme }) => `pl-[4px] pr-[4px]`],
71
85
 
72
- [/^q-ml-xs$/, ([, c], { theme }) => `ml-[4px]`],
86
+ // [/^q-py-xs$/, ([, c], { theme }) => `pt-[4px] pb-[4px]`],
73
87
 
74
- [/^q-mr-xs$/, ([, c], { theme }) => `mr-[4px]`],
88
+ // [/^q-ma-xs$/, ([, c], { theme }) => `m-[4px]`],
75
89
 
76
- [/^q-mt-xs$/, ([, c], { theme }) => `mt-[4px]`],
90
+ // [/^q-ml-xs$/, ([, c], { theme }) => `ml-[4px]`],
77
91
 
78
- [/^q-mb-xs$/, ([, c], { theme }) => `mb-[4px]`],
92
+ // [/^q-mr-xs$/, ([, c], { theme }) => `mr-[4px]`],
79
93
 
80
- [/^q-mx-xs$/, ([, c], { theme }) => `ml-[4px] mr-[4px]`],
94
+ // [/^q-mt-xs$/, ([, c], { theme }) => `mt-[4px]`],
81
95
 
82
- [/^q-my-xs$/, ([, c], { theme }) => `mt-[4px] mb-[4px]`],
96
+ // [/^q-mb-xs$/, ([, c], { theme }) => `mb-[4px]`],
83
97
 
84
- [/^q-pa-sm$/, ([, c], { theme }) => `p-[8px]`],
98
+ // [/^q-mx-xs$/, ([, c], { theme }) => `ml-[4px] mr-[4px]`],
85
99
 
86
- [/^q-pl-sm$/, ([, c], { theme }) => `pl-[8px]`],
100
+ // [/^q-my-xs$/, ([, c], { theme }) => `mt-[4px] mb-[4px]`],
87
101
 
88
- [/^q-pr-sm$/, ([, c], { theme }) => `pr-[8px]`],
102
+ // [/^q-pa-sm$/, ([, c], { theme }) => `p-[8px]`],
89
103
 
90
- [/^q-pt-sm$/, ([, c], { theme }) => `pt-[8px]`],
104
+ // [/^q-pl-sm$/, ([, c], { theme }) => `pl-[8px]`],
91
105
 
92
- [/^q-pb-sm$/, ([, c], { theme }) => `pb-[8px]`],
106
+ // [/^q-pr-sm$/, ([, c], { theme }) => `pr-[8px]`],
93
107
 
94
- [/^q-px-sm$/, ([, c], { theme }) => `pl-[8px] pr-[8px]`],
108
+ // [/^q-pt-sm$/, ([, c], { theme }) => `pt-[8px]`],
95
109
 
96
- [/^q-py-sm$/, ([, c], { theme }) => `pt-[8px] pb-[8px]`],
110
+ // [/^q-pb-sm$/, ([, c], { theme }) => `pb-[8px]`],
97
111
 
98
- [/^q-ma-sm$/, ([, c], { theme }) => `m-[8px]`],
112
+ // [/^q-px-sm$/, ([, c], { theme }) => `pl-[8px] pr-[8px]`],
99
113
 
100
- [/^q-ml-sm$/, ([, c], { theme }) => `ml-[8px]`],
114
+ // [/^q-py-sm$/, ([, c], { theme }) => `pt-[8px] pb-[8px]`],
101
115
 
102
- [/^q-mr-sm$/, ([, c], { theme }) => `mr-[8px]`],
116
+ // [/^q-ma-sm$/, ([, c], { theme }) => `m-[8px]`],
103
117
 
104
- [/^q-mt-sm$/, ([, c], { theme }) => `mt-[8px]`],
118
+ // [/^q-ml-sm$/, ([, c], { theme }) => `ml-[8px]`],
105
119
 
106
- [/^q-mb-sm$/, ([, c], { theme }) => `mb-[8px]`],
120
+ // [/^q-mr-sm$/, ([, c], { theme }) => `mr-[8px]`],
107
121
 
108
- [/^q-mx-sm$/, ([, c], { theme }) => `ml-[8px] mr-[8px]`],
122
+ // [/^q-mt-sm$/, ([, c], { theme }) => `mt-[8px]`],
109
123
 
110
- [/^q-my-sm$/, ([, c], { theme }) => `mt-[8px] mb-[8px]`],
124
+ // [/^q-mb-sm$/, ([, c], { theme }) => `mb-[8px]`],
111
125
 
112
- [/^q-pa-md$/, ([, c], { theme }) => `p-[16px]`],
126
+ // [/^q-mx-sm$/, ([, c], { theme }) => `ml-[8px] mr-[8px]`],
113
127
 
114
- [/^q-pl-md$/, ([, c], { theme }) => `pl-[16px]`],
128
+ // [/^q-my-sm$/, ([, c], { theme }) => `mt-[8px] mb-[8px]`],
115
129
 
116
- [/^q-pr-md$/, ([, c], { theme }) => `pr-[16px]`],
130
+ // [/^q-pa-md$/, ([, c], { theme }) => `p-[16px]`],
117
131
 
118
- [/^q-pt-md$/, ([, c], { theme }) => `pt-[16px]`],
132
+ // [/^q-pl-md$/, ([, c], { theme }) => `pl-[16px]`],
119
133
 
120
- [/^q-pb-md$/, ([, c], { theme }) => `pb-[16px]`],
134
+ // [/^q-pr-md$/, ([, c], { theme }) => `pr-[16px]`],
121
135
 
122
- [/^q-px-md$/, ([, c], { theme }) => `pl-[16px] pr-[16px]`],
136
+ // [/^q-pt-md$/, ([, c], { theme }) => `pt-[16px]`],
123
137
 
124
- [/^q-py-md$/, ([, c], { theme }) => `pt-[16px] pb-[16px]`],
138
+ // [/^q-pb-md$/, ([, c], { theme }) => `pb-[16px]`],
125
139
 
126
- [/^q-ma-md$/, ([, c], { theme }) => `m-[16px]`],
140
+ // [/^q-px-md$/, ([, c], { theme }) => `pl-[16px] pr-[16px]`],
127
141
 
128
- [/^q-ml-md$/, ([, c], { theme }) => `ml-[16px]`],
142
+ // [/^q-py-md$/, ([, c], { theme }) => `pt-[16px] pb-[16px]`],
129
143
 
130
- [/^q-mr-md$/, ([, c], { theme }) => `mr-[16px]`],
144
+ // [/^q-ma-md$/, ([, c], { theme }) => `m-[16px]`],
131
145
 
132
- [/^q-mt-md$/, ([, c], { theme }) => `mt-[16px]`],
146
+ // [/^q-ml-md$/, ([, c], { theme }) => `ml-[16px]`],
133
147
 
134
- [/^q-mb-md$/, ([, c], { theme }) => `mb-[16px]`],
148
+ // [/^q-mr-md$/, ([, c], { theme }) => `mr-[16px]`],
135
149
 
136
- [/^q-mx-md$/, ([, c], { theme }) => `ml-[16px] mr-[16px]`],
150
+ // [/^q-mt-md$/, ([, c], { theme }) => `mt-[16px]`],
137
151
 
138
- [/^q-my-md$/, ([, c], { theme }) => `mt-[16px] mb-[16px]`],
152
+ // [/^q-mb-md$/, ([, c], { theme }) => `mb-[16px]`],
139
153
 
140
- [/^q-pa-lg$/, ([, c], { theme }) => `p-[24px]`],
154
+ // [/^q-mx-md$/, ([, c], { theme }) => `ml-[16px] mr-[16px]`],
141
155
 
142
- [/^q-pl-lg$/, ([, c], { theme }) => `pl-[24px]`],
156
+ // [/^q-my-md$/, ([, c], { theme }) => `mt-[16px] mb-[16px]`],
143
157
 
144
- [/^q-pr-lg$/, ([, c], { theme }) => `pr-[24px]`],
158
+ // [/^q-pa-lg$/, ([, c], { theme }) => `p-[24px]`],
145
159
 
146
- [/^q-pt-lg$/, ([, c], { theme }) => `pt-[24px]`],
160
+ // [/^q-pl-lg$/, ([, c], { theme }) => `pl-[24px]`],
147
161
 
148
- [/^q-pb-lg$/, ([, c], { theme }) => `pb-[24px]`],
162
+ // [/^q-pr-lg$/, ([, c], { theme }) => `pr-[24px]`],
149
163
 
150
- [/^q-px-lg$/, ([, c], { theme }) => `pl-[24px] pr-[24px]`],
164
+ // [/^q-pt-lg$/, ([, c], { theme }) => `pt-[24px]`],
151
165
 
152
- [/^q-py-lg$/, ([, c], { theme }) => `pt-[24px] pb-[24px]`],
166
+ // [/^q-pb-lg$/, ([, c], { theme }) => `pb-[24px]`],
153
167
 
154
- [/^q-ma-lg$/, ([, c], { theme }) => `m-[24px]`],
168
+ // [/^q-px-lg$/, ([, c], { theme }) => `pl-[24px] pr-[24px]`],
155
169
 
156
- [/^q-ml-lg$/, ([, c], { theme }) => `ml-[24px]`],
170
+ // [/^q-py-lg$/, ([, c], { theme }) => `pt-[24px] pb-[24px]`],
157
171
 
158
- [/^q-mr-lg$/, ([, c], { theme }) => `mr-[24px]`],
172
+ // [/^q-ma-lg$/, ([, c], { theme }) => `m-[24px]`],
159
173
 
160
- [/^q-mt-lg$/, ([, c], { theme }) => `mt-[24px]`],
174
+ // [/^q-ml-lg$/, ([, c], { theme }) => `ml-[24px]`],
161
175
 
162
- [/^q-mb-lg$/, ([, c], { theme }) => `mb-[24px]`],
176
+ // [/^q-mr-lg$/, ([, c], { theme }) => `mr-[24px]`],
163
177
 
164
- [/^q-mx-lg$/, ([, c], { theme }) => `ml-[24px] mr-[24px]`],
178
+ // [/^q-mt-lg$/, ([, c], { theme }) => `mt-[24px]`],
165
179
 
166
- [/^q-my-lg$/, ([, c], { theme }) => `mt-[24px] mb-[24px]`],
180
+ // [/^q-mb-lg$/, ([, c], { theme }) => `mb-[24px]`],
167
181
 
168
- [/^q-pa-xl$/, ([, c], { theme }) => `p-[48px]`],
182
+ // [/^q-mx-lg$/, ([, c], { theme }) => `ml-[24px] mr-[24px]`],
169
183
 
170
- [/^q-pl-xl$/, ([, c], { theme }) => `pl-[48px]`],
184
+ // [/^q-my-lg$/, ([, c], { theme }) => `mt-[24px] mb-[24px]`],
171
185
 
172
- [/^q-pr-xl$/, ([, c], { theme }) => `pr-[48px]`],
186
+ // [/^q-pa-xl$/, ([, c], { theme }) => `p-[48px]`],
173
187
 
174
- [/^q-pt-xl$/, ([, c], { theme }) => `pt-[48px]`],
188
+ // [/^q-pl-xl$/, ([, c], { theme }) => `pl-[48px]`],
175
189
 
176
- [/^q-pb-xl$/, ([, c], { theme }) => `pb-[48px]`],
190
+ // [/^q-pr-xl$/, ([, c], { theme }) => `pr-[48px]`],
177
191
 
178
- [/^q-px-xl$/, ([, c], { theme }) => `pl-[48px] pr-[48px]`],
192
+ // [/^q-pt-xl$/, ([, c], { theme }) => `pt-[48px]`],
179
193
 
180
- [/^q-py-xl$/, ([, c], { theme }) => `pt-[48px] pb-[48px]`],
194
+ // [/^q-pb-xl$/, ([, c], { theme }) => `pb-[48px]`],
181
195
 
182
- [/^q-ma-xl$/, ([, c], { theme }) => `m-[48px]`],
196
+ // [/^q-px-xl$/, ([, c], { theme }) => `pl-[48px] pr-[48px]`],
183
197
 
184
- [/^q-ml-xl$/, ([, c], { theme }) => `ml-[48px]`],
198
+ // [/^q-py-xl$/, ([, c], { theme }) => `pt-[48px] pb-[48px]`],
185
199
 
186
- [/^q-mr-xl$/, ([, c], { theme }) => `mr-[48px]`],
200
+ // [/^q-ma-xl$/, ([, c], { theme }) => `m-[48px]`],
187
201
 
188
- [/^q-mt-xl$/, ([, c], { theme }) => `mt-[48px]`],
202
+ // [/^q-ml-xl$/, ([, c], { theme }) => `ml-[48px]`],
189
203
 
190
- [/^q-mb-xl$/, ([, c], { theme }) => `mb-[48px]`],
204
+ // [/^q-mr-xl$/, ([, c], { theme }) => `mr-[48px]`],
191
205
 
192
- [/^q-mx-xl$/, ([, c], { theme }) => `ml-[48px] mr-[48px]`],
206
+ // [/^q-mt-xl$/, ([, c], { theme }) => `mt-[48px]`],
193
207
 
194
- [/^q-my-xl$/, ([, c], { theme }) => `mt-[48px] mb-[48px]`],
208
+ // [/^q-mb-xl$/, ([, c], { theme }) => `mb-[48px]`],
209
+
210
+ // [/^q-mx-xl$/, ([, c], { theme }) => `ml-[48px] mr-[48px]`],
211
+
212
+ // [/^q-my-xl$/, ([, c], { theme }) => `mt-[48px] mb-[48px]`],
195
213
 
196
214
  [/^q-mt-auto$/, ([, c], { theme }) => `mt-auto`],
197
215
 
@@ -178,7 +178,11 @@ import {
178
178
  import { shortcuts as QHeaderShortcuts } from './components/QHeader.unocss.js'
179
179
  import { shortcuts as QFooterShortcuts } from './components/QFooter.unocss.js'
180
180
  import { shortcuts as QDrawerShortcuts } from './components/QDrawer.unocss.js'
181
- import { type QuasarIconSet, type QuasarPlugins } from 'quasar'
181
+ import {
182
+ type QuasarComponents,
183
+ type QuasarIconSet,
184
+ type QuasarPlugins
185
+ } from 'quasar'
182
186
 
183
187
  export interface QuasarPresetOptions {
184
188
  plugins?: (keyof QuasarPlugins)[]
@@ -198,6 +202,11 @@ const toKebabCase = (str: string) =>
198
202
  ?.map((x) => x.toLowerCase())
199
203
  .join('-') ?? ''
200
204
 
205
+ const componentsSafelistMap: Partial<Record<keyof QuasarComponents, string[]>> =
206
+ {
207
+ QSelect: ['q-list', 'q-item', 'q-virtual-scroll', 'q-menu']
208
+ }
209
+
201
210
  const pluginSafelistMap: Partial<Record<keyof QuasarPlugins, string[]>> = {
202
211
  BottomSheet: [
203
212
  'q-bottom-sheet',
@@ -2021,9 +2030,11 @@ textarea {
2021
2030
  )
2022
2031
  const colorMatch = code.matchAll(/color="(\S*)"/g)
2023
2032
 
2033
+ const pascalComponentsMatch: string[] = []
2024
2034
  const matches: string[] = []
2025
2035
  for (const match of kebabMatch) matches.push(match[0])
2026
2036
  for (const match of pascalMatch) {
2037
+ pascalComponentsMatch.push(match[0])
2027
2038
  matches.push(toKebabCase(match[0]))
2028
2039
  }
2029
2040
  const transitionClasses = []
@@ -2047,10 +2058,31 @@ textarea {
2047
2058
  const classes = qClasses.filter((c) =>
2048
2059
  matches.some((component) => {
2049
2060
  component = component.replaceAll('q-chat-message', 'q-message')
2061
+ component = component.replaceAll(
2062
+ 'q-scroll-area',
2063
+ 'q-scrollarea'
2064
+ )
2050
2065
  return c.includes(component)
2051
2066
  })
2052
2067
  )
2053
- classes.push(...transitionClasses, ...colorClasses)
2068
+ const componentClasses = pascalComponentsMatch.reduce(
2069
+ (acc, component) => {
2070
+ if (component in componentsSafelistMap) {
2071
+ acc.push(
2072
+ ...(componentsSafelistMap as Record<string, string>)[
2073
+ component
2074
+ ]
2075
+ )
2076
+ }
2077
+ return acc
2078
+ },
2079
+ [] as string[]
2080
+ )
2081
+ classes.push(
2082
+ ...transitionClasses,
2083
+ ...colorClasses,
2084
+ ...componentClasses
2085
+ )
2054
2086
  return classes
2055
2087
  }
2056
2088
  }
@@ -1117,6 +1117,14 @@ export interface QuasarTheme {
1117
1117
  'q-notification--bottom-leave-active'?: string
1118
1118
  'q-notification--bottom-right-leave-active'?: string
1119
1119
  }
1120
+ spaces: {
1121
+ none: number
1122
+ xs: number
1123
+ sm: number
1124
+ md: number
1125
+ lg: number
1126
+ xl: number
1127
+ }
1120
1128
  z: {
1121
1129
  fab: number
1122
1130
  side: number
@@ -1444,6 +1452,14 @@ const defaultTheme: QuasarTheme = {
1444
1452
  'blue-grey-14': '#455a64'
1445
1453
  },
1446
1454
  quasar: {
1455
+ spaces: {
1456
+ none: 0,
1457
+ xs: 1,
1458
+ sm: 2,
1459
+ md: 4,
1460
+ lg: 6,
1461
+ xl: 12
1462
+ },
1447
1463
  z: {
1448
1464
  fab: 990,
1449
1465
  side: 1000,