From 0b18b55433edd554c4f6558d7f66c509aa84a464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 12 Apr 2021 16:26:26 +0200 Subject: [PATCH] Implements Menu component --- packages/bbui/src/Menu/Item.svelte | 16 +++++++-- packages/bbui/src/Menu/Menu.svelte | 33 +------------------ packages/bbui/src/Menu/Menu.svench | 19 +++++++++++ packages/bbui/src/Menu/Section.svelte | 4 +-- packages/bbui/src/Menu/Separator.svelte | 1 + packages/bbui/src/index.js | 1 + .../builder/src/pages/builder/index.svelte | 4 --- 7 files changed, 38 insertions(+), 40 deletions(-) create mode 100644 packages/bbui/src/Menu/Menu.svench create mode 100644 packages/bbui/src/Menu/Separator.svelte diff --git a/packages/bbui/src/Menu/Item.svelte b/packages/bbui/src/Menu/Item.svelte index c7b73fea02..58b031fe78 100644 --- a/packages/bbui/src/Menu/Item.svelte +++ b/packages/bbui/src/Menu/Item.svelte @@ -1,3 +1,15 @@ - \ No newline at end of file diff --git a/packages/bbui/src/Menu/Menu.svelte b/packages/bbui/src/Menu/Menu.svelte index 3f6cb74781..2fa1021732 100644 --- a/packages/bbui/src/Menu/Menu.svelte +++ b/packages/bbui/src/Menu/Menu.svelte @@ -3,36 +3,5 @@ \ No newline at end of file diff --git a/packages/bbui/src/Menu/Menu.svench b/packages/bbui/src/Menu/Menu.svench new file mode 100644 index 0000000000..1da76869ba --- /dev/null +++ b/packages/bbui/src/Menu/Menu.svench @@ -0,0 +1,19 @@ + + + +
+ Some Item 1 + Some Item 2 + Some Item 3 +
+ +
+ Save + Download +
+
\ No newline at end of file diff --git a/packages/bbui/src/Menu/Section.svelte b/packages/bbui/src/Menu/Section.svelte index 58bfbdd7a4..54ae4123be 100644 --- a/packages/bbui/src/Menu/Section.svelte +++ b/packages/bbui/src/Menu/Section.svelte @@ -2,8 +2,8 @@ export let heading
  • - -