From 2d5a7478037df8fbf91debb7d2b51e0cdba447d9 Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Tue, 3 Aug 2021 20:54:32 +0200 Subject: [PATCH 1/2] add sizes to boolean field and checkbox component --- packages/bbui/src/Form/Checkbox.svelte | 3 ++- packages/bbui/src/Form/Core/Checkbox.svelte | 3 ++- packages/standard-components/manifest.json | 25 ++++++++++++++++++- .../src/forms/BooleanField.svelte | 4 ++- 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/packages/bbui/src/Form/Checkbox.svelte b/packages/bbui/src/Form/Checkbox.svelte index 90a2cddda5..6aa88f6dee 100644 --- a/packages/bbui/src/Form/Checkbox.svelte +++ b/packages/bbui/src/Form/Checkbox.svelte @@ -9,6 +9,7 @@ export let text = null export let disabled = false export let error = null + export let size = "M" const dispatch = createEventDispatcher() const onChange = e => { @@ -18,5 +19,5 @@ - + diff --git a/packages/bbui/src/Form/Core/Checkbox.svelte b/packages/bbui/src/Form/Core/Checkbox.svelte index e9a6b56fd9..74745aa9a6 100644 --- a/packages/bbui/src/Form/Core/Checkbox.svelte +++ b/packages/bbui/src/Form/Core/Checkbox.svelte @@ -8,6 +8,7 @@ export let id = null export let text = null export let disabled = false + export let size = null const dispatch = createEventDispatcher() const onChange = event => { @@ -16,7 +17,7 @@