rename StylishEdit

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-08-05 18:27:51 +02:00
parent 0085a5430d
commit 97989cf22f
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ export { default as SelectItem } from './components/SelectItem.svelte'
export { default as TextArea } from './components/TextArea.svelte' export { default as TextArea } from './components/TextArea.svelte'
export { default as Section } from './components/Section.svelte' export { default as Section } from './components/Section.svelte'
export { default as DatePicker } from './components/DatePicker.svelte' export { default as DatePicker } from './components/DatePicker.svelte'
export { default as EditStylish } from './components/EditStylish.svelte' export { default as StylishEdit } from './components/StylishEdit.svelte'
export { default as Grid } from './components/Grid.svelte' export { default as Grid } from './components/Grid.svelte'
export { default as Row } from './components/Row.svelte' export { default as Row } from './components/Row.svelte'
export { default as DialogHeader } from './components/DialogHeader.svelte' export { default as DialogHeader } from './components/DialogHeader.svelte'

View File

@ -14,7 +14,7 @@
--> -->
<script lang="ts"> <script lang="ts">
import { EditBox, Label, Button, StatusControl } from '@anticrm/ui' import { StylishEdit, Label, Button, StatusControl } from '@anticrm/ui'
import { OK, Status, Severity } from '@anticrm/platform' import { OK, Status, Severity } from '@anticrm/platform'
import type { IntlString } from '@anticrm/platform' import type { IntlString } from '@anticrm/platform'
import { translate } from '@anticrm/platform' import { translate } from '@anticrm/platform'
@ -75,7 +75,7 @@
{#each fields as field (field.name)} {#each fields as field (field.name)}
<div class={field.short ? 'form-col' : 'form-row'}> <div class={field.short ? 'form-col' : 'form-row'}>
<EditBox label={field.i18n} password={field.password} bind:value={object[field.name]} on:keyup={validate} on:focus={validate}/> <StylishEdit label={field.i18n} password={field.password} bind:value={object[field.name]} on:keyup={validate} on:focus={validate}/>
</div> </div>
{/each} {/each}