vitrify 0.18.0 → 0.18.2
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.
|
@@ -104,7 +104,36 @@ const toKebabCase = (str) => str
|
|
|
104
104
|
?.map((x) => x.toLowerCase())
|
|
105
105
|
.join('-') ?? '';
|
|
106
106
|
const componentsSafelistMap = {
|
|
107
|
-
QSelect: ['q-list', 'q-item', 'q-virtual-scroll', 'q-menu']
|
|
107
|
+
QSelect: ['q-list', 'q-item', 'q-virtual-scroll', 'q-menu'],
|
|
108
|
+
QPageSticky: [
|
|
109
|
+
'relative-position',
|
|
110
|
+
'fixed',
|
|
111
|
+
'fixed-full',
|
|
112
|
+
'fullscreen',
|
|
113
|
+
'fixed-center',
|
|
114
|
+
'fixed-bottom',
|
|
115
|
+
'fixed-left',
|
|
116
|
+
'fixed-right',
|
|
117
|
+
'fixed-top',
|
|
118
|
+
'fixed-top-left',
|
|
119
|
+
'fixed-top-right',
|
|
120
|
+
'fixed-bottom-left',
|
|
121
|
+
'fixed-bottom-right',
|
|
122
|
+
'absolute',
|
|
123
|
+
'absolute-full',
|
|
124
|
+
'absolute-center',
|
|
125
|
+
'absolute-bottom',
|
|
126
|
+
'absolute-left',
|
|
127
|
+
'absolute-right',
|
|
128
|
+
'absolute-top',
|
|
129
|
+
'absolute-top-left',
|
|
130
|
+
'absolute-top-right',
|
|
131
|
+
'absolute-bottom-left',
|
|
132
|
+
'absolute-bottom-right',
|
|
133
|
+
'vertical-top',
|
|
134
|
+
'vertical-middle',
|
|
135
|
+
'vertical-bottom'
|
|
136
|
+
]
|
|
108
137
|
};
|
|
109
138
|
const pluginSafelistMap = {
|
|
110
139
|
BottomSheet: [
|
|
@@ -1795,7 +1824,7 @@ textarea {
|
|
|
1795
1824
|
const kebabMatch = code.matchAll(/q-(\w)([\w-]*)/g);
|
|
1796
1825
|
const pascalMatch = code.matchAll(/Q([A-Z][a-z0-9]+)+/g);
|
|
1797
1826
|
const transitionMatch = code.matchAll(/(transition|transition-show|transition-hide|transition-prev|transition-next)="(\S*)"/g);
|
|
1798
|
-
const colorMatch = code.matchAll(/color
|
|
1827
|
+
const colorMatch = code.matchAll(/color[=|:]"(\w*)"/g);
|
|
1799
1828
|
const pascalComponentsMatch = [];
|
|
1800
1829
|
const matches = [];
|
|
1801
1830
|
for (const match of kebabMatch)
|
package/package.json
CHANGED
|
@@ -203,7 +203,36 @@ const toKebabCase = (str: string) =>
|
|
|
203
203
|
|
|
204
204
|
const componentsSafelistMap: Partial<Record<keyof QuasarComponents, string[]>> =
|
|
205
205
|
{
|
|
206
|
-
QSelect: ['q-list', 'q-item', 'q-virtual-scroll', 'q-menu']
|
|
206
|
+
QSelect: ['q-list', 'q-item', 'q-virtual-scroll', 'q-menu'],
|
|
207
|
+
QPageSticky: [
|
|
208
|
+
'relative-position',
|
|
209
|
+
'fixed',
|
|
210
|
+
'fixed-full',
|
|
211
|
+
'fullscreen',
|
|
212
|
+
'fixed-center',
|
|
213
|
+
'fixed-bottom',
|
|
214
|
+
'fixed-left',
|
|
215
|
+
'fixed-right',
|
|
216
|
+
'fixed-top',
|
|
217
|
+
'fixed-top-left',
|
|
218
|
+
'fixed-top-right',
|
|
219
|
+
'fixed-bottom-left',
|
|
220
|
+
'fixed-bottom-right',
|
|
221
|
+
'absolute',
|
|
222
|
+
'absolute-full',
|
|
223
|
+
'absolute-center',
|
|
224
|
+
'absolute-bottom',
|
|
225
|
+
'absolute-left',
|
|
226
|
+
'absolute-right',
|
|
227
|
+
'absolute-top',
|
|
228
|
+
'absolute-top-left',
|
|
229
|
+
'absolute-top-right',
|
|
230
|
+
'absolute-bottom-left',
|
|
231
|
+
'absolute-bottom-right',
|
|
232
|
+
'vertical-top',
|
|
233
|
+
'vertical-middle',
|
|
234
|
+
'vertical-bottom'
|
|
235
|
+
]
|
|
207
236
|
}
|
|
208
237
|
|
|
209
238
|
const pluginSafelistMap: Partial<Record<keyof QuasarPlugins, string[]>> = {
|
|
@@ -2028,7 +2057,7 @@ textarea {
|
|
|
2028
2057
|
const transitionMatch = code.matchAll(
|
|
2029
2058
|
/(transition|transition-show|transition-hide|transition-prev|transition-next)="(\S*)"/g
|
|
2030
2059
|
)
|
|
2031
|
-
const colorMatch = code.matchAll(/color
|
|
2060
|
+
const colorMatch = code.matchAll(/color[=|:]"(\w*)"/g)
|
|
2032
2061
|
|
|
2033
2062
|
const pascalComponentsMatch: string[] = []
|
|
2034
2063
|
const matches: string[] = []
|