From 697c3d33dfcfa8d8f148905b9e3c548cf3921860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 14 Apr 2021 10:53:23 +0200 Subject: [PATCH] adds Typogaphy components --- packages/bbui/package.json | 1 + packages/bbui/src/Typography/Body.svelte | 29 +++++++++++++++++++++ packages/bbui/src/Typography/Code.svelte | 20 ++++++++++++++ packages/bbui/src/Typography/Detail.svelte | 21 +++++++++++++++ packages/bbui/src/Typography/Heading.svelte | 2 +- packages/bbui/src/index.js | 9 +++++-- packages/bbui/yarn.lock | 5 ++++ 7 files changed, 84 insertions(+), 3 deletions(-) diff --git a/packages/bbui/package.json b/packages/bbui/package.json index da42b72fcd..d5676edf5e 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -58,6 +58,7 @@ "@spectrum-css/popover": "^3.0.1", "@spectrum-css/table": "^3.0.1", "@spectrum-css/toast": "^3.0.1", + "@spectrum-css/typography": "^3.0.1", "@spectrum-css/underlay": "^2.0.9", "@spectrum-css/vars": "^3.0.1", "dayjs": "^1.10.4", diff --git a/packages/bbui/src/Typography/Body.svelte b/packages/bbui/src/Typography/Body.svelte index e69de29bb2..12a7b8b99c 100644 --- a/packages/bbui/src/Typography/Body.svelte +++ b/packages/bbui/src/Typography/Body.svelte @@ -0,0 +1,29 @@ + + +

+ +

\ No newline at end of file diff --git a/packages/bbui/src/Typography/Code.svelte b/packages/bbui/src/Typography/Code.svelte index e69de29bb2..1aada8b687 100644 --- a/packages/bbui/src/Typography/Code.svelte +++ b/packages/bbui/src/Typography/Code.svelte @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/packages/bbui/src/Typography/Detail.svelte b/packages/bbui/src/Typography/Detail.svelte index e69de29bb2..b1eec70e47 100644 --- a/packages/bbui/src/Typography/Detail.svelte +++ b/packages/bbui/src/Typography/Detail.svelte @@ -0,0 +1,21 @@ + + +

+ +

\ No newline at end of file diff --git a/packages/bbui/src/Typography/Heading.svelte b/packages/bbui/src/Typography/Heading.svelte index cb6a1551c2..5f5dd28867 100644 --- a/packages/bbui/src/Typography/Heading.svelte +++ b/packages/bbui/src/Typography/Heading.svelte @@ -1,5 +1,5 @@