diff --git a/packages/bbui/src/Tabs/Tab.svelte b/packages/bbui/src/Tabs/Tab.svelte index 46d8f175c5..e5c9344433 100644 --- a/packages/bbui/src/Tabs/Tab.svelte +++ b/packages/bbui/src/Tabs/Tab.svelte @@ -1,13 +1,26 @@ -
$selected = title } class:is-selected={$selected === title} class="spectrum-Tabs-item" tabindex="0"> +
$selected = {...$selected, title, info: tab.getBoundingClientRect()} } class:is-selected={$selected.title === title} class="spectrum-Tabs-item" tabindex="0"> {#if icon} {title}
-{#if $selected === title} - +{#if $selected.title === title} + {/if} \ No newline at end of file diff --git a/packages/bbui/src/Tabs/Tabs.svelte b/packages/bbui/src/Tabs/Tabs.svelte index 56f3601a98..74a5e5d1a5 100644 --- a/packages/bbui/src/Tabs/Tabs.svelte +++ b/packages/bbui/src/Tabs/Tabs.svelte @@ -1,23 +1,69 @@ -
+
+
-
+
\ No newline at end of file diff --git a/packages/builder/src/pages/builder/index.svelte b/packages/builder/src/pages/builder/index.svelte index b477359f87..51d20bb6d3 100644 --- a/packages/builder/src/pages/builder/index.svelte +++ b/packages/builder/src/pages/builder/index.svelte @@ -3,7 +3,7 @@ import AppList from "components/start/AppList.svelte" import { get } from "builderStore/api" import CreateAppModal from "components/start/CreateAppModal.svelte" - import { Button, Heading, Modal, Spacer, Tabs, Tab } from "@budibase/bbui" + import { Button, Heading, Modal, Spacer, Tabs, Tab, Divider } from "@budibase/bbui" import TemplateList from "components/start/TemplateList.svelte" import analytics from "analytics" import Banner from "/assets/orange-landscape.png" @@ -75,7 +75,6 @@ -