amotify 0.0.51 → 0.0.52
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/package.json
CHANGED
|
@@ -982,15 +982,15 @@
|
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
|
|
985
|
+
.amotf_ {
|
|
986
986
|
@include UniStyles('');
|
|
987
|
-
&
|
|
987
|
+
&h {
|
|
988
988
|
@include UniStyles(':hover');
|
|
989
989
|
}
|
|
990
|
-
&
|
|
990
|
+
&f {
|
|
991
991
|
@include UniStyles(':focus');
|
|
992
992
|
}
|
|
993
|
-
&
|
|
993
|
+
&a {
|
|
994
994
|
@include UniStyles(':active');
|
|
995
995
|
}
|
|
996
996
|
&bk {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type StyleType = '
|
|
1
|
+
type StyleType = 'amotf_' | 'amotf_h' | 'amotf_f' | 'amotf_a' | 'amotf_bk';
|
|
2
2
|
|
|
3
3
|
const FNs = {
|
|
4
4
|
toConcreteBorderRadius: ( br?: amotify.UniStyles.Borders.RadiusParams ) => {
|
|
@@ -432,15 +432,15 @@ export const ToClassName: amotify.global.StyleConverter.ToClassName = ( rawParam
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
{
|
|
435
|
-
let result = FNs.ClassNames( '
|
|
435
|
+
let result = FNs.ClassNames( 'amotf_',others );
|
|
436
436
|
|
|
437
437
|
ClassNames.push( result.className );
|
|
438
438
|
others = result.otherParams;
|
|
439
439
|
}
|
|
440
|
-
if ( UnderBreakPointStyles ) ClassNames.push( FNs.ClassNames( '
|
|
441
|
-
if ( hoverStyles ) ClassNames.push( FNs.ClassNames( '
|
|
442
|
-
if ( focusStyles ) ClassNames.push( FNs.ClassNames( '
|
|
443
|
-
if ( activeStyles ) ClassNames.push( FNs.ClassNames( '
|
|
440
|
+
if ( UnderBreakPointStyles ) ClassNames.push( FNs.ClassNames( 'amotf_bk',UnderBreakPointStyles ).className );
|
|
441
|
+
if ( hoverStyles ) ClassNames.push( FNs.ClassNames( 'amotf_h',hoverStyles ).className );
|
|
442
|
+
if ( focusStyles ) ClassNames.push( FNs.ClassNames( 'amotf_f',focusStyles ).className );
|
|
443
|
+
if ( activeStyles ) ClassNames.push( FNs.ClassNames( 'amotf_a',activeStyles ).className );
|
|
444
444
|
|
|
445
445
|
let states = { ...others } as any
|
|
446
446
|
if ( freeCSS ) states.style = {
|