From eebdbfac362dab09035bdcb18a4b0be5caf1754f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 23 Apr 2021 14:10:44 +0200 Subject: [PATCH] replace more remix icons --- .../EditAutomationPopover.svelte | 15 +++++++---- .../popovers/EditDatasourcePopover.svelte | 14 +++++----- .../popovers/EditQueryPopover.svelte | 14 +++++----- .../popovers/EditTablePopover.svelte | 26 ++++++++++--------- .../popovers/EditViewPopover.svelte | 17 ++++++------ 5 files changed, 44 insertions(+), 42 deletions(-) diff --git a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte index 4289d31356..3d1d98cc81 100644 --- a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte @@ -3,8 +3,11 @@ import { automationStore } from "builderStore" import { database } from "stores/backend" import { notifications } from "@budibase/bbui" - import { Popover } from "@budibase/bbui" - import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" + import { Icon, Popover } from "@budibase/bbui" + import { + DropdownContainer, + DropdownItem, + } from "components/common/Dropdowns" import ConfirmDialog from "components/common/ConfirmDialog.svelte" export let automation @@ -31,14 +34,15 @@
- +
+ on:click={showModal} + />
@@ -46,7 +50,8 @@ bind:this={confirmDeleteDialog} okText="Delete Automation" onOk={deleteAutomation} - title="Confirm Deletion"> + title="Confirm Deletion" +> Are you sure you wish to delete the automation {automation.name}? This action cannot be undone. diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte index 00d919d0af..c0cd195431 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte @@ -2,7 +2,7 @@ import { goto } from "@roxi/routify" import { datasources } from "stores/backend" import { notifications } from "@budibase/bbui" - import { Popover } from "@budibase/bbui" + import { Icon, Popover } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" @@ -37,7 +37,7 @@
- +
@@ -45,7 +45,8 @@ icon="ri-delete-bin-line" title="Delete" on:click={showModal} - data-cy="delete-datasource" /> + data-cy="delete-datasource" + />
@@ -53,7 +54,8 @@ bind:this={confirmDeleteDialog} okText="Delete Datasource" onOk={deleteDatasource} - title="Confirm Deletion"> + title="Confirm Deletion" +> Are you sure you wish to delete the datasource {datasource.name}? This action cannot be undone. @@ -66,8 +68,4 @@ justify-content: flex-end; align-items: center; } - - div.icon i { - font-size: 16px; - } diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte index 51a5adfa88..fd173e5c37 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte @@ -1,6 +1,6 @@