diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index 5d3371ee7d..bcbd2741b2 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -5,7 +5,7 @@ import { Button, Input, Select, Label } from "@budibase/bbui" import { automationStore } from "builderStore" import WebhookDisplay from "../Shared/WebhookDisplay.svelte" - import BindableInput from "components/userInterface/BindableInput.svelte" + import BindableInput from "./BindableInput.svelte" export let block export let webhookModal diff --git a/packages/builder/src/components/userInterface/BindableInput.svelte b/packages/builder/src/components/automation/SetupPanel/BindableInput.svelte similarity index 91% rename from packages/builder/src/components/userInterface/BindableInput.svelte rename to packages/builder/src/components/automation/SetupPanel/BindableInput.svelte index 76624abd06..f5b7434267 100644 --- a/packages/builder/src/components/userInterface/BindableInput.svelte +++ b/packages/builder/src/components/automation/SetupPanel/BindableInput.svelte @@ -1,5 +1,5 @@ + + diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte new file mode 100644 index 0000000000..63ce8da6c4 --- /dev/null +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte @@ -0,0 +1,7 @@ + + + diff --git a/packages/builder/src/components/userInterface/DetailScreenSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DetailScreenSelect.svelte similarity index 100% rename from packages/builder/src/components/userInterface/DetailScreenSelect.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/DetailScreenSelect.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/EventEditorModal.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditorModal.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/EventEditorModal.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditorModal.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/EventPropertyControl.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventPropertyControl.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/EventPropertyControl.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventPropertyControl.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/CreateRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/CreateRow.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/CreateRow.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/CreateRow.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/DeleteRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/DeleteRow.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/NavigateTo.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/NavigateTo.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/NavigateTo.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/NavigateTo.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/SaveFields.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/SaveFields.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/SaveRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/SaveRow.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte diff --git a/packages/builder/src/components/userInterface/EventsEditor/actions/TriggerAutomation.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/TriggerAutomation.svelte similarity index 80% rename from packages/builder/src/components/userInterface/EventsEditor/actions/TriggerAutomation.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/TriggerAutomation.svelte index 3e46f813fd..3addd55ea0 100644 --- a/packages/builder/src/components/userInterface/EventsEditor/actions/TriggerAutomation.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/TriggerAutomation.svelte @@ -41,53 +41,53 @@ newOrExisting = "existing" parameters.newAutomationName = "" } -
-
- - - + disabled={!hasAutomations} /> +
- - - - + disabled={!hasAutomations} /> +
- {#if newOrExisting=== "existing"} - {/each} {:else} - + {/if} -
diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/UpdateRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/UpdateRow.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/UpdateRow.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/UpdateRow.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/index.js b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/index.js similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/actions/index.js rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/index.js diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/index.js b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/index.js similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/EventsEditor/index.js rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/index.js diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/FlatButton.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/FlatButton.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/FlatButton.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/FlatButton.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/FlatButtonGroup.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/FlatButtonGroup.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/FlatButtonGroup.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/FlatButtonGroup.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/index.js b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/index.js similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/FlatButtonGroup/index.js rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/FlatButtonGroup/index.js diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/IconSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/IconSelect.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/IconSelect.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/IconSelect.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/icons.js b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/icons.js similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/icons.js rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/icons.js diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/index.js b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/index.js similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/IconSelect/index.js rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/IconSelect/index.js diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/Input.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/Input.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/Input.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/Input.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/LayoutSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/LayoutSelect.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/LayoutSelect.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/LayoutSelect.svelte diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/MultiOptionSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/MultiOptionSelect.svelte similarity index 100% rename from packages/builder/src/components/userInterface/PropertyPanelControls/MultiOptionSelect.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/MultiOptionSelect.svelte diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/MultiTableViewFieldSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/MultiTableViewFieldSelect.svelte new file mode 100644 index 0000000000..7d2f17a02b --- /dev/null +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/MultiTableViewFieldSelect.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/builder/src/components/userInterface/PropertyPanelControls/OptionSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/OptionSelect.svelte similarity index 98% rename from packages/builder/src/components/userInterface/PropertyPanelControls/OptionSelect.svelte rename to packages/builder/src/components/design/PropertiesPanel/PropertyControls/OptionSelect.svelte index 4b27b7ba17..3ee839fbd0 100644 --- a/packages/builder/src/components/userInterface/PropertyPanelControls/OptionSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/OptionSelect.svelte @@ -1,7 +1,7 @@ - -
- {#each meta as { placeholder }, i} - {#each propertyChoices as [displayName, [cssPropValue, icon]]} - - {/each} - {/each} -
- - diff --git a/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte b/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte deleted file mode 100644 index 710ce0f811..0000000000 --- a/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/packages/builder/src/pages/[application]/_reset.svelte b/packages/builder/src/pages/[application]/_reset.svelte index a02287a89e..478980995e 100644 --- a/packages/builder/src/pages/[application]/_reset.svelte +++ b/packages/builder/src/pages/[application]/_reset.svelte @@ -3,7 +3,7 @@ import { Button } from "@budibase/bbui" import SettingsLink from "components/settings/Link.svelte" import ThemeEditorDropdown from "components/settings/ThemeEditorDropdown.svelte" - import FeedbackNavLink from "components/userInterface/Feedback/FeedbackNavLink.svelte" + import FeedbackNavLink from "components/Feedback/FeedbackNavLink.svelte" import { get } from "builderStore/api" import { isActive, goto, layout } from "@sveltech/routify" diff --git a/packages/builder/src/pages/[application]/deploy/index.svelte b/packages/builder/src/pages/[application]/deploy/index.svelte index 462601ff48..c372044b24 100644 --- a/packages/builder/src/pages/[application]/deploy/index.svelte +++ b/packages/builder/src/pages/[application]/deploy/index.svelte @@ -7,7 +7,7 @@ import Spinner from "components/common/Spinner.svelte" import DeploymentHistory from "components/deploy/DeploymentHistory.svelte" import analytics from "analytics" - import FeedbackIframe from "components/userInterface/Feedback/FeedbackIframe.svelte" + import FeedbackIframe from "components/Feedback/FeedbackIframe.svelte" let loading = false let deployments = [] diff --git a/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte b/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte index df013f2abe..252538a4d0 100644 --- a/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte +++ b/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte @@ -7,9 +7,9 @@ } from "builderStore" import { onMount } from "svelte" import CurrentItemPreview from "components/userInterface/AppPreview" - import ComponentPropertiesPanel from "components/userInterface/ComponentPropertiesPanel.svelte" - import ComponentSelectionList from "components/userInterface/ComponentSelectionList.svelte" - import FrontendNavigatePane from "components/userInterface/FrontendNavigatePane.svelte" + import ComponentPropertiesPanel from "components/userInterface/PropertiesPanel/ComponentPropertiesPanel.svelte" + import ComponentSelectionList from "components/userInterface/AppPreview/ComponentSelectionList.svelte" + import FrontendNavigatePane from "components/userInterface/NavigationPanel/FrontendNavigatePane.svelte" $: instance = $store.appInstance diff --git a/packages/standard-components/components.json b/packages/standard-components/components.json index 8a801a9fcb..c4304235fd 100644 --- a/packages/standard-components/components.json +++ b/packages/standard-components/components.json @@ -21,39 +21,6 @@ "logoUrl": "string" } }, - "button": { - "name": "Button", - "description": "an html