From 02a1d023fc83918cfd197a247aa3b9e92d5956a8 Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Thu, 28 Nov 2024 23:12:25 +0100 Subject: [PATCH] use WdsTextInput fix pick fields adapt BuilderSelect improve settings handler modal move help button --- src/ui/src/builder/BuilderFieldsAlign.vue | 70 +++--- src/ui/src/builder/BuilderFieldsColor.vue | 75 +++--- src/ui/src/builder/BuilderFieldsKeyValue.vue | 3 - src/ui/src/builder/BuilderFieldsPadding.vue | 68 +++--- src/ui/src/builder/BuilderFieldsShadow.vue | 67 +++-- src/ui/src/builder/BuilderFieldsText.vue | 1 - src/ui/src/builder/BuilderFieldsWidth.vue | 67 +++-- src/ui/src/builder/BuilderModal.vue | 33 ++- src/ui/src/builder/BuilderSelect.vue | 44 +--- .../src/builder/BuilderSettingsHandlers.vue | 177 +++++--------- .../src/builder/BuilderSettingsProperties.vue | 230 +++++++++--------- src/ui/src/builder/BuilderTemplateInput.vue | 63 +++-- src/ui/src/builder/sharedStyles.css | 2 + src/ui/src/wds/WdsFieldWrapper.vue | 69 ++++-- src/ui/src/wds/WdsTextInput.vue | 34 ++- 15 files changed, 487 insertions(+), 516 deletions(-) diff --git a/src/ui/src/builder/BuilderFieldsAlign.vue b/src/ui/src/builder/BuilderFieldsAlign.vue index 9ed4ba948..2936e8f7d 100644 --- a/src/ui/src/builder/BuilderFieldsAlign.vue +++ b/src/ui/src/builder/BuilderFieldsAlign.vue @@ -5,38 +5,36 @@ tabindex="-1" :data-automation-key="props.fieldKey" > -
-
- - - -
+
+ + +
@@ -263,13 +261,7 @@ onBeforeUnmount(() => { diff --git a/src/ui/src/builder/BuilderFieldsColor.vue b/src/ui/src/builder/BuilderFieldsColor.vue index 4385bd6b7..7552c9ae7 100644 --- a/src/ui/src/builder/BuilderFieldsColor.vue +++ b/src/ui/src/builder/BuilderFieldsColor.vue @@ -5,38 +5,36 @@ tabindex="-1" :data-automation-key="fieldKey" > -
-
- - - -
+
+ + +
@@ -144,13 +142,12 @@ onBeforeUnmount(() => { diff --git a/src/ui/src/builder/BuilderFieldsKeyValue.vue b/src/ui/src/builder/BuilderFieldsKeyValue.vue index 006002809..dd29aa0ce 100644 --- a/src/ui/src/builder/BuilderFieldsKeyValue.vue +++ b/src/ui/src/builder/BuilderFieldsKeyValue.vue @@ -192,9 +192,6 @@ onMounted(async () => { @import "./sharedStyles.css"; .chipStackContainer { - padding: 12px; - margin-top: 4px; - padding-bottom: 12px; border-bottom: 1px solid var(--builderSeparatorColor); } diff --git a/src/ui/src/builder/BuilderFieldsPadding.vue b/src/ui/src/builder/BuilderFieldsPadding.vue index 14464d2c5..f9a3e5bbb 100644 --- a/src/ui/src/builder/BuilderFieldsPadding.vue +++ b/src/ui/src/builder/BuilderFieldsPadding.vue @@ -5,38 +5,36 @@ tabindex="-1" :data-automation-key="props.fieldKey" > -
-
- - - -
+
+ + +
@@ -391,12 +389,6 @@ onBeforeUnmount(() => { @import "./sharedStyles.css"; @import "./ico.css"; -.chipStackContainer { - padding: 12px; - margin-top: 4px; - padding-bottom: 12px; -} - .main { border-top: 1px solid var(--builderSeparatorColor); padding: 12px; diff --git a/src/ui/src/builder/BuilderFieldsShadow.vue b/src/ui/src/builder/BuilderFieldsShadow.vue index 54be9f0ac..b7135065f 100644 --- a/src/ui/src/builder/BuilderFieldsShadow.vue +++ b/src/ui/src/builder/BuilderFieldsShadow.vue @@ -5,38 +5,36 @@ tabindex="-1" :data-automation-key="props.fieldKey" > -
-
- - - -
+
+ + +
@@ -236,11 +234,6 @@ onBeforeUnmount(() => { diff --git a/src/ui/src/builder/BuilderFieldsWidth.vue b/src/ui/src/builder/BuilderFieldsWidth.vue index bb3eaf0ba..f72d49e23 100644 --- a/src/ui/src/builder/BuilderFieldsWidth.vue +++ b/src/ui/src/builder/BuilderFieldsWidth.vue @@ -5,38 +5,36 @@ tabindex="-1" :data-automation-key="props.fieldKey" > -
-
- - - -
+
+ + +
@@ -259,11 +257,6 @@ onBeforeUnmount(() => { diff --git a/src/ui/src/builder/BuilderSettingsHandlers.vue b/src/ui/src/builder/BuilderSettingsHandlers.vue index eca2728cd..efc57aa26 100644 --- a/src/ui/src/builder/BuilderSettingsHandlers.vue +++ b/src/ui/src/builder/BuilderSettingsHandlers.vue @@ -1,45 +1,34 @@