From 3d15f71344273796bc13fd68fda52020ba2198d7 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 29 May 2024 16:50:07 +0200 Subject: [PATCH] Break down component --- .../grid/controls/ColumnsSettingButton.svelte | 57 ++++++------------- .../controls/ToggleActionButtonGroup.svelte | 41 +++++++++++++ 2 files changed, 59 insertions(+), 39 deletions(-) create mode 100644 packages/frontend-core/src/components/grid/controls/ToggleActionButtonGroup.svelte diff --git a/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte b/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte index 5d398574c3..0a85e41966 100644 --- a/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte +++ b/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte @@ -1,7 +1,8 @@ + +
+ {#each options as option} + dispatch("click", option.value)} + {disabled} + size="S" + icon={option.icon} + quiet + selected={option.value === value} + noPadding + tooltip={option.tooltip} + /> + {/each} +
+ +