removed Textbox (not used)
This commit is contained in:
parent
b12cc7961e
commit
c4e1242dd9
|
@ -1,33 +0,0 @@
|
||||||
<script>
|
|
||||||
export let text = ""
|
|
||||||
export let label = ""
|
|
||||||
export let width = "medium"
|
|
||||||
export let size = "small"
|
|
||||||
export let margin = true
|
|
||||||
export let infoText = ""
|
|
||||||
export let hasError = false
|
|
||||||
export let disabled = false
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class:uk-margin={margin}>
|
|
||||||
<label class="uk-form-label">{label}</label>
|
|
||||||
<div class="uk-form-controls">
|
|
||||||
<input
|
|
||||||
data-cy={label}
|
|
||||||
class="budibase__input"
|
|
||||||
class:uk-form-danger={hasError}
|
|
||||||
on:change
|
|
||||||
bind:value={text}
|
|
||||||
{disabled} />
|
|
||||||
</div>
|
|
||||||
{#if infoText}
|
|
||||||
<div class="info-text">{infoText}</div>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.info-text {
|
|
||||||
font-size: 0.7rem;
|
|
||||||
color: var(--secondary50);
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -5,7 +5,6 @@
|
||||||
import { store, backendUiStore } from "builderStore"
|
import { store, backendUiStore } from "builderStore"
|
||||||
import { FIELDS } from "constants/backend"
|
import { FIELDS } from "constants/backend"
|
||||||
import { notifier } from "builderStore/store/notifications"
|
import { notifier } from "builderStore/store/notifications"
|
||||||
import Textbox from "components/common/Textbox.svelte"
|
|
||||||
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
||||||
import NumberBox from "components/common/NumberBox.svelte"
|
import NumberBox from "components/common/NumberBox.svelte"
|
||||||
import ValuesList from "components/common/ValuesList.svelte"
|
import ValuesList from "components/common/ValuesList.svelte"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { backendUiStore } from "builderStore"
|
import { backendUiStore } from "builderStore"
|
||||||
import { Button } from "@budibase/bbui"
|
import { Button } from "@budibase/bbui"
|
||||||
import Textbox from "components/common/Textbox.svelte"
|
|
||||||
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
||||||
import NumberBox from "components/common/NumberBox.svelte"
|
import NumberBox from "components/common/NumberBox.svelte"
|
||||||
import ValuesList from "components/common/ValuesList.svelte"
|
import ValuesList from "components/common/ValuesList.svelte"
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
} from "lodash/fp"
|
} from "lodash/fp"
|
||||||
import { pipe } from "components/common/core"
|
import { pipe } from "components/common/core"
|
||||||
import Checkbox from "components/common/Checkbox.svelte"
|
import Checkbox from "components/common/Checkbox.svelte"
|
||||||
import Textbox from "components/common/Textbox.svelte"
|
|
||||||
import PlusButton from "components/common/PlusButton.svelte"
|
import PlusButton from "components/common/PlusButton.svelte"
|
||||||
import IconButton from "components/common/IconButton.svelte"
|
import IconButton from "components/common/IconButton.svelte"
|
||||||
import EventEditorModal from "./EventEditorModal.svelte"
|
import EventEditorModal from "./EventEditorModal.svelte"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { store } from "builderStore"
|
import { store } from "builderStore"
|
||||||
import PropsView from "./PropsView.svelte"
|
import PropsView from "./PropsView.svelte"
|
||||||
import Textbox from "components/common/Textbox.svelte"
|
|
||||||
import Button from "components/common/Button.svelte"
|
import Button from "components/common/Button.svelte"
|
||||||
import ActionButton from "components/common/ActionButton.svelte"
|
import ActionButton from "components/common/ActionButton.svelte"
|
||||||
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
import ButtonGroup from "components/common/ButtonGroup.svelte"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { store } from "builderStore"
|
import { store } from "builderStore"
|
||||||
import Checkbox from "../common/Checkbox.svelte"
|
import Checkbox from "../common/Checkbox.svelte"
|
||||||
import Textbox from "../common/Textbox.svelte"
|
|
||||||
import StateBindingControl from "./StateBindingControl.svelte"
|
import StateBindingControl from "./StateBindingControl.svelte"
|
||||||
|
|
||||||
export let index
|
export let index
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<script>
|
<script>
|
||||||
import { some, includes, filter } from "lodash/fp"
|
import { some, includes, filter } from "lodash/fp"
|
||||||
import Textbox from "../common/Textbox.svelte"
|
|
||||||
import PropControl from "./PropControl.svelte"
|
import PropControl from "./PropControl.svelte"
|
||||||
import IconButton from "../common/IconButton.svelte"
|
import IconButton from "../common/IconButton.svelte"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue