phx-react 1.3.534 → 1.3.535

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.
@@ -6,7 +6,9 @@ function LoginStyle(props) {
6
6
  var buttonColor = props.buttonColor;
7
7
  var hexColorPattern = /#[0-9A-Fa-f]{6}/g;
8
8
  var containsHexColor = hexColorPattern.test(buttonColor);
9
- var styleButton = containsHexColor ? "background: ".concat(buttonColor) : "background-color: ".concat(buttonColor);
9
+ var styleButton = containsHexColor
10
+ ? "background: ".concat(buttonColor, "; \n box-shadow:none !important")
11
+ : "background-color: ".concat(buttonColor);
10
12
  return (react_1["default"].createElement("style", null, "\n .button-login {\n ".concat(styleButton, "\n }\n ")));
11
13
  }
12
14
  exports["default"] = LoginStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"login-style.js","sourceRoot":"","sources":["../../../../src/components/Login/login-style.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AAMzB,SAAS,UAAU,CAAC,KAAgC;IAC1C,IAAA,WAAW,GAAK,KAAK,YAAV,CAAU;IAC7B,IAAM,eAAe,GAAG,kBAAkB,CAAA;IAC1C,IAAM,gBAAgB,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAC1D,IAAM,WAAW,GAAG,gBAAgB,CAAC,CAAC,CAAC,sBAAe,WAAW,CAAE,CAAC,CAAC,CAAC,4BAAqB,WAAW,CAAE,CAAA;IAExG,OAAO,CACL,gDACG,2CAEG,WAAW,uBAEd,CACK,CACT,CAAA;AACH,CAAC;AAED,qBAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"login-style.js","sourceRoot":"","sources":["../../../../src/components/Login/login-style.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AAMzB,SAAS,UAAU,CAAC,KAAgC;IAC1C,IAAA,WAAW,GAAK,KAAK,YAAV,CAAU;IAC7B,IAAM,eAAe,GAAG,kBAAkB,CAAA;IAC1C,IAAM,gBAAgB,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAC1D,IAAM,WAAW,GAAG,gBAAgB;QAClC,CAAC,CAAC,sBAAe,WAAW,0CACE;QAC9B,CAAC,CAAC,4BAAqB,WAAW,CAAE,CAAA;IAEtC,OAAO,CACL,gDACG,2CAEG,WAAW,uBAEd,CACK,CACT,CAAA;AACH,CAAC;AAED,qBAAe,UAAU,CAAA"}
@@ -3,7 +3,9 @@ function LoginStyle(props) {
3
3
  var buttonColor = props.buttonColor;
4
4
  var hexColorPattern = /#[0-9A-Fa-f]{6}/g;
5
5
  var containsHexColor = hexColorPattern.test(buttonColor);
6
- var styleButton = containsHexColor ? "background: ".concat(buttonColor) : "background-color: ".concat(buttonColor);
6
+ var styleButton = containsHexColor
7
+ ? "background: ".concat(buttonColor, "; \n box-shadow:none !important")
8
+ : "background-color: ".concat(buttonColor);
7
9
  return (React.createElement("style", null, "\n .button-login {\n ".concat(styleButton, "\n }\n ")));
8
10
  }
9
11
  export default LoginStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"login-style.js","sourceRoot":"","sources":["../../../../src/components/Login/login-style.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,SAAS,UAAU,CAAC,KAAgC;IAC1C,IAAA,WAAW,GAAK,KAAK,YAAV,CAAU;IAC7B,IAAM,eAAe,GAAG,kBAAkB,CAAA;IAC1C,IAAM,gBAAgB,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAC1D,IAAM,WAAW,GAAG,gBAAgB,CAAC,CAAC,CAAC,sBAAe,WAAW,CAAE,CAAC,CAAC,CAAC,4BAAqB,WAAW,CAAE,CAAA;IAExG,OAAO,CACL,mCACG,2CAEG,WAAW,uBAEd,CACK,CACT,CAAA;AACH,CAAC;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"login-style.js","sourceRoot":"","sources":["../../../../src/components/Login/login-style.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,SAAS,UAAU,CAAC,KAAgC;IAC1C,IAAA,WAAW,GAAK,KAAK,YAAV,CAAU;IAC7B,IAAM,eAAe,GAAG,kBAAkB,CAAA;IAC1C,IAAM,gBAAgB,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAC1D,IAAM,WAAW,GAAG,gBAAgB;QAClC,CAAC,CAAC,sBAAe,WAAW,0CACE;QAC9B,CAAC,CAAC,4BAAqB,WAAW,CAAE,CAAA;IAEtC,OAAO,CACL,mCACG,2CAEG,WAAW,uBAEd,CACK,CACT,CAAA;AACH,CAAC;AAED,eAAe,UAAU,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phx-react",
3
- "version": "1.3.534",
3
+ "version": "1.3.535",
4
4
  "description": "PHX REACT",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",