nova-trame 0.17.0__py3-none-any.whl → 0.17.1__py3-none-any.whl
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.
- nova/trame/view/components/visualization/matplotlib_figure.py +1 -1
- nova/trame/view/theme/assets/core_style.scss +6 -6
- nova/trame/view/theme/assets/vuetify_config.json +14 -9
- nova/trame/view/theme/theme.py +4 -8
- {nova_trame-0.17.0.dist-info → nova_trame-0.17.1.dist-info}/METADATA +1 -1
- {nova_trame-0.17.0.dist-info → nova_trame-0.17.1.dist-info}/RECORD +9 -9
- {nova_trame-0.17.0.dist-info → nova_trame-0.17.1.dist-info}/LICENSE +0 -0
- {nova_trame-0.17.0.dist-info → nova_trame-0.17.1.dist-info}/WHEEL +0 -0
- {nova_trame-0.17.0.dist-info → nova_trame-0.17.1.dist-info}/entry_points.txt +0 -0
@@ -275,7 +275,7 @@ class MatplotlibFigure(matplotlib.Figure):
|
|
275
275
|
ready_%(port)d(
|
276
276
|
function() {
|
277
277
|
var websocket_type = mpl.get_websocket_type();
|
278
|
-
var websocket = new websocket_type(
|
278
|
+
var websocket = new websocket_type('mpl/%(port)d');
|
279
279
|
|
280
280
|
var fig = new mpl.figure(
|
281
281
|
// A unique numeric identifier for the figure
|
@@ -12,12 +12,6 @@ html {
|
|
12
12
|
box-shadow: none !important;
|
13
13
|
}
|
14
14
|
|
15
|
-
.v-tab.v-btn {
|
16
|
-
height: 30px !important;
|
17
|
-
min-width: fit-content !important;
|
18
|
-
padding: 10px !important;
|
19
|
-
}
|
20
|
-
|
21
15
|
.mpl-message, .ui-dialog-titlebar {
|
22
16
|
display: none !important;
|
23
17
|
}
|
@@ -48,6 +42,12 @@ html {
|
|
48
42
|
border-radius: 4px;
|
49
43
|
}
|
50
44
|
|
45
|
+
.v-tab.v-btn {
|
46
|
+
height: 30px !important;
|
47
|
+
min-width: fit-content !important;
|
48
|
+
padding: 10px !important;
|
49
|
+
}
|
50
|
+
|
51
51
|
.v-card-title,
|
52
52
|
.v-list-item-title,
|
53
53
|
.v-toolbar-title {
|
@@ -56,8 +56,7 @@
|
|
56
56
|
},
|
57
57
|
"VFileInput": {
|
58
58
|
"color": "primary",
|
59
|
-
"prependIcon": false
|
60
|
-
"variant": "outlined"
|
59
|
+
"prependIcon": false
|
61
60
|
},
|
62
61
|
"VLabel": {
|
63
62
|
"style": {
|
@@ -92,8 +91,7 @@
|
|
92
91
|
"color": "primary"
|
93
92
|
},
|
94
93
|
"VSelect": {
|
95
|
-
"color": "primary"
|
96
|
-
"variant": "outlined"
|
94
|
+
"color": "primary"
|
97
95
|
},
|
98
96
|
"VSlider": {
|
99
97
|
"color": "primary"
|
@@ -108,12 +106,10 @@
|
|
108
106
|
"color": "primary"
|
109
107
|
},
|
110
108
|
"VTextarea": {
|
111
|
-
"color": "primary"
|
112
|
-
"variant": "outlined"
|
109
|
+
"color": "primary"
|
113
110
|
},
|
114
111
|
"VTextField": {
|
115
|
-
"color": "primary"
|
116
|
-
"variant": "outlined"
|
112
|
+
"color": "primary"
|
117
113
|
},
|
118
114
|
"VWindowItem": {
|
119
115
|
"reverseTransition": "fade-transition",
|
@@ -162,6 +158,15 @@
|
|
162
158
|
"VBtn": {
|
163
159
|
"size": "small"
|
164
160
|
},
|
161
|
+
"VFileInput": {
|
162
|
+
"variant": "outlined"
|
163
|
+
},
|
164
|
+
"VSelect": {
|
165
|
+
"variant": "outlined"
|
166
|
+
},
|
167
|
+
"VTextarea": {
|
168
|
+
"variant": "outlined"
|
169
|
+
},
|
165
170
|
"VTextField": {
|
166
171
|
"VBtn": {
|
167
172
|
"size": "small",
|
@@ -183,4 +188,4 @@
|
|
183
188
|
"lighten": 5
|
184
189
|
}
|
185
190
|
}
|
186
|
-
}
|
191
|
+
}
|
nova/trame/view/theme/theme.py
CHANGED
@@ -31,13 +31,6 @@ class ThemedApp:
|
|
31
31
|
"""Automatically injects theming into your Trame application.
|
32
32
|
|
33
33
|
You should always inherit from this class when you define your Trame application.
|
34
|
-
|
35
|
-
Currently, it supports two themes:
|
36
|
-
|
37
|
-
1. ModernTheme - The recommended theme for most applications. Leverages ORNL brand colors and a typical Vuetify \
|
38
|
-
appearance.
|
39
|
-
2. CompactTheme - Similar to ModernTheme but with a smaller global font size and reduced margins and paddings on \
|
40
|
-
all components.
|
41
34
|
"""
|
42
35
|
|
43
36
|
def __init__(
|
@@ -151,7 +144,10 @@ class ThemedApp:
|
|
151
144
|
Parameters
|
152
145
|
----------
|
153
146
|
theme : str, optional
|
154
|
-
The new theme to use. If the theme is not found, the default theme will be used.
|
147
|
+
The new theme to use. If the theme is not found, the default theme will be used. The available options are:
|
148
|
+
|
149
|
+
1. ModernTheme (default) - Leverages ORNL brand colors and a typical Vuetify appearance.
|
150
|
+
2. CompactTheme - Similar to ModernTheme but with a smaller global font size and increased density.
|
155
151
|
force : bool, optional
|
156
152
|
If True, the theme will be set even if the theme selection menu is disabled.
|
157
153
|
|
@@ -6,23 +6,23 @@ nova/trame/view/components/input_field.py,sha256=ncVVSzdJwH_-KP24I2rCqcb6v3J2hPh
|
|
6
6
|
nova/trame/view/components/remote_file_input.py,sha256=k2yrwkell_g0sGnWR9XLL1LxkmFLr8-AGhduo8E-N4A,8669
|
7
7
|
nova/trame/view/components/visualization/__init__.py,sha256=reqkkbhD5uSksHHlhVMy1qNUCwSekS5HlXk6wCREYxU,152
|
8
8
|
nova/trame/view/components/visualization/interactive_2d_plot.py,sha256=foZCMoqbuahT5dtqIQvm8C4ZJcY9P211eJEcpQJltmM,3421
|
9
|
-
nova/trame/view/components/visualization/matplotlib_figure.py,sha256=
|
9
|
+
nova/trame/view/components/visualization/matplotlib_figure.py,sha256=xxgEAE2boc-sIFEIsbJxQZQ5biBMBXT0U8Il5299VNc,11974
|
10
10
|
nova/trame/view/layouts/__init__.py,sha256=cMrlB5YMUoK8EGB83b34UU0kPTVrH8AxsYvKRtpUNEc,141
|
11
11
|
nova/trame/view/layouts/grid.py,sha256=k-QHuH31XeAVDuMKUMoAMVnAM-Yavq7kdLYOC1ZrGTQ,5021
|
12
12
|
nova/trame/view/layouts/hbox.py,sha256=r5irhFX6YWTWN4V4NwNQx6mheyM8p6PVcJbrbhvOAwo,2625
|
13
13
|
nova/trame/view/layouts/vbox.py,sha256=Q4EvrtGJORyNF6AnCLGXToy8XU6yofiO5_kt7hK-AYs,2626
|
14
14
|
nova/trame/view/theme/__init__.py,sha256=70_marDlTigIcPEOGiJb2JTs-8b2sGM5SlY7XBPtBDM,54
|
15
|
-
nova/trame/view/theme/assets/core_style.scss,sha256=
|
15
|
+
nova/trame/view/theme/assets/core_style.scss,sha256=zZj7klB_iieNNTdh3WADpRbCA6WII0-nG86MKFEBYWY,1533
|
16
16
|
nova/trame/view/theme/assets/favicon.png,sha256=Xbp1nUmhcBDeObjsebEbEAraPDZ_M163M_ZLtm5AbQc,1927
|
17
17
|
nova/trame/view/theme/assets/js/delay_manager.js,sha256=vmb34DZ5YCQIlRW9Tf2M_uvJW6HFCmtlKZ5e_TPR8yg,536
|
18
18
|
nova/trame/view/theme/assets/js/lodash.debounce.min.js,sha256=GLzlQH04WDUNYN7i39ttHHejSdu-CpAvfWgDgKDn-OY,4448
|
19
19
|
nova/trame/view/theme/assets/js/lodash.throttle.min.js,sha256=9csqjX-M-LVGJnF3z4ha1R_36O5AfkFE8rPHkxmt3tE,4677
|
20
|
-
nova/trame/view/theme/assets/vuetify_config.json,sha256=
|
21
|
-
nova/trame/view/theme/theme.py,sha256=
|
20
|
+
nova/trame/view/theme/assets/vuetify_config.json,sha256=B4uXKIj3hdinN483PrLQBiaveVfEqskuAYFRFGHrWus,5099
|
21
|
+
nova/trame/view/theme/theme.py,sha256=yBaHOvugzxh9vsBOGlOpp2IVMuLj922P6MSXoSz7tk0,11820
|
22
22
|
nova/trame/view/utilities/local_storage.py,sha256=vD8f2VZIpxhIKjZwEaD7siiPCTZO4cw9AfhwdawwYLY,3218
|
23
23
|
nova/trame/view_model/remote_file_input.py,sha256=WHWCQkZBGeKLe1aTPbtVNI8tn-PDt64mi1-561uuBpQ,3320
|
24
|
-
nova_trame-0.17.
|
25
|
-
nova_trame-0.17.
|
26
|
-
nova_trame-0.17.
|
27
|
-
nova_trame-0.17.
|
28
|
-
nova_trame-0.17.
|
24
|
+
nova_trame-0.17.1.dist-info/LICENSE,sha256=Iu5QiDbwNbREg75iYaxIJ_V-zppuv4QFuBhAW-qiAlM,1061
|
25
|
+
nova_trame-0.17.1.dist-info/METADATA,sha256=kk0lQjk9QG4NBNMLflO_b9fCnNBR459-OkHAhZ4K7Hg,1345
|
26
|
+
nova_trame-0.17.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
27
|
+
nova_trame-0.17.1.dist-info/entry_points.txt,sha256=J2AmeSwiTYZ4ZqHHp9HO6v4MaYQTTBPbNh6WtoqOT58,42
|
28
|
+
nova_trame-0.17.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|