Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #179 from asigloo/feature/support-aa-accesibility
Browse files Browse the repository at this point in the history
Feature/support aa accesibility
  • Loading branch information
alvarosabu authored Oct 14, 2020
2 parents 1a5c483 + a0f7506 commit c4c6049
Show file tree
Hide file tree
Showing 10 changed files with 205 additions and 2,395 deletions.
20 changes: 16 additions & 4 deletions dev/typescript/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div id="app">
<div class="page container">
<h1 class="title m-4">{{ title }}</h1>
<div class="flex justify-between">
<div class="card p-6 mr-4">
<h1 class="title m-4 text-bg">{{ title }}</h1>
<div class="flex flex-wrap justify-between">
<div class="card p-6 w-full sm:w-1/2">
<dynamic-form
:form="form"
@submited="handleSubmit"
Expand All @@ -15,6 +15,7 @@
>
<div class="avocado-field">
<input
:id="control.name"
v-if="control"
class="form-control"
v-model="control.value"
Expand All @@ -36,7 +37,7 @@
Submit Form
</button>
</div>
<div class="card p-6">
<div class="p-6 w-full sm:w-1/3">
<pre>{{ formValues }}</pre>
</div>
</div>
Expand Down Expand Up @@ -101,6 +102,7 @@ export default defineComponent({
label: 'Name',
type: 'text',
value: 'Alvaro',
required: true,
} as TextInput,
email: {
label: 'Email',
Expand All @@ -110,6 +112,7 @@ export default defineComponent({
password: {
label: 'Password',
type: 'password',
autocomplete: 'current-password',
validations: [passwordValidator],
} as PasswordInput,
stock: {
Expand Down Expand Up @@ -240,6 +243,15 @@ export default defineComponent({
});
</script>
<style lang="scss">
.text-bg {
background-image: linear-gradient(
to top,
#99ffd580 54%,
transparent 54%,
transparent 100%
);
width: fit-content;
}
.avocado-field {
position: relative;
Expand Down
Loading

0 comments on commit c4c6049

Please sign in to comment.