@tap-payments/auth-jsconnect 1.0.7 → 1.0.10
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.
|
@@ -9,13 +9,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Fragment } from 'react';
|
|
14
14
|
import { ThemeProvider as MUIThemeProvider } from '@mui/material/styles';
|
|
15
|
+
import CssBaseline from '@mui/material/CssBaseline';
|
|
15
16
|
export default function ThemeProvider(_a) {
|
|
16
17
|
var children = _a.children, theme = _a.theme;
|
|
17
18
|
if (!theme) {
|
|
18
19
|
return _jsx(Fragment, {});
|
|
19
20
|
}
|
|
20
|
-
return
|
|
21
|
+
return (_jsxs(MUIThemeProvider, __assign({ theme: theme }, { children: [_jsx(CssBaseline, {}), children] })));
|
|
21
22
|
}
|
|
@@ -32,8 +32,6 @@ var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop
|
|
|
32
32
|
return ({
|
|
33
33
|
width: theme.spacing(3),
|
|
34
34
|
height: theme.spacing(3),
|
|
35
|
-
paddingInlineStart: theme.spacing(1.5),
|
|
36
|
-
paddingInlineEnd: theme.spacing(0.5),
|
|
37
35
|
transform: isAr ? 'scaleX(-1)' : 'scaleX(1)'
|
|
38
36
|
});
|
|
39
37
|
});
|
package/build/index.css
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
|
|
3
3
|
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
4
4
|
|
|
5
|
+
/* reset all html elements */
|
|
6
|
+
html,
|
|
7
|
+
body,
|
|
8
|
+
div,
|
|
9
|
+
span,
|
|
10
|
+
applet,
|
|
11
|
+
object,
|
|
12
|
+
iframe,
|
|
13
|
+
form,
|
|
14
|
+
h1,
|
|
15
|
+
h2,
|
|
16
|
+
h3,
|
|
17
|
+
h4,
|
|
18
|
+
h5,
|
|
19
|
+
h6,
|
|
20
|
+
p,
|
|
21
|
+
blockquote,
|
|
22
|
+
pre,
|
|
23
|
+
a,
|
|
24
|
+
abbr,
|
|
25
|
+
acronym,
|
|
26
|
+
address,
|
|
27
|
+
big,
|
|
28
|
+
cite,
|
|
29
|
+
code,
|
|
5
30
|
body {
|
|
6
31
|
margin: 0;
|
|
7
32
|
padding: 0;
|