vitrify 0.18.1 → 0.18.3

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.
@@ -133,6 +133,19 @@ const componentsSafelistMap = {
133
133
  'vertical-top',
134
134
  'vertical-middle',
135
135
  'vertical-bottom'
136
+ ],
137
+ QTabs: [
138
+ 'q-tab',
139
+ 'q-tab--full',
140
+ 'q-tab--no-caps',
141
+ 'q-tab__content',
142
+ 'q-tab__content--inline',
143
+ 'q-tab__icon',
144
+ 'q-tab__label',
145
+ 'q-tab__alert',
146
+ 'q-tab__alert-icon',
147
+ 'q-tab__indicator',
148
+ 'q-tab--active'
136
149
  ]
137
150
  };
138
151
  const pluginSafelistMap = {
@@ -1824,7 +1837,7 @@ textarea {
1824
1837
  const kebabMatch = code.matchAll(/q-(\w)([\w-]*)/g);
1825
1838
  const pascalMatch = code.matchAll(/Q([A-Z][a-z0-9]+)+/g);
1826
1839
  const transitionMatch = code.matchAll(/(transition|transition-show|transition-hide|transition-prev|transition-next)="(\S*)"/g);
1827
- const colorMatch = code.matchAll(/color="(\S*)"/g);
1840
+ const colorMatch = code.matchAll(/color[=|:]"(\w*)"/g);
1828
1841
  const pascalComponentsMatch = [];
1829
1842
  const matches = [];
1830
1843
  for (const match of kebabMatch)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitrify",
3
- "version": "0.18.1",
3
+ "version": "0.18.3",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "description": "Vite as your Full Stack development tool",
@@ -232,6 +232,19 @@ const componentsSafelistMap: Partial<Record<keyof QuasarComponents, string[]>> =
232
232
  'vertical-top',
233
233
  'vertical-middle',
234
234
  'vertical-bottom'
235
+ ],
236
+ QTabs: [
237
+ 'q-tab',
238
+ 'q-tab--full',
239
+ 'q-tab--no-caps',
240
+ 'q-tab__content',
241
+ 'q-tab__content--inline',
242
+ 'q-tab__icon',
243
+ 'q-tab__label',
244
+ 'q-tab__alert',
245
+ 'q-tab__alert-icon',
246
+ 'q-tab__indicator',
247
+ 'q-tab--active'
235
248
  ]
236
249
  }
237
250
 
@@ -2057,7 +2070,7 @@ textarea {
2057
2070
  const transitionMatch = code.matchAll(
2058
2071
  /(transition|transition-show|transition-hide|transition-prev|transition-next)="(\S*)"/g
2059
2072
  )
2060
- const colorMatch = code.matchAll(/color="(\S*)"/g)
2073
+ const colorMatch = code.matchAll(/color[=|:]"(\w*)"/g)
2061
2074
 
2062
2075
  const pascalComponentsMatch: string[] = []
2063
2076
  const matches: string[] = []