purgetss 6.0.3 → 6.0.4

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.
@@ -203,7 +203,6 @@ function processCompoundClasses({ ..._base }) {
203
203
  compoundClasses += helpers.navigationMode();
204
204
  compoundClasses += helpers.orientationModes();
205
205
  compoundClasses += helpers.placement();
206
- compoundClasses += helpers.preventDefaultImage();
207
206
  compoundClasses += helpers.progressBarStyle();
208
207
  compoundClasses += helpers.scrollIndicators();
209
208
  compoundClasses += helpers.scrollsToTop();
@@ -548,7 +547,9 @@ function formatClassName(property, value) {
548
547
  function removeUneededVariablesFromPropertyName(property) {
549
548
  return Array.from(new Set(property.split('-')))
550
549
  .join('-')
550
+
551
551
  .replace('-default', '')
552
+ .replace('prevent-image', 'prevent-default-image')
552
553
  .replace('-input-buttonmode', '')
553
554
  .replace('-option-', '-')
554
555
  .replace('-ti-platform-android', '')
package/lib/helpers.js CHANGED
@@ -1359,7 +1359,7 @@ function editable() {
1359
1359
  }, {
1360
1360
  'default': {
1361
1361
  'editable': true,
1362
- [(globalOptions.legacy) ? 'none-editable' : 'editable-false']: false,
1362
+ [(globalOptions.legacy) ? 'non-editable' : 'editable-false']: false,
1363
1363
  }
1364
1364
  });
1365
1365
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purgetss",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "An extension for Titanium SDK that contains a set of Tailwind-like classes to easily and quickly create beautifully designed mobile apps.",
5
5
  "main": "index.js",
6
6
  "bin": {