From 2d5afef7c26027881b4c8b0a7a9a63095f70076d Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Sat, 12 Oct 2024 03:52:56 +0530 Subject: [PATCH] feat: Update the design for text area component (#10260) --- .../textarea/TextArea.story.vue | 67 ++++++++++++++++++ .../components-next/textarea/TextArea.vue | 69 +++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 app/javascript/dashboard/components-next/textarea/TextArea.story.vue create mode 100644 app/javascript/dashboard/components-next/textarea/TextArea.vue diff --git a/app/javascript/dashboard/components-next/textarea/TextArea.story.vue b/app/javascript/dashboard/components-next/textarea/TextArea.story.vue new file mode 100644 index 000000000..0a31f76c0 --- /dev/null +++ b/app/javascript/dashboard/components-next/textarea/TextArea.story.vue @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/textarea/TextArea.vue b/app/javascript/dashboard/components-next/textarea/TextArea.vue new file mode 100644 index 000000000..d7243bab8 --- /dev/null +++ b/app/javascript/dashboard/components-next/textarea/TextArea.vue @@ -0,0 +1,69 @@ + + + + + + {{ label }} + + + + + {{ characterCount }} / {{ maxLength }} + + + +