purgetss 5.3.27 → 6.0.1
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/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/bin/purgetss +12 -11
- package/dist/glossary/configurableProperties/borderRadius.md +363 -363
- package/dist/glossary/constantProperties/contentHeightAndWidth.md +0 -4
- package/dist/glossary/constantProperties/gridFlow.md +1 -1
- package/dist/glossary/constantProperties/items.md +1 -1
- package/dist/glossary/constantProperties/orientationModes.md +4 -6
- package/dist/glossary/constantProperties/tabbedBarStyle.md +1 -3
- package/dist/glossary/constantProperties/tiMedia.md +5 -5
- package/dist/glossary/constantProperties/windowSoftInputMode.md +5 -6
- package/dist/tailwind.tss +19228 -14457
- package/experimental/completions.js +793 -0
- package/experimental/completions2.js +637 -0
- package/experimental/leftOversOnly.json +1433 -0
- package/index.js +219 -179
- package/lib/build-tailwind.js +1 -3
- package/lib/completions/titanium/completions-v3.json +119 -36
- package/lib/helpers.js +530 -448
- package/lib/templates/purgetss.config.js +4 -3
- package/lib/templates/tailwind/compoundTemplate.json +220 -0
- package/package.json +1 -1
- package/properties-only.json +1 -0
- package/types.json +1 -0
- package/dist/tailwind-auto.tss +0 -23491
|
Binary file
|
package/bin/purgetss
CHANGED
|
@@ -47,19 +47,20 @@ program
|
|
|
47
47
|
program
|
|
48
48
|
.command('build')
|
|
49
49
|
.alias('b')
|
|
50
|
-
.description('Build a
|
|
51
|
-
.
|
|
50
|
+
.description('Build a `tailwind.tss` file.')
|
|
51
|
+
.option('-d, --debug', 'Generate extra files for debuging.')
|
|
52
|
+
.help('It will generate a `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
|
|
52
53
|
.action((args, options, logger) => {
|
|
53
|
-
purgetss.
|
|
54
|
+
purgetss.build(options);
|
|
54
55
|
});
|
|
55
56
|
|
|
56
57
|
program
|
|
57
|
-
.command('
|
|
58
|
-
.
|
|
59
|
-
.
|
|
58
|
+
.command('build-legacy')
|
|
59
|
+
.alias('bl')
|
|
60
|
+
.description('Build a Legacy `tailwind.tss` file.')
|
|
61
|
+
.help('It will generate a Legacy `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
|
|
60
62
|
.action((args, options, logger) => {
|
|
61
|
-
|
|
62
|
-
// require('../testing-scripts/completions').completionsRevised();
|
|
63
|
+
purgetss.buildLegacy();
|
|
63
64
|
});
|
|
64
65
|
|
|
65
66
|
program
|
|
@@ -86,11 +87,11 @@ program
|
|
|
86
87
|
program
|
|
87
88
|
.command('build-fonts')
|
|
88
89
|
.alias('bf')
|
|
89
|
-
.description('Build a
|
|
90
|
-
.help('It will generate a new
|
|
90
|
+
.description('Build a `fonts.tss` file.')
|
|
91
|
+
.help('It will generate a new `fonts.tss` file based on the fonts and css files located in `./purgetss/fonts` folder.')
|
|
91
92
|
.option('-m, --modules', 'Use the `--modules` option to also generate a CommonJS module into `./app/lib/` folder called `purgetss-fonts.js`.')
|
|
92
93
|
.action((args, options, logger) => {
|
|
93
|
-
purgetss.
|
|
94
|
+
purgetss.buildFonts(options);
|
|
94
95
|
});
|
|
95
96
|
|
|
96
97
|
program
|