bbui version updated to latest & updated Label component used
This commit is contained in:
parent
73a8edb7dc
commit
0910f3b34c
|
@ -57,7 +57,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/bbui": "^1.29.0",
|
"@budibase/bbui": "^1.29.2",
|
||||||
"@budibase/client": "^0.1.19",
|
"@budibase/client": "^0.1.19",
|
||||||
"@budibase/colorpicker": "^1.0.1",
|
"@budibase/colorpicker": "^1.0.1",
|
||||||
"@sentry/browser": "5.19.1",
|
"@sentry/browser": "5.19.1",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="bb-margin-m">
|
<div class="bb-margin-m">
|
||||||
<Label size="s" forAttr={'datepicker-label'}>{label}</Label>
|
<Label small forAttr={'datepicker-label'}>{label}</Label>
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<input
|
<input
|
||||||
class="uk-input uk-form-width-{width} uk-form-{size}"
|
class="uk-input uk-form-width-{width} uk-form-{size}"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="bb-margin-xl block-field">
|
<div class="bb-margin-xl block-field">
|
||||||
<Label size="s" forAttr={'page'}>Page</Label>
|
<Label small forAttr={'page'}>Page</Label>
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<select class="budibase__input" bind:value={pageName}>
|
<select class="budibase__input" bind:value={pageName}>
|
||||||
{#each Object.keys(pages) as page}
|
{#each Object.keys(pages) as page}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
{#if components.length > 0}
|
{#if components.length > 0}
|
||||||
<Label size="s" forAttr={'component'}>Component</Label>
|
<Label small forAttr={'component'}>Component</Label>
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<select class="budibase__input" bind:value>
|
<select class="budibase__input" bind:value>
|
||||||
{#each components as component}
|
{#each components as component}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
{#if value.model}
|
{#if value.model}
|
||||||
<div class="bb-margin-xl block-field">
|
<div class="bb-margin-xl block-field">
|
||||||
<Label size="s" forAttr={'fields'}>Fields</Label>
|
<Label small forAttr={'fields'}>Fields</Label>
|
||||||
{#each Object.keys(value.model.schema) as field}
|
{#each Object.keys(value.model.schema) as field}
|
||||||
<div class="bb-margin-xl">
|
<div class="bb-margin-xl">
|
||||||
<Input bind:value={value[field]} label={field} />
|
<Input bind:value={value[field]} label={field} />
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="block-label">Workflow: {workflow.name}</div>
|
<div class="block-label">Workflow: {workflow.name}</div>
|
||||||
<div class="config-item">
|
<div class="config-item">
|
||||||
<Label size="s" forAttr={'useraccess'}>User Access</Label>
|
<Label small forAttr={'useraccess'}>User Access</Label>
|
||||||
<div class="access-levels">
|
<div class="access-levels">
|
||||||
|
|
||||||
{#each ACCESS_LEVELS as level}
|
{#each ACCESS_LEVELS as level}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -168,7 +168,7 @@
|
||||||
<div class="form-content">
|
<div class="form-content">
|
||||||
{#each fields as field}
|
{#each fields as field}
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<Label size="s" forAttr={'form-stacked-text'}>{field}</Label>
|
<Label small forAttr={'form-stacked-text'}>{field}</Label>
|
||||||
{#if schema[field].type === 'string' && schema[field].constraints.inclusion}
|
{#if schema[field].type === 'string' && schema[field].constraints.inclusion}
|
||||||
<select on:blur={handleInput(field)} bind:this={inputElements[field]}>
|
<select on:blur={handleInput(field)} bind:this={inputElements[field]}>
|
||||||
{#each schema[field].constraints.inclusion as opt}
|
{#each schema[field].constraints.inclusion as opt}
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
<div class="form-content">
|
<div class="form-content">
|
||||||
{#each fields as field}
|
{#each fields as field}
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<Label size="s" forAttr={'form-stacked-text'}>{field}</Label>
|
<Label small forAttr={'form-stacked-text'}>{field}</Label>
|
||||||
{#if schema[field].type === 'string' && schema[field].constraints.inclusion}
|
{#if schema[field].type === 'string' && schema[field].constraints.inclusion}
|
||||||
<select on:blur={handleInput(field)} bind:this={inputElements[field]}>
|
<select on:blur={handleInput(field)} bind:this={inputElements[field]}>
|
||||||
{#each schema[field].constraints.inclusion as opt}
|
{#each schema[field].constraints.inclusion as opt}
|
||||||
|
|
Loading…
Reference in New Issue