From f86c0ec36ef301e83bb0de3eede9be904e6acfec Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 13 Apr 2023 15:52:07 +0100 Subject: [PATCH] Add beta button to sheet, tidy up constants --- .../sheet/controls/BetaButton.svelte | 40 +++++++++++++++++++ .../components/sheet/layout/NewRowTop.svelte | 13 ++---- .../src/components/sheet/layout/Sheet.svelte | 17 ++++---- .../sheet/layout/StickyColumn.svelte | 8 ++-- .../src/components/sheet/lib/constants.js | 2 + .../sheet/overlays/ReorderOverlay.svelte | 6 +-- .../sheet/overlays/ResizeOverlay.svelte | 9 ++--- .../src/components/sheet/stores/columns.js | 7 ++-- .../src/components/sheet/stores/resize.js | 3 +- .../src/components/sheet/stores/scroll.js | 7 ++-- 10 files changed, 73 insertions(+), 39 deletions(-) create mode 100644 packages/frontend-core/src/components/sheet/controls/BetaButton.svelte diff --git a/packages/frontend-core/src/components/sheet/controls/BetaButton.svelte b/packages/frontend-core/src/components/sheet/controls/BetaButton.svelte new file mode 100644 index 0000000000..cc11d16356 --- /dev/null +++ b/packages/frontend-core/src/components/sheet/controls/BetaButton.svelte @@ -0,0 +1,40 @@ + + +
+
+ Enjoying the spreadsheet? + +
+ + diff --git a/packages/frontend-core/src/components/sheet/layout/NewRowTop.svelte b/packages/frontend-core/src/components/sheet/layout/NewRowTop.svelte index 1d0b234ac2..44b40f43bd 100644 --- a/packages/frontend-core/src/components/sheet/layout/NewRowTop.svelte +++ b/packages/frontend-core/src/components/sheet/layout/NewRowTop.svelte @@ -1,16 +1,16 @@