purgetss 3.0.4 → 3.1.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.
Files changed (38) hide show
  1. package/.editorconfig +1 -1
  2. package/README.md +3 -3
  3. package/assets/fonts/bootstrap-icons.ttf +0 -0
  4. package/assets/fonts/tabler-icons.ttf +0 -0
  5. package/assets/images/blend-modes.png +0 -0
  6. package/assets/images/shadow.png +0 -0
  7. package/bin/purgetss +6 -5
  8. package/dist/bootstrapicons.js +1714 -0
  9. package/dist/bootstrapicons.tss +1692 -0
  10. package/dist/tablericons.js +95 -1
  11. package/dist/tablericons.tss +94 -0
  12. package/dist/tailwind.tss +3242 -411
  13. package/docs/configuring-guide.md +18 -5
  14. package/docs/glossary.md +3 -4
  15. package/docs/new-glossary.md +8313 -0
  16. package/docs/whats-new/v2.5.0.md +6 -6
  17. package/docs/whats-new/v3.0.4.md +7 -6
  18. package/docs/whats-new/v3.0.5.md +136 -0
  19. package/docs/whats-new/v3.1.0.md +614 -0
  20. package/docs/whats-new/v3.1.1.md +262 -0
  21. package/index.js +397 -246
  22. package/lib/build-bootstrap-icons-js.js +64 -0
  23. package/lib/build-bootstrap-icons-tss.js +50 -0
  24. package/lib/build-fonts-folder.js +7 -0
  25. package/lib/build-tailwind.js +78 -16
  26. package/lib/helpers.js +2027 -764
  27. package/lib/templates/bootstrap-icons/bootstrap-icons.css +1705 -0
  28. package/lib/templates/bootstrap-icons/bootstrap-icons.ttf +0 -0
  29. package/lib/templates/bootstrap-icons/reset.tss +6 -0
  30. package/lib/templates/bootstrap-icons/template.js +4 -0
  31. package/lib/templates/bootstrap-icons/template.tss +2 -0
  32. package/lib/templates/custom-template.tss +1 -1
  33. package/lib/templates/tablericons/template.js +1 -1
  34. package/lib/templates/tailwind/custom-template.tss +1 -1
  35. package/lib/templates/tailwind/template.tss +1 -1
  36. package/lib/test-function.js +9 -0
  37. package/package.json +8 -5
  38. package/purgetss.config.js +950 -0
@@ -0,0 +1,6 @@
1
+ // Font Families
2
+ '.bi': { font: { fontFamily: 'bootstrap-icons' } }
3
+ '.bootstrap': { font: { fontFamily: 'bootstrap-icons' } }
4
+
5
+ // Font Icons
6
+ // To use boxicons in Buttons AND Labels each class sets 'text' and 'title' properties
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Bootstrap Icons v1.8.0 - https://icons.getbootstrap.com
3
+ * License - https://github.com/twbs/icons/blob/main/LICENSE.md
4
+ */
@@ -0,0 +1,2 @@
1
+ // Bootstrap Icons v1.8.0 - https://icons.getbootstrap.com
2
+ // License - https://github.com/twbs/icons/blob/main/LICENSE.md
@@ -1,3 +1,3 @@
1
1
  // Custom TSS File
2
- // Generated with purgetss
2
+ // Generated with PurgeTSS
3
3
  // https://github.com/macCesar/purgeTSS
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Boxicons v 1.48.0 - https://tabler-icons.io
2
+ * Boxicons v 1.53.0 - https://tabler-icons.io
3
3
  * License - https://github.com/tabler/tabler-icons/blob/master/LICENSE
4
4
  */
@@ -1,4 +1,4 @@
1
1
 
2
2
  // Custom Tailwind styles
3
- // Generated with purgetss
3
+ // Generated with PurgeTSS
4
4
  // https://github.com/macCesar/purgeTSS
@@ -1,2 +1,2 @@
1
- // Tailwind CSS v3.0.7: A utility-first CSS framework for rapidly building custom designs. ( https://tailwindcss.com )
1
+ // Tailwind CSS v3.0.18: A utility-first CSS framework for rapidly building custom designs. ( https://tailwindcss.com )
2
2
  // Created by Adam Wathan ( https://twitter.com/adamwathan ).
@@ -0,0 +1,9 @@
1
+ const updateNotifier = require('update-notifier');
2
+
3
+ updateNotifier({
4
+ pkg: {
5
+ name: 'purgetss',
6
+ version: '2.0.0'
7
+ },
8
+ updateCheckInterval: 0
9
+ }).notify();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purgetss",
3
- "version": "3.0.4",
3
+ "version": "3.1.2",
4
4
  "description": "An extension for Titanium SDK that generates a set of Tailwind-like classes and values to easily and quickly create beautifully designed mobile apps.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "scripts": {
13
13
  "build": "npm run build:all",
14
+ "notifier": "node ./lib/test-function",
14
15
  "build:tailwind": "node ./lib/build-tailwind",
15
16
  "build:fonts": "node ./lib/build-fonts-folder",
16
17
  "build:fa": "node ./lib/build-fontawesome-free-tss",
@@ -25,7 +26,9 @@
25
26
  "build:tablericons-js": "node ./lib/build-tablericons-js",
26
27
  "build:material": "node ./lib/build-material-icons-tss",
27
28
  "build:material-js": "node ./lib/build-material-icons-js",
28
- "build:all": "npm run build:tailwind && npm run build:fa && npm run build:fa-js && npm run build:lineicons && npm run build:lineicons-js && npm run build:material && npm run build:material-js && npm run build:boxicons && npm run build:boxicons-js && npm run build:framework7 && npm run build:framework7-js && npm run build:tablericons && npm run build:tablericons-js && npm run build:fonts"
29
+ "build:bootstrap": "node ./lib/build-bootstrap-icons-tss",
30
+ "build:bootstrap-js": "node ./lib/build-bootstrap-icons-js",
31
+ "build:all": "npm run build:tailwind && npm run build:fa && npm run build:fa-js && npm run build:lineicons && npm run build:lineicons-js && npm run build:material && npm run build:material-js && npm run build:boxicons && npm run build:boxicons-js && npm run build:framework7 && npm run build:framework7-js && npm run build:tablericons && npm run build:tablericons-js && npm run build:bootstrap && npm run build:bootstrap-js && npm run build:fonts"
29
32
  },
30
33
  "repository": {
31
34
  "type": "git",
@@ -46,9 +49,9 @@
46
49
  "homepage": "https://github.com/macCesar/purgeTSS#readme",
47
50
  "dependencies": {
48
51
  "@fortawesome/fontawesome-free": "^5.15.4",
49
- "@tabler/icons": "^1.48.0",
52
+ "@tabler/icons": "^1.53.0",
50
53
  "arg": "^5.0.1",
51
- "autoprefixer": "^10.4.0",
54
+ "autoprefixer": "^10.4.2",
52
55
  "boxicons": "^2.1.1",
53
56
  "caporal": "^1.4.0",
54
57
  "chalk": "^4.1.2",
@@ -60,7 +63,7 @@
60
63
  "path": "^0.12.7",
61
64
  "prompts": "^2.4.2",
62
65
  "read-css": "^0.3.0",
63
- "tailwindcss": "^3.0.7",
66
+ "tailwindcss": "^3.0.18",
64
67
  "traverse": "^0.6.6",
65
68
  "update-notifier": "^5.1.0",
66
69
  "xml-js": "^1.6.11"