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" > -