From 04dfbe4d18b36b3f64e3d8077019c013656754b1 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 6 May 2021 10:17:27 +0100 Subject: [PATCH 1/7] Add Page layout component to BBUI --- packages/bbui/src/Layout/Page.svelte | 23 +++++++++++++++++++++++ packages/bbui/src/index.js | 1 + 2 files changed, 24 insertions(+) create mode 100644 packages/bbui/src/Layout/Page.svelte diff --git a/packages/bbui/src/Layout/Page.svelte b/packages/bbui/src/Layout/Page.svelte new file mode 100644 index 0000000000..d8c8cbfce4 --- /dev/null +++ b/packages/bbui/src/Layout/Page.svelte @@ -0,0 +1,23 @@ + + +
+ +
+ + diff --git a/packages/bbui/src/index.js b/packages/bbui/src/index.js index e1b68cb35f..9d47958461 100644 --- a/packages/bbui/src/index.js +++ b/packages/bbui/src/index.js @@ -28,6 +28,7 @@ export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte" export { default as ProgressCircle } from "./ProgressCircle/ProgressCircle.svelte" export { default as Label } from "./Label/Label.svelte" export { default as Layout } from "./Layout/Layout.svelte" +export { default as Page } from "./Layout/Page.svelte" export { default as Link } from "./Link/Link.svelte" export { default as Menu } from "./Menu/Menu.svelte" export { default as MenuSection } from "./Menu/Section.svelte" From 67fad5def03946ed5d74322dc13acc72cbfc37ca Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 6 May 2021 10:17:47 +0100 Subject: [PATCH 2/7] Update border colour definitions to match designs --- packages/builder/src/global.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/global.css b/packages/builder/src/global.css index 298513bd23..726f422a48 100644 --- a/packages/builder/src/global.css +++ b/packages/builder/src/global.css @@ -13,8 +13,8 @@ html, body { body { --background: var(--spectrum-alias-background-color-primary); --background-alt: var(--spectrum-alias-background-color-secondary); - --border-light: 1px solid var(--spectrum-global-color-gray-200); - --border-dark: 1px solid var(--spectrum-global-color-gray-300); + --border-light: 1px solid var(--spectrum-global-color-gray-300); + --border-dark: 1px solid var(--spectrum-global-color-gray-400); --ink: var(--spectrum-alias-text-color); --grey-1: var(--spectrum-global-color-gray-100); --grey-2: var(--spectrum-global-color-gray-200); From 61d81a719ac50b9350562f7e06799f917828d168 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 6 May 2021 10:18:25 +0100 Subject: [PATCH 3/7] Update core layout to allow full width pages and match designs --- .../builder/src/pages/portal/_layout.svelte | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/packages/builder/src/pages/portal/_layout.svelte b/packages/builder/src/pages/portal/_layout.svelte index e26148b666..028f04285e 100644 --- a/packages/builder/src/pages/portal/_layout.svelte +++ b/packages/builder/src/pages/portal/_layout.svelte @@ -23,7 +23,7 @@ onMount(getInfo) let menu = [ - { title: "Apps", href: "/portal/" }, + { title: "Apps", href: "/portal/apps" }, { title: "Drafts", href: "/portal/drafts" }, { title: "Users", href: "/portal/users", heading: "Manage" }, { title: "Groups", href: "/portal/groups" }, @@ -36,15 +36,15 @@
- -