@evergis/apps 0.1.7 → 0.1.8
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/README.md +118 -118
- package/dist/catalog/attributeFormat/Settings/styled.js +8 -8
- package/dist/catalog/attributeFormat/styled.js +171 -171
- package/dist/catalog/dialogs/EditResource/styled.js +22 -22
- package/dist/catalog/dialogs/ResourcePreview/styled.js +52 -52
- package/dist/catalog/dialogs/styled.js +87 -87
- package/dist/catalog/fields/ResourceTypeTiles/styled.js +56 -56
- package/dist/catalog/fields/styled.js +81 -81
- package/dist/catalog/geometry/GeometrySelector/styled.js +48 -48
- package/dist/catalog/selectors/AttributeSelector/styled.js +2 -2
- package/dist/catalog/selectors/DataSourceItemsList/styled.js +95 -95
- package/dist/catalog/selectors/DataSourcePicker/styled.js +11 -11
- package/dist/catalog/selectors/ResourceSelector/styled.js +11 -11
- package/dist/devmode/components/JsonTree/styled.js +84 -84
- package/dist/devmode/components/LayerCardPane/styled.js +53 -53
- package/dist/devmode/components/Markdown/MarkdownEditor/styled.js +43 -43
- package/dist/devmode/components/Markdown/MarkdownOutput/styled.js +10 -10
- package/dist/devmode/components/OutlinePanel/styled.js +40 -40
- package/dist/devmode/components/ResourceIcon/styled.js +30 -30
- package/dist/devmode/components/ResultsTable/styled.js +48 -48
- package/dist/devmode/components/RunErrorMessage/styled.js +20 -20
- package/dist/devmode/components/TreeExpand/index.js +12 -12
- package/dist/devmode/layout/DevModePanel/styled.js +20 -20
- package/dist/devmode/layout/DevModeTools/styled.js +29 -29
- package/dist/devmode/layout/NavigationSections/Header/styled.js +87 -87
- package/dist/devmode/layout/NavigationToggle/styled.js +21 -21
- package/dist/devmode/layout/PanelSwitcher/styled.js +49 -49
- package/dist/devmode/layout/StatusBar/styled.js +39 -39
- package/dist/devmode/layout/WorkspaceHeader/styled.js +37 -37
- package/dist/devmode/modules/eql/components/EqlEditor/styled.js +4 -4
- package/dist/devmode/modules/eql/components/QueryTypeSelect/styled.js +53 -53
- package/dist/devmode/modules/eql/components/modes/EqlConfigurationMode/AddConfiguration/styled.js +24 -24
- package/dist/devmode/modules/eql/dialogs/AddParameterDialog/styled.js +3 -3
- package/dist/devmode/modules/eql/styled.js +127 -127
- package/dist/devmode/modules/files/styled.js +14 -14
- package/dist/devmode/modules/layer/styled.js +10 -10
- package/dist/devmode/modules/navigation-catalog/styled.js +147 -147
- package/dist/devmode/modules/python/components/Notebook/styled.js +203 -203
- package/dist/devmode/modules/python/components/PythonFileContent/styled.js +6 -6
- package/dist/devmode/modules/python/components/PythonRunBar/styled.js +5 -5
- package/dist/devmode/modules/python/components/PythonRunControl/styled.js +9 -9
- package/dist/devmode/modules/python/components/PythonRunLog/styled.js +11 -11
- package/dist/devmode/modules/python/components/PythonStatus/styled.js +11 -11
- package/dist/devmode/modules/python/components/SandboxesDialog/components/SandboxCard/styled.js +42 -42
- package/dist/devmode/modules/python/components/SandboxesDialog/styled.js +58 -58
- package/dist/devmode/modules/python/components/WorkerMetrics/styled.js +26 -26
- package/dist/devmode/modules/python/dialogs/ViewResponseDialog/styled.js +5 -5
- package/dist/devmode/modules/resource-json/styled.js +7 -7
- package/dist/devmode/modules/table/components/TableContent/styled.js +18 -18
- package/dist/devmode/monaco/MonacoEditor/styled.js +6 -6
- package/dist/devmode/monaco/ReadonlyMonacoEditor/styled.js +24 -24
- package/dist/devmode/navigation/CategoryTree/styled.js +65 -65
- package/dist/devmode/navigation/NodeActionsMenu/styled.js +63 -63
- package/dist/devmode/tabs/Panes/PaneHandle/styled.js +45 -45
- package/dist/devmode/tabs/Panes/styled.js +21 -21
- package/dist/devmode/tabs/ResultsDock/styled.js +35 -35
- package/dist/devmode/tabs/TabActions/styled.js +50 -50
- package/dist/devmode/tabs/TabPane/styled.js +6 -6
- package/dist/devmode/tabs/Tabs/Tab/styled.js +105 -105
- package/dist/devmode/tabs/Tabs/styled.js +61 -61
- package/dist/devmode/tabs/states/styled.js +2 -2
- package/dist/devmode/tabs/styled.js +37 -37
- package/package.json +7 -7
|
@@ -2,209 +2,209 @@ import styled, { css } from 'styled-components';
|
|
|
2
2
|
import { IconButtonButton, IconToggleButton, Icon, textOverflowEllipsisMixin, Divider } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
4
|
const isDark = (theme) => theme.palette.background !== "#fff";
|
|
5
|
-
const compactIconButtons = css `
|
|
6
|
-
${IconButtonButton}, ${IconToggleButton} {
|
|
7
|
-
height: 14px;
|
|
8
|
-
width: 14px;
|
|
9
|
-
padding: 5px;
|
|
10
|
-
margin: 0;
|
|
11
|
-
box-sizing: content-box;
|
|
12
|
-
|
|
13
|
-
${Icon} {
|
|
14
|
-
height: 14px;
|
|
15
|
-
width: 14px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
${Icon}:after {
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
const NotebookWrapper = styled.div.withConfig({ displayName: "NotebookWrapper", componentId: "sc-
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
gap: 0.5rem 0;
|
|
27
|
-
height: 100%;
|
|
28
|
-
padding: 0.5rem 0;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
overflow-y: auto;
|
|
31
|
-
position: relative;
|
|
32
|
-
`;
|
|
33
|
-
const AddBlock = styled.div.withConfig({ displayName: "AddBlock", componentId: "sc-
|
|
34
|
-
display: flex;
|
|
35
|
-
position: absolute;
|
|
36
|
-
z-index: 5;
|
|
37
|
-
align-items: center;
|
|
38
|
-
bottom: ${({ $visible }) => ($visible ? "100%" : "0")};
|
|
39
|
-
left: 50%;
|
|
40
|
-
transform: translateX(-50%) translateY(${({ $visible }) => ($visible ? "calc(100% + 0.5rem)" : "50%")});
|
|
41
|
-
gap: 0 0.75rem;
|
|
42
|
-
height: 24px;
|
|
43
|
-
padding: 4px 10px;
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
border-radius: 12px;
|
|
46
|
-
visibility: ${({ $visible }) => ($visible ? "visible" : "hidden")};
|
|
47
|
-
background-color: ${({ theme }) => (isDark(theme) ? "#122631" : "#fff")};
|
|
48
|
-
box-shadow: 0 0 8px 0 ${({ theme }) => (isDark(theme) ? "rgba(0, 0, 0, 0.75)" : "rgba(17, 37, 47, 0.12)")};
|
|
49
|
-
`;
|
|
50
|
-
const CellAddButton = styled.img.withConfig({ displayName: "CellAddButton", componentId: "sc-
|
|
51
|
-
width: 1rem;
|
|
52
|
-
height: 1rem;
|
|
53
|
-
object-fit: cover;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
user-select: none;
|
|
56
|
-
`;
|
|
57
|
-
const NotebookCellBlock = styled.div.withConfig({ displayName: "NotebookCellBlock", componentId: "sc-
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
gap: 0.5rem 0;
|
|
61
|
-
width: 100%;
|
|
62
|
-
position: relative;
|
|
63
|
-
|
|
64
|
-
&:hover ${AddBlock} {
|
|
65
|
-
visibility: visible;
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
const NotebookCellRow = styled.div.withConfig({ displayName: "NotebookCellRow", componentId: "sc-
|
|
69
|
-
display: flex;
|
|
70
|
-
width: 100%;
|
|
71
|
-
border-top: 1px solid ${({ theme }) => theme.palette.elementDeep};
|
|
72
|
-
`;
|
|
73
|
-
const NotebookCellBody = styled.div.withConfig({ displayName: "NotebookCellBody", componentId: "sc-
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
width: 100%;
|
|
77
|
-
min-width: 1px;
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
position: relative;
|
|
80
|
-
`;
|
|
81
|
-
const MainActions = styled.div.withConfig({ displayName: "MainActions", componentId: "sc-
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
align-items: center;
|
|
85
|
-
flex-shrink: 0;
|
|
86
|
-
width: 2.5rem;
|
|
87
|
-
padding: 0 0.5rem;
|
|
88
|
-
box-sizing: border-box;
|
|
89
|
-
position: relative;
|
|
90
|
-
|
|
91
|
-
${compactIconButtons}
|
|
92
|
-
`;
|
|
93
|
-
const TitleWrapper = styled.div.withConfig({ displayName: "TitleWrapper", componentId: "sc-
|
|
94
|
-
position: sticky;
|
|
95
|
-
top: 0;
|
|
96
|
-
right: 0;
|
|
97
|
-
z-index: 1;
|
|
98
|
-
`;
|
|
99
|
-
const TitleInner = styled.div.withConfig({ displayName: "TitleInner", componentId: "sc-
|
|
100
|
-
display: none;
|
|
101
|
-
position: absolute;
|
|
102
|
-
top: 0;
|
|
103
|
-
right: 0.5rem;
|
|
104
|
-
align-items: center;
|
|
105
|
-
gap: 0 0.25rem;
|
|
106
|
-
height: 1.5rem;
|
|
107
|
-
padding: 0 0.5rem;
|
|
108
|
-
box-sizing: border-box;
|
|
109
|
-
border-radius: 0.25rem;
|
|
110
|
-
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
111
|
-
|
|
112
|
-
${compactIconButtons}
|
|
113
|
-
`;
|
|
114
|
-
const TitleSecondaryActions = styled.div.withConfig({ displayName: "TitleSecondaryActions", componentId: "sc-
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
gap: 0 0.25rem;
|
|
118
|
-
margin-left: auto;
|
|
119
|
-
flex-shrink: 0;
|
|
120
|
-
`;
|
|
121
|
-
const revealTitleOnHover = css `
|
|
122
|
-
&:hover ${TitleInner} {
|
|
123
|
-
display: flex;
|
|
124
|
-
}
|
|
125
|
-
`;
|
|
126
|
-
const CellEditorContainer = styled.div.withConfig({ displayName: "CellEditorContainer", componentId: "sc-
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
width: 100%;
|
|
130
|
-
min-height: 1rem;
|
|
131
|
-
position: relative;
|
|
132
|
-
|
|
133
|
-
${revealTitleOnHover}
|
|
134
|
-
`;
|
|
135
|
-
const CellInfoText = styled.div.withConfig({ displayName: "CellInfoText", componentId: "sc-
|
|
136
|
-
margin-right: 0.25rem;
|
|
137
|
-
font-size: 12px;
|
|
138
|
-
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
139
|
-
${textOverflowEllipsisMixin}
|
|
140
|
-
`;
|
|
141
|
-
const CodeCellActionContainer = styled.div.withConfig({ displayName: "CodeCellActionContainer", componentId: "sc-
|
|
142
|
-
display: flex;
|
|
143
|
-
flex-direction: column;
|
|
144
|
-
flex-shrink: 0;
|
|
145
|
-
position: sticky;
|
|
146
|
-
top: 0;
|
|
147
|
-
left: 0;
|
|
148
|
-
`;
|
|
149
|
-
const MarkdownCellContainer = styled.div.withConfig({ displayName: "MarkdownCellContainer", componentId: "sc-
|
|
150
|
-
display: flex;
|
|
151
|
-
flex-direction: column;
|
|
152
|
-
flex: 1;
|
|
153
|
-
width: 100%;
|
|
154
|
-
min-height: 0;
|
|
155
|
-
position: relative;
|
|
156
|
-
|
|
157
|
-
${revealTitleOnHover}
|
|
158
|
-
`;
|
|
159
|
-
const MarkdownToolbar = styled.div.withConfig({ displayName: "MarkdownToolbar", componentId: "sc-
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
width: 100%;
|
|
163
|
-
|
|
164
|
-
${compactIconButtons}
|
|
165
|
-
`;
|
|
166
|
-
const MarkdownToolbarDivider = styled(Divider).withConfig({ displayName: "MarkdownToolbarDivider", componentId: "sc-
|
|
167
|
-
height: 1rem;
|
|
168
|
-
margin-top: 0.25rem;
|
|
169
|
-
`;
|
|
170
|
-
const OutputResultContainer = styled.div.withConfig({ displayName: "OutputResultContainer", componentId: "sc-
|
|
171
|
-
display: flex;
|
|
172
|
-
flex-direction: column;
|
|
173
|
-
width: 100%;
|
|
174
|
-
position: relative;
|
|
175
|
-
border-radius: 6px;
|
|
176
|
-
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
177
|
-
|
|
178
|
-
${revealTitleOnHover}
|
|
179
|
-
|
|
180
|
-
.monaco-editor,
|
|
181
|
-
.monaco-editor-background,
|
|
182
|
-
.margin-view-overlays {
|
|
183
|
-
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
184
|
-
}
|
|
185
|
-
`;
|
|
186
|
-
const OutputEditorContainer = styled.div.withConfig({ displayName: "OutputEditorContainer", componentId: "sc-
|
|
187
|
-
display: flex;
|
|
188
|
-
flex-direction: column;
|
|
189
|
-
width: 100%;
|
|
190
|
-
min-height: 1rem;
|
|
191
|
-
max-height: 11rem;
|
|
192
|
-
overflow-y: auto;
|
|
193
|
-
position: relative;
|
|
194
|
-
border-radius: 6px;
|
|
195
|
-
`;
|
|
196
|
-
const ErrorBlock = styled.div.withConfig({ displayName: "ErrorBlock", componentId: "sc-
|
|
197
|
-
padding: 0 1rem;
|
|
198
|
-
font-size: 0.75rem;
|
|
199
|
-
cursor: text;
|
|
200
|
-
|
|
201
|
-
a {
|
|
202
|
-
color: ${({ theme }) => theme.palette.primary} !important;
|
|
203
|
-
}
|
|
204
|
-
`;
|
|
205
|
-
const ImageBlock = styled.img.withConfig({ displayName: "ImageBlock", componentId: "sc-
|
|
206
|
-
max-width: max-content;
|
|
207
|
-
user-select: none;
|
|
5
|
+
const compactIconButtons = css `
|
|
6
|
+
${IconButtonButton}, ${IconToggleButton} {
|
|
7
|
+
height: 14px;
|
|
8
|
+
width: 14px;
|
|
9
|
+
padding: 5px;
|
|
10
|
+
margin: 0;
|
|
11
|
+
box-sizing: content-box;
|
|
12
|
+
|
|
13
|
+
${Icon} {
|
|
14
|
+
height: 14px;
|
|
15
|
+
width: 14px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
${Icon}:after {
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
const NotebookWrapper = styled.div.withConfig({ displayName: "NotebookWrapper", componentId: "sc-tznxv5" }) `
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: 0.5rem 0;
|
|
27
|
+
height: 100%;
|
|
28
|
+
padding: 0.5rem 0;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
position: relative;
|
|
32
|
+
`;
|
|
33
|
+
const AddBlock = styled.div.withConfig({ displayName: "AddBlock", componentId: "sc-tw9ra6" }) `
|
|
34
|
+
display: flex;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 5;
|
|
37
|
+
align-items: center;
|
|
38
|
+
bottom: ${({ $visible }) => ($visible ? "100%" : "0")};
|
|
39
|
+
left: 50%;
|
|
40
|
+
transform: translateX(-50%) translateY(${({ $visible }) => ($visible ? "calc(100% + 0.5rem)" : "50%")});
|
|
41
|
+
gap: 0 0.75rem;
|
|
42
|
+
height: 24px;
|
|
43
|
+
padding: 4px 10px;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
border-radius: 12px;
|
|
46
|
+
visibility: ${({ $visible }) => ($visible ? "visible" : "hidden")};
|
|
47
|
+
background-color: ${({ theme }) => (isDark(theme) ? "#122631" : "#fff")};
|
|
48
|
+
box-shadow: 0 0 8px 0 ${({ theme }) => (isDark(theme) ? "rgba(0, 0, 0, 0.75)" : "rgba(17, 37, 47, 0.12)")};
|
|
49
|
+
`;
|
|
50
|
+
const CellAddButton = styled.img.withConfig({ displayName: "CellAddButton", componentId: "sc-1c4gf73" }) `
|
|
51
|
+
width: 1rem;
|
|
52
|
+
height: 1rem;
|
|
53
|
+
object-fit: cover;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
user-select: none;
|
|
56
|
+
`;
|
|
57
|
+
const NotebookCellBlock = styled.div.withConfig({ displayName: "NotebookCellBlock", componentId: "sc-1oywd3" }) `
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
gap: 0.5rem 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
position: relative;
|
|
63
|
+
|
|
64
|
+
&:hover ${AddBlock} {
|
|
65
|
+
visibility: visible;
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
const NotebookCellRow = styled.div.withConfig({ displayName: "NotebookCellRow", componentId: "sc-10958ng" }) `
|
|
69
|
+
display: flex;
|
|
70
|
+
width: 100%;
|
|
71
|
+
border-top: 1px solid ${({ theme }) => theme.palette.elementDeep};
|
|
72
|
+
`;
|
|
73
|
+
const NotebookCellBody = styled.div.withConfig({ displayName: "NotebookCellBody", componentId: "sc-132s1ms" }) `
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
width: 100%;
|
|
77
|
+
min-width: 1px;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
position: relative;
|
|
80
|
+
`;
|
|
81
|
+
const MainActions = styled.div.withConfig({ displayName: "MainActions", componentId: "sc-zfkvtw" }) `
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: center;
|
|
85
|
+
flex-shrink: 0;
|
|
86
|
+
width: 2.5rem;
|
|
87
|
+
padding: 0 0.5rem;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
position: relative;
|
|
90
|
+
|
|
91
|
+
${compactIconButtons}
|
|
92
|
+
`;
|
|
93
|
+
const TitleWrapper = styled.div.withConfig({ displayName: "TitleWrapper", componentId: "sc-1ica8c5" }) `
|
|
94
|
+
position: sticky;
|
|
95
|
+
top: 0;
|
|
96
|
+
right: 0;
|
|
97
|
+
z-index: 1;
|
|
98
|
+
`;
|
|
99
|
+
const TitleInner = styled.div.withConfig({ displayName: "TitleInner", componentId: "sc-2co1wy" }) `
|
|
100
|
+
display: none;
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 0;
|
|
103
|
+
right: 0.5rem;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: 0 0.25rem;
|
|
106
|
+
height: 1.5rem;
|
|
107
|
+
padding: 0 0.5rem;
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
border-radius: 0.25rem;
|
|
110
|
+
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
111
|
+
|
|
112
|
+
${compactIconButtons}
|
|
113
|
+
`;
|
|
114
|
+
const TitleSecondaryActions = styled.div.withConfig({ displayName: "TitleSecondaryActions", componentId: "sc-7da7nf" }) `
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
gap: 0 0.25rem;
|
|
118
|
+
margin-left: auto;
|
|
119
|
+
flex-shrink: 0;
|
|
120
|
+
`;
|
|
121
|
+
const revealTitleOnHover = css `
|
|
122
|
+
&:hover ${TitleInner} {
|
|
123
|
+
display: flex;
|
|
124
|
+
}
|
|
125
|
+
`;
|
|
126
|
+
const CellEditorContainer = styled.div.withConfig({ displayName: "CellEditorContainer", componentId: "sc-1rhjemm" }) `
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
width: 100%;
|
|
130
|
+
min-height: 1rem;
|
|
131
|
+
position: relative;
|
|
132
|
+
|
|
133
|
+
${revealTitleOnHover}
|
|
134
|
+
`;
|
|
135
|
+
const CellInfoText = styled.div.withConfig({ displayName: "CellInfoText", componentId: "sc-fkeovq" }) `
|
|
136
|
+
margin-right: 0.25rem;
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
139
|
+
${textOverflowEllipsisMixin}
|
|
140
|
+
`;
|
|
141
|
+
const CodeCellActionContainer = styled.div.withConfig({ displayName: "CodeCellActionContainer", componentId: "sc-1fwmopl" }) `
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
flex-shrink: 0;
|
|
145
|
+
position: sticky;
|
|
146
|
+
top: 0;
|
|
147
|
+
left: 0;
|
|
148
|
+
`;
|
|
149
|
+
const MarkdownCellContainer = styled.div.withConfig({ displayName: "MarkdownCellContainer", componentId: "sc-z0k0pp" }) `
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
flex: 1;
|
|
153
|
+
width: 100%;
|
|
154
|
+
min-height: 0;
|
|
155
|
+
position: relative;
|
|
156
|
+
|
|
157
|
+
${revealTitleOnHover}
|
|
158
|
+
`;
|
|
159
|
+
const MarkdownToolbar = styled.div.withConfig({ displayName: "MarkdownToolbar", componentId: "sc-1eucfjz" }) `
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
width: 100%;
|
|
163
|
+
|
|
164
|
+
${compactIconButtons}
|
|
165
|
+
`;
|
|
166
|
+
const MarkdownToolbarDivider = styled(Divider).withConfig({ displayName: "MarkdownToolbarDivider", componentId: "sc-ery3kj" }) `
|
|
167
|
+
height: 1rem;
|
|
168
|
+
margin-top: 0.25rem;
|
|
169
|
+
`;
|
|
170
|
+
const OutputResultContainer = styled.div.withConfig({ displayName: "OutputResultContainer", componentId: "sc-1d8nh1g" }) `
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
width: 100%;
|
|
174
|
+
position: relative;
|
|
175
|
+
border-radius: 6px;
|
|
176
|
+
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
177
|
+
|
|
178
|
+
${revealTitleOnHover}
|
|
179
|
+
|
|
180
|
+
.monaco-editor,
|
|
181
|
+
.monaco-editor-background,
|
|
182
|
+
.margin-view-overlays {
|
|
183
|
+
background-color: ${({ theme }) => (isDark(theme) ? "#1F323B" : "#F1F2F3")};
|
|
184
|
+
}
|
|
185
|
+
`;
|
|
186
|
+
const OutputEditorContainer = styled.div.withConfig({ displayName: "OutputEditorContainer", componentId: "sc-qsp76t" }) `
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
width: 100%;
|
|
190
|
+
min-height: 1rem;
|
|
191
|
+
max-height: 11rem;
|
|
192
|
+
overflow-y: auto;
|
|
193
|
+
position: relative;
|
|
194
|
+
border-radius: 6px;
|
|
195
|
+
`;
|
|
196
|
+
const ErrorBlock = styled.div.withConfig({ displayName: "ErrorBlock", componentId: "sc-w3vb22" }) `
|
|
197
|
+
padding: 0 1rem;
|
|
198
|
+
font-size: 0.75rem;
|
|
199
|
+
cursor: text;
|
|
200
|
+
|
|
201
|
+
a {
|
|
202
|
+
color: ${({ theme }) => theme.palette.primary} !important;
|
|
203
|
+
}
|
|
204
|
+
`;
|
|
205
|
+
const ImageBlock = styled.img.withConfig({ displayName: "ImageBlock", componentId: "sc-1x5trif" }) `
|
|
206
|
+
max-width: max-content;
|
|
207
|
+
user-select: none;
|
|
208
208
|
`;
|
|
209
209
|
|
|
210
210
|
export { AddBlock, CellAddButton, CellEditorContainer, CellInfoText, CodeCellActionContainer, ErrorBlock, ImageBlock, MainActions, MarkdownCellContainer, MarkdownToolbar, MarkdownToolbarDivider, NotebookCellBlock, NotebookCellBody, NotebookCellRow, NotebookWrapper, OutputEditorContainer, OutputResultContainer, TitleInner, TitleSecondaryActions, TitleWrapper };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const PythonEditorContainer = styled.div.withConfig({ displayName: "PythonEditorContainer", componentId: "sc-
|
|
4
|
-
display: flex;
|
|
5
|
-
flex: 1;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
min-height: 0;
|
|
3
|
+
const PythonEditorContainer = styled.div.withConfig({ displayName: "PythonEditorContainer", componentId: "sc-1tcujt5" }) `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex: 1;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-height: 0;
|
|
9
9
|
`;
|
|
10
10
|
|
|
11
11
|
export { PythonEditorContainer };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const RunBarTime = styled.div.withConfig({ displayName: "RunBarTime", componentId: "sc-
|
|
4
|
-
margin-left: auto;
|
|
5
|
-
font-size: 0.75rem;
|
|
6
|
-
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
7
|
-
white-space: nowrap;
|
|
3
|
+
const RunBarTime = styled.div.withConfig({ displayName: "RunBarTime", componentId: "sc-evzkle" }) `
|
|
4
|
+
margin-left: auto;
|
|
5
|
+
font-size: 0.75rem;
|
|
6
|
+
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
7
|
+
white-space: nowrap;
|
|
8
8
|
`;
|
|
9
9
|
|
|
10
10
|
export { RunBarTime };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const LimitTooltipContent = styled.div.withConfig({ displayName: "LimitTooltipContent", componentId: "sc-
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 0.25rem;
|
|
7
|
-
max-width: 16rem;
|
|
3
|
+
const LimitTooltipContent = styled.div.withConfig({ displayName: "LimitTooltipContent", componentId: "sc-br699l" }) `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 0.25rem;
|
|
7
|
+
max-width: 16rem;
|
|
8
8
|
`;
|
|
9
|
-
const LimitTooltipTitle = styled.div.withConfig({ displayName: "LimitTooltipTitle", componentId: "sc-
|
|
10
|
-
font-weight: 600;
|
|
9
|
+
const LimitTooltipTitle = styled.div.withConfig({ displayName: "LimitTooltipTitle", componentId: "sc-1xh1ov1" }) `
|
|
10
|
+
font-weight: 600;
|
|
11
11
|
`;
|
|
12
|
-
const LimitTooltipHint = styled.div.withConfig({ displayName: "LimitTooltipHint", componentId: "sc-
|
|
13
|
-
opacity: 0.72;
|
|
12
|
+
const LimitTooltipHint = styled.div.withConfig({ displayName: "LimitTooltipHint", componentId: "sc-ouaslw" }) `
|
|
13
|
+
opacity: 0.72;
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
export { LimitTooltipContent, LimitTooltipHint, LimitTooltipTitle };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { LogTerminal } from '@evergis/react';
|
|
3
3
|
|
|
4
|
-
const RunLogContainer = styled.div.withConfig({ displayName: "RunLogContainer", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: ${({ $height }) => ($height ? `${$height}px` : "100%")};
|
|
9
|
-
min-height: 0;
|
|
10
|
-
background-color: ${({ theme: { palette } }) => palette.devBackgroundDark};
|
|
4
|
+
const RunLogContainer = styled.div.withConfig({ displayName: "RunLogContainer", componentId: "sc-1acx7bj" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: ${({ $height }) => ($height ? `${$height}px` : "100%")};
|
|
9
|
+
min-height: 0;
|
|
10
|
+
background-color: ${({ theme: { palette } }) => palette.devBackgroundDark};
|
|
11
11
|
`;
|
|
12
|
-
const RunLogTerminal = styled(LogTerminal).withConfig({ displayName: "RunLogTerminal", componentId: "sc-
|
|
13
|
-
flex: 1;
|
|
14
|
-
min-height: 0;
|
|
15
|
-
margin: 1rem;
|
|
12
|
+
const RunLogTerminal = styled(LogTerminal).withConfig({ displayName: "RunLogTerminal", componentId: "sc-exuwcg" }) `
|
|
13
|
+
flex: 1;
|
|
14
|
+
min-height: 0;
|
|
15
|
+
margin: 1rem;
|
|
16
16
|
`;
|
|
17
17
|
|
|
18
18
|
export { RunLogContainer, RunLogTerminal };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Divider } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const PythonStatusContainer = styled.div.withConfig({ displayName: "PythonStatusContainer", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 1rem;
|
|
8
|
-
flex: 0 0 auto;
|
|
9
|
-
margin-left: auto;
|
|
10
|
-
white-space: nowrap;
|
|
4
|
+
const PythonStatusContainer = styled.div.withConfig({ displayName: "PythonStatusContainer", componentId: "sc-ummjkw" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
flex: 0 0 auto;
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
white-space: nowrap;
|
|
11
11
|
`;
|
|
12
|
-
const PythonStatusDivider = styled(Divider).withConfig({ displayName: "PythonStatusDivider", componentId: "sc-
|
|
13
|
-
height: 0.875rem;
|
|
14
|
-
align-self: center;
|
|
15
|
-
margin: 0;
|
|
12
|
+
const PythonStatusDivider = styled(Divider).withConfig({ displayName: "PythonStatusDivider", componentId: "sc-1cnvzi0" }) `
|
|
13
|
+
height: 0.875rem;
|
|
14
|
+
align-self: center;
|
|
15
|
+
margin: 0;
|
|
16
16
|
`;
|
|
17
17
|
|
|
18
18
|
export { PythonStatusContainer, PythonStatusDivider };
|
package/dist/devmode/modules/python/components/SandboxesDialog/components/SandboxCard/styled.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const CardActions = styled.div.withConfig({ displayName: "CardActions", componentId: "sc-
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: 1rem;
|
|
7
|
-
flex-shrink: 0;
|
|
8
|
-
opacity: 0;
|
|
3
|
+
const CardActions = styled.div.withConfig({ displayName: "CardActions", componentId: "sc-rgouxh" }) `
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 1rem;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
opacity: 0;
|
|
9
9
|
`;
|
|
10
|
-
const Card = styled.div.withConfig({ displayName: "Card", componentId: "sc-
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
gap: 1rem;
|
|
14
|
-
padding: 1rem;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
border: 1px solid ${({ theme }) => theme.palette.element};
|
|
17
|
-
border-radius: 0.5rem;
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
background-color: ${({ theme }) => theme.palette.element};
|
|
21
|
-
border-color: transparent;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:hover ${CardActions} {
|
|
25
|
-
opacity: 1;
|
|
26
|
-
}
|
|
10
|
+
const Card = styled.div.withConfig({ displayName: "Card", componentId: "sc-1b7vkt1" }) `
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 1rem;
|
|
14
|
+
padding: 1rem;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
border: 1px solid ${({ theme }) => theme.palette.element};
|
|
17
|
+
border-radius: 0.5rem;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: ${({ theme }) => theme.palette.element};
|
|
21
|
+
border-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover ${CardActions} {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
27
|
`;
|
|
28
|
-
const CardRow = styled.div.withConfig({ displayName: "CardRow", componentId: "sc-
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
gap: 1rem;
|
|
33
|
-
min-width: 0;
|
|
28
|
+
const CardRow = styled.div.withConfig({ displayName: "CardRow", componentId: "sc-1crjxvy" }) `
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
gap: 1rem;
|
|
33
|
+
min-width: 0;
|
|
34
34
|
`;
|
|
35
|
-
const CardMain = styled.div.withConfig({ displayName: "CardMain", componentId: "sc-
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
gap: 0.5rem;
|
|
39
|
-
min-width: 0;
|
|
35
|
+
const CardMain = styled.div.withConfig({ displayName: "CardMain", componentId: "sc-1kduyxx" }) `
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 0.5rem;
|
|
39
|
+
min-width: 0;
|
|
40
40
|
`;
|
|
41
|
-
const CardName = styled.div.withConfig({ displayName: "CardName", componentId: "sc-
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
font-size: 1rem;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
line-height: 1.125rem;
|
|
46
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
text-overflow: ellipsis;
|
|
41
|
+
const CardName = styled.div.withConfig({ displayName: "CardName", componentId: "sc-1u7oj2v" }) `
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
line-height: 1.125rem;
|
|
46
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
49
|
`;
|
|
50
50
|
|
|
51
51
|
export { Card, CardActions, CardMain, CardName, CardRow };
|