From a44a208391b6243768d8d26ef190b6a2af939833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 9 Apr 2021 14:57:31 +0200 Subject: [PATCH] fix erroneous class usage --- .../bbui/src/ActionButton/ActionButton.svelte | 18 ++++++++---------- .../bbui/src/ActionGroup/ActionGroup.svelte | 11 ++++++----- packages/bbui/src/Link/Link.svelte | 12 ++++++------ 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/packages/bbui/src/ActionButton/ActionButton.svelte b/packages/bbui/src/ActionButton/ActionButton.svelte index b68d7f72bf..df087dd627 100644 --- a/packages/bbui/src/ActionButton/ActionButton.svelte +++ b/packages/bbui/src/ActionButton/ActionButton.svelte @@ -3,19 +3,14 @@ import { createEventDispatcher } from "svelte" const dispatch = createEventDispatcher() - export let disabled = false - + /** @type {('S', 'M', 'L', 'XL')} Size of button */ export let size = "M"; - /** @type {('cta','primary','secondary','warning', 'overBackground')} Type of button */ - export let type = "primary" - export let quiet = false; - - export let selected = false; - + export let emphasized = false; + export let selected = false export let longPressable = false; - + export let disabled = false export let icon = ''; function longPress(element) { @@ -42,7 +37,10 @@