@hiver/connector-agent 4.20.0-darktheme2-beta.0 → 4.20.0-darktheme2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.es.js +36 -37
- package/index.umd.js +630 -633
- package/package.json +1 -1
- package/theme/connector-theme.d.ts.map +1 -1
package/index.es.js
CHANGED
|
@@ -11195,13 +11195,20 @@ const fm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
11195
11195
|
}), ju = (e, t) => ({
|
|
11196
11196
|
"--connector-canvas": t.canvas,
|
|
11197
11197
|
"--connector-map-form-background": e === "light" ? t.canvas : t.surfaceElevated,
|
|
11198
|
-
|
|
11198
|
+
// Map-form presentation overrides are dark-only: in light mode the form
|
|
11199
|
+
// keeps its original fixed palette via the component-level fallbacks.
|
|
11199
11200
|
...e === "dark" ? {
|
|
11201
|
+
"--connector-map-form-field-background": t.inputFilledBackground,
|
|
11202
|
+
"--connector-map-form-field-border": t.borderStrong,
|
|
11203
|
+
"--connector-map-form-table-border": t.borderStrong,
|
|
11204
|
+
"--connector-map-form-row-border": t.border,
|
|
11205
|
+
"--connector-map-form-header-text-color": t.textSecondary,
|
|
11200
11206
|
"--connector-map-form-header-icon-background": t.surfaceActive,
|
|
11201
11207
|
"--connector-map-form-header-icon-color": t.iconSecondary,
|
|
11202
11208
|
"--connector-map-form-add-icon-color": t.textTertiary,
|
|
11203
11209
|
"--connector-map-form-label-color": t.textTertiary,
|
|
11204
|
-
"--connector-map-form-arrow-color": t.textDisabled
|
|
11210
|
+
"--connector-map-form-arrow-color": t.textDisabled,
|
|
11211
|
+
"--connector-map-form-dropdown-icon-color": t.iconSecondary
|
|
11205
11212
|
} : {},
|
|
11206
11213
|
"--connector-surface": t.surface,
|
|
11207
11214
|
"--connector-surface-subtle": t.surfaceSubtle,
|
|
@@ -18733,10 +18740,10 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18733
18740
|
borderRadius: "8px",
|
|
18734
18741
|
fontWeight: k.typography.fontWeightRegular,
|
|
18735
18742
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
18736
|
-
borderColor: "var(--connector-border
|
|
18743
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
18737
18744
|
},
|
|
18738
18745
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
18739
|
-
borderColor: "var(--connector-border
|
|
18746
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
18740
18747
|
},
|
|
18741
18748
|
"& .MuiSelect-select": {
|
|
18742
18749
|
display: "flex",
|
|
@@ -18745,10 +18752,10 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18745
18752
|
paddingRight: "8px"
|
|
18746
18753
|
},
|
|
18747
18754
|
"& .MuiSelect-icon": {
|
|
18748
|
-
color: "var(--connector-icon-
|
|
18755
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
18749
18756
|
},
|
|
18750
18757
|
"&&": {
|
|
18751
|
-
background: "var(--connector-map-form-field-background,
|
|
18758
|
+
background: "var(--connector-map-form-field-background, #F6F8FC) !important"
|
|
18752
18759
|
}
|
|
18753
18760
|
}, uw = {
|
|
18754
18761
|
...L8,
|
|
@@ -18762,7 +18769,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18762
18769
|
padding: "6px 12px"
|
|
18763
18770
|
},
|
|
18764
18771
|
"& .MuiSelect-icon": {
|
|
18765
|
-
color: "var(--connector-icon-
|
|
18772
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
18766
18773
|
}
|
|
18767
18774
|
}, rw = {
|
|
18768
18775
|
display: "flex",
|
|
@@ -19025,12 +19032,9 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
19025
19032
|
flex-flow: row nowrap;
|
|
19026
19033
|
align-items: stretch;
|
|
19027
19034
|
justify-content: flex-start;
|
|
19028
|
-
background: var(
|
|
19029
|
-
--connector-map-form-field-background,
|
|
19030
|
-
var(--connector-surface, ${k.palette.gray.gray6a})
|
|
19031
|
-
) !important;
|
|
19035
|
+
background: var(--connector-map-form-field-background, ${k.palette.gray.gray6a}) !important;
|
|
19032
19036
|
&:not(.Mui-focused) fieldset {
|
|
19033
|
-
border: ${({ hasError: e }) => e ? "1px solid var(--connector-negative, #D24B58) !important" : "1px solid var(--connector-border
|
|
19037
|
+
border: ${({ hasError: e }) => e ? "1px solid var(--connector-negative, #D24B58) !important" : "1px solid var(--connector-map-form-field-border, #ECEFF6)"};
|
|
19034
19038
|
}
|
|
19035
19039
|
}
|
|
19036
19040
|
& .MuiFormHelperText-root {
|
|
@@ -19039,7 +19043,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
19039
19043
|
& fieldset {
|
|
19040
19044
|
top: 0;
|
|
19041
19045
|
border-radius: 8px;
|
|
19042
|
-
border: 1px solid var(--connector-border
|
|
19046
|
+
border: 1px solid var(--connector-map-form-field-border, ${k.palette.gray.gray6});
|
|
19043
19047
|
}
|
|
19044
19048
|
|
|
19045
19049
|
& textarea {
|
|
@@ -19118,10 +19122,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19118
19122
|
borderRadius: "8px",
|
|
19119
19123
|
fontWeight: k.typography.fontWeightMedium,
|
|
19120
19124
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
19121
|
-
borderColor: "var(--connector-border
|
|
19125
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
19122
19126
|
},
|
|
19123
19127
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
19124
|
-
borderColor: "var(--connector-border
|
|
19128
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
19125
19129
|
},
|
|
19126
19130
|
"& .MuiSelect-select": {
|
|
19127
19131
|
display: "flex",
|
|
@@ -19130,10 +19134,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19130
19134
|
paddingRight: "8px"
|
|
19131
19135
|
},
|
|
19132
19136
|
"& .MuiSelect-icon": {
|
|
19133
|
-
color: "var(--connector-icon-
|
|
19137
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
19134
19138
|
},
|
|
19135
19139
|
"&&": {
|
|
19136
|
-
background: "var(--connector-map-form-field-background,
|
|
19140
|
+
background: "var(--connector-map-form-field-background, #F6F8FC) !important"
|
|
19137
19141
|
}
|
|
19138
19142
|
}, hw = {
|
|
19139
19143
|
fontSize: k.typography.body1.fontSize,
|
|
@@ -19437,7 +19441,7 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19437
19441
|
{
|
|
19438
19442
|
sx: {
|
|
19439
19443
|
fontSize: `${k.typography.caption.fontSize}px`,
|
|
19440
|
-
color: "var(--connector-map-form-add-icon-color,
|
|
19444
|
+
color: "var(--connector-map-form-add-icon-color, #4D596C)"
|
|
19441
19445
|
}
|
|
19442
19446
|
}
|
|
19443
19447
|
) });
|
|
@@ -19464,7 +19468,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19464
19468
|
}
|
|
19465
19469
|
},
|
|
19466
19470
|
PopperProps: {
|
|
19467
|
-
|
|
19471
|
+
// connector-rich-tooltip: the agent host's dark theme repaints any
|
|
19472
|
+
// plain tooltip popper onto its light bubble surface; this panel
|
|
19473
|
+
// owns its surface, so it must opt out at the popper level.
|
|
19474
|
+
className: "connectorAdmin-portal connector-rich-tooltip",
|
|
19468
19475
|
sx: {
|
|
19469
19476
|
"& .MuiTooltip-popper": {
|
|
19470
19477
|
zIndex: 2e3
|
|
@@ -19879,7 +19886,7 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19879
19886
|
padding-top: 30px;
|
|
19880
19887
|
`, Kw = w(P)`
|
|
19881
19888
|
background-color: var(--connector-surface, ${k.palette.gray.white});
|
|
19882
|
-
border: 1px solid var(--connector-border
|
|
19889
|
+
border: 1px solid var(--connector-map-form-table-border, ${k.palette.gray.gray6});
|
|
19883
19890
|
border-radius: 8px;
|
|
19884
19891
|
margin: 16px 32px;
|
|
19885
19892
|
`, Yw = w(P)`
|
|
@@ -20039,7 +20046,7 @@ const uI = ({
|
|
|
20039
20046
|
padding: "16px 24px",
|
|
20040
20047
|
sx: {
|
|
20041
20048
|
backgroundColor: "var(--connector-surface-subtle, #F6F8FC)",
|
|
20042
|
-
borderBottom: "1px solid var(--connector-border
|
|
20049
|
+
borderBottom: "1px solid var(--connector-map-form-table-border, #ECEFF6)",
|
|
20043
20050
|
borderRadius: "8px 8px 0 0"
|
|
20044
20051
|
},
|
|
20045
20052
|
children: [
|
|
@@ -20050,7 +20057,7 @@ const uI = ({
|
|
|
20050
20057
|
variant: "caption",
|
|
20051
20058
|
fontSize: 14,
|
|
20052
20059
|
fontWeight: k.typography.fontWeightSemiBold,
|
|
20053
|
-
color: "var(--connector-text-
|
|
20060
|
+
color: "var(--connector-map-form-header-text-color, #6F7C90)",
|
|
20054
20061
|
flex: 1,
|
|
20055
20062
|
children: "Field"
|
|
20056
20063
|
}
|
|
@@ -20061,7 +20068,7 @@ const uI = ({
|
|
|
20061
20068
|
variant: "caption",
|
|
20062
20069
|
fontSize: 14,
|
|
20063
20070
|
fontWeight: k.typography.fontWeightSemiBold,
|
|
20064
|
-
color: "var(--connector-text-
|
|
20071
|
+
color: "var(--connector-map-form-header-text-color, #6F7C90)",
|
|
20065
20072
|
width: 320,
|
|
20066
20073
|
children: "Value"
|
|
20067
20074
|
}
|
|
@@ -20080,29 +20087,21 @@ const uI = ({
|
|
|
20080
20087
|
padding: "24px",
|
|
20081
20088
|
gap: 2,
|
|
20082
20089
|
sx: {
|
|
20083
|
-
borderBottom: X < O.length - 1 ? "1px solid var(--connector-border, #F6F8FC)" : void 0,
|
|
20090
|
+
borderBottom: X < O.length - 1 ? "1px solid var(--connector-map-form-row-border, #F6F8FC)" : void 0,
|
|
20084
20091
|
"&:last-child": { borderBottom: "none" }
|
|
20085
20092
|
},
|
|
20086
20093
|
children: [
|
|
20087
|
-
/* @__PURE__ */ a.jsx($w, { children: /* @__PURE__ */ a.jsxs(
|
|
20088
|
-
|
|
20089
|
-
{
|
|
20090
|
-
|
|
20091
|
-
fontSize: 14,
|
|
20092
|
-
color: "var(--connector-map-form-label-color, var(--connector-text-secondary, #3C4043))",
|
|
20093
|
-
children: [
|
|
20094
|
-
V.label,
|
|
20095
|
-
l && ((te = V.validations) != null && te.isRequired) ? /* @__PURE__ */ a.jsx(eI, {}) : null
|
|
20096
|
-
]
|
|
20097
|
-
}
|
|
20098
|
-
) }),
|
|
20094
|
+
/* @__PURE__ */ a.jsx($w, { children: /* @__PURE__ */ a.jsxs(K, { variant: "body2", fontSize: 14, color: "var(--connector-map-form-label-color, #4D596C)", children: [
|
|
20095
|
+
V.label,
|
|
20096
|
+
l && ((te = V.validations) != null && te.isRequired) ? /* @__PURE__ */ a.jsx(eI, {}) : null
|
|
20097
|
+
] }) }),
|
|
20099
20098
|
/* @__PURE__ */ a.jsx(
|
|
20100
20099
|
Xw,
|
|
20101
20100
|
{
|
|
20102
20101
|
width: 20,
|
|
20103
20102
|
height: 20,
|
|
20104
20103
|
style: {
|
|
20105
|
-
color: "var(--connector-map-form-arrow-color,
|
|
20104
|
+
color: "var(--connector-map-form-arrow-color, #D6DDE8)"
|
|
20106
20105
|
}
|
|
20107
20106
|
}
|
|
20108
20107
|
),
|