@maizzle/framework 5.0.0-beta.30 → 5.0.0-beta.32
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/package.json
CHANGED
|
@@ -2,7 +2,15 @@ export default {
|
|
|
2
2
|
root: './',
|
|
3
3
|
tag: 'component',
|
|
4
4
|
fileExtension: 'html',
|
|
5
|
-
folders: [
|
|
5
|
+
folders: [
|
|
6
|
+
'layouts',
|
|
7
|
+
'emails',
|
|
8
|
+
'templates',
|
|
9
|
+
'components',
|
|
10
|
+
'src/layouts',
|
|
11
|
+
'src/templates',
|
|
12
|
+
'src/components'
|
|
13
|
+
],
|
|
6
14
|
expressions: {
|
|
7
15
|
loopTags: ['each', 'for'],
|
|
8
16
|
missingLocal: '{local}',
|
package/types/css/inline.d.ts
CHANGED
|
@@ -233,4 +233,22 @@ export default interface InlineCSSConfig {
|
|
|
233
233
|
* ```
|
|
234
234
|
*/
|
|
235
235
|
preferUnitlessValues?: boolean;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Array of CSS selectors that should be preserved after inlining.
|
|
239
|
+
*
|
|
240
|
+
* @default [] // array of email-client targeting selectors
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* ```
|
|
244
|
+
* export default {
|
|
245
|
+
* css: {
|
|
246
|
+
* inline: {
|
|
247
|
+
* safelist: ['.line', '.bg-red-200']
|
|
248
|
+
* }
|
|
249
|
+
* }
|
|
250
|
+
* }
|
|
251
|
+
* ```
|
|
252
|
+
*/
|
|
253
|
+
safelist?: string[];
|
|
236
254
|
}
|
package/types/css/purge.d.ts
CHANGED
|
@@ -11,13 +11,13 @@ export default interface PurgeCSSConfig {
|
|
|
11
11
|
* export default {
|
|
12
12
|
* css: {
|
|
13
13
|
* purge: {
|
|
14
|
-
*
|
|
14
|
+
* safelist: ['.some-class', '.Mso*', '#*'],
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* }
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
safelist?: Opts['whitelist'];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Start and end delimiters for computed classes that you don't want removed.
|