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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -982,15 +982,15 @@
982
982
  }
983
983
  }
984
984
  }
985
- {
985
+ .amotf_ {
986
986
  @include UniStyles('');
987
- &_h {
987
+ &h {
988
988
  @include UniStyles(':hover');
989
989
  }
990
- &_f {
990
+ &f {
991
991
  @include UniStyles(':focus');
992
992
  }
993
- &_a {
993
+ &a {
994
994
  @include UniStyles(':active');
995
995
  }
996
996
  &bk {
@@ -1,4 +1,4 @@
1
- type StyleType = '¥' | '¥_h' | '¥_f' | '¥_a' | '¥bk';
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( '¥',others );
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( '¥bk',UnderBreakPointStyles ).className );
441
- if ( hoverStyles ) ClassNames.push( FNs.ClassNames( '¥_h',hoverStyles ).className );
442
- if ( focusStyles ) ClassNames.push( FNs.ClassNames( '¥_f',focusStyles ).className );
443
- if ( activeStyles ) ClassNames.push( FNs.ClassNames( '¥_a',activeStyles ).className );
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 = {