-
-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename type to dataType and inputType to interfaceType in DynamicInput
- Loading branch information
Showing
9 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
mathesar_ui/src/component-library/dynamic-input/BooleanInput.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
mathesar_ui/src/component-library/dynamic-input/StringInput..svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
mathesar_ui/src/component-library/form-builder/FormInput.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<script lang='ts'> | ||
import LabeledInput from '@mathesar-component-library-dir/labeled-input/LabeledInput.svelte'; | ||
import DynamicInput from '@mathesar-component-library-dir/dynamic-input/DynamicInput.svelte'; | ||
import type { DynamicInputType } from '@mathesar-component-library-dir/dynamic-input/types.d'; | ||
import type { DynamicInputDataType } from '@mathesar-component-library-dir/dynamic-input/types.d'; | ||
import type { FormInputElement, FormInputStore } from './types.d'; | ||
export let type: DynamicInputType; | ||
export let type: DynamicInputDataType; | ||
export let label: FormInputElement['label'] = undefined; | ||
export let store: FormInputStore; | ||
</script> | ||
|
||
<div class="form-element form-input"> | ||
<LabeledInput {label} layout={type === 'boolean' ? 'inline-input-first' : 'stacked'}> | ||
<DynamicInput {...$$restProps} {type} {label} bind:value={$store}/> | ||
<DynamicInput {...$$restProps} dataType={type} {label} bind:value={$store}/> | ||
</LabeledInput> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters