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
@@ -29,8 +29,8 @@
29
29
  - [**Overriding, extending or disabling properties**](#overriding-extending-or-disabling-properties)
30
30
  - [Overriding properties](#overriding-properties)
31
31
  - [Extending properties](#extending-properties)
32
- - [Disabling properties](#disabling-properties)
33
- - [**Core Properties**](#core-properties)
32
+ - [Disabling an entire core plugin](#disabling-an-entire-core-plugin)
33
+ - [**Core Plugins**](#core-plugins)
34
34
  - [Background Colors](#background-colors)
35
35
  - [Border Colors](#border-colors)
36
36
  - [Border Radius](#border-radius)
@@ -796,19 +796,32 @@ module.exports = {
796
796
  }
797
797
  ```
798
798
 
799
- ## Disabling properties
800
- If you don't want to generate any classes for a certain property, set that plugin to false in `corePlugins` configuration.
799
+ ## Disabling an entire core plugin
800
+ If you dont want to generate any classes for a certain core plugin, it’s better to set that plugin to false or add them to an array in your `corePlugins` configuration than to provide an empty object for that key in your `theme` configuration.
801
801
 
802
+ Setting false to a set of objects to disable a core plugin:
802
803
  ```javascript
803
804
  // ./purgetss/config.js
804
805
  module.exports = {
805
806
  'corePlugins': {
806
807
  'opacity': false,
808
+ 'borderRadius': false
807
809
  }
808
810
  }
809
811
  ```
810
812
 
811
- # **Core Properties**
813
+ Using and array to disable a core plugin:
814
+ ```javascript
815
+ // ./purgetss/config.js
816
+ module.exports = {
817
+ 'corePlugins': [
818
+ 'opacity',
819
+ 'borderRadius'
820
+ ]
821
+ }
822
+ ```
823
+
824
+ # **Core Plugins**
812
825
 
813
826
  ### Background Colors
814
827
  Utilities for controlling an element's background color.
package/docs/glossary.md CHANGED
@@ -4584,8 +4584,8 @@ The following is a list of all the properties and their repective class name.
4584
4584
 
4585
4585
  ### pagingControlOnTop Property
4586
4586
  ```css
4587
- '.paging-on-top': { pagingControlOnTop: true }
4588
- '.paging-on-bottom': { pagingControlOnTop: false }
4587
+ '.paging-control-on-top': { pagingControlOnTop: true }
4588
+ '.paging-control-on-bottom': { pagingControlOnTop: false }
4589
4589
  ```
4590
4590
 
4591
4591
  ### pagingControlTimeout Property
@@ -6851,8 +6851,7 @@ The following is a list of all the properties and their repective class name.
6851
6851
 
6852
6852
  ## Debug Mode Property
6853
6853
  ```css
6854
- '.debug-on': { debug: true }
6855
- '.debug-off': { debug: false }
6854
+ '.debug': { debug: true }
6856
6855
  ```
6857
6856
 
6858
6857
  ## delay Property