orc-shared 5.99.0-dev.1 → 5.99.0-dev.3
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/dist/components/AppFrame/About.js +13 -13
- package/dist/components/AppFrame/Anchor.js +7 -7
- package/dist/components/AppFrame/AppFrame.js +3 -3
- package/dist/components/AppFrame/Help.js +4 -4
- package/dist/components/AppFrame/MenuItem.js +14 -14
- package/dist/components/AppFrame/Preferences.js +14 -14
- package/dist/components/AppFrame/Sidebar.js +6 -6
- package/dist/components/AppFrame/Topbar.js +6 -6
- package/dist/components/DropMenu/Menu.js +9 -9
- package/dist/components/Form/Field.js +4 -4
- package/dist/components/Form/Inputs/Button.js +2 -2
- package/dist/components/InternetExplorerWarningMessage.js +15 -15
- package/dist/components/MaterialUI/DataDisplay/Modal.js +3 -3
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Placeholder.js +6 -6
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/SelectionList.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/TransferList.js +1 -1
- package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +1 -1
- package/dist/components/MaterialUI/Inputs/DatePicker.js +1 -1
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +1 -1
- package/dist/components/MaterialUI/Inputs/Switch.js +1 -1
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +1 -1
- package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +27 -42
- package/dist/components/MaterialUI/Surfaces/Paper.js +1 -1
- package/dist/components/MaterialUI/muiThemes.js +1 -1
- package/dist/components/Routing/SegmentPage.js +3 -3
- package/dist/components/Scope/ScopeNode.js +7 -9
- package/dist/components/Sidepanel.js +29 -27
- package/dist/components/Spritesheet.js +17 -15
- package/dist/components/ToastList.js +11 -11
- package/dist/components/Treeview/Branch.js +9 -9
- package/dist/components/Treeview/Label.js +8 -8
- package/dist/components/Treeview/Leaf.js +2 -2
- package/dist/components/Treeview/settings.js +10 -1
- package/package.json +1 -1
- package/src/components/AppFrame/About.js +13 -13
- package/src/components/AppFrame/Anchor.js +7 -7
- package/src/components/AppFrame/AppFrame.js +3 -3
- package/src/components/AppFrame/Help.js +4 -4
- package/src/components/AppFrame/MenuItem.js +14 -14
- package/src/components/AppFrame/Preferences.js +14 -14
- package/src/components/AppFrame/Sidebar.js +6 -6
- package/src/components/AppFrame/Topbar.js +6 -6
- package/src/components/DropMenu/Menu.js +9 -9
- package/src/components/Form/Field.js +4 -4
- package/src/components/Form/Inputs/Button.js +2 -2
- package/src/components/InternetExplorerWarningMessage.js +15 -15
- package/src/components/MaterialUI/DataDisplay/Modal.js +3 -3
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/Placeholder.js +6 -6
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +1 -1
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +1 -1
- package/src/components/MaterialUI/DataDisplay/SelectionList.js +1 -1
- package/src/components/MaterialUI/DataDisplay/TransferList.js +1 -1
- package/src/components/MaterialUI/Inputs/CheckboxGroup.js +1 -1
- package/src/components/MaterialUI/Inputs/DatePicker.js +1 -1
- package/src/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +1 -1
- package/src/components/MaterialUI/Inputs/PredefinedElements/SearchControl.test.js +1 -1
- package/src/components/MaterialUI/Inputs/Switch.js +1 -1
- package/src/components/MaterialUI/ScopeSelector/ScopeSelector.js +1 -2
- package/src/components/MaterialUI/ScopeSelector/TreeItem.js +8 -31
- package/src/components/MaterialUI/Surfaces/Paper.js +1 -1
- package/src/components/MaterialUI/muiThemes.js +1 -1
- package/src/components/Routing/SegmentPage.js +3 -3
- package/src/components/Scope/ScopeNode.js +7 -8
- package/src/components/Sidepanel.js +7 -7
- package/src/components/Sidepanel.test.js +9 -4
- package/src/components/Spritesheet.js +5 -5
- package/src/components/ToastList.js +11 -11
- package/src/components/Treeview/Branch.js +10 -10
- package/src/components/Treeview/Branch.test.js +2 -40
- package/src/components/Treeview/Label.js +9 -9
- package/src/components/Treeview/Label.test.js +13 -3
- package/src/components/Treeview/Leaf.js +3 -3
- package/src/components/Treeview/Leaf.test.js +1 -20
- package/src/components/Treeview/settings.js +3 -0
|
@@ -42,21 +42,21 @@ var ABOUT_NAME = exports.ABOUT_NAME = "__aboutBox";
|
|
|
42
42
|
var getModalRoot = function getModalRoot() {
|
|
43
43
|
return document.getElementById("modal");
|
|
44
44
|
};
|
|
45
|
-
var useStyles = (0, _styles.makeStyles)(function () {
|
|
45
|
+
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
46
46
|
return {
|
|
47
47
|
aboutBox: function aboutBox(props) {
|
|
48
48
|
return {
|
|
49
49
|
boxSizing: "border-box",
|
|
50
50
|
zIndex: 9999,
|
|
51
51
|
position: "absolute",
|
|
52
|
-
top: "calc(50% -
|
|
53
|
-
left: "calc(50% -
|
|
54
|
-
height:
|
|
55
|
-
width:
|
|
56
|
-
padding:
|
|
52
|
+
top: "calc(50% - ".concat(theme.spacing(21), ")"),
|
|
53
|
+
left: "calc(50% - ".concat(theme.spacing(21), ")"),
|
|
54
|
+
height: theme.spacing(42),
|
|
55
|
+
width: theme.spacing(42),
|
|
56
|
+
padding: theme.spacing(1.5, 2),
|
|
57
57
|
color: "#ffffff",
|
|
58
|
-
fontSize:
|
|
59
|
-
lineHeight:
|
|
58
|
+
fontSize: theme.spacing(1.3),
|
|
59
|
+
lineHeight: theme.spacing(1.6),
|
|
60
60
|
background: "#0a0a07 url(".concat(props.bgImage, ")"),
|
|
61
61
|
"&.enter-active": {
|
|
62
62
|
opacity: 1,
|
|
@@ -74,8 +74,8 @@ var useStyles = (0, _styles.makeStyles)(function () {
|
|
|
74
74
|
zIndex: 9999,
|
|
75
75
|
position: "absolute",
|
|
76
76
|
color: "#ffffff",
|
|
77
|
-
top:
|
|
78
|
-
right:
|
|
77
|
+
top: theme.spacing(1.5),
|
|
78
|
+
right: theme.spacing(2),
|
|
79
79
|
margin: "0",
|
|
80
80
|
cursor: "pointer",
|
|
81
81
|
opacity: "1",
|
|
@@ -88,13 +88,13 @@ var useStyles = (0, _styles.makeStyles)(function () {
|
|
|
88
88
|
textDecoration: "none"
|
|
89
89
|
},
|
|
90
90
|
aboutParagraph: {
|
|
91
|
-
marginTop:
|
|
91
|
+
marginTop: theme.spacing(2)
|
|
92
92
|
},
|
|
93
93
|
longAboutParagraph: function longAboutParagraph(props) {
|
|
94
94
|
var _props$lang;
|
|
95
95
|
return {
|
|
96
|
-
marginTop:
|
|
97
|
-
fontSize: (_props$lang = props.lang) != null && _props$lang.toLowerCase().startsWith("fr") ?
|
|
96
|
+
marginTop: theme.spacing(2),
|
|
97
|
+
fontSize: (_props$lang = props.lang) != null && _props$lang.toLowerCase().startsWith("fr") ? theme.spacing(1) : undefined
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
};
|
|
@@ -28,12 +28,12 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
28
28
|
cursor: "pointer",
|
|
29
29
|
boxSizing: "border-box",
|
|
30
30
|
fontFamily: theme.typography.button.fontFamily,
|
|
31
|
-
fontSize:
|
|
31
|
+
fontSize: theme.spacing(1.2),
|
|
32
32
|
textTransform: "uppercase",
|
|
33
|
-
height:
|
|
34
|
-
minWidth:
|
|
35
|
-
paddingTop:
|
|
36
|
-
paddingRight:
|
|
33
|
+
height: theme.spacing(4),
|
|
34
|
+
minWidth: theme.spacing(18),
|
|
35
|
+
paddingTop: theme.spacing(1.4),
|
|
36
|
+
paddingRight: theme.spacing(1.4),
|
|
37
37
|
color: props.open ? theme.palette.primary.light : theme.palette.text.disabled,
|
|
38
38
|
"&:hover": {
|
|
39
39
|
color: theme.palette.primary.light
|
|
@@ -42,8 +42,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
42
42
|
},
|
|
43
43
|
indicator: function indicator(props) {
|
|
44
44
|
return {
|
|
45
|
-
fontSize:
|
|
46
|
-
padding:
|
|
45
|
+
fontSize: theme.spacing(1.2),
|
|
46
|
+
padding: theme.spacing(0, 1.1),
|
|
47
47
|
color: props.open ? theme.palette.text.disabled : theme.palette.primary.light
|
|
48
48
|
};
|
|
49
49
|
}
|
|
@@ -65,15 +65,15 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
65
65
|
return {
|
|
66
66
|
overflow: "hidden",
|
|
67
67
|
backgroundColor: "white",
|
|
68
|
-
borderTopLeftRadius:
|
|
69
|
-
height: "calc(100% -
|
|
68
|
+
borderTopLeftRadius: theme.spacing(1),
|
|
69
|
+
height: "calc(100% - ".concat(theme.spacing(4), ")"),
|
|
70
70
|
position: "absolute",
|
|
71
71
|
bottom: 0,
|
|
72
72
|
right: 0,
|
|
73
73
|
display: "flex",
|
|
74
74
|
flexDirection: "column",
|
|
75
75
|
transition: "width 0.3s ease-out",
|
|
76
|
-
width: props.toggleOpen ? "calc(100% -
|
|
76
|
+
width: props.toggleOpen ? "calc(100% - ".concat(theme.spacing(20), ")") : "calc(100% - ".concat(theme.spacing(5), ")")
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
};
|
|
@@ -25,13 +25,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
25
25
|
return {
|
|
26
26
|
helpLink: {
|
|
27
27
|
fontFamily: theme.typography.button.fontFamily,
|
|
28
|
-
fontSize:
|
|
28
|
+
fontSize: theme.spacing(1.2),
|
|
29
29
|
textTransform: "uppercase",
|
|
30
30
|
color: theme.palette.grey.borders,
|
|
31
|
-
width:
|
|
31
|
+
width: theme.spacing(4),
|
|
32
32
|
cursor: "pointer",
|
|
33
|
-
paddingTop:
|
|
34
|
-
paddingRight:
|
|
33
|
+
paddingTop: theme.spacing(1.4),
|
|
34
|
+
paddingRight: theme.spacing(1),
|
|
35
35
|
textDecoration: "none",
|
|
36
36
|
"&:hover": {
|
|
37
37
|
color: theme.palette.primary.light
|
|
@@ -36,8 +36,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
36
36
|
return {
|
|
37
37
|
display: "block",
|
|
38
38
|
position: "relative",
|
|
39
|
-
padding:
|
|
40
|
-
marginBottom:
|
|
39
|
+
padding: theme.spacing(0, 1),
|
|
40
|
+
marginBottom: theme.spacing(3.5),
|
|
41
41
|
textDecoration: "none",
|
|
42
42
|
cursor: "pointer",
|
|
43
43
|
color: props.active ? theme.palette.primary.light : theme.palette.text.hint,
|
|
@@ -50,10 +50,10 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
50
50
|
var toastColor = (0, _toastHelper.getToastColor)(theme, props.alertType);
|
|
51
51
|
return {
|
|
52
52
|
borderRadius: "50%",
|
|
53
|
-
border: "
|
|
53
|
+
border: "".concat(theme.spacing(0.4), " solid ").concat(toastColor),
|
|
54
54
|
position: "absolute",
|
|
55
55
|
top: 0,
|
|
56
|
-
left:
|
|
56
|
+
left: theme.spacing(2.7),
|
|
57
57
|
visibility: "hidden",
|
|
58
58
|
"&.show": {
|
|
59
59
|
visibility: "visible"
|
|
@@ -65,15 +65,15 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
65
65
|
return {
|
|
66
66
|
position: "absolute",
|
|
67
67
|
zIndex: 10000,
|
|
68
|
-
top: "calc(-
|
|
69
|
-
left:
|
|
68
|
+
top: "calc(".concat(theme.spacing(-1), " - 0.7em)"),
|
|
69
|
+
left: theme.spacing(2.2),
|
|
70
70
|
width: "max-content",
|
|
71
|
-
borderRadius:
|
|
72
|
-
padding:
|
|
73
|
-
boxShadow: "0
|
|
71
|
+
borderRadius: theme.spacing(0.5),
|
|
72
|
+
padding: theme.spacing(1, 1.5),
|
|
73
|
+
boxShadow: "".concat(theme.spacing(0, 0.2, 0.4, 0), " rgba(0, 0, 0, 0.5)"),
|
|
74
74
|
color: theme.palette.grey.light,
|
|
75
75
|
backgroundColor: toastColor,
|
|
76
|
-
fontSize:
|
|
76
|
+
fontSize: theme.spacing(1.1),
|
|
77
77
|
fontWeight: "bold",
|
|
78
78
|
lineHeight: 1.2,
|
|
79
79
|
transition: "transform 200ms cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 100ms 50ms ease-out",
|
|
@@ -82,7 +82,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
82
82
|
"&::before": {
|
|
83
83
|
content: "",
|
|
84
84
|
position: "absolute",
|
|
85
|
-
top: "calc(
|
|
85
|
+
top: "calc(".concat(theme.spacing(1), " + 0.2em)"),
|
|
86
86
|
left: "-0.9em",
|
|
87
87
|
border: "solid transparent",
|
|
88
88
|
borderWidth: "0.4em 0.9em 0.4em 0",
|
|
@@ -96,7 +96,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
96
96
|
},
|
|
97
97
|
menuIcon: function menuIcon(props) {
|
|
98
98
|
return {
|
|
99
|
-
fontSize:
|
|
99
|
+
fontSize: theme.spacing(2.4),
|
|
100
100
|
verticalAlign: "middle",
|
|
101
101
|
color: props.active ? theme.palette.primary.light : theme.palette.text.hint
|
|
102
102
|
};
|
|
@@ -104,10 +104,10 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
104
104
|
label: function label(props) {
|
|
105
105
|
return {
|
|
106
106
|
fontFamily: theme.typography.button.fontFamily,
|
|
107
|
-
fontSize:
|
|
107
|
+
fontSize: theme.spacing(1.3),
|
|
108
108
|
verticalAlign: "middle",
|
|
109
109
|
textTransform: "uppercase",
|
|
110
|
-
paddingLeft:
|
|
110
|
+
paddingLeft: theme.spacing(1),
|
|
111
111
|
transition: "opacity 0.3s ease-out",
|
|
112
112
|
opacity: props.showLabel ? 1 : 0
|
|
113
113
|
};
|
|
@@ -50,19 +50,19 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
50
50
|
backgroundColor: "#f7f7f7",
|
|
51
51
|
borderLeft: "1px solid ".concat(theme.palette.grey.borders),
|
|
52
52
|
borderTop: "1px solid ".concat(theme.palette.grey.borders),
|
|
53
|
-
borderTopLeftRadius:
|
|
54
|
-
top:
|
|
55
|
-
boxShadow: "-
|
|
53
|
+
borderTopLeftRadius: theme.spacing(0.5),
|
|
54
|
+
top: theme.spacing(4),
|
|
55
|
+
boxShadow: "".concat(theme.spacing(-0.3, 0.2, 0.5, 0), " rgba(0, 0, 0, 0.2)"),
|
|
56
56
|
zIndex: 9998,
|
|
57
57
|
transition: "right 400ms ease-out"
|
|
58
58
|
},
|
|
59
59
|
header: {
|
|
60
60
|
flex: "0 0 auto",
|
|
61
61
|
borderBottom: "1px solid ".concat(theme.palette.grey.borders),
|
|
62
|
-
borderTopLeftRadius:
|
|
63
|
-
padding:
|
|
64
|
-
height:
|
|
65
|
-
fontSize:
|
|
62
|
+
borderTopLeftRadius: theme.spacing(0.5),
|
|
63
|
+
padding: theme.spacing(1.5, 3),
|
|
64
|
+
height: theme.spacing(1.8),
|
|
65
|
+
fontSize: theme.spacing(1.5),
|
|
66
66
|
fontFamily: theme.typography.button.fontFamily,
|
|
67
67
|
textTransform: "uppercase",
|
|
68
68
|
color: theme.palette.primary.main,
|
|
@@ -72,8 +72,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
72
72
|
flex: "1 1 auto",
|
|
73
73
|
display: "flex",
|
|
74
74
|
flexDirection: "column",
|
|
75
|
-
padding:
|
|
76
|
-
fontSize:
|
|
75
|
+
padding: theme.spacing(2, 3),
|
|
76
|
+
fontSize: theme.spacing(1.2)
|
|
77
77
|
},
|
|
78
78
|
footer: {
|
|
79
79
|
flex: "0 0 auto",
|
|
@@ -82,12 +82,12 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
82
82
|
justifyContent: "flex-end",
|
|
83
83
|
backgroundColor: "#ffffff",
|
|
84
84
|
borderTop: "1px solid ".concat(theme.palette.grey.borders),
|
|
85
|
-
paddingRight:
|
|
86
|
-
height:
|
|
85
|
+
paddingRight: theme.spacing(1),
|
|
86
|
+
height: theme.spacing(6)
|
|
87
87
|
},
|
|
88
88
|
prefButton: {
|
|
89
|
-
marginRight:
|
|
90
|
-
minWidth:
|
|
89
|
+
marginRight: theme.spacing(2),
|
|
90
|
+
minWidth: theme.spacing(11)
|
|
91
91
|
},
|
|
92
92
|
wrapper: {
|
|
93
93
|
display: "flex",
|
|
@@ -185,7 +185,7 @@ var Preferences = exports.Preferences = function Preferences() {
|
|
|
185
185
|
applicationSelectProps = _usePreferenceSetup.applicationSelectProps;
|
|
186
186
|
return /*#__PURE__*/_react.default.createElement(_Sidepanel.default, {
|
|
187
187
|
in: show,
|
|
188
|
-
|
|
188
|
+
widthSpacing: 38,
|
|
189
189
|
timeout: 400,
|
|
190
190
|
className: classes.prefPanel
|
|
191
191
|
}, /*#__PURE__*/_react.default.createElement(Wrapper, {
|
|
@@ -32,9 +32,9 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
32
32
|
return {
|
|
33
33
|
bar: {
|
|
34
34
|
boxSizing: "border-box",
|
|
35
|
-
paddingTop:
|
|
36
|
-
height: "calc(100% -
|
|
37
|
-
width:
|
|
35
|
+
paddingTop: theme.spacing(6),
|
|
36
|
+
height: "calc(100% - ".concat(theme.spacing(4), ")"),
|
|
37
|
+
width: theme.spacing(20),
|
|
38
38
|
display: "flex",
|
|
39
39
|
flexDirection: "column",
|
|
40
40
|
justifyContent: "flex-start",
|
|
@@ -42,9 +42,9 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
42
42
|
},
|
|
43
43
|
logoSvg: {
|
|
44
44
|
flex: "0 0 auto",
|
|
45
|
-
margin: "auto
|
|
46
|
-
height:
|
|
47
|
-
width:
|
|
45
|
+
margin: "auto ".concat(theme.spacing(1.25, 0.7)),
|
|
46
|
+
height: theme.spacing(2.5),
|
|
47
|
+
width: theme.spacing(2.5),
|
|
48
48
|
fillRule: "evenodd",
|
|
49
49
|
clipRule: "evenodd",
|
|
50
50
|
fill: "#666666"
|
|
@@ -48,7 +48,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
|
|
|
48
48
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
49
49
|
return {
|
|
50
50
|
wrapper: {
|
|
51
|
-
height:
|
|
51
|
+
height: theme.spacing(4),
|
|
52
52
|
color: theme.palette.text.hint,
|
|
53
53
|
display: "flex",
|
|
54
54
|
justifyContent: "space-between"
|
|
@@ -63,16 +63,16 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
63
63
|
backgroundColor: "#000000",
|
|
64
64
|
color: theme.palette.primary.light,
|
|
65
65
|
fontFamily: theme.typography.button.fontFamily,
|
|
66
|
-
fontSize:
|
|
66
|
+
fontSize: theme.spacing(1.4),
|
|
67
67
|
textTransform: "uppercase",
|
|
68
|
-
paddingRight:
|
|
69
|
-
paddingLeft:
|
|
68
|
+
paddingRight: theme.spacing(2),
|
|
69
|
+
paddingLeft: theme.spacing(0.6),
|
|
70
70
|
display: "flex",
|
|
71
71
|
alignItems: "center"
|
|
72
72
|
},
|
|
73
73
|
appLogo: {
|
|
74
|
-
height:
|
|
75
|
-
marginRight:
|
|
74
|
+
height: theme.spacing(3),
|
|
75
|
+
marginRight: theme.spacing(1)
|
|
76
76
|
},
|
|
77
77
|
qaContainerColor: {
|
|
78
78
|
backgroundColor: "#9F0F18",
|
|
@@ -26,7 +26,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
26
26
|
drawer: {
|
|
27
27
|
position: "absolute",
|
|
28
28
|
zIndex: 19999,
|
|
29
|
-
margin:
|
|
29
|
+
margin: theme.spacing(0.4, 0, 0),
|
|
30
30
|
left: function left(props) {
|
|
31
31
|
return props.alignRight ? "auto" : "0";
|
|
32
32
|
},
|
|
@@ -47,19 +47,19 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
47
47
|
color: theme.palette.text.primary,
|
|
48
48
|
backgroundColor: "white",
|
|
49
49
|
border: "1px solid ".concat(theme.palette.text.hint),
|
|
50
|
-
borderRadius:
|
|
50
|
+
borderRadius: theme.spacing(0.5),
|
|
51
51
|
listStyleType: "none",
|
|
52
|
-
padding:
|
|
52
|
+
padding: theme.spacing(0.5, 0),
|
|
53
53
|
margin: "0",
|
|
54
54
|
fontFamily: "Open Sans, sans-serif",
|
|
55
|
-
fontSize:
|
|
55
|
+
fontSize: theme.spacing(1.2),
|
|
56
56
|
width: "max-content"
|
|
57
57
|
},
|
|
58
58
|
item: {
|
|
59
59
|
boxSizing: "border-box",
|
|
60
|
-
height:
|
|
61
|
-
minWidth:
|
|
62
|
-
padding:
|
|
60
|
+
height: theme.spacing(3),
|
|
61
|
+
minWidth: theme.spacing(17.8),
|
|
62
|
+
padding: theme.spacing(0.9, 1.2),
|
|
63
63
|
display: "flex",
|
|
64
64
|
alignItems: "center",
|
|
65
65
|
cursor: "pointer",
|
|
@@ -69,8 +69,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
itemIcon: {
|
|
72
|
-
paddingRight:
|
|
73
|
-
fontSize:
|
|
72
|
+
paddingRight: theme.spacing(1.1),
|
|
73
|
+
fontSize: theme.spacing(1.7)
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
});
|
|
@@ -26,13 +26,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
26
26
|
flex: "0 1 auto",
|
|
27
27
|
display: "flex",
|
|
28
28
|
flexDirection: "column",
|
|
29
|
-
marginTop:
|
|
29
|
+
marginTop: theme.spacing(2),
|
|
30
30
|
position: "relative"
|
|
31
31
|
},
|
|
32
32
|
label: {
|
|
33
|
-
minHeight:
|
|
33
|
+
minHeight: theme.spacing(1.7),
|
|
34
34
|
color: theme.palette.text.hint,
|
|
35
|
-
marginBottom:
|
|
35
|
+
marginBottom: theme.spacing(1)
|
|
36
36
|
},
|
|
37
37
|
invalidLabel: {
|
|
38
38
|
color: theme.palette.error.main
|
|
@@ -41,7 +41,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
41
41
|
textAlign: "center"
|
|
42
42
|
},
|
|
43
43
|
labelOnly: {
|
|
44
|
-
marginBottom:
|
|
44
|
+
marginBottom: 0
|
|
45
45
|
},
|
|
46
46
|
requiredLabel: {
|
|
47
47
|
"&::after": {
|
|
@@ -32,10 +32,10 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
32
32
|
positionedButton: {
|
|
33
33
|
width: "max-content",
|
|
34
34
|
position: "relative",
|
|
35
|
-
padding: "
|
|
35
|
+
padding: "".concat(theme.spacing(0.6, 1.4), " !important"),
|
|
36
36
|
"&:hover": {
|
|
37
37
|
borderColor: "#4fa1f0",
|
|
38
|
-
boxShadow: "0 0
|
|
38
|
+
boxShadow: "".concat(theme.spacing(0, 0, 0.4), " #4fa1f0"),
|
|
39
39
|
outline: "none",
|
|
40
40
|
backgroundColor: "#f7f7f7 !important"
|
|
41
41
|
},
|
|
@@ -27,29 +27,29 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
27
27
|
return {
|
|
28
28
|
container: {
|
|
29
29
|
fontFamily: "'Open Sans', sans-serif",
|
|
30
|
-
fontSize:
|
|
30
|
+
fontSize: theme.spacing(1.4),
|
|
31
31
|
background: "rgba(255,255,255,0.85)",
|
|
32
|
-
maxWidth:
|
|
33
|
-
width: "calc(100% -
|
|
32
|
+
maxWidth: theme.spacing(70),
|
|
33
|
+
width: "calc(100% - ".concat(theme.spacing(4), ")"),
|
|
34
34
|
display: "block",
|
|
35
35
|
top: "50%",
|
|
36
36
|
left: "50%",
|
|
37
37
|
position: "absolute",
|
|
38
|
-
boxShadow: "0
|
|
38
|
+
boxShadow: "".concat(theme.spacing(0, 0.4, 0.8, 0), " rgba(0, 0, 0, 0.2), ").concat(theme.spacing(0, 0.6, 2, 0), " rgba(0, 0, 0, 0.19)"),
|
|
39
39
|
transform: "translateY(-50%) translateX(-50%)",
|
|
40
|
-
padding:
|
|
41
|
-
borderRadius:
|
|
40
|
+
padding: theme.spacing(8),
|
|
41
|
+
borderRadius: theme.spacing(0.3),
|
|
42
42
|
"& header": {
|
|
43
|
-
paddingBottom:
|
|
44
|
-
marginBottom:
|
|
43
|
+
paddingBottom: theme.spacing(2),
|
|
44
|
+
marginBottom: theme.spacing(2),
|
|
45
45
|
borderBottom: "1px solid #999",
|
|
46
46
|
"& h1": {
|
|
47
47
|
fontWeight: 400,
|
|
48
|
-
fontWize:
|
|
48
|
+
fontWize: theme.spacing(3),
|
|
49
49
|
marginTop: 0,
|
|
50
|
-
marginBottom:
|
|
50
|
+
marginBottom: theme.spacing(0.5),
|
|
51
51
|
"& p": {
|
|
52
|
-
fontSize:
|
|
52
|
+
fontSize: theme.spacing(1.6),
|
|
53
53
|
margin: 0,
|
|
54
54
|
color: "#999",
|
|
55
55
|
fontWeight: 400
|
|
@@ -62,7 +62,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
62
62
|
flexWrap: "wrap",
|
|
63
63
|
width: "100%",
|
|
64
64
|
boxSizing: "border-box",
|
|
65
|
-
marginTop:
|
|
65
|
+
marginTop: theme.spacing(4)
|
|
66
66
|
},
|
|
67
67
|
gridItem: {
|
|
68
68
|
display: "flex",
|
|
@@ -71,16 +71,16 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
71
71
|
flexDirection: "column"
|
|
72
72
|
},
|
|
73
73
|
browserIconContainer: {
|
|
74
|
-
width:
|
|
74
|
+
width: theme.spacing(4.8),
|
|
75
75
|
textAlign: "center"
|
|
76
76
|
},
|
|
77
77
|
browserIconCaption: {
|
|
78
|
-
fontSize:
|
|
78
|
+
fontSize: theme.spacing(1.1),
|
|
79
79
|
color: "#999"
|
|
80
80
|
},
|
|
81
81
|
browserIcon: {
|
|
82
82
|
stroke: "none",
|
|
83
|
-
fontSize:
|
|
83
|
+
fontSize: theme.spacing(4.8)
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
});
|
|
@@ -48,12 +48,12 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
48
48
|
},
|
|
49
49
|
containerWide: {
|
|
50
50
|
width: theme.spacing(106.4),
|
|
51
|
-
height: "calc(100% -
|
|
51
|
+
height: "calc(100% - ".concat(theme.spacing(8), ")"),
|
|
52
52
|
maxHeight: theme.spacing(73)
|
|
53
53
|
},
|
|
54
54
|
containerFullwidth: {
|
|
55
|
-
width: "calc(100% -
|
|
56
|
-
height: "calc(100% -
|
|
55
|
+
width: "calc(100% - ".concat(theme.spacing(8), ")"),
|
|
56
|
+
height: "calc(100% - ".concat(theme.spacing(8), ")")
|
|
57
57
|
},
|
|
58
58
|
title: {
|
|
59
59
|
height: theme.spacing(4),
|
|
@@ -63,18 +63,18 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
63
63
|
},
|
|
64
64
|
textSkeleton: {
|
|
65
65
|
width: "100%",
|
|
66
|
-
height: 6,
|
|
66
|
+
height: theme.spacing(0.6),
|
|
67
67
|
animation: false
|
|
68
68
|
},
|
|
69
69
|
chipSkeleton: {
|
|
70
|
-
width:
|
|
71
|
-
height:
|
|
70
|
+
width: theme.spacing(6),
|
|
71
|
+
height: theme.spacing(2.5),
|
|
72
72
|
animation: false,
|
|
73
|
-
borderRadius:
|
|
73
|
+
borderRadius: theme.spacing(1.5)
|
|
74
74
|
},
|
|
75
75
|
radioSkeleton: {
|
|
76
|
-
width:
|
|
77
|
-
height:
|
|
76
|
+
width: theme.spacing(1.7),
|
|
77
|
+
height: theme.spacing(1.7),
|
|
78
78
|
animation: false
|
|
79
79
|
},
|
|
80
80
|
root: {
|
|
@@ -96,7 +96,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
96
96
|
},
|
|
97
97
|
active: {
|
|
98
98
|
backgroundColor: "".concat(theme.palette.primary.dark, " !important"),
|
|
99
|
-
boxShadow: "inset
|
|
99
|
+
boxShadow: "inset ".concat(theme.spacing(1, 0, 1, 0.1), " rgba(0,0,0,0.18)"),
|
|
100
100
|
"&:after": {
|
|
101
101
|
borderLeftColor: "".concat(theme.palette.primary.dark, " !important")
|
|
102
102
|
}
|
|
@@ -36,7 +36,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
36
36
|
label: {
|
|
37
37
|
fontSize: theme.typography.h2Size,
|
|
38
38
|
fontFamily: theme.typography.fontFamily,
|
|
39
|
-
fontWeight: theme.typography.
|
|
39
|
+
fontWeight: theme.typography.fontWeightRegular
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
});
|
|
@@ -60,7 +60,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
60
60
|
},
|
|
61
61
|
"&::-webkit-scrollbar-thumb": {
|
|
62
62
|
background: theme.palette.grey.borders,
|
|
63
|
-
border: "
|
|
63
|
+
border: "".concat(theme.spacing(0.5), " white solid"),
|
|
64
64
|
backgroundClip: "padding-box",
|
|
65
65
|
borderRadius: theme.spacing(1.5)
|
|
66
66
|
}
|
|
@@ -62,7 +62,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
62
62
|
},
|
|
63
63
|
"&::-webkit-scrollbar-thumb": {
|
|
64
64
|
background: theme.palette.grey.borders,
|
|
65
|
-
border: "
|
|
65
|
+
border: "".concat(theme.spacing(0.5), " white solid"),
|
|
66
66
|
backgroundClip: "padding-box",
|
|
67
67
|
borderRadius: theme.spacing(1.5)
|
|
68
68
|
}
|
|
@@ -49,7 +49,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
49
49
|
"&:focus, &:focus-within": {
|
|
50
50
|
borderRadius: theme.shape.borderRadius,
|
|
51
51
|
borderColor: theme.palette.focus,
|
|
52
|
-
boxShadow: "0 0
|
|
52
|
+
boxShadow: "0 0 ".concat(theme.spacing(0.4), " ").concat(theme.palette.focus),
|
|
53
53
|
outline: "none"
|
|
54
54
|
},
|
|
55
55
|
"& .react-datepicker": {
|
|
@@ -125,7 +125,7 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
125
125
|
"&:focus-within": {
|
|
126
126
|
zIndex: 99,
|
|
127
127
|
border: "".concat(theme.spacing(0.1), " solid ").concat(theme.palette.focus),
|
|
128
|
-
boxShadow: "0 0
|
|
128
|
+
boxShadow: "0 0 ".concat(theme.spacing(0.4), " ").concat(theme.palette.focus)
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
selectRoot: {
|
|
@@ -65,7 +65,7 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
65
65
|
track: {
|
|
66
66
|
backgroundColor: theme.palette.grey.borders,
|
|
67
67
|
opacity: "1 !important",
|
|
68
|
-
borderRadius:
|
|
68
|
+
borderRadius: theme.spacing(2),
|
|
69
69
|
position: "relative",
|
|
70
70
|
"&:before, &:after": {
|
|
71
71
|
display: "inline-block",
|
|
@@ -34,7 +34,6 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
34
34
|
backgroundColor: theme.palette.grey.light,
|
|
35
35
|
border: "1px solid ".concat(theme.palette.grey.borders),
|
|
36
36
|
boxShadow: "0 2px 4px rgba(0,0,0,0.5)",
|
|
37
|
-
width: theme.spacing(50),
|
|
38
37
|
display: "flex"
|
|
39
38
|
},
|
|
40
39
|
scopeContainer: {
|
|
@@ -86,6 +85,7 @@ var ScopeSelector = function ScopeSelector(_ref) {
|
|
|
86
85
|
})));
|
|
87
86
|
var scopeSelector = /*#__PURE__*/_react.default.createElement(_Sidepanel.default, {
|
|
88
87
|
className: classes.container,
|
|
88
|
+
widthSpacing: 50,
|
|
89
89
|
in: show,
|
|
90
90
|
timeout: 300
|
|
91
91
|
}, /*#__PURE__*/_react.default.createElement(_ClickAwayListener.default, {
|