From 5890f5d4dcefb2eb30f6715140e65c6e784b7098 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Tue, 21 Dec 2021 14:08:09 -0500 Subject: [PATCH] Add bold and code cell renderers --- packages/bbui/src/Table/BoldRenderer.svelte | 11 +++++++++++ packages/bbui/src/Table/CodeRenderer.svelte | 5 +++++ packages/bbui/src/index.js | 4 ++++ .../rest/variables/ViewDynamicVariables.svelte | 8 ++++++-- 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 packages/bbui/src/Table/BoldRenderer.svelte create mode 100644 packages/bbui/src/Table/CodeRenderer.svelte diff --git a/packages/bbui/src/Table/BoldRenderer.svelte b/packages/bbui/src/Table/BoldRenderer.svelte new file mode 100644 index 0000000000..ea882d538e --- /dev/null +++ b/packages/bbui/src/Table/BoldRenderer.svelte @@ -0,0 +1,11 @@ + + +
{value}
+ + diff --git a/packages/bbui/src/Table/CodeRenderer.svelte b/packages/bbui/src/Table/CodeRenderer.svelte new file mode 100644 index 0000000000..a75bec663c --- /dev/null +++ b/packages/bbui/src/Table/CodeRenderer.svelte @@ -0,0 +1,5 @@ + + +{value} diff --git a/packages/bbui/src/index.js b/packages/bbui/src/index.js index c30047f73f..3e86d01a0d 100644 --- a/packages/bbui/src/index.js +++ b/packages/bbui/src/index.js @@ -61,6 +61,10 @@ export { default as ColorPicker } from "./ColorPicker/ColorPicker.svelte" export { default as InlineAlert } from "./InlineAlert/InlineAlert.svelte" export { default as Banner } from "./Banner/Banner.svelte" +// Renderers +export { default as BoldRenderer } from "./Table/BoldRenderer.svelte" +export { default as CodeRenderer } from "./Table/CodeRenderer.svelte" + // Typography export { default as Body } from "./Typography/Body.svelte" export { default as Heading } from "./Typography/Heading.svelte" diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/variables/ViewDynamicVariables.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/variables/ViewDynamicVariables.svelte index b000258399..a1e209f846 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/variables/ViewDynamicVariables.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/variables/ViewDynamicVariables.svelte @@ -1,5 +1,5 @@