From b635aad8aebea0bc1dda2251eaac391ff5c100a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 27 Apr 2021 16:25:39 +0200 Subject: [PATCH] rework Divider to use new API --- packages/bbui/src/Divider/Divider.svelte | 14 +++++--------- packages/bbui/src/Modal/ModalContent.svelte | 2 +- .../PropertyControls/DataSourceSelect.svelte | 8 ++++---- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/packages/bbui/src/Divider/Divider.svelte b/packages/bbui/src/Divider/Divider.svelte index cc50225d2f..2b4de9cfb0 100644 --- a/packages/bbui/src/Divider/Divider.svelte +++ b/packages/bbui/src/Divider/Divider.svelte @@ -1,23 +1,19 @@
+ class="spectrum-Divider spectrum-Divider--{vertical + ? 'vertical' + : 'horizontal'} spectrum-Dialog-divider spectrum-Divider--size{size}" +/>