diff --git a/packages/builder/src/components/design/settings/controls/FieldContext/Chart.svelte b/packages/builder/src/components/design/settings/controls/FieldContext/Chart.svelte
index 30a6faf102..7ef58adbaa 100644
--- a/packages/builder/src/components/design/settings/controls/FieldContext/Chart.svelte
+++ b/packages/builder/src/components/design/settings/controls/FieldContext/Chart.svelte
@@ -7,6 +7,7 @@
import InfoWord from './InfoWord.svelte'
export let supportLevelClass = ''
+ export let supportLevelIconColor = ""
export let supportLevelIcon = ""
export let supportLevelIconTooltip = ""
export let supportLevelText = ""
@@ -89,14 +90,13 @@
•
-
handleMouseenter("support")}
on:mouseleave={() => handleMouseleave("support")}
- >
-
- {supportLevelText}
-
+ icon={supportLevelIcon}
+ color={supportLevelIconColor}
+ text={supportLevelText}
+ />
with
@@ -111,15 +111,11 @@
•
Any
-
handleMouseenter("stringsAndNumbers")}
on:mouseleave={() => handleMouseleave("stringsAndNumbers")}
- >
-
- non-number values
-
-
+ text="non-number-values"
+ />
will be ignored
@@ -132,15 +128,11 @@
•
No
- handleMouseenter("required")}
- on:mouseleave={() => handleMouseleave("required")}
- >
-
- required
-
-
+ handleMouseenter("required")}
+ on:mouseleave={() => handleMouseleave("required")}
+ text="required"
+ />
diff --git a/packages/builder/src/components/design/settings/controls/MultiFieldSelect.svelte b/packages/builder/src/components/design/settings/controls/MultiFieldSelect.svelte
index c505d05afd..7e71075176 100644
--- a/packages/builder/src/components/design/settings/controls/MultiFieldSelect.svelte
+++ b/packages/builder/src/components/design/settings/controls/MultiFieldSelect.svelte
@@ -133,6 +133,7 @@
if (level === validatorConstants.unsupported) {
return {
class: "supportLevelUnsupported",
+ iconColor: "var(--red)",
icon: "Alert",
iconTooltip: fieldSupport[optionKey]?.message,
text: "Not compatible"
@@ -142,6 +143,7 @@
if (level === validatorConstants.partialSupport) {
return {
class: "supportLevelPartialSupport",
+ iconColor: "var(--yellow)",
icon: "AlertCheck",
iconTooltip: fieldSupport[optionKey]?.message,
text: "Partially compatible"
@@ -151,6 +153,7 @@
if (level === validatorConstants.supported) {
return {
class: "supportLevelSupported",
+ iconColor: "var(--green)",
icon: "CheckmarkCircle",
iconTooltip: fieldSupport[optionKey]?.message,
text: "Compatible"
@@ -159,6 +162,7 @@
return {
class: "supportLevelPartialSupport",
+ iconColor: "var(--yellow)",
icon: "AlertCheck",
iconTooltip: "",
text: "Partially Compatible"
@@ -213,6 +217,7 @@
support={fieldSupport[currentOption]}
supportLevelClass={currentOptionSupport.class}
supportLevelIcon={currentOptionSupport.icon}
+ supportLevelIconColor={currentOptionSupport.iconColor}
supportLevelIconTooltip={currentOptionSupport.iconTooltip}
supportLevelText={currentOptionSupport.text}
columnIcon={getOptionIcon(currentOption)}
@@ -226,6 +231,7 @@
support={fieldSupport[previousOption]}
supportLevelClass={previousOptionSupport.class}
supportLevelIcon={previousOptionSupport.icon}
+ supportLevelIconColor={previousOptionSupport.iconColor}
supportLevelIconTooltip={previousOptionSupport.iconTooltip}
supportLevelText={previousOptionSupport.text}
columnIcon={getOptionIcon(previousOption)}