From faa8fad0b5af83a3a405ff3bd2dceedbcf911799 Mon Sep 17 00:00:00 2001 From: melohagan <101575380+melohagan@users.noreply.github.com> Date: Wed, 14 Feb 2024 10:05:14 +0000 Subject: [PATCH] Add Clear Row Selection action (#13002) * Add Clear Row Selection action * update account-portal * Refactor to use contextActionHandler * Remove unused code --- .../actions/ClearRowSelection.svelte | 54 +++++++++++++++++++ .../ButtonActionEditor/actions/index.js | 1 + .../controls/ButtonActionEditor/manifest.json | 5 ++ packages/client/manifest.json | 1 + .../src/components/app/table/Table.svelte | 9 +++- packages/client/src/constants.js | 1 + packages/client/src/utils/buttonActions.js | 10 ++-- 7 files changed, 76 insertions(+), 5 deletions(-) create mode 100644 packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/ClearRowSelection.svelte diff --git a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/ClearRowSelection.svelte b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/ClearRowSelection.svelte new file mode 100644 index 0000000000..630d7dbc0b --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/ClearRowSelection.svelte @@ -0,0 +1,54 @@ + + +
+ Clear the row selection from the selected table. +
+ +