From d30a9ef494b7e8ebd4ea84ee4ba0b3c1211f1808 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 21 May 2021 10:31:45 +0100 Subject: [PATCH] Add StatusLight and Badge components to BBUI --- packages/bbui/package.json | 3 +- packages/bbui/src/Badge/Badge.svelte | 27 ++++++++++++ .../bbui/src/StatusLight/StatusLight.svelte | 41 +++++++++++++++++++ packages/bbui/src/Tags/Tag.svelte | 9 ++++ packages/bbui/src/index.js | 2 + packages/bbui/yarn.lock | 7 +++- 6 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 packages/bbui/src/Badge/Badge.svelte create mode 100644 packages/bbui/src/StatusLight/StatusLight.svelte diff --git a/packages/bbui/package.json b/packages/bbui/package.json index c4c7e14b4b..3449931d12 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -52,7 +52,7 @@ "@spectrum-css/icon": "^3.0.1", "@spectrum-css/illustratedmessage": "^3.0.2", "@spectrum-css/inputgroup": "^3.0.2", - "@spectrum-css/label": "^2.0.9", + "@spectrum-css/label": "^2.0.10", "@spectrum-css/link": "^3.1.1", "@spectrum-css/menu": "^3.0.1", "@spectrum-css/modal": "^3.0.1", @@ -64,6 +64,7 @@ "@spectrum-css/radio": "^3.0.2", "@spectrum-css/search": "^3.0.2", "@spectrum-css/sidenav": "^3.0.2", + "@spectrum-css/statuslight": "^3.0.2", "@spectrum-css/switch": "^1.0.2", "@spectrum-css/table": "^3.0.1", "@spectrum-css/tabs": "^3.0.1", diff --git a/packages/bbui/src/Badge/Badge.svelte b/packages/bbui/src/Badge/Badge.svelte new file mode 100644 index 0000000000..737d4133d8 --- /dev/null +++ b/packages/bbui/src/Badge/Badge.svelte @@ -0,0 +1,27 @@ + + + + + diff --git a/packages/bbui/src/StatusLight/StatusLight.svelte b/packages/bbui/src/StatusLight/StatusLight.svelte new file mode 100644 index 0000000000..f56fee0c2a --- /dev/null +++ b/packages/bbui/src/StatusLight/StatusLight.svelte @@ -0,0 +1,41 @@ + + +
+ +
diff --git a/packages/bbui/src/Tags/Tag.svelte b/packages/bbui/src/Tags/Tag.svelte index 906065cc71..f7089decdb 100644 --- a/packages/bbui/src/Tags/Tag.svelte +++ b/packages/bbui/src/Tags/Tag.svelte @@ -1,6 +1,8 @@