From e80a87f51963721589ab234358810bf0ee23bec4 Mon Sep 17 00:00:00 2001 From: Dean Date: Fri, 5 Apr 2024 15:59:28 +0100 Subject: [PATCH] Feedback updates --- packages/bbui/src/Form/Core/Signature.svelte | 4 ++-- packages/bbui/src/Modal/ModalContent.svelte | 6 +++--- .../components/backend/DataTable/TableDataTable.svelte | 4 ++-- packages/client/src/components/Component.svelte | 7 ++++--- packages/client/src/components/app/GridBlock.svelte | 5 +++-- .../client/src/components/app/forms/SignatureField.svelte | 6 +++--- .../frontend-core/src/components/SignatureModal.svelte | 6 +++--- .../src/components/grid/cells/SignatureCell.svelte | 8 ++++---- .../frontend-core/src/components/grid/layout/Grid.svelte | 4 ++-- 9 files changed, 26 insertions(+), 24 deletions(-) diff --git a/packages/bbui/src/Form/Core/Signature.svelte b/packages/bbui/src/Form/Core/Signature.svelte index f667333a1d..ab2c2bc186 100644 --- a/packages/bbui/src/Form/Core/Signature.svelte +++ b/packages/bbui/src/Form/Core/Signature.svelte @@ -10,7 +10,7 @@ export let width = 400 export let height = 220 export let saveIcon = false - export let isDark + export let darkMode export function toDataUrl() { // PNG to preserve transparency @@ -146,7 +146,7 @@ }) -
+
{#if !disabled}
{#if updated && saveIcon} diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte index ecad889031..61ceaeb00a 100644 --- a/packages/bbui/src/Modal/ModalContent.svelte +++ b/packages/bbui/src/Modal/ModalContent.svelte @@ -27,7 +27,7 @@ export let secondaryButtonText = undefined export let secondaryAction = undefined export let secondaryButtonWarning = false - export let enableGrid = true + export let custom = false const { hide, cancel } = getContext(Context.Modal) let loading = false @@ -64,13 +64,13 @@ class:spectrum-Dialog--medium={size === "M"} class:spectrum-Dialog--large={size === "L"} class:spectrum-Dialog--extraLarge={size === "XL"} - class:no-grid={!enableGrid} + class:no-grid={custom} style="position: relative;" role="dialog" tabindex="-1" aria-modal="true" > -