@ludo.ninja/components 2.4.27 → 2.4.29

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.
@@ -14,18 +14,18 @@ const react_1 = require("react");
14
14
  const styled_components_1 = __importDefault(require("styled-components"));
15
15
  const StyledButton = styled_components_1.default.button `
16
16
  position: fixed;
17
- inset: auto auto 48px 0;
17
+ inset: 50% 0 auto auto;
18
18
  z-index: 999999;
19
19
 
20
20
  display: flex;
21
- padding: 7px 22px 7px 18px;
21
+ padding: 7px 18px 7px 22px;
22
22
  justify-content: center;
23
23
  align-items: center;
24
24
  gap: 0;
25
25
  color: ${colors_1.WhiteColor};
26
26
 
27
27
  border: none;
28
- border-radius: 0 30px 30px 0;
28
+ border-radius: 30px 0 0 30px;
29
29
  background: linear-gradient(96deg, rgba(172, 184, 247, 0.7) 6.02%, rgba(189, 235, 255, 0.7) 100%),
30
30
  rgba(165, 51, 255, 0.8);
31
31
 
@@ -79,6 +79,6 @@ const MarkerButton = ({ className, style }) => {
79
79
  (0, react_1.useEffect)(() => {
80
80
  loadMarkerSDK();
81
81
  }, []);
82
- return ((0, jsx_runtime_1.jsxs)(StyledButton, { className: className, style: style, onClick: handleClick, children: [(0, jsx_runtime_1.jsx)(ui_1.H5, { className: "button-title", children: "Report a bug" }), (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { d: "M21.6905 14.6536C22.1286 14.0051 22.39 13.1796 22.3901 12.1587C22.3901 11.1376 22.1287 10.3113 21.6905 9.6626C21.2564 9.02016 20.6846 8.60471 20.1424 8.33721C19.6691 8.10369 19.2042 7.97765 18.8369 7.90713L18.8368 7.90569C18.8245 7.80726 18.8114 7.70141 18.7936 7.58955C18.6909 6.94386 18.4842 6.06828 18.0612 5.18135C17.6369 4.29187 16.9846 3.36853 15.9834 2.66885C14.9744 1.96374 13.6654 1.52394 11.999 1.52393C10.3326 1.52393 9.02367 1.96374 8.01467 2.66885C7.01345 3.36853 6.36122 4.29185 5.93694 5.18135C5.51387 6.0683 5.30601 6.94384 5.20334 7.58955C5.18556 7.70143 5.17239 7.80733 5.16015 7.90577L5.15999 7.90713C4.79295 7.97768 4.32854 8.10393 3.85569 8.33721C3.31353 8.6047 2.74167 9.0202 2.30764 9.6626C1.8694 10.3113 1.60803 11.1375 1.60803 12.1587C1.60813 13.1796 1.86948 14.0051 2.30764 14.6536C2.74167 15.296 3.31353 15.7115 3.85569 15.979C4.39455 16.2448 4.92229 16.3738 5.30764 16.4372C5.50241 16.4692 5.66674 16.4851 5.78577 16.4935C5.84528 16.4977 5.8939 16.5005 5.92991 16.5017C5.94784 16.5022 5.96294 16.5026 5.97444 16.5028H5.99905H6.89905V8.70869C6.89916 8.70146 6.89966 8.68873 6.90022 8.67119C6.90136 8.63532 6.90338 8.57885 6.90842 8.50478C6.91859 8.35565 6.93902 8.13651 6.98108 7.87197C7.06592 7.33841 7.23423 6.64136 7.56116 5.95596C7.88688 5.27312 8.35968 4.62381 9.04592 4.14424C9.72441 3.67014 10.6656 3.32393 11.999 3.32393C13.3325 3.32394 14.2737 3.67011 14.9522 4.14424C15.6384 4.62382 16.1112 5.27309 16.4369 5.95596C16.7638 6.64133 16.931 7.33842 17.0158 7.87197C17.0579 8.13654 17.0795 8.35564 17.0897 8.50478C17.0947 8.57885 17.0967 8.63532 17.0979 8.67119C17.0984 8.68874 17.0989 8.70147 17.099 8.70869V15.6028C17.099 16.7996 16.2859 17.5538 15.1948 18.0567C14.6631 18.3018 14.1209 18.4568 13.7053 18.5501C13.4997 18.5962 13.3293 18.6268 13.2131 18.645C13.1569 18.6538 13.1136 18.6589 13.0854 18.6626C13.0716 18.6629 13.0553 18.6643 13.0373 18.6649C12.9779 18.667 12.8958 18.671 12.7983 18.679C12.6066 18.6948 12.337 18.727 12.0565 18.7962C11.7887 18.8622 11.4384 18.9795 11.1365 19.2028C10.8099 19.4446 10.499 19.8498 10.499 20.4239C10.499 21.2513 11.0222 21.9006 11.6182 22.211C12.2293 22.5291 13.1138 22.5804 13.7768 21.9263C14.3168 21.3934 14.3625 20.73 14.3041 20.2563C14.7716 20.1413 15.3563 19.9644 15.9483 19.6915C17.1147 19.1539 18.4916 18.1518 18.8229 16.4103C19.1922 16.3403 19.6632 16.2155 20.1424 15.979C20.6846 15.7115 21.2564 15.2961 21.6905 14.6536Z", fill: "white" }) })] }));
82
+ return ((0, jsx_runtime_1.jsxs)(StyledButton, { className: className, style: style, onClick: handleClick, children: [(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { d: "M21.6905 14.6536C22.1286 14.0051 22.39 13.1796 22.3901 12.1587C22.3901 11.1376 22.1287 10.3113 21.6905 9.6626C21.2564 9.02016 20.6846 8.60471 20.1424 8.33721C19.6691 8.10369 19.2042 7.97765 18.8369 7.90713L18.8368 7.90569C18.8245 7.80726 18.8114 7.70141 18.7936 7.58955C18.6909 6.94386 18.4842 6.06828 18.0612 5.18135C17.6369 4.29187 16.9846 3.36853 15.9834 2.66885C14.9744 1.96374 13.6654 1.52394 11.999 1.52393C10.3326 1.52393 9.02367 1.96374 8.01467 2.66885C7.01345 3.36853 6.36122 4.29185 5.93694 5.18135C5.51387 6.0683 5.30601 6.94384 5.20334 7.58955C5.18556 7.70143 5.17239 7.80733 5.16015 7.90577L5.15999 7.90713C4.79295 7.97768 4.32854 8.10393 3.85569 8.33721C3.31353 8.6047 2.74167 9.0202 2.30764 9.6626C1.8694 10.3113 1.60803 11.1375 1.60803 12.1587C1.60813 13.1796 1.86948 14.0051 2.30764 14.6536C2.74167 15.296 3.31353 15.7115 3.85569 15.979C4.39455 16.2448 4.92229 16.3738 5.30764 16.4372C5.50241 16.4692 5.66674 16.4851 5.78577 16.4935C5.84528 16.4977 5.8939 16.5005 5.92991 16.5017C5.94784 16.5022 5.96294 16.5026 5.97444 16.5028H5.99905H6.89905V8.70869C6.89916 8.70146 6.89966 8.68873 6.90022 8.67119C6.90136 8.63532 6.90338 8.57885 6.90842 8.50478C6.91859 8.35565 6.93902 8.13651 6.98108 7.87197C7.06592 7.33841 7.23423 6.64136 7.56116 5.95596C7.88688 5.27312 8.35968 4.62381 9.04592 4.14424C9.72441 3.67014 10.6656 3.32393 11.999 3.32393C13.3325 3.32394 14.2737 3.67011 14.9522 4.14424C15.6384 4.62382 16.1112 5.27309 16.4369 5.95596C16.7638 6.64133 16.931 7.33842 17.0158 7.87197C17.0579 8.13654 17.0795 8.35564 17.0897 8.50478C17.0947 8.57885 17.0967 8.63532 17.0979 8.67119C17.0984 8.68874 17.0989 8.70147 17.099 8.70869V15.6028C17.099 16.7996 16.2859 17.5538 15.1948 18.0567C14.6631 18.3018 14.1209 18.4568 13.7053 18.5501C13.4997 18.5962 13.3293 18.6268 13.2131 18.645C13.1569 18.6538 13.1136 18.6589 13.0854 18.6626C13.0716 18.6629 13.0553 18.6643 13.0373 18.6649C12.9779 18.667 12.8958 18.671 12.7983 18.679C12.6066 18.6948 12.337 18.727 12.0565 18.7962C11.7887 18.8622 11.4384 18.9795 11.1365 19.2028C10.8099 19.4446 10.499 19.8498 10.499 20.4239C10.499 21.2513 11.0222 21.9006 11.6182 22.211C12.2293 22.5291 13.1138 22.5804 13.7768 21.9263C14.3168 21.3934 14.3625 20.73 14.3041 20.2563C14.7716 20.1413 15.3563 19.9644 15.9483 19.6915C17.1147 19.1539 18.4916 18.1518 18.8229 16.4103C19.1922 16.3403 19.6632 16.2155 20.1424 15.979C20.6846 15.7115 21.2564 15.2961 21.6905 14.6536Z", fill: "white" }) }), (0, jsx_runtime_1.jsx)(ui_1.H5, { className: "button-title", children: "Report a bug" })] }));
83
83
  };
84
84
  exports.default = MarkerButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.4.27",
3
+ "version": "2.4.29",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",