purgetss 6.2.11 → 6.2.13
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/FontAwesome6Brands-Regular.ttf +0 -0
- package/assets/fonts/FontAwesome6Free-Regular.ttf +0 -0
- package/assets/fonts/FontAwesome6Free-Solid.ttf +0 -0
- package/dist/fontawesome.js +5 -2
- package/dist/fontawesome.tss +5 -2
- package/dist/glossary/compoundClasses/zoom-in-out.md +2 -0
- package/dist/glossary/configurableProperties/maxZoomScale.md +1 -0
- package/dist/glossary/configurableProperties/minZoomScale.md +1 -0
- package/dist/glossary/configurableProperties/scale.md +1 -0
- package/dist/glossary/configurableProperties/scaleX.md +1 -0
- package/dist/glossary/configurableProperties/scaleY.md +1 -0
- package/dist/glossary/configurableProperties/scalesPageToFit.md +1 -0
- package/dist/glossary/configurableProperties/shiftMode.md +3 -2
- package/dist/glossary/configurableProperties/zoomScale.md +1 -0
- package/dist/tailwind.tss +13 -3
- package/experimental/completions2.js +4 -3
- package/index.js +4 -4
- package/lib/completions/titanium/completions-v3.json +1 -1
- package/lib/helpers.js +1 -1
- package/lib/templates/fontawesome/free-template.js +1 -1
- package/lib/templates/fontawesome/free-template.tss +1 -1
- package/lib/templates/tailwind/template.tss +1 -1
- package/package.json +3 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fontawesome.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Font Awesome Free 6.2.
|
|
2
|
+
* Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com
|
|
3
3
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -361,6 +361,7 @@ const icons = {
|
|
|
361
361
|
'grinAlt': '\uf581',
|
|
362
362
|
'tooth': '\uf5c9',
|
|
363
363
|
'v': '\u0056',
|
|
364
|
+
'bangladeshiTakaSign': '\ue2e6',
|
|
364
365
|
'bicycle': '\uf206',
|
|
365
366
|
'staffSnake': '\ue579',
|
|
366
367
|
'rodAsclepius': '\ue579',
|
|
@@ -1218,7 +1219,6 @@ const icons = {
|
|
|
1218
1219
|
'virusSlash': '\ue075',
|
|
1219
1220
|
'minus': '\uf068',
|
|
1220
1221
|
'subtract': '\uf068',
|
|
1221
|
-
'childRifle': '\ue4e0',
|
|
1222
1222
|
'chess': '\uf439',
|
|
1223
1223
|
'arrowLeftLong': '\uf177',
|
|
1224
1224
|
'longArrowLeft': '\uf177',
|
|
@@ -1588,6 +1588,8 @@ const icons = {
|
|
|
1588
1588
|
'gripHorizontal': '\uf58d',
|
|
1589
1589
|
'shareFromSquare': '\uf14d',
|
|
1590
1590
|
'shareSquare': '\uf14d',
|
|
1591
|
+
'childCombatant': '\ue4e0',
|
|
1592
|
+
'childRifle': '\ue4e0',
|
|
1591
1593
|
'gun': '\ue19b',
|
|
1592
1594
|
'squarePhone': '\uf098',
|
|
1593
1595
|
'phoneSquare': '\uf098',
|
|
@@ -1647,6 +1649,7 @@ const icons = {
|
|
|
1647
1649
|
'chevronLeft': '\uf053',
|
|
1648
1650
|
'bacteria': '\ue059',
|
|
1649
1651
|
'handLizard': '\uf258',
|
|
1652
|
+
'notdef': '\ue1fe',
|
|
1650
1653
|
'disease': '\uf7fa',
|
|
1651
1654
|
'briefcaseMedical': '\uf469',
|
|
1652
1655
|
'genderless': '\uf22d',
|
package/dist/fontawesome.tss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font Awesome Free 6.2.
|
|
1
|
+
// Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com
|
|
2
2
|
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
3
3
|
|
|
4
4
|
// Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons
|
|
@@ -369,6 +369,7 @@
|
|
|
369
369
|
'.fa-grin-alt': { text: '\uf581', title: '\uf581' }
|
|
370
370
|
'.fa-tooth': { text: '\uf5c9', title: '\uf5c9' }
|
|
371
371
|
'.fa-v': { text: '\u0056', title: '\u0056' }
|
|
372
|
+
'.fa-bangladeshi-taka-sign': { text: '\ue2e6', title: '\ue2e6' }
|
|
372
373
|
'.fa-bicycle': { text: '\uf206', title: '\uf206' }
|
|
373
374
|
'.fa-staff-snake': { text: '\ue579', title: '\ue579' }
|
|
374
375
|
'.fa-rod-asclepius': { text: '\ue579', title: '\ue579' }
|
|
@@ -1226,7 +1227,6 @@
|
|
|
1226
1227
|
'.fa-virus-slash': { text: '\ue075', title: '\ue075' }
|
|
1227
1228
|
'.fa-minus': { text: '\uf068', title: '\uf068' }
|
|
1228
1229
|
'.fa-subtract': { text: '\uf068', title: '\uf068' }
|
|
1229
|
-
'.fa-child-rifle': { text: '\ue4e0', title: '\ue4e0' }
|
|
1230
1230
|
'.fa-chess': { text: '\uf439', title: '\uf439' }
|
|
1231
1231
|
'.fa-arrow-left-long': { text: '\uf177', title: '\uf177' }
|
|
1232
1232
|
'.fa-long-arrow-left': { text: '\uf177', title: '\uf177' }
|
|
@@ -1596,6 +1596,8 @@
|
|
|
1596
1596
|
'.fa-grip-horizontal': { text: '\uf58d', title: '\uf58d' }
|
|
1597
1597
|
'.fa-share-from-square': { text: '\uf14d', title: '\uf14d' }
|
|
1598
1598
|
'.fa-share-square': { text: '\uf14d', title: '\uf14d' }
|
|
1599
|
+
'.fa-child-combatant': { text: '\ue4e0', title: '\ue4e0' }
|
|
1600
|
+
'.fa-child-rifle': { text: '\ue4e0', title: '\ue4e0' }
|
|
1599
1601
|
'.fa-gun': { text: '\ue19b', title: '\ue19b' }
|
|
1600
1602
|
'.fa-square-phone': { text: '\uf098', title: '\uf098' }
|
|
1601
1603
|
'.fa-phone-square': { text: '\uf098', title: '\uf098' }
|
|
@@ -1655,6 +1657,7 @@
|
|
|
1655
1657
|
'.fa-chevron-left': { text: '\uf053', title: '\uf053' }
|
|
1656
1658
|
'.fa-bacteria': { text: '\ue059', title: '\ue059' }
|
|
1657
1659
|
'.fa-hand-lizard': { text: '\uf258', title: '\uf258' }
|
|
1660
|
+
'.fa-notdef': { text: '\ue1fe', title: '\ue1fe' }
|
|
1658
1661
|
'.fa-disease': { text: '\uf7fa', title: '\uf7fa' }
|
|
1659
1662
|
'.fa-briefcase-medical': { text: '\uf469', title: '\uf469' }
|
|
1660
1663
|
'.fa-genderless': { text: '\uf22d', title: '\uf22d' }
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
'.zoom-in-110': { animationProperties: { open: { scale: 1.1 }, complete: { scale: 1 } } }
|
|
16
16
|
'.zoom-in-125': { animationProperties: { open: { scale: 1.25 }, complete: { scale: 1 } } }
|
|
17
17
|
'.zoom-in-150': { animationProperties: { open: { scale: 1.5 }, complete: { scale: 1 } } }
|
|
18
|
+
'.zoom-in-200': { animationProperties: { open: { scale: 2 }, complete: { scale: 1 } } }
|
|
18
19
|
'.zoom-out-0': { animationProperties: { close: { scale: 0 }, complete: { scale: 1 } } }
|
|
19
20
|
'.zoom-out-1': { animationProperties: { close: { scale: 0.01 }, complete: { scale: 1 } } }
|
|
20
21
|
'.zoom-out-5': { animationProperties: { close: { scale: 0.05 }, complete: { scale: 1 } } }
|
|
@@ -29,4 +30,5 @@
|
|
|
29
30
|
'.zoom-out-110': { animationProperties: { close: { scale: 1.1 }, complete: { scale: 1 } } }
|
|
30
31
|
'.zoom-out-125': { animationProperties: { close: { scale: 1.25 }, complete: { scale: 1 } } }
|
|
31
32
|
'.zoom-out-150': { animationProperties: { close: { scale: 1.5 }, complete: { scale: 1 } } }
|
|
33
|
+
'.zoom-out-200': { animationProperties: { close: { scale: 2 }, complete: { scale: 1 } } }
|
|
32
34
|
```
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Property: shiftMode
|
|
3
3
|
// Description: Determines whether the TABS_STYLE_BOTTOM_NAVIGATION uses shiftMode.
|
|
4
4
|
// Component(s): Ti.UI.TabGroup
|
|
5
|
-
'.shift-mode': { shiftMode:
|
|
6
|
-
'.shift-mode-
|
|
5
|
+
'.shift-mode-none': { shiftMode: 0 }
|
|
6
|
+
'.shift-mode-title': { shiftMode: 1 }
|
|
7
|
+
'.shift-mode-icon': { shiftMode: 2 }
|
|
7
8
|
```
|
package/dist/tailwind.tss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Based on Tailwind CSS v3.2.
|
|
1
|
+
// Based on Tailwind CSS v3.2.4: A utility-first CSS framework for rapidly building custom designs. ( https://tailwindcss.com )
|
|
2
2
|
// Created by Adam Wathan ( https://twitter.com/adamwathan ).
|
|
3
3
|
|
|
4
4
|
// Tailwind-like styles
|
|
@@ -2771,6 +2771,7 @@
|
|
|
2771
2771
|
'.zoom-in-110': { animationProperties: { open: { scale: 1.1 }, complete: { scale: 1 } } }
|
|
2772
2772
|
'.zoom-in-125': { animationProperties: { open: { scale: 1.25 }, complete: { scale: 1 } } }
|
|
2773
2773
|
'.zoom-in-150': { animationProperties: { open: { scale: 1.5 }, complete: { scale: 1 } } }
|
|
2774
|
+
'.zoom-in-200': { animationProperties: { open: { scale: 2 }, complete: { scale: 1 } } }
|
|
2774
2775
|
'.zoom-out-0': { animationProperties: { close: { scale: 0 }, complete: { scale: 1 } } }
|
|
2775
2776
|
'.zoom-out-1': { animationProperties: { close: { scale: 0.01 }, complete: { scale: 1 } } }
|
|
2776
2777
|
'.zoom-out-5': { animationProperties: { close: { scale: 0.05 }, complete: { scale: 1 } } }
|
|
@@ -2785,6 +2786,7 @@
|
|
|
2785
2786
|
'.zoom-out-110': { animationProperties: { close: { scale: 1.1 }, complete: { scale: 1 } } }
|
|
2786
2787
|
'.zoom-out-125': { animationProperties: { close: { scale: 1.25 }, complete: { scale: 1 } } }
|
|
2787
2788
|
'.zoom-out-150': { animationProperties: { close: { scale: 1.5 }, complete: { scale: 1 } } }
|
|
2789
|
+
'.zoom-out-200': { animationProperties: { close: { scale: 2 }, complete: { scale: 1 } } }
|
|
2788
2790
|
|
|
2789
2791
|
// Property(ies): width and height
|
|
2790
2792
|
// Component(s): Ti.UI.View, Ti.Blob, Ti.Media.VideoPlayer, MovieSize, Ti.UI.ActivityIndicator, Ti.UI.Android.CardView, Ti.UI.Android.DrawerLayout, Ti.UI.Android.SearchView, Ti.UI.Animation, Ti.UI.Button, Ti.UI.ButtonBar, Ti.UI.DashboardView, Dimension, DimensionWithAbsolutes, Ti.UI.ImageView, Ti.UI.Label, Ti.UI.ListView, Ti.UI.MaskedImage, Ti.UI.NavigationWindow, Ti.UI.OptionBar, Ti.UI.Picker, Ti.UI.PickerRow, Ti.UI.ProgressBar, Ti.UI.ScrollView, Ti.UI.ScrollableView, Ti.UI.SearchBar, Size, Ti.UI.Slider, Ti.UI.Switch, Ti.UI.TabbedBar, Ti.UI.TableView, Ti.UI.TableViewRow, Ti.UI.TextArea, Ti.UI.TextField, Ti.UI.Toolbar, Ti.UI.WebView, Ti.UI.Window, openWindowParams, Ti.UI.iOS.BlurView, Ti.UI.iOS.CoverFlowView, CoverFlowImageType, Ti.UI.iOS.LivePhotoView, Ti.UI.iOS.SplitWindow, Ti.UI.iOS.Stepper, BarItemType, Ti.UI.iPad.Popover
|
|
@@ -6548,6 +6550,7 @@
|
|
|
6548
6550
|
'.scale-x-110': { scaleX: 1.1 }
|
|
6549
6551
|
'.scale-x-125': { scaleX: 1.25 }
|
|
6550
6552
|
'.scale-x-150': { scaleX: 1.5 }
|
|
6553
|
+
'.scale-x-200': { scaleX: 2 }
|
|
6551
6554
|
|
|
6552
6555
|
// Property: scaleY
|
|
6553
6556
|
// Description: Scaling of the view in y-axis in pixels.
|
|
@@ -6566,6 +6569,7 @@
|
|
|
6566
6569
|
'.scale-y-110': { scaleY: 1.1 }
|
|
6567
6570
|
'.scale-y-125': { scaleY: 1.25 }
|
|
6568
6571
|
'.scale-y-150': { scaleY: 1.5 }
|
|
6572
|
+
'.scale-y-200': { scaleY: 2 }
|
|
6569
6573
|
|
|
6570
6574
|
// Property: softKeyboardOnFocus
|
|
6571
6575
|
// Description: Determines keyboard behavior when this view is focused. Defaults to Titanium.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS.
|
|
@@ -9879,6 +9883,7 @@
|
|
|
9879
9883
|
'.scale-110': { scale: 1.1 }
|
|
9880
9884
|
'.scale-125': { scale: 1.25 }
|
|
9881
9885
|
'.scale-150': { scale: 1.5 }
|
|
9886
|
+
'.scale-200': { scale: 2 }
|
|
9882
9887
|
|
|
9883
9888
|
// Property: rotate
|
|
9884
9889
|
// Component(s): MatrixCreationDict, Matrix2DCreationDict
|
|
@@ -16243,6 +16248,7 @@
|
|
|
16243
16248
|
'.max-zoom-scale-110': { maxZoomScale: 1.1 }
|
|
16244
16249
|
'.max-zoom-scale-125': { maxZoomScale: 1.25 }
|
|
16245
16250
|
'.max-zoom-scale-150': { maxZoomScale: 1.5 }
|
|
16251
|
+
'.max-zoom-scale-200': { maxZoomScale: 2 }
|
|
16246
16252
|
|
|
16247
16253
|
// Property: minZoomScale
|
|
16248
16254
|
// Description: Minimum scaling factor of the scrollable region and its content.
|
|
@@ -16261,6 +16267,7 @@
|
|
|
16261
16267
|
'.min-zoom-scale-110': { minZoomScale: 1.1 }
|
|
16262
16268
|
'.min-zoom-scale-125': { minZoomScale: 1.25 }
|
|
16263
16269
|
'.min-zoom-scale-150': { minZoomScale: 1.5 }
|
|
16270
|
+
'.min-zoom-scale-200': { minZoomScale: 2 }
|
|
16264
16271
|
|
|
16265
16272
|
// Property: overScrollMode
|
|
16266
16273
|
// Component(s): Ti.UI.ScrollView, Ti.UI.ScrollableView, Ti.UI.TableView, Ti.UI.WebView
|
|
@@ -16309,6 +16316,7 @@
|
|
|
16309
16316
|
'.zoom-scale-110': { zoomScale: 1.1 }
|
|
16310
16317
|
'.zoom-scale-125': { zoomScale: 1.25 }
|
|
16311
16318
|
'.zoom-scale-150': { zoomScale: 1.5 }
|
|
16319
|
+
'.zoom-scale-200': { zoomScale: 2 }
|
|
16312
16320
|
|
|
16313
16321
|
// Property: cacheSize
|
|
16314
16322
|
// Description: Number of pages to cache (pre-render).
|
|
@@ -18979,8 +18987,9 @@
|
|
|
18979
18987
|
// Property: shiftMode
|
|
18980
18988
|
// Description: Determines whether the TABS_STYLE_BOTTOM_NAVIGATION uses shiftMode.
|
|
18981
18989
|
// Component(s): Ti.UI.TabGroup
|
|
18982
|
-
'.shift-mode': { shiftMode:
|
|
18983
|
-
'.shift-mode-
|
|
18990
|
+
'.shift-mode-none': { shiftMode: 0 }
|
|
18991
|
+
'.shift-mode-title': { shiftMode: 1 }
|
|
18992
|
+
'.shift-mode-icon': { shiftMode: 2 }
|
|
18984
18993
|
|
|
18985
18994
|
// Property: tabsBackgroundColor
|
|
18986
18995
|
// Description: Default background color for inactive tabs, as a color name or hex triplet.
|
|
@@ -20679,6 +20688,7 @@
|
|
|
20679
20688
|
'.scales-page-to-fit-110': { scalesPageToFit: 1.1 }
|
|
20680
20689
|
'.scales-page-to-fit-125': { scalesPageToFit: 1.25 }
|
|
20681
20690
|
'.scales-page-to-fit-150': { scalesPageToFit: 1.5 }
|
|
20691
|
+
'.scales-page-to-fit-200': { scalesPageToFit: 2 }
|
|
20682
20692
|
|
|
20683
20693
|
// Property: willHandleTouches
|
|
20684
20694
|
// Description: Explicitly specifies if this web view handles touches.
|
|
@@ -34,7 +34,7 @@ const configFile = (fs.existsSync(projectsConfigJS)) ? require(projectsConfigJS)
|
|
|
34
34
|
configFile.purge = configFile.purge ?? { mode: 'all' };
|
|
35
35
|
configFile.theme.extend = configFile.theme.extend ?? {};
|
|
36
36
|
|
|
37
|
-
const configOptions = (configFile.purge && configFile.purge.options) ? configFile.purge.options :
|
|
37
|
+
const configOptions = (configFile.purge && configFile.purge.options) ? configFile.purge.options : {};
|
|
38
38
|
if (configOptions) {
|
|
39
39
|
configOptions.plugins = configOptions.plugins ?? [];
|
|
40
40
|
configOptions.safelist = configOptions.safelist ?? [];
|
|
@@ -246,7 +246,7 @@ function processCompoundClasses({ ..._base }) {
|
|
|
246
246
|
//! colors
|
|
247
247
|
compoundClasses += generateGlossary('backgroundGradient', helpers.backgroundGradient(combineKeys(configFile.theme, _base.colors, 'backgroundGradient')));
|
|
248
248
|
compoundClasses += generateGlossary('backgroundSelectedGradient', helpers.backgroundSelectedGradient(combineKeys(configFile.theme, _base.colors, 'backgroundSelectedGradient')));
|
|
249
|
-
compoundClasses += generateGlossary('color-alternative', helpers.textColor(
|
|
249
|
+
compoundClasses += generateGlossary('color-alternative', helpers.textColor(_base.textColor));
|
|
250
250
|
compoundClasses += generateGlossary('hintTextColor', helpers.placeholder(combineKeys(configFile.theme, _base.colors, 'hintTextColor')));
|
|
251
251
|
compoundClasses += generateGlossary('titleAttributes-color', helpers.titleAttributesColor(combineKeys(configFile.theme, _base.colors, 'titleAttributesColor')));
|
|
252
252
|
compoundClasses += generateGlossary('titleAttributes-shadow-color', helpers.titleAttributesShadowColor(combineKeys(configFile.theme, _base.colors, 'titleAttributesShadowColor')));
|
|
@@ -278,7 +278,7 @@ function findBaseKey(_key, _data) {
|
|
|
278
278
|
} else if ((_key.includes('width') || _key.includes('Width')) && _key !== 'platformWidth') {
|
|
279
279
|
return 'width';
|
|
280
280
|
} else if (_key === 'shiftMode') {
|
|
281
|
-
return '
|
|
281
|
+
return 'shiftMode';
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
return _key;
|
|
@@ -316,6 +316,7 @@ function combineDefaultThemeWithConfigFile() {
|
|
|
316
316
|
height: {},
|
|
317
317
|
widthHeight: {},
|
|
318
318
|
boolean: { true: true, false: false },
|
|
319
|
+
shiftMode: { none: 0, title: 1, icon: 2, },
|
|
319
320
|
rotate: combineKeys(configFile.theme, { ...defaultTheme.rotate, ...{ '135': '135deg', '225': '225deg', '270': '270deg', '315': '315deg', '360': '360deg' } }, 'rotate'),
|
|
320
321
|
zIndex: defaultTheme.zIndex,
|
|
321
322
|
opacity: defaultTheme.opacity,
|
package/index.js
CHANGED
|
@@ -103,7 +103,7 @@ const configFile = (fs.existsSync(projectsConfigJS)) ? require(projectsConfigJS)
|
|
|
103
103
|
configFile.purge = configFile.purge ?? { mode: 'all' };
|
|
104
104
|
configFile.theme.extend = configFile.theme.extend ?? {};
|
|
105
105
|
|
|
106
|
-
const configOptions = (configFile.purge && configFile.purge.options) ? configFile.purge.options :
|
|
106
|
+
const configOptions = (configFile.purge && configFile.purge.options) ? configFile.purge.options : {};
|
|
107
107
|
if (configOptions) {
|
|
108
108
|
configOptions.legacy = configOptions.legacy ?? false;
|
|
109
109
|
configOptions.widgets = configOptions.widgets ?? false;
|
|
@@ -383,11 +383,11 @@ function create(args, options) {
|
|
|
383
383
|
} else {
|
|
384
384
|
console.log('');
|
|
385
385
|
logger.error('::Can’t create a Titanium project::');
|
|
386
|
-
logger.info('You
|
|
386
|
+
logger.info('You must have', chalk.green('`app.idprefix`'), 'and', chalk.green('`app.workspace`'), 'configured to create a project with', chalk.green('`PurgeTSS`'));
|
|
387
387
|
console.log('');
|
|
388
388
|
logger.info('Please, set them like this:');
|
|
389
389
|
logger.info(chalk.green('ti config app.idprefix'), chalk.yellow("'com.your.reverse.domain'"));
|
|
390
|
-
logger.info(chalk.green('ti config app.workspace'), chalk.yellow("'path/to/your/workspace
|
|
390
|
+
logger.info(chalk.green('ti config app.workspace'), chalk.yellow("'path/to/your/workspace'"));
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
393
|
}
|
|
@@ -677,7 +677,7 @@ function buildFonts(options) {
|
|
|
677
677
|
logger.info('No fonts found in', chalk.yellow('./purgetss/fonts'), 'folder!');
|
|
678
678
|
}
|
|
679
679
|
} else {
|
|
680
|
-
logger.info(`Add font and style files to ${chalk.yellow('./purgetss/fonts')} and run this command again!`);
|
|
680
|
+
logger.info(`Add font and style files to ${chalk.yellow('./purgetss/fonts')} folder and run this command again!`);
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
683
|
module.exports.buildFonts = buildFonts;
|
package/lib/helpers.js
CHANGED
|
@@ -6380,7 +6380,7 @@ exports.customRules = customRules;
|
|
|
6380
6380
|
//! The son of Mother Goose
|
|
6381
6381
|
function compileApplyDirectives(twClasses) {
|
|
6382
6382
|
let twClassesArray = twClasses.split(/\r?\n/);
|
|
6383
|
-
let fontsClassesArray = (fs.existsSync(cwd + '/purgetss/fonts.tss')) ? fs.readFileSync(cwd + '/purgetss/fonts.tss', 'utf8').split(/\r?\n/) : null;
|
|
6383
|
+
let fontsClassesArray = (fs.existsSync(cwd + '/purgetss/styles/fonts.tss')) ? fs.readFileSync(cwd + '/purgetss/styles/fonts.tss', 'utf8').split(/\r?\n/) : null;
|
|
6384
6384
|
_.each(_applyClasses, (values, className) => {
|
|
6385
6385
|
let indexOfModifier = findIndexOfClassName(`'${className}':`, twClassesArray);
|
|
6386
6386
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font Awesome Free 6.2.
|
|
1
|
+
// Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com
|
|
2
2
|
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
3
3
|
|
|
4
4
|
// Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// Based on Tailwind CSS v3.2.
|
|
1
|
+
// Based on Tailwind CSS v3.2.4: A utility-first CSS framework for rapidly building custom designs. ( https://tailwindcss.com )
|
|
2
2
|
// Created by Adam Wathan ( https://twitter.com/adamwathan ).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purgetss",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.13",
|
|
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": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/macCesar/purgeTSS#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@fortawesome/fontawesome-free": "^6.2.
|
|
46
|
+
"@fortawesome/fontawesome-free": "^6.2.1",
|
|
47
47
|
"caporal": "^1.4.0",
|
|
48
48
|
"chalk": "^4.1.2",
|
|
49
49
|
"chroma-js": "2.1.2",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"path": "^0.12.7",
|
|
59
59
|
"prompts": "^2.4.2",
|
|
60
60
|
"read-css": "^0.3.0",
|
|
61
|
-
"tailwindcss": "^3.2.
|
|
61
|
+
"tailwindcss": "^3.2.4",
|
|
62
62
|
"traverse": "^0.6.7",
|
|
63
63
|
"update-notifier": "^5.1.0",
|
|
64
64
|
"uuid": "^9.0.0",
|