jupyter-specta 0.2.0 → 0.2.2
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 +1 -0
- package/lib/specta_widget.js +2 -1
- package/lib/token.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,6 +72,7 @@ The following options are available:
|
|
|
72
72
|
- `hideTopbar`: Boolean flag to show or hide the top bar.
|
|
73
73
|
- `topBar`: Configuration for the top bar.
|
|
74
74
|
- `slidesTheme`: The theme for the slides layout. The list of available themes can be found [here](https://revealjs.com/themes/).
|
|
75
|
+
- `loadingName`: The string shown during the loading of specta (default to Loading Specta) only available globally not per file.
|
|
75
76
|
|
|
76
77
|
```json
|
|
77
78
|
"topBar": {
|
package/lib/specta_widget.js
CHANGED
|
@@ -35,6 +35,7 @@ export class AppWidget extends Panel {
|
|
|
35
35
|
return this._model;
|
|
36
36
|
}
|
|
37
37
|
addSpinner() {
|
|
38
|
+
var _a;
|
|
38
39
|
const loaderHost = (this._loaderHost = new Widget());
|
|
39
40
|
loaderHost.addClass('specta-loader-host');
|
|
40
41
|
const spinner = document.createElement('div');
|
|
@@ -42,7 +43,7 @@ export class AppWidget extends Panel {
|
|
|
42
43
|
loaderHost.node.appendChild(spinner);
|
|
43
44
|
const text = document.createElement('div');
|
|
44
45
|
text.className = 'specta-loading-indicator-text';
|
|
45
|
-
text.textContent = 'Loading Specta';
|
|
46
|
+
text.textContent = (_a = this._spectaAppConfig.loadingName) !== null && _a !== void 0 ? _a : 'Loading Specta';
|
|
46
47
|
loaderHost.node.appendChild(text);
|
|
47
48
|
this.addWidget(loaderHost);
|
|
48
49
|
}
|
package/lib/token.d.ts
CHANGED