diff --git a/packages/web/package.json b/packages/web/package.json index 868b71b5..cbb64a6a 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -45,6 +45,7 @@ "file-selector": "^0.2.4", "resize-observer-polyfill": "^1.5.1", "sirv-cli": "^1.0.0", + "svelte-json-tree": "^0.1.0", "svelte-markdown": "^0.1.4", "svelte-select": "^3.17.0" } diff --git a/packages/web/src/celldata/JsonCellView.svelte b/packages/web/src/celldata/JsonCellView.svelte new file mode 100644 index 00000000..b949b7a5 --- /dev/null +++ b/packages/web/src/celldata/JsonCellView.svelte @@ -0,0 +1,41 @@ + + +{#if error} + +{:else} +
+
+ +
+
+{/if} + + diff --git a/packages/web/src/celldata/TextCellViewNoWrap.svelte b/packages/web/src/celldata/TextCellViewNoWrap.svelte new file mode 100644 index 00000000..0b34f133 --- /dev/null +++ b/packages/web/src/celldata/TextCellViewNoWrap.svelte @@ -0,0 +1,5 @@ + + +