From c1d9c6414812e3a6791d06a976bced052eae07e0 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sat, 15 Jun 2024 15:31:21 -1000 Subject: [PATCH] feat: :sparkles: Test new form styles --- components/LoginInput.vue | 3 + components/inputs/error.vue | 9 ++ components/inputs/field.vue | 9 ++ components/inputs/label-and-error.vue | 9 ++ components/inputs/label.vue | 20 +++++ components/inputs/password.vue | 32 +++++++ components/inputs/text.vue | 14 +++ pages/register/index2.vue | 119 ++++++++++++++++++++++++++ 8 files changed, 215 insertions(+) create mode 100644 components/inputs/error.vue create mode 100644 components/inputs/field.vue create mode 100644 components/inputs/label-and-error.vue create mode 100644 components/inputs/label.vue create mode 100644 components/inputs/password.vue create mode 100644 components/inputs/text.vue create mode 100644 pages/register/index2.vue diff --git a/components/LoginInput.vue b/components/LoginInput.vue index 6ff6c42..1d4a3e3 100644 --- a/components/LoginInput.vue +++ b/components/LoginInput.vue @@ -16,5 +16,8 @@ interface Props extends /* @vue-ignore */ InputHTMLAttributes { label: string; } +defineOptions({ + inheritAttrs: false, +}); defineProps(); \ No newline at end of file diff --git a/components/inputs/error.vue b/components/inputs/error.vue new file mode 100644 index 0000000..846c6c5 --- /dev/null +++ b/components/inputs/error.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/components/inputs/field.vue b/components/inputs/field.vue new file mode 100644 index 0000000..3267c7b --- /dev/null +++ b/components/inputs/field.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/components/inputs/label-and-error.vue b/components/inputs/label-and-error.vue new file mode 100644 index 0000000..c87c7c6 --- /dev/null +++ b/components/inputs/label-and-error.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/components/inputs/label.vue b/components/inputs/label.vue new file mode 100644 index 0000000..71f749f --- /dev/null +++ b/components/inputs/label.vue @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/components/inputs/password.vue b/components/inputs/password.vue new file mode 100644 index 0000000..1b16377 --- /dev/null +++ b/components/inputs/password.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/components/inputs/text.vue b/components/inputs/text.vue new file mode 100644 index 0000000..f6b1dd1 --- /dev/null +++ b/components/inputs/text.vue @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/pages/register/index2.vue b/pages/register/index2.vue new file mode 100644 index 0000000..10203df --- /dev/null +++ b/pages/register/index2.vue @@ -0,0 +1,119 @@ + + + \ No newline at end of file