From cfc34fd8aad9277c158f6ceec560601100d72e4e Mon Sep 17 00:00:00 2001 From: Steve Kinney Date: Fri, 3 May 2024 12:30:06 -0600 Subject: [PATCH] Add stories & address accessibility issues with Compatibility Badge --- .../compatibility-badge.stories.svelte | 102 ++++++++++++++++++ src/lib/holocene/compatibility-badge.svelte | 23 ++-- 2 files changed, 112 insertions(+), 13 deletions(-) create mode 100644 src/lib/holocene/compatibility-badge.stories.svelte diff --git a/src/lib/holocene/compatibility-badge.stories.svelte b/src/lib/holocene/compatibility-badge.stories.svelte new file mode 100644 index 000000000..81a4cdea4 --- /dev/null +++ b/src/lib/holocene/compatibility-badge.stories.svelte @@ -0,0 +1,102 @@ + + + + + + + + + + + Default + + + + + + Overall + + + + + + Default + + + + + + Overall + + + + + + + + + + Default + + + + + + Overall + + + + + + Default + + + + + + Overall + + diff --git a/src/lib/holocene/compatibility-badge.svelte b/src/lib/holocene/compatibility-badge.svelte index 3382c0100..f83613262 100644 --- a/src/lib/holocene/compatibility-badge.svelte +++ b/src/lib/holocene/compatibility-badge.svelte @@ -1,31 +1,28 @@

{#if defaultVersion && buildId} - + {buildId} {:else if buildId} - + {buildId} {/if}

- -