From a140f789c289305e2bd91c72132e068a470a1c1b Mon Sep 17 00:00:00 2001
From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com>
Date: Mon, 2 Jun 2025 19:24:38 +0530
Subject: [PATCH] Add Tabler Icons and Refactor Form Components (#771)
- Updated `package.json` and `package-lock.json` to include `@iconify-json/tabler` for additional icon support.
- Refactored `ImageInput.vue` to utilize `nuxt/icon` for icon rendering, enhancing consistency across components.
- Introduced `OptionSelectorInput.vue` as a new form component for selecting options in a grid layout, integrating with the form system.
- Updated `FormCustomization.vue` and `FormEditorPreview.vue` to utilize the new `OptionSelectorInput` for improved user experience in form settings.
- Enhanced `HiddenRequiredDisabled.vue` to replace manual button rendering with `OptionSelectorInput`, streamlining the component structure.
These changes aim to improve the iconography and form component functionality, providing a more cohesive and user-friendly interface.
---
client/components/forms/ImageInput.vue | 79 +++---
.../components/forms/OptionSelectorInput.vue | 199 ++++++++++++++++
.../form-components/FormCustomization.vue | 225 ++++++++++--------
.../form-components/FormEditorPreview.vue | 2 +-
.../components/HiddenRequiredDisabled.vue | 164 ++++++-------
client/package-lock.json | 10 +
client/package.json | 1 +
client/tailwind.config.js | 2 +-
8 files changed, 437 insertions(+), 245 deletions(-)
create mode 100644 client/components/forms/OptionSelectorInput.vue
diff --git a/client/components/forms/ImageInput.vue b/client/components/forms/ImageInput.vue
index cdd2d37a..0ff8cf99 100644
--- a/client/components/forms/ImageInput.vue
+++ b/client/components/forms/ImageInput.vue
@@ -1,10 +1,10 @@
-
Uploading your file...