purgetss 6.2.13 → 6.2.15
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/.vscode/settings.json
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
```scss
|
|
2
|
+
// Property(ies): borderRadius ( FULL )
|
|
3
|
+
// Component(s): Ti.UI.View, Ti.Media.VideoPlayer, Ti.UI.Android.CardView, Ti.UI.Android.DrawerLayout, Ti.UI.Android.SearchView, Ti.UI.Button, Ti.UI.ButtonBar, Ti.UI.DashboardView, 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, 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, Ti.UI.iOS.BlurView, Ti.UI.iOS.CoverFlowView, Ti.UI.iOS.LivePhotoView, Ti.UI.iOS.SplitWindow, Ti.UI.iOS.Stepper
|
|
4
|
+
'.rounded-full-1': { width: 4, height: 4, borderRadius: 2 }
|
|
5
|
+
'.rounded-full-2': { width: 8, height: 8, borderRadius: 4 }
|
|
6
|
+
'.rounded-full-3': { width: 12, height: 12, borderRadius: 6 }
|
|
7
|
+
'.rounded-full-4': { width: 16, height: 16, borderRadius: 8 }
|
|
8
|
+
'.rounded-full-5': { width: 20, height: 20, borderRadius: 10 }
|
|
9
|
+
'.rounded-full-6': { width: 24, height: 24, borderRadius: 12 }
|
|
10
|
+
'.rounded-full-7': { width: 28, height: 28, borderRadius: 14 }
|
|
11
|
+
'.rounded-full-8': { width: 32, height: 32, borderRadius: 16 }
|
|
12
|
+
'.rounded-full-9': { width: 36, height: 36, borderRadius: 18 }
|
|
13
|
+
'.rounded-full-10': { width: 40, height: 40, borderRadius: 20 }
|
|
14
|
+
'.rounded-full-11': { width: 44, height: 44, borderRadius: 22 }
|
|
15
|
+
'.rounded-full-12': { width: 48, height: 48, borderRadius: 24 }
|
|
16
|
+
'.rounded-full-14': { width: 56, height: 56, borderRadius: 28 }
|
|
17
|
+
'.rounded-full-16': { width: 64, height: 64, borderRadius: 32 }
|
|
18
|
+
'.rounded-full-20': { width: 80, height: 80, borderRadius: 40 }
|
|
19
|
+
'.rounded-full-24': { width: 96, height: 96, borderRadius: 48 }
|
|
20
|
+
'.rounded-full-28': { width: 112, height: 112, borderRadius: 56 }
|
|
21
|
+
'.rounded-full-32': { width: 128, height: 128, borderRadius: 64 }
|
|
22
|
+
'.rounded-full-36': { width: 144, height: 144, borderRadius: 72 }
|
|
23
|
+
'.rounded-full-40': { width: 160, height: 160, borderRadius: 80 }
|
|
24
|
+
'.rounded-full-44': { width: 176, height: 176, borderRadius: 88 }
|
|
25
|
+
'.rounded-full-48': { width: 192, height: 192, borderRadius: 96 }
|
|
26
|
+
'.rounded-full-52': { width: 208, height: 208, borderRadius: 104 }
|
|
27
|
+
'.rounded-full-56': { width: 224, height: 224, borderRadius: 112 }
|
|
28
|
+
'.rounded-full-60': { width: 240, height: 240, borderRadius: 120 }
|
|
29
|
+
'.rounded-full-64': { width: 256, height: 256, borderRadius: 128 }
|
|
30
|
+
'.rounded-full-72': { width: 288, height: 288, borderRadius: 144 }
|
|
31
|
+
'.rounded-full-80': { width: 320, height: 320, borderRadius: 160 }
|
|
32
|
+
'.rounded-full-96': { width: 384, height: 384, borderRadius: 192 }
|
|
33
|
+
'.rounded-full-none': { width: 0, height: 0, borderRadius: 0 }
|
|
34
|
+
'.rounded-full-sm': { width: 'NaN', height: 'NaN', borderRadius: 2 }
|
|
35
|
+
'.rounded-full': { width: 'NaN', height: 'NaN', borderRadius: 4 }
|
|
36
|
+
'.rounded-full-md': { width: 'NaN', height: 'NaN', borderRadius: 6 }
|
|
37
|
+
'.rounded-full-lg': { width: 'NaN', height: 'NaN', borderRadius: 8 }
|
|
38
|
+
'.rounded-full-xl': { width: 'NaN', height: 'NaN', borderRadius: 12 }
|
|
39
|
+
'.rounded-full-2xl': { width: 'NaN', height: 'NaN', borderRadius: 16 }
|
|
40
|
+
'.rounded-full-3xl': { width: 'NaN', height: 'NaN', borderRadius: 24 }
|
|
41
|
+
'.rounded-full-px': { width: 'NaN', height: 'NaN', borderRadius: '1px' }
|
|
42
|
+
'.rounded-full-0.5': { width: 2, height: 2, borderRadius: 1 }
|
|
43
|
+
'.rounded-full-1.5': { width: 6, height: 6, borderRadius: 3 }
|
|
44
|
+
'.rounded-full-2.5': { width: 10, height: 10, borderRadius: 5 }
|
|
45
|
+
'.rounded-full-3.5': { width: 14, height: 14, borderRadius: 7 }
|
|
46
|
+
```
|
package/dist/tailwind.tss
CHANGED
|
@@ -2181,6 +2181,51 @@
|
|
|
2181
2181
|
'.rounded-tr-bl-2.5': { borderRadius: [0, 5, 0, 5] }
|
|
2182
2182
|
'.rounded-tr-bl-3.5': { borderRadius: [0, 7, 0, 7] }
|
|
2183
2183
|
|
|
2184
|
+
// Property(ies): borderRadius ( FULL )
|
|
2185
|
+
// Component(s): Ti.UI.View, Ti.Media.VideoPlayer, Ti.UI.Android.CardView, Ti.UI.Android.DrawerLayout, Ti.UI.Android.SearchView, Ti.UI.Button, Ti.UI.ButtonBar, Ti.UI.DashboardView, 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, 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, Ti.UI.iOS.BlurView, Ti.UI.iOS.CoverFlowView, Ti.UI.iOS.LivePhotoView, Ti.UI.iOS.SplitWindow, Ti.UI.iOS.Stepper
|
|
2186
|
+
'.rounded-full-1': { width: 4, height: 4, borderRadius: 2 }
|
|
2187
|
+
'.rounded-full-2': { width: 8, height: 8, borderRadius: 4 }
|
|
2188
|
+
'.rounded-full-3': { width: 12, height: 12, borderRadius: 6 }
|
|
2189
|
+
'.rounded-full-4': { width: 16, height: 16, borderRadius: 8 }
|
|
2190
|
+
'.rounded-full-5': { width: 20, height: 20, borderRadius: 10 }
|
|
2191
|
+
'.rounded-full-6': { width: 24, height: 24, borderRadius: 12 }
|
|
2192
|
+
'.rounded-full-7': { width: 28, height: 28, borderRadius: 14 }
|
|
2193
|
+
'.rounded-full-8': { width: 32, height: 32, borderRadius: 16 }
|
|
2194
|
+
'.rounded-full-9': { width: 36, height: 36, borderRadius: 18 }
|
|
2195
|
+
'.rounded-full-10': { width: 40, height: 40, borderRadius: 20 }
|
|
2196
|
+
'.rounded-full-11': { width: 44, height: 44, borderRadius: 22 }
|
|
2197
|
+
'.rounded-full-12': { width: 48, height: 48, borderRadius: 24 }
|
|
2198
|
+
'.rounded-full-14': { width: 56, height: 56, borderRadius: 28 }
|
|
2199
|
+
'.rounded-full-16': { width: 64, height: 64, borderRadius: 32 }
|
|
2200
|
+
'.rounded-full-20': { width: 80, height: 80, borderRadius: 40 }
|
|
2201
|
+
'.rounded-full-24': { width: 96, height: 96, borderRadius: 48 }
|
|
2202
|
+
'.rounded-full-28': { width: 112, height: 112, borderRadius: 56 }
|
|
2203
|
+
'.rounded-full-32': { width: 128, height: 128, borderRadius: 64 }
|
|
2204
|
+
'.rounded-full-36': { width: 144, height: 144, borderRadius: 72 }
|
|
2205
|
+
'.rounded-full-40': { width: 160, height: 160, borderRadius: 80 }
|
|
2206
|
+
'.rounded-full-44': { width: 176, height: 176, borderRadius: 88 }
|
|
2207
|
+
'.rounded-full-48': { width: 192, height: 192, borderRadius: 96 }
|
|
2208
|
+
'.rounded-full-52': { width: 208, height: 208, borderRadius: 104 }
|
|
2209
|
+
'.rounded-full-56': { width: 224, height: 224, borderRadius: 112 }
|
|
2210
|
+
'.rounded-full-60': { width: 240, height: 240, borderRadius: 120 }
|
|
2211
|
+
'.rounded-full-64': { width: 256, height: 256, borderRadius: 128 }
|
|
2212
|
+
'.rounded-full-72': { width: 288, height: 288, borderRadius: 144 }
|
|
2213
|
+
'.rounded-full-80': { width: 320, height: 320, borderRadius: 160 }
|
|
2214
|
+
'.rounded-full-96': { width: 384, height: 384, borderRadius: 192 }
|
|
2215
|
+
'.rounded-full-none': { width: 0, height: 0, borderRadius: 0 }
|
|
2216
|
+
'.rounded-full-sm': { width: 'NaN', height: 'NaN', borderRadius: 2 }
|
|
2217
|
+
'.rounded-full': { width: 'NaN', height: 'NaN', borderRadius: 4 }
|
|
2218
|
+
'.rounded-full-md': { width: 'NaN', height: 'NaN', borderRadius: 6 }
|
|
2219
|
+
'.rounded-full-lg': { width: 'NaN', height: 'NaN', borderRadius: 8 }
|
|
2220
|
+
'.rounded-full-xl': { width: 'NaN', height: 'NaN', borderRadius: 12 }
|
|
2221
|
+
'.rounded-full-2xl': { width: 'NaN', height: 'NaN', borderRadius: 16 }
|
|
2222
|
+
'.rounded-full-3xl': { width: 'NaN', height: 'NaN', borderRadius: 24 }
|
|
2223
|
+
'.rounded-full-px': { width: 'NaN', height: 'NaN', borderRadius: '1px' }
|
|
2224
|
+
'.rounded-full-0.5': { width: 2, height: 2, borderRadius: 1 }
|
|
2225
|
+
'.rounded-full-1.5': { width: 6, height: 6, borderRadius: 3 }
|
|
2226
|
+
'.rounded-full-2.5': { width: 10, height: 10, borderRadius: 5 }
|
|
2227
|
+
'.rounded-full-3.5': { width: 14, height: 14, borderRadius: 7 }
|
|
2228
|
+
|
|
2184
2229
|
// Property(ies): fontFamily
|
|
2185
2230
|
// Component(s): Ti.UI.ActivityIndicator, Ti.UI.Button, Ti.UI.Label, Ti.UI.ListItem, Ti.UI.Picker, Ti.UI.PickerColumn, Ti.UI.PickerRow, Ti.UI.ProgressBar, Ti.UI.Switch, Ti.UI.TableViewRow, Ti.UI.TextArea, Ti.UI.TextField
|
|
2186
2231
|
|
|
@@ -232,7 +232,7 @@ function processCompoundClasses({ ..._base }) {
|
|
|
232
232
|
|
|
233
233
|
//! Configurables
|
|
234
234
|
compoundClasses += generateGlossary('borderRadius-alternative', helpers.borderRadius(_base.borderRadius));
|
|
235
|
-
|
|
235
|
+
compoundClasses += generateGlossary('borderRadius-full', helpers.borderRadiusFull(_base.borderRadius));
|
|
236
236
|
compoundClasses += generateGlossary('fontFamily', helpers.fontFamily(_base.fontFamily));
|
|
237
237
|
compoundClasses += generateGlossary('fontSize', helpers.fontSize(_base.fontSize));
|
|
238
238
|
compoundClasses += generateGlossary('fontWeight', helpers.fontWeight(_base.fontWeight));
|
package/index.js
CHANGED
|
@@ -706,7 +706,7 @@ function processFontAwesomeTSS(CSSFile, templateTSS, resetTSS, fontFamilies, web
|
|
|
706
706
|
throw err2;
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
logger.file('./purgetss/fontawesome.tss');
|
|
709
|
+
logger.file('./purgetss/styles/fontawesome.tss');
|
|
710
710
|
|
|
711
711
|
makeSureFolderExists(projectsFontsFolder);
|
|
712
712
|
|
|
@@ -2543,6 +2543,8 @@ function purgeTailwind(uniqueClasses) {
|
|
|
2543
2543
|
//! In other words, we need to validate the color value, before we can alter its opacity.
|
|
2544
2544
|
let defaultHexValue = (classProperties.includes('from')) ? classProperties.match(/\#[0-9a-f]{6}/g)[1] : classProperties.match(/\#[0-9a-f]{6}/i)[0];
|
|
2545
2545
|
let classWithoutDecimalOpacity = `${classProperties.replace(new RegExp(defaultHexValue.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g'), `#${opacityValue.transparency}${defaultHexValue.substring(1)}`)}`;
|
|
2546
|
+
// Special case: #000000
|
|
2547
|
+
if (classProperties.includes('from') && defaultHexValue == '#000000') classWithoutDecimalOpacity = classWithoutDecimalOpacity.replace('00000000', '000000');
|
|
2546
2548
|
|
|
2547
2549
|
let defaultTextValue = classProperties.match(/'[^']*'/i)[0];
|
|
2548
2550
|
defaultTextValue = defaultTextValue.substring(1, defaultTextValue.length);
|
package/lib/helpers.js
CHANGED
|
@@ -6780,10 +6780,16 @@ function processProperties(info, selectorAndDeclarationBlock, selectorsAndValues
|
|
|
6780
6780
|
_.each(value, (_value, key) => {
|
|
6781
6781
|
if (debug) console.log('key:', key, '_value:', _value);
|
|
6782
6782
|
let processedProperties = _.replace(declarationBlock, new RegExp("{value}", "g"), parseValue(_value, minusSigns));
|
|
6783
|
+
if (declarationBlock.includes('double')) {
|
|
6784
|
+
processedProperties = _.replace(processedProperties, new RegExp("{double}", "g"), parseValue(_value * 2, minusSigns));
|
|
6785
|
+
}
|
|
6783
6786
|
convertedStyles += defaultModifier(key) ? `'.${setModifier2(mainSelector, rule)}${setModifier2(rule)}${setModifier2(selector)}': ${processedProperties}\n` : `'.${setModifier2(mainSelector, rule)}${setModifier2(rule, key)}${setModifier2(key)}${setModifier2(selector)}': ${processedProperties}\n`;
|
|
6784
6787
|
});
|
|
6785
6788
|
} else {
|
|
6786
6789
|
let processedProperties = _.replace(declarationBlock, new RegExp("{value}", "g"), parseValue(value, minusSigns));
|
|
6790
|
+
if (declarationBlock.includes('double')) {
|
|
6791
|
+
processedProperties = _.replace(processedProperties, new RegExp("{double}", "g"), parseValue(value * 2, minusSigns));
|
|
6792
|
+
}
|
|
6787
6793
|
convertedStyles += `'.${setModifier2(mainSelector, rule)}${setModifier2(rule)}${setModifier2(selector)}': ${processedProperties}\n`;
|
|
6788
6794
|
}
|
|
6789
6795
|
});
|
package/package.json
CHANGED