bbui version updated to latest & updated Label component used

This commit is contained in:
Victoria Sloan 2020-09-01 21:28:38 +01:00
parent 73a8edb7dc
commit 0910f3b34c
8 changed files with 9 additions and 9 deletions

View File

@ -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",

View File

@ -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}"

View File

@ -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}

View File

@ -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} />

View File

@ -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

View File

@ -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}

View File

@ -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}