@box/metadata-editor 0.67.13 → 0.68.0
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/chunks/utils.js +35 -0
- package/esm/lib/components/metadata-editor-fields/components/metadata-date-field/metadata-date-field.js +39 -38
- package/esm/lib/components/metadata-editor-fields/components/metadata-enum-field/metadata-enum-field.js +28 -27
- package/esm/lib/components/metadata-editor-fields/components/metadata-float-field/metadata-float-field.js +35 -34
- package/esm/lib/components/metadata-editor-fields/components/metadata-multi-select-field/metadata-multi-select-field.js +35 -34
- package/esm/lib/components/metadata-editor-fields/components/metadata-string-field/metadata-string-field.js +32 -31
- package/esm/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/metadata-taxonomy-field.js +31 -30
- package/esm/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.js +76 -10
- package/esm/lib/components/metadata-editor-fields/metadata-editor-fields.js +8 -7
- package/esm/lib/components/metadata-editor-fields/utils.js +5 -11
- package/package.json +3 -3
- package/styles/{metadata-editor-field-wrapper.css → utils.css} +1 -1
- package/types/lib/components/metadata-editor-fields/types.d.ts +1 -0
- package/types/lib/components/metadata-editor-fields/utils.d.ts +2 -3
- package/chunks/metadata-editor-field-wrapper.js +0 -85
package/chunks/utils.js
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
import "../styles/utils.css";
|
2
|
+
import { BoxAiLogo as r } from "@box/blueprint-web-assets/icons/Logo";
|
3
|
+
import n from "../esm/lib/components/interactive-text/interactive-text.js";
|
4
|
+
import { jsxs as _, jsx as t } from "react/jsx-runtime";
|
5
|
+
const x = "_noAttributesText_ix3i9_753", c = "_fieldWrapper_ix3i9_757", b = "_hasSuggestion_ix3i9_762", p = "_error_ix3i9_770", d = "_dateField_ix3i9_782", g = "_suggestionApplied_ix3i9_786", m = "_comboboxContainer_ix3i9_786", u = "_labelWrapper_ix3i9_800", T = "_labelText_ix3i9_806", A = "_labelIcon_ix3i9_809", e = {
|
6
|
+
noAttributesText: x,
|
7
|
+
fieldWrapper: c,
|
8
|
+
hasSuggestion: b,
|
9
|
+
error: p,
|
10
|
+
dateField: d,
|
11
|
+
suggestionApplied: g,
|
12
|
+
comboboxContainer: m,
|
13
|
+
labelWrapper: u,
|
14
|
+
labelText: T,
|
15
|
+
labelIcon: A
|
16
|
+
}, F = (o, i, a = !1, s = "label") => (l) => /* @__PURE__ */ _("div", {
|
17
|
+
className: e.labelWrapper,
|
18
|
+
children: [i ? /* @__PURE__ */ t(n, {
|
19
|
+
as: s,
|
20
|
+
className: e.labelText,
|
21
|
+
tooltipText: i,
|
22
|
+
...l,
|
23
|
+
children: o
|
24
|
+
}) : /* @__PURE__ */ t("label", {
|
25
|
+
className: e.labelText,
|
26
|
+
...l,
|
27
|
+
children: o
|
28
|
+
}), a && /* @__PURE__ */ t(r, {
|
29
|
+
className: e.labelIcon
|
30
|
+
})]
|
31
|
+
});
|
32
|
+
export {
|
33
|
+
F as g,
|
34
|
+
e as s
|
35
|
+
};
|
@@ -1,67 +1,68 @@
|
|
1
|
-
import { DateI18nProvider as
|
2
|
-
import { useFormikContext as
|
3
|
-
import { forwardRef as
|
4
|
-
import { useIntl as
|
5
|
-
import { convertToDatePickerValue as
|
6
|
-
import { useDateInternationalization as
|
1
|
+
import { DateI18nProvider as T, DatePicker as V } from "@box/blueprint-web";
|
2
|
+
import { useFormikContext as A, getIn as C, Field as w } from "formik";
|
3
|
+
import { forwardRef as I, useMemo as N } from "react";
|
4
|
+
import { useIntl as z } from "react-intl";
|
5
|
+
import { convertToDatePickerValue as B, convertToFormikValue as O } from "./date-conversion-utils.js";
|
6
|
+
import { useDateInternationalization as $ } from "./use-date-internationalization.js";
|
7
7
|
import a from "../../../../messages.js";
|
8
|
-
import {
|
8
|
+
import { g as j } from "../../../../../../chunks/utils.js";
|
9
9
|
import { jsx as r } from "react/jsx-runtime";
|
10
|
-
const
|
10
|
+
const Q = /* @__PURE__ */ I(({
|
11
11
|
className: s,
|
12
12
|
description: c,
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
isAiSuggestionApplied: m,
|
14
|
+
disableForm: d,
|
15
|
+
fieldNamePrefix: f,
|
16
|
+
label: n,
|
17
|
+
onValueEdited: u,
|
18
|
+
portalElement: p,
|
18
19
|
updateModePrefix: h
|
19
|
-
},
|
20
|
-
const o = `${h ??
|
21
|
-
values:
|
20
|
+
}, D) => {
|
21
|
+
const o = `${h ?? f}.value`, e = z(), {
|
22
|
+
values: g,
|
22
23
|
setFieldTouched: M,
|
23
|
-
setFieldValue:
|
24
|
-
} =
|
25
|
-
localTimezone:
|
26
|
-
} =
|
24
|
+
setFieldValue: k
|
25
|
+
} = A(), {
|
26
|
+
localTimezone: v
|
27
|
+
} = $(e.locale), i = C(g, o), b = N(() => B(i), [i]), F = {
|
27
28
|
clearDatePickerAriaLabel: e.formatMessage(a.clearSelectedDate),
|
28
29
|
nextMonthAriaLabel: e.formatMessage(a.switchToNextMonth),
|
29
30
|
openCalendarDropdownAriaLabel: e.formatMessage(a.openCalendar),
|
30
31
|
previousMonthAriaLabel: e.formatMessage(a.switchToNextMonth)
|
31
|
-
},
|
32
|
-
const l =
|
33
|
-
|
34
|
-
},
|
32
|
+
}, P = (t) => {
|
33
|
+
const l = O(t, v);
|
34
|
+
k(o, l), u();
|
35
|
+
}, x = () => {
|
35
36
|
M(o, !0);
|
36
37
|
};
|
37
38
|
return /* @__PURE__ */ r("div", {
|
38
|
-
"data-testid": `${
|
39
|
-
children: /* @__PURE__ */ r(
|
39
|
+
"data-testid": `${n}-field`,
|
40
|
+
children: /* @__PURE__ */ r(T, {
|
40
41
|
locale: e.locale,
|
41
|
-
children: /* @__PURE__ */ r(
|
42
|
+
children: /* @__PURE__ */ r(w, {
|
42
43
|
name: o,
|
43
44
|
children: ({
|
44
45
|
field: t,
|
45
46
|
meta: l
|
46
|
-
}) => /* @__PURE__ */ r(
|
47
|
+
}) => /* @__PURE__ */ r(V, {
|
47
48
|
...t,
|
48
|
-
...
|
49
|
-
ref:
|
49
|
+
...F,
|
50
|
+
ref: D,
|
50
51
|
calendarAriaLabel: e.formatMessage(a.selectDate),
|
51
52
|
className: s,
|
52
53
|
error: l.error,
|
53
|
-
isDisabled:
|
54
|
-
label:
|
55
|
-
onBlur: () =>
|
56
|
-
onChange: (
|
57
|
-
portalElement:
|
58
|
-
value:
|
54
|
+
isDisabled: d,
|
55
|
+
label: j(n, c, m, "span"),
|
56
|
+
onBlur: () => x(),
|
57
|
+
onChange: (L) => P(L),
|
58
|
+
portalElement: p,
|
59
|
+
value: b
|
59
60
|
})
|
60
61
|
})
|
61
62
|
})
|
62
63
|
});
|
63
64
|
});
|
64
65
|
export {
|
65
|
-
|
66
|
-
|
66
|
+
Q as MetadataDateField,
|
67
|
+
Q as default
|
67
68
|
};
|
@@ -1,51 +1,52 @@
|
|
1
1
|
import { Select as l, SELECT_EMPTY_VALUE as r } from "@box/blueprint-web";
|
2
|
-
import { useFormikContext as
|
3
|
-
import { forwardRef as
|
4
|
-
import { useIntl as
|
2
|
+
import { useFormikContext as C, getIn as L, Field as P } from "formik";
|
3
|
+
import { forwardRef as $ } from "react";
|
4
|
+
import { useIntl as b, FormattedMessage as j } from "react-intl";
|
5
5
|
import d from "../../../../messages.js";
|
6
|
-
import {
|
7
|
-
import { jsx as t, jsxs as
|
8
|
-
const
|
6
|
+
import { g as w } from "../../../../../../chunks/utils.js";
|
7
|
+
import { jsx as t, jsxs as I } from "react/jsx-runtime";
|
8
|
+
const U = /* @__PURE__ */ $(({
|
9
9
|
className: i,
|
10
|
-
|
11
|
-
|
10
|
+
isAiSuggestionApplied: u,
|
11
|
+
description: p,
|
12
|
+
disableForm: f,
|
12
13
|
fieldNamePrefix: s,
|
13
|
-
updateModePrefix:
|
14
|
+
updateModePrefix: h,
|
14
15
|
label: n,
|
15
|
-
onValueEdited:
|
16
|
-
options:
|
17
|
-
portalElement:
|
18
|
-
},
|
16
|
+
onValueEdited: v,
|
17
|
+
options: g,
|
18
|
+
portalElement: E
|
19
|
+
}, F) => {
|
19
20
|
const {
|
20
|
-
setFieldValue:
|
21
|
-
values:
|
22
|
-
} =
|
21
|
+
setFieldValue: x,
|
22
|
+
values: M
|
23
|
+
} = C(), V = b(), m = `${h ?? s}.value`, o = g || L(M, `${s}.options`, []).map(({
|
23
24
|
key: a
|
24
|
-
}) => a), c =
|
25
|
+
}) => a), c = V.formatMessage(d.selectValuePlaceholder);
|
25
26
|
return /* @__PURE__ */ t("div", {
|
26
27
|
"data-testid": `${n}-field`,
|
27
|
-
children: /* @__PURE__ */ t(
|
28
|
+
children: /* @__PURE__ */ t(P, {
|
28
29
|
name: m,
|
29
30
|
children: ({
|
30
31
|
field: a
|
31
32
|
}) => /* @__PURE__ */ t(l, {
|
32
|
-
ref:
|
33
|
+
ref: F,
|
33
34
|
className: i,
|
34
|
-
disabled:
|
35
|
-
label:
|
35
|
+
disabled: f,
|
36
|
+
label: w(n, p, u),
|
36
37
|
onValueChange: (e) => {
|
37
|
-
|
38
|
+
x(m, e === r ? "" : e), v();
|
38
39
|
},
|
39
40
|
placeholder: c,
|
40
41
|
...a,
|
41
42
|
value: a.value === r ? "" : a.value,
|
42
|
-
children: /* @__PURE__ */
|
43
|
-
container:
|
43
|
+
children: /* @__PURE__ */ I(l.Content, {
|
44
|
+
container: E,
|
44
45
|
onEscapeKeyDown: (e) => e.stopPropagation(),
|
45
46
|
children: [/* @__PURE__ */ t(l.Option, {
|
46
47
|
text: c,
|
47
48
|
value: r,
|
48
|
-
children: /* @__PURE__ */ t(
|
49
|
+
children: /* @__PURE__ */ t(j, {
|
49
50
|
...d.selectValuePlaceholder
|
50
51
|
})
|
51
52
|
}), o == null ? void 0 : o.map((e) => /* @__PURE__ */ t(l.Option, {
|
@@ -59,6 +60,6 @@ const R = /* @__PURE__ */ P(({
|
|
59
60
|
});
|
60
61
|
});
|
61
62
|
export {
|
62
|
-
|
63
|
-
|
63
|
+
U as MetadataEnumField,
|
64
|
+
U as default
|
64
65
|
};
|
@@ -1,55 +1,56 @@
|
|
1
|
-
import { TextInput as
|
2
|
-
import { useFormikContext as
|
3
|
-
import { forwardRef as
|
4
|
-
import {
|
5
|
-
import { fieldDefaultProps as
|
6
|
-
import { useFloatValidation as
|
1
|
+
import { TextInput as T } from "@box/blueprint-web";
|
2
|
+
import { useFormikContext as V, getIn as $, Field as b } from "formik";
|
3
|
+
import { forwardRef as B, useRef as I } from "react";
|
4
|
+
import { g as M } from "../../../../../../chunks/utils.js";
|
5
|
+
import { fieldDefaultProps as O } from "../constants.js";
|
6
|
+
import { useFloatValidation as j } from "./use-float-validation.js";
|
7
7
|
import { jsx as r } from "react/jsx-runtime";
|
8
|
-
const
|
8
|
+
const y = /* @__PURE__ */ B(({
|
9
9
|
className: l,
|
10
10
|
description: i,
|
11
|
+
isAiSuggestionApplied: d,
|
11
12
|
label: o,
|
12
|
-
fieldNamePrefix:
|
13
|
-
disableForm:
|
14
|
-
onValueEdited:
|
15
|
-
updateModePrefix:
|
16
|
-
},
|
13
|
+
fieldNamePrefix: n,
|
14
|
+
disableForm: s,
|
15
|
+
onValueEdited: u,
|
16
|
+
updateModePrefix: f
|
17
|
+
}, m) => {
|
17
18
|
const {
|
18
|
-
values:
|
19
|
-
setFieldValue:
|
20
|
-
setFieldTouched:
|
21
|
-
} =
|
22
|
-
validateFloats:
|
23
|
-
} =
|
24
|
-
a.current = e,
|
25
|
-
},
|
26
|
-
|
19
|
+
values: c,
|
20
|
+
setFieldValue: p,
|
21
|
+
setFieldTouched: F
|
22
|
+
} = V(), t = `${f ?? n}.value`, h = $(c, t), a = I(h), {
|
23
|
+
validateFloats: g
|
24
|
+
} = j(), v = (e) => {
|
25
|
+
a.current = e, p(t, e), u();
|
26
|
+
}, x = (e) => {
|
27
|
+
F(e, !0);
|
27
28
|
};
|
28
29
|
return /* @__PURE__ */ r("div", {
|
29
30
|
"data-testid": `${o}-field`,
|
30
|
-
children: /* @__PURE__ */ r(
|
31
|
+
children: /* @__PURE__ */ r(b, {
|
31
32
|
name: `${t}`,
|
32
|
-
validate: () =>
|
33
|
+
validate: () => g(a.current),
|
33
34
|
children: ({
|
34
35
|
field: e,
|
35
|
-
meta:
|
36
|
-
}) => /* @__PURE__ */ r(
|
37
|
-
...
|
36
|
+
meta: C
|
37
|
+
}) => /* @__PURE__ */ r(T, {
|
38
|
+
...O,
|
38
39
|
...e,
|
39
|
-
ref:
|
40
|
+
ref: m,
|
40
41
|
className: l,
|
41
|
-
disabled:
|
42
|
-
error:
|
42
|
+
disabled: s,
|
43
|
+
error: C.error,
|
43
44
|
inputMode: "decimal",
|
44
|
-
label:
|
45
|
-
onBlur: () =>
|
46
|
-
onChange: (
|
45
|
+
label: M(o, i, d),
|
46
|
+
onBlur: () => x(t),
|
47
|
+
onChange: (R) => v(R.currentTarget.value),
|
47
48
|
placeholder: "0"
|
48
49
|
})
|
49
50
|
})
|
50
51
|
});
|
51
52
|
});
|
52
53
|
export {
|
53
|
-
|
54
|
-
|
54
|
+
y as MetadataFloatField,
|
55
|
+
y as default
|
55
56
|
};
|
@@ -1,52 +1,53 @@
|
|
1
|
-
import { Combobox as
|
2
|
-
import { useFormikContext as
|
3
|
-
import { forwardRef as
|
4
|
-
import { useIntl as
|
5
|
-
import
|
6
|
-
import {
|
7
|
-
import { fieldDefaultProps as
|
1
|
+
import { Combobox as w } from "@box/blueprint-web";
|
2
|
+
import { useFormikContext as x, getIn as L, Field as M } from "formik";
|
3
|
+
import { forwardRef as $ } from "react";
|
4
|
+
import { useIntl as I } from "react-intl";
|
5
|
+
import V from "../../../../messages.js";
|
6
|
+
import { g as j } from "../../../../../../chunks/utils.js";
|
7
|
+
import { fieldDefaultProps as k } from "../constants.js";
|
8
8
|
import { jsx as o } from "react/jsx-runtime";
|
9
|
-
const
|
10
|
-
className:
|
11
|
-
|
12
|
-
|
9
|
+
const A = /* @__PURE__ */ $(({
|
10
|
+
className: s,
|
11
|
+
isAiSuggestionApplied: i,
|
12
|
+
description: n,
|
13
|
+
disableForm: m,
|
13
14
|
fieldNamePrefix: r,
|
14
15
|
label: l,
|
15
|
-
onValueEdited:
|
16
|
-
options:
|
17
|
-
portalElement:
|
18
|
-
updateModePrefix:
|
19
|
-
},
|
16
|
+
onValueEdited: u,
|
17
|
+
options: d,
|
18
|
+
portalElement: p,
|
19
|
+
updateModePrefix: f
|
20
|
+
}, c) => {
|
20
21
|
const {
|
21
|
-
setFieldValue:
|
22
|
+
setFieldValue: g,
|
22
23
|
values: F
|
23
|
-
} =
|
24
|
+
} = x(), h = I(), a = `${f ?? r}.value`, v = d || L(F, `${r}.options`, []).map(({
|
24
25
|
key: e
|
25
|
-
}) => e),
|
26
|
+
}) => e), C = (e, t) => t.toLowerCase().includes(e.toLowerCase());
|
26
27
|
return /* @__PURE__ */ o("div", {
|
27
28
|
"data-testid": `${l}-field`,
|
28
|
-
children: /* @__PURE__ */ o(
|
29
|
+
children: /* @__PURE__ */ o(M, {
|
29
30
|
name: a,
|
30
31
|
children: ({
|
31
32
|
field: e
|
32
33
|
}) => {
|
33
34
|
var t;
|
34
|
-
return /* @__PURE__ */ o(
|
35
|
-
...
|
36
|
-
ref:
|
35
|
+
return /* @__PURE__ */ o(w, {
|
36
|
+
...k,
|
37
|
+
ref: c,
|
37
38
|
as: "input",
|
38
|
-
className:
|
39
|
-
disabled:
|
40
|
-
filterFn:
|
41
|
-
label:
|
39
|
+
className: s,
|
40
|
+
disabled: m,
|
41
|
+
filterFn: C,
|
42
|
+
label: j(l, n, i),
|
42
43
|
multiselect: !0,
|
43
44
|
name: e.name,
|
44
|
-
onValueChange: (
|
45
|
-
|
45
|
+
onValueChange: (b) => {
|
46
|
+
g(a, b), u();
|
46
47
|
},
|
47
|
-
options:
|
48
|
-
placeholder: ((t = e.value) == null ? void 0 : t.length) === 0 ?
|
49
|
-
portalElement:
|
48
|
+
options: v,
|
49
|
+
placeholder: ((t = e.value) == null ? void 0 : t.length) === 0 ? h.formatMessage(V.multiselectPlaceholder) : "",
|
50
|
+
portalElement: p,
|
50
51
|
value: e.value
|
51
52
|
});
|
52
53
|
}
|
@@ -54,6 +55,6 @@ const z = /* @__PURE__ */ M(({
|
|
54
55
|
});
|
55
56
|
});
|
56
57
|
export {
|
57
|
-
|
58
|
-
|
58
|
+
A as MetadataMultiSelectField,
|
59
|
+
A as default
|
59
60
|
};
|
@@ -1,44 +1,45 @@
|
|
1
|
-
import { TextInput as
|
2
|
-
import { Field as
|
3
|
-
import { forwardRef as
|
4
|
-
import { useIntl as
|
5
|
-
import
|
6
|
-
import {
|
7
|
-
import { fieldDefaultProps as
|
1
|
+
import { TextInput as c } from "@box/blueprint-web";
|
2
|
+
import { Field as g } from "formik";
|
3
|
+
import { forwardRef as h } from "react";
|
4
|
+
import { useIntl as F } from "react-intl";
|
5
|
+
import x from "../../../../messages.js";
|
6
|
+
import { g as M } from "../../../../../../chunks/utils.js";
|
7
|
+
import { fieldDefaultProps as b } from "../constants.js";
|
8
8
|
import { jsx as e } from "react/jsx-runtime";
|
9
|
-
const
|
9
|
+
const v = /* @__PURE__ */ h(({
|
10
10
|
className: t,
|
11
|
-
description:
|
12
|
-
|
13
|
-
|
11
|
+
description: a,
|
12
|
+
isAiSuggestionApplied: o,
|
13
|
+
disableForm: i,
|
14
|
+
fieldNamePrefix: l,
|
14
15
|
label: r,
|
15
|
-
onValueEdited:
|
16
|
-
updateModePrefix:
|
17
|
-
},
|
18
|
-
const
|
16
|
+
onValueEdited: d,
|
17
|
+
updateModePrefix: m
|
18
|
+
}, f) => {
|
19
|
+
const s = F(), n = `${m ?? l}.value`;
|
19
20
|
return /* @__PURE__ */ e("div", {
|
20
21
|
"data-testid": `${r}-field`,
|
21
|
-
children: /* @__PURE__ */ e(
|
22
|
-
name:
|
22
|
+
children: /* @__PURE__ */ e(g, {
|
23
|
+
name: n,
|
23
24
|
children: ({
|
24
|
-
field:
|
25
|
-
meta:
|
26
|
-
}) => /* @__PURE__ */ e(
|
27
|
-
...
|
28
|
-
...
|
29
|
-
ref:
|
25
|
+
field: p,
|
26
|
+
meta: u
|
27
|
+
}) => /* @__PURE__ */ e(c, {
|
28
|
+
...b,
|
29
|
+
...p,
|
30
|
+
ref: f,
|
30
31
|
className: t,
|
31
|
-
disabled:
|
32
|
-
error:
|
33
|
-
label:
|
34
|
-
onChangeCapture:
|
35
|
-
placeholder:
|
32
|
+
disabled: i,
|
33
|
+
error: u.error,
|
34
|
+
label: M(r, a, o),
|
35
|
+
onChangeCapture: d,
|
36
|
+
placeholder: s.formatMessage(x.setValuePlaceholder)
|
36
37
|
})
|
37
38
|
})
|
38
39
|
});
|
39
40
|
});
|
40
|
-
|
41
|
+
v.displayName = "MetadataStringField";
|
41
42
|
export {
|
42
|
-
|
43
|
-
|
43
|
+
v as MetadataStringField,
|
44
|
+
v as default
|
44
45
|
};
|
@@ -1,56 +1,57 @@
|
|
1
|
-
import { useFormikContext as
|
2
|
-
import { forwardRef as
|
3
|
-
import { useIntl as
|
4
|
-
import
|
5
|
-
import { ComboboxWithApiPagination as
|
6
|
-
import {
|
1
|
+
import { useFormikContext as I, getIn as M, Field as R } from "formik";
|
2
|
+
import { forwardRef as V } from "react";
|
3
|
+
import { useIntl as $ } from "react-intl";
|
4
|
+
import j from "../../../../messages.js";
|
5
|
+
import { ComboboxWithApiPagination as w } from "../../../combobox-with-api-pagination/combobox-with-api-pagination.js";
|
6
|
+
import { g as A } from "../../../../../../chunks/utils.js";
|
7
7
|
import { jsx as o } from "react/jsx-runtime";
|
8
|
-
const
|
8
|
+
const B = /* @__PURE__ */ V(({
|
9
9
|
description: m,
|
10
10
|
disableForm: n,
|
11
|
+
isAiSuggestionApplied: s,
|
11
12
|
fieldNamePrefix: r,
|
12
13
|
label: a,
|
13
|
-
portalElement:
|
14
|
-
taxonomyOptionsFetcher:
|
15
|
-
updateModePrefix:
|
16
|
-
className:
|
17
|
-
},
|
18
|
-
const
|
14
|
+
portalElement: d,
|
15
|
+
taxonomyOptionsFetcher: c,
|
16
|
+
updateModePrefix: u,
|
17
|
+
className: f
|
18
|
+
}, p) => {
|
19
|
+
const g = $(), i = `${u ?? r}.value`, {
|
19
20
|
setFieldValue: h,
|
20
21
|
values: l
|
21
|
-
} =
|
22
|
+
} = I(), {
|
22
23
|
metadata: {
|
23
24
|
templateKey: F,
|
24
|
-
scope:
|
25
|
+
scope: x
|
25
26
|
}
|
26
|
-
} = l,
|
27
|
-
key:
|
27
|
+
} = l, v = M(l, r), {
|
28
|
+
key: y,
|
28
29
|
optionsRules: {
|
29
|
-
multiSelect:
|
30
|
+
multiSelect: b,
|
30
31
|
selectableLevels: e
|
31
32
|
}
|
32
|
-
} =
|
33
|
+
} = v, k = (t) => c(x, F, y, e == null ? void 0 : e[0], t);
|
33
34
|
return /* @__PURE__ */ o("div", {
|
34
35
|
"data-testid": `${a}-field`,
|
35
|
-
children: /* @__PURE__ */ o(
|
36
|
+
children: /* @__PURE__ */ o(R, {
|
36
37
|
name: i,
|
37
38
|
children: ({
|
38
39
|
field: t
|
39
|
-
}) => /* @__PURE__ */ o(
|
40
|
-
ref:
|
41
|
-
className:
|
42
|
-
defaultFetcher:
|
40
|
+
}) => /* @__PURE__ */ o(w, {
|
41
|
+
ref: p,
|
42
|
+
className: f,
|
43
|
+
defaultFetcher: k,
|
43
44
|
disabled: n,
|
44
|
-
label:
|
45
|
-
multiselect:
|
46
|
-
onValueChange: (
|
47
|
-
placeholder:
|
48
|
-
portalElement:
|
45
|
+
label: A(a, m, s),
|
46
|
+
multiselect: b,
|
47
|
+
onValueChange: (C) => h(i, C),
|
48
|
+
placeholder: g.formatMessage(j.taxonomyPlaceholder),
|
49
|
+
portalElement: d,
|
49
50
|
value: t.value
|
50
51
|
})
|
51
52
|
})
|
52
53
|
});
|
53
54
|
});
|
54
55
|
export {
|
55
|
-
|
56
|
+
B as MetadataTaxonomyField
|
56
57
|
};
|
@@ -1,12 +1,78 @@
|
|
1
|
-
import "clsx";
|
2
|
-
import "formik";
|
3
|
-
import "lodash/isUndefined";
|
4
|
-
import "react";
|
5
|
-
import "./components/ai-suggestion-field/ai-suggestion-field.js";
|
6
|
-
import "./components/update-mode-field-wrapper/update-mode-field-wrapper.js";
|
7
|
-
import "./editor-field-types.js";
|
8
|
-
import {
|
9
|
-
import "react/jsx-runtime";
|
1
|
+
import V from "clsx";
|
2
|
+
import { useFormikContext as k } from "formik";
|
3
|
+
import w from "lodash/isUndefined";
|
4
|
+
import { forwardRef as E, useState as y } from "react";
|
5
|
+
import { AiSuggestionField as P } from "./components/ai-suggestion-field/ai-suggestion-field.js";
|
6
|
+
import { UpdateModeFieldWrapper as R } from "./components/update-mode-field-wrapper/update-mode-field-wrapper.js";
|
7
|
+
import { editorFieldTypes as T } from "./editor-field-types.js";
|
8
|
+
import { s as i } from "../../../../chunks/utils.js";
|
9
|
+
import { jsx as o, jsxs as U } from "react/jsx-runtime";
|
10
|
+
const H = /* @__PURE__ */ E(({
|
11
|
+
disableForm: l,
|
12
|
+
portalElement: d,
|
13
|
+
field: e,
|
14
|
+
index: h,
|
15
|
+
taxonomyOptionsFetcher: u
|
16
|
+
}, g) => {
|
17
|
+
var A;
|
18
|
+
const {
|
19
|
+
setFieldValue: m
|
20
|
+
} = k(), [x, n] = y(!0), [a, p] = y(!1), r = T[e.type], {
|
21
|
+
aiSuggestion: t,
|
22
|
+
type: c,
|
23
|
+
value: F
|
24
|
+
} = e, M = r && !e.hidden, N = !w(e.updateMode), s = `metadata.fields[${h}]`, W = e.type === "taxonomy" && ((A = e.optionsRules) == null ? void 0 : A.multiSelect), S = t && x, v = V({
|
25
|
+
[i.suggestionApplied]: a,
|
26
|
+
[i.hasSuggestion]: S,
|
27
|
+
[i.dateField]: c === "date"
|
28
|
+
});
|
29
|
+
if (!M)
|
30
|
+
return null;
|
31
|
+
const f = () => {
|
32
|
+
a && p(!1);
|
33
|
+
};
|
34
|
+
return N ? /* @__PURE__ */ o(R, {
|
35
|
+
fieldNamePrefix: s,
|
36
|
+
fieldType: e.type,
|
37
|
+
isTaxonomyMultiSelect: W,
|
38
|
+
children: /* @__PURE__ */ o(r, {
|
39
|
+
ref: g,
|
40
|
+
description: e.description,
|
41
|
+
disableForm: l,
|
42
|
+
fieldNamePrefix: s,
|
43
|
+
isAiSuggestionApplied: !1,
|
44
|
+
label: e.displayName,
|
45
|
+
onValueEdited: f,
|
46
|
+
portalElement: d,
|
47
|
+
taxonomyOptionsFetcher: u
|
48
|
+
})
|
49
|
+
}, e.key) : /* @__PURE__ */ U("div", {
|
50
|
+
className: i.fieldWrapper,
|
51
|
+
children: [/* @__PURE__ */ o(r, {
|
52
|
+
ref: g,
|
53
|
+
className: v,
|
54
|
+
description: e.description,
|
55
|
+
disableForm: l,
|
56
|
+
fieldNamePrefix: s,
|
57
|
+
isAiSuggestionApplied: a,
|
58
|
+
label: e.displayName,
|
59
|
+
onValueEdited: f,
|
60
|
+
portalElement: d,
|
61
|
+
taxonomyOptionsFetcher: u
|
62
|
+
}), S && /* @__PURE__ */ o(P, {
|
63
|
+
aiSuggestion: t,
|
64
|
+
onAiSuggestionAppend: () => {
|
65
|
+
const I = e.type === "multiSelect" ? [F, t].flat() : t;
|
66
|
+
m(`${s}.value`, I), n(!1), p(!0);
|
67
|
+
},
|
68
|
+
onAiSuggestionIgnore: () => n(!1),
|
69
|
+
onAiSuggestionReplace: () => {
|
70
|
+
m(`${s}.value`, t), n(!1), p(!0);
|
71
|
+
},
|
72
|
+
type: c
|
73
|
+
})]
|
74
|
+
}, e.key);
|
75
|
+
});
|
10
76
|
export {
|
11
|
-
|
77
|
+
H as MetadataEditorFieldWrapper
|
12
78
|
};
|
@@ -1,18 +1,19 @@
|
|
1
1
|
import { useRef as f, useEffect as l } from "react";
|
2
2
|
import { Text as c } from "@box/blueprint-web";
|
3
|
-
import { useFormikContext as d, getIn as
|
3
|
+
import { useFormikContext as d, getIn as p, FieldArray as u } from "formik";
|
4
4
|
import { FormattedMessage as x } from "react-intl";
|
5
5
|
import g from "../../messages.js";
|
6
|
-
import {
|
6
|
+
import { MetadataEditorFieldWrapper as h } from "./metadata-editor-field-wrapper.js";
|
7
|
+
import { s as F } from "../../../../chunks/utils.js";
|
7
8
|
import { jsx as t } from "react/jsx-runtime";
|
8
|
-
const
|
9
|
+
const C = (m) => {
|
9
10
|
const {
|
10
11
|
values: i
|
11
|
-
} = d(), o = "metadata.fields", r =
|
12
|
+
} = d(), o = "metadata.fields", r = p(i, o), s = f(null), a = r.findIndex((e) => !e.hidden);
|
12
13
|
return l(() => {
|
13
14
|
var e;
|
14
15
|
a > -1 && ((e = s.current) == null || e.focus());
|
15
|
-
}, []), r.length ? /* @__PURE__ */ t(
|
16
|
+
}, []), r.length ? /* @__PURE__ */ t(u, {
|
16
17
|
name: o,
|
17
18
|
validateOnChange: !1,
|
18
19
|
children: () => r.map((e, n) => /* @__PURE__ */ t(h, {
|
@@ -31,6 +32,6 @@ const k = (m) => {
|
|
31
32
|
});
|
32
33
|
};
|
33
34
|
export {
|
34
|
-
|
35
|
-
|
35
|
+
C as TemplateInstance,
|
36
|
+
C as default
|
36
37
|
};
|
@@ -1,13 +1,7 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
|
4
|
-
|
5
|
-
}) => /* @__PURE__ */ i(o, {
|
6
|
-
...r,
|
7
|
-
as: "label",
|
8
|
-
tooltipText: e,
|
9
|
-
children: t
|
10
|
-
}) : t;
|
1
|
+
import "@box/blueprint-web-assets/icons/Logo";
|
2
|
+
import "../interactive-text/interactive-text.js";
|
3
|
+
import { g as m } from "../../../../chunks/utils.js";
|
4
|
+
import "react/jsx-runtime";
|
11
5
|
export {
|
12
|
-
|
6
|
+
m as getFieldLabel
|
13
7
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/metadata-editor",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.68.0",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@ariakit/react": "0.4.5",
|
6
6
|
"@box/blueprint-web": "^7.30.3",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"devDependencies": {
|
15
15
|
"@ariakit/react": "0.4.5",
|
16
16
|
"@box/babel-plugin-target-attributes": "1.3.0",
|
17
|
-
"@box/blueprint-web": "^7.36.
|
17
|
+
"@box/blueprint-web": "^7.36.3",
|
18
18
|
"@box/blueprint-web-assets": "^4.28.0",
|
19
19
|
"@box/storybook-utils": "^0.7.0",
|
20
20
|
"@testing-library/react": "^15.0.6",
|
@@ -53,5 +53,5 @@
|
|
53
53
|
"**/*.css"
|
54
54
|
],
|
55
55
|
"license": "SEE LICENSE IN LICENSE",
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "cb9d1103ad345206637fdc35e1650751ae752a0a"
|
57
57
|
}
|
@@ -1 +1 @@
|
|
1
|
-
:root{--notification-default-paragraph-indent: 0rem;--notification-default-paragraph-spacing: 0;--notification-default-text-case: none;--notification-default-text-decoration: none;--notification-default-letter-spacing: .01875rem;--notification-default-font-size: .5625rem;--notification-default-line-height: .75rem;--breakpoint-xlarge: 1219px;--breakpoint-large: 1023px;--breakpoint-medium: 767px;--breakpoint-small: 374px;--animation-easing-ease-base: cubic-bezier(.16, 1, .3, 1);--animation-duration-4: .4s;--animation-duration-3: .3s;--animation-duration-2: .2s;--text-decoration-underline: underline;--font-weights-black: 900;--font-weights-bold: 700;--font-weights-semibold: 600;--font-weights-regular: 400;--font-families-sans: Lato, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--border-8: .5rem;--border-6: .375rem;--border-4: .25rem;--white-opacity-30: #ffffff4d;--white-opacity-70: #ffffffb3;--size-20: 5rem;--size-18: 4.5rem;--size-16: 4rem;--size-15: 3.75rem;--size-14: 3.5rem;--size-12: 3rem;--size-11: 2.75rem;--size-10: 2.5rem;--size-9: 2.25rem;--size-8: 2rem;--size-7: 1.75rem;--size-6: 1.5rem;--size-5: 1.25rem;--size-4: 1rem;--size-3: .75rem;--size-2: .5rem;--size-1: .25rem;--size-05: .125rem;--black-opacity-00: rgba(0, 0, 0, 0);--black-opacity-04: rgba(0, 0, 0, .04);--black-opacity-08: rgba(0, 0, 0, .08);--black-opacity-50: rgba(0, 0, 0, .5);--black-opacity-60: rgba(0, 0, 0, .6);--black-opacity-80: rgba(0, 0, 0, .8);--innershadow-1: inset 0 .125rem .25rem 0 rgba(0, 0, 0, .1);--dropshadow-1: 0 0 .5rem 0 rgba(0, 0, 0, .05);--dropshadow-2: 0 .0625rem .25rem 0 rgba(0, 0, 0, .1);--dropshadow-3-inverse: 0 -.25rem .75rem 0 rgba(0, 0, 0, .1);--dropshadow-3: 0 .25rem .75rem 0 rgba(0, 0, 0, .1);--space-20: 5rem;--space-18: 4.5rem;--space-16: 4rem;--space-15: 3.75rem;--space-14: 3.5rem;--space-12: 3rem;--space-11: 2.75rem;--space-10: 2.5rem;--space-9: 2.25rem;--space-8: 2rem;--space-7: 1.75rem;--space-6: 1.5rem;--space-5: 1.25rem;--space-4: 1rem;--space-3: .75rem;--space-2: .5rem;--space-1: .25rem;--space-05: .125rem;--border-3: .1875rem;--border-2: .125rem;--border-1: .0625rem;--radius-half: 2rem;--radius-8: 1.75rem;--radius-7: 1.5rem;--radius-6: 1.25rem;--radius-5: 1rem;--radius-4: .75rem;--radius-3: .5rem;--radius-2: .375rem;--radius-1: .25rem;--radius-05: .125rem;--link-default-text-case: none;--link-default-paragraph-indent: 0rem;--link-default-paragraph-spacing: 0;--link-default-letter-spacing: .01875rem;--link-default-font-size: .875rem;--link-default-line-height: 1.25rem;--label-default-text-decoration: none;--label-default-text-case: none;--label-default-paragraph-spacing: 0;--label-default-letter-spacing: .0375rem;--label-default-font-size: .625rem;--label-default-line-height: 1rem;--label-bold-text-decoration: none;--label-bold-text-case: none;--label-bold-paragraph-spacing: 0;--label-bold-letter-spacing: .0375rem;--label-bold-font-size: .625rem;--label-bold-line-height: 1rem;--caption-default-text-decoration: none;--caption-default-text-case: none;--caption-default-paragraph-spacing: 0;--caption-default-letter-spacing: .01875rem;--caption-default-font-size: .75rem;--caption-default-line-height: .875rem;--caption-bold-text-decoration: none;--caption-bold-text-case: none;--caption-bold-paragraph-spacing: 0;--caption-bold-letter-spacing: .01875rem;--caption-bold-font-size: .75rem;--caption-bold-line-height: .875rem;--body-default-text-decoration: none;--body-default-text-case: none;--body-default-paragraph-spacing: 0;--body-default-letter-spacing: .01875rem;--body-default-font-size: .875rem;--body-default-line-height: 1.25rem;--body-default-semibold-text-decoration: none;--body-default-semibold-text-case: none;--body-default-semibold-paragraph-spacing: 0;--body-default-semibold-letter-spacing: .01875rem;--body-default-semibold-font-size: .875rem;--body-default-semibold-line-height: 1.25rem;--body-default-bold-text-decoration: none;--body-default-bold-text-case: none;--body-default-bold-paragraph-spacing: 0;--body-default-bold-letter-spacing: .01875rem;--body-default-bold-font-size: .875rem;--body-default-bold-line-height: 1.25rem;--body-large-bold-text-decoration: none;--body-large-bold-text-case: none;--body-large-bold-paragraph-spacing: 0;--body-large-bold-letter-spacing: .01875rem;--body-large-bold-font-size: 1rem;--body-large-bold-line-height: 1.5rem;--body-large-text-decoration: none;--body-large-text-case: none;--body-large-paragraph-spacing: 0;--body-large-letter-spacing: .01875rem;--body-large-font-size: 1rem;--body-large-line-height: 1.5rem;--title-mondo-text-decoration: none;--title-mondo-text-case: none;--title-mondo-paragraph-spacing: 0;--title-mondo-letter-spacing: 0;--title-mondo-font-size: 2.25rem;--title-mondo-line-height: 2.75rem;--title-x-large-text-decoration: none;--title-x-large-text-case: none;--title-x-large-paragraph-spacing: 0;--title-x-large-letter-spacing: .01875rem;--title-x-large-font-size: 1.3125rem;--title-x-large-line-height: 2rem;--title-large-text-decoration: none;--title-large-text-case: none;--title-large-paragraph-spacing: 0;--title-large-letter-spacing: .01875rem;--title-large-font-size: 1.125rem;--title-large-line-height: 1.5rem;--title-medium-text-decoration: none;--title-medium-text-case: none;--title-medium-paragraph-spacing: 0;--title-medium-letter-spacing: .01875rem;--title-medium-font-size: 1rem;--title-medium-line-height: 1.5rem;--title-small-text-decoration: none;--title-small-text-case: none;--title-small-paragraph-spacing: 0;--title-small-letter-spacing: .01875rem;--title-small-font-size: .9375rem;--title-small-line-height: 1.25rem;--title-subtitle-text-decoration: none;--title-subtitle-text-case: none;--title-subtitle-paragraph-spacing: 0;--title-subtitle-letter-spacing: .01875rem;--title-subtitle-font-size: .875rem;--title-subtitle-line-height: 1.25rem;--grimace-02: #fbfbfe;--grimace-05: #f6f4fc;--grimace-180: #0e0827;--grimace-170: #160b3a;--grimace-160: #1d0f4e;--grimace-150: #241361;--grimace-120: #3a1e9b;--grimace-110: #4122af;--grimace-100: #4826c2;--grimace-50: #a392e0;--grimace-20: #dad4f3;--grimace-10: #ece9f8;--purple-rain-02: #fdfbff;--purple-rain-05: #faf5fe;--purple-rain-180: #200d2f;--purple-rain-170: #301347;--purple-rain-160: #40195f;--purple-rain-150: #4f1f76;--purple-rain-120: #7f32be;--purple-rain-110: #8f39d5;--purple-rain-100: #9f3fed;--purple-rain-50: #cf9ff6;--purple-rain-20: #ecd9fb;--purple-rain-10: #f5ebfd;--yellow-02: #fffefa;--yellow-05: #fffdf2;--yellow-180: #332b00;--yellow-170: #4c4000;--yellow-160: #665600;--yellow-150: #806b00;--yellow-120: #ccac00;--yellow-110: #e6c100;--yellow-100: #ffd700;--yellow-50: #ffeb7f;--yellow-20: #fff7cc;--yellow-10: #fffbe5;--yellorange-02: #fffefb;--yellorange-05: #fefbf3;--yellorange-180: #312405;--yellorange-170: #493608;--yellorange-160: #62480b;--yellorange-150: #7a590d;--yellorange-120: #c48f16;--yellorange-110: #dca118;--yellorange-100: #f5b31b;--yellorange-50: #fad98d;--yellorange-20: #fdf0d1;--yellorange-10: #fef7e8;--orange-02: #fffdfb;--orange-05: #fef8f3;--orange-180: #301a05;--orange-170: #482708;--orange-160: #60340a;--orange-150: #78400d;--orange-120: #c16715;--orange-110: #d97417;--orange-100: #f1811a;--orange-50: #f8c08c;--orange-20: #fce6d1;--orange-10: #fdf2e8;--watermelon-red-02: #fffbfc;--watermelon-red-05: #fef5f6;--watermelon-red-180: #2f0b11;--watermelon-red-170: #47101a;--watermelon-red-160: #5f1623;--watermelon-red-150: #761b2b;--watermelon-red-120: #be2c46;--watermelon-red-110: #d5324e;--watermelon-red-100: #ed3757;--watermelon-red-50: #f69bab;--watermelon-red-20: #fbd7dd;--watermelon-red-10: #fdebee;--green-light-02: #fbfefd;--green-light-05: #f4fcf8;--green-light-180: #08271a;--green-light-170: #0b3a27;--green-light-160: #0f4e34;--green-light-150: #136140;--green-light-120: #1e9b67;--green-light-110: #22af74;--green-light-100: #26c281;--green-light-50: #92e0c0;--green-light-20: #d4f3e6;--green-light-10: #e9f8f2;--light-blue-02: #fbfdff;--light-blue-05: #f4f9ff;--light-blue-180: #071b32;--light-blue-170: #0b284c;--light-blue-160: #0e3665;--light-blue-150: #12437e;--light-blue-120: #1d6bca;--light-blue-110: #2079e3;--light-blue-100: #2486fc;--light-blue-50: #91c2fd;--light-blue-20: #d3e7fe;--light-blue-10: #e9f2fe;--dark-blue-02: #fafbfd;--dark-blue-05: #f2f5f9;--dark-blue-180: #000c1a;--dark-blue-170: #001228;--dark-blue-160: #001835;--dark-blue-150: #001e42;--dark-blue-120: #00306a;--dark-blue-110: #003677;--dark-blue-100: #003c84;--dark-blue-50: #7f9dc1;--dark-blue-20: #ccd8e6;--dark-blue-10: #e5ebf2;--box-blue-02: #fafcfe;--box-blue-05: #f2f7fd;--box-blue-180: #00132b;--box-blue-170: #001d40;--box-blue-160: #002755;--box-blue-150: #00316b;--box-blue-120: #004eaa;--box-blue-110: #0057c0;--box-blue-100: #0061d5;--box-blue-80: #3381dd;--box-blue-50: #7fb0ea;--box-blue-40: #99c0ee;--box-blue-30: #b2cff2;--box-blue-20: #ccdff7;--box-blue-10: #e5effa;--gray-white: #ffffff;--gray-black: #000000;--gray-05: #f4f4f4;--gray-02: #fbfbfb;--gray-100: #222222;--gray-90: #383838;--gray-80: #4e4e4e;--gray-65: #6f6f6f;--gray-50: #909090;--gray-40: #a7a7a7;--gray-30: #bcbcbc;--gray-20: #d3d3d3;--gray-10: #e8e8e8;--brand-box-ai-140: linear-gradient(135deg, #980284 0%, #174f96 100%);--brand-box-ai-120: linear-gradient(135deg, #cb02b0 0%, #1f6ac8 100%);--brand-box-ai-100: linear-gradient(135deg, #fe03dc 0%, #2784fa 100%);--border-cta-border-outline-disabled: #646464;--surface-badge-video-surface: #009aed;--surface-badge-keynote-surface: #0a84ff;--surface-badge-pages-surface: #ff9500;--surface-badge-sheets-surface: #21a464;--surface-badge-docs-surface: #4083f7;--surface-badge-pdf-surface: #d0021b;--surface-surface-brand-disabled: #0061d5;--surface-surface-brand-busy: #0061d5;--surface-surface-brand-pressed: #004eac;--surface-surface-brand-hover: #006ae9;--surface-surface-brand: #0061d5;--notification-default-font-weight: 700;--notification-default-font-family: var(--font-families-sans);--motion-transition-slide-in: var(--animation-duration-4) var(--animation-easing-ease-base);--link-default-text-decoration: var(--text-decoration-underline);--link-default-font-weight: 400;--link-default-font-family: var(--font-families-sans);--label-default-font-weight: 400;--label-default-font-family: var(--font-families-sans);--label-bold-font-weight: 700;--label-bold-font-family: var(--font-families-sans);--caption-default-font-weight: 400;--caption-default-font-family: var(--font-families-sans);--caption-bold-font-weight: 700;--caption-bold-font-family: var(--font-families-sans);--body-default-font-weight: 400;--body-default-font-family: var(--font-families-sans);--body-default-semibold-font-weight: 600;--body-default-semibold-font-family: var(--font-families-sans);--body-default-bold-font-weight: 700;--body-default-bold-font-family: var(--font-families-sans);--body-large-bold-font-weight: 700;--body-large-bold-font-family: var(--font-families-sans);--body-large-font-weight: 400;--body-large-font-family: var(--font-families-sans);--title-mondo-font-weight: 900;--title-mondo-font-family: var(--font-families-sans);--title-x-large-font-weight: 700;--title-x-large-font-family: var(--font-families-sans);--title-large-font-weight: 700;--title-large-font-family: var(--font-families-sans);--title-medium-font-weight: 700;--title-medium-font-family: var(--font-families-sans);--title-small-font-weight: 700;--title-small-font-family: var(--font-families-sans);--title-subtitle-font-weight: 700;--title-subtitle-font-family: var(--font-families-sans);--brand-sign-tertiary: var(--dark-blue-10);--brand-sign-secondary: var(--dark-blue-20);--brand-sign-primary: var(--dark-blue-100);--brand-docgen-tertiary: var(--grimace-10);--brand-docgen-secondary: var(--grimace-20);--brand-docgen-primary: var(--grimace-120);--brand-forms-tertiary: var(--green-light-10);--brand-forms-secondary: var(--green-light-20);--brand-forms-primary: var(--green-light-120);--brand-box-tertiary: var(--box-blue-10);--brand-box-secondary: var(--box-blue-20);--brand-box-primary: var(--box-blue-100);--overlay-modal-overlay: var(--black-opacity-80);--overlay-sidepanel-overlay: var(--black-opacity-50);--text-toggletext-text: var(--box-blue-170);--text-text-on-light-disabled: var(--gray-30);--text-cta-link-disabled: var(--box-blue-30);--text-cta-promo: var(--grimace-100);--text-cta-link-secondary-hover: var(--gray-65);--text-cta-link-secondary-pressed: var(--gray-65);--text-cta-link-secondary: var(--gray-65);--text-text-error-on-light: var(--watermelon-red-110);--text-nav-text-on-light-focus: var(--gray-white);--text-nav-text-on-light-selected: var(--gray-white);--text-nav-text-on-light-hover: var(--gray-white);--text-nav-text-on-light: var(--gray-white);--text-nav-text-on-dark-focus: var(--gray-white);--text-nav-text-on-dark-selected: var(--gray-white);--text-nav-text-on-dark-hover: var(--gray-white);--text-nav-text-on-dark: var(--gray-white);--text-cta-link-pressed: var(--light-blue-100);--text-cta-link-hover: var(--light-blue-120);--text-cta-link: var(--box-blue-100);--text-text-brand-on-color: var(--gray-white);--text-text-on-dark: var(--gray-white);--text-text-on-light-secondary-hover: var(--gray-80);--text-text-on-light-tertiary: var(--gray-50);--text-text-on-light-secondary: var(--gray-65);--text-text-on-light: var(--gray-100);--outline-focus-on-dark: var(--gray-white);--outline-focus-on-light: var(--light-blue-100);--icon-icon-blue: var(--box-blue-100);--icon-cta-icon-on-color-pressed: var(--gray-black);--icon-cta-icon-on-color-hover: var(--gray-black);--icon-cta-icon-on-color: var(--gray-black);--icon-cta-icon-utility-pressed: var(--gray-black);--icon-cta-icon-utility-hover: var(--gray-black);--icon-cta-icon-utility: var(--gray-80);--icon-cta-icon-pressed: var(--gray-100);--icon-cta-icon-hover: var(--gray-100);--icon-cta-icon: var(--gray-65);--icon-nav-icon-on-light-focus: var(--gray-100);--icon-nav-icon-on-light-selected: var(--gray-100);--icon-nav-icon-on-light-hover: var(--gray-100);--icon-nav-icon-on-light: var(--gray-100);--icon-nav-icon-on-dark-focus: var(--gray-white);--icon-nav-icon-on-dark-selected: var(--gray-white);--icon-nav-icon-on-dark-hover: var(--gray-white);--icon-nav-icon-on-dark: var(--gray-white);--icon-icon-required-on-light: var(--watermelon-red-110);--icon-icon-error-on-light: var(--watermelon-red-110);--icon-icon-on-dark: var(--gray-white);--icon-icon-on-light-tertiary: var(--gray-50);--icon-icon-on-light-secondary: var(--gray-65);--icon-icon-on-light: var(--gray-100);--border-toggletext-border-off-ai-pressed: var(--brand-box-ai-100);--border-toggletext-border-off-ai-hover: var(--brand-box-ai-100);--border-toggletext-border-off-ai: var(--gray-30);--border-toggletext-border-on-ai-pressed: var(--brand-box-ai-100);--border-toggletext-border-on-ai-hover: var(--brand-box-ai-100);--border-toggletext-border-on-ai: var(--brand-box-ai-100);--border-toggletext-border-on-pressed: var(--box-blue-30);--border-toggletext-border-on-hover: var(--box-blue-20);--border-toggletext-border-on: var(--box-blue-05);--border-toggletext-border-off-pressed: var(--gray-65);--border-toggletext-border-off-hover: var(--gray-65);--border-toggletext-border-off: var(--gray-65);--border-radiotile-border-selected: var(--box-blue-100);--border-radiotile-border-hover: var(--gray-30);--border-radiotile-border: var(--gray-30);--border-cta-border-secondary-disabled: var(--gray-10);--border-toggle-border-on: var(--box-blue-40);--border-contentbutton-border-selected: var(--gray-50);--border-cta-border-ai: var(--brand-box-ai-100);--border-card-border-ai: var(--brand-box-ai-100);--border-toggle-border: var(--gray-30);--border-badge-border: var(--gray-white);--border-collapsible-border: var(--gray-20);--border-filterchip-border-multi-on-hover: var(--box-blue-40);--border-filterchip-border-multi-on: var(--box-blue-40);--border-gridthumbnail-border: var(--gray-10);--border-search-global-border-hover: var(--gray-10);--border-search-border-hover: var(--gray-65);--border-search-border: var(--gray-05);--border-status-border-hover: var(--black-opacity-04);--border-avatar-border-pressed: var(--black-opacity-08);--border-avatar-border-hover: var(--black-opacity-04);--border-inputchip-border-error: var(--watermelon-red-100);--border-card-border-pressed: var(--gray-10);--border-divider-border: var(--gray-10);--border-checkbox-border-selected-hover: var(--light-blue-110);--border-checkbox-border-selected: var(--box-blue-100);--border-checkbox-border-hover: var(--gray-80);--border-checkbox-border: var(--gray-65);--border-radio-border-hover: var(--gray-80);--border-radio-border-selected-hover: var(--light-blue-110);--border-radio-border-selected: var(--box-blue-100);--border-radio-border: var(--gray-65);--border-switch-border-hover: var(--gray-30);--border-switch-border: var(--gray-30);--border-item-small-border-selected: var(--box-blue-100);--border-item-border-selected: var(--box-blue-100);--border-item-border-hover: var(--gray-10);--border-cta-border-outline-pressed: var(--gray-black);--border-cta-border-outline-hover: var(--gray-black);--border-cta-border-outline: var(--gray-black);--border-tab-border-hover: var(--gray-30);--border-tab-border: var(--gray-10);--border-tab-border-selected-focus: var(--box-blue-100);--border-tab-border-selected-hover: var(--box-blue-100);--border-tab-border-selected: var(--box-blue-100);--border-tooltip-border-error: var(--watermelon-red-50);--border-dropdown-border-error-focus: var(--watermelon-red-100);--border-dropdown-border-error-hover: var(--watermelon-red-100);--border-dropdown-border-error: var(--watermelon-red-100);--border-dropdown-border-focus: var(--box-blue-100);--border-dropdown-border-hover: var(--gray-65);--border-dropdown-border: var(--gray-30);--border-input-border-error-focus: var(--watermelon-red-100);--border-input-border-error-hover: var(--watermelon-red-100);--border-input-border-error: var(--watermelon-red-100);--border-input-border-focus: var(--light-blue-100);--border-input-border-hover: var(--gray-65);--border-input-border: var(--gray-50);--border-message-border-error-secondary: var(--watermelon-red-50);--border-message-border-error: var(--watermelon-red-100);--border-message-border-warning-secondary: var(--yellorange-50);--border-message-border-warning: var(--yellorange-100);--border-message-border-success-secondary: var(--green-light-50);--border-message-border-success: var(--green-light-100);--border-message-border-info-secondary: var(--light-blue-50);--border-message-border-info: var(--box-blue-100);--border-message-border-generic-secondary: var(--gray-50);--border-message-border-generic: var(--gray-100);--border-card-border-focus: var(--box-blue-100);--border-card-border-hover: var(--gray-10);--border-card-border: var(--gray-10);--border-cta-border-secondary-hover: var(--gray-30);--border-cta-border-secondary-pressed: var(--gray-30);--border-cta-border-secondary: var(--gray-30);--surface-toggletext-surface-off-ai-pressed: var(--gray-10);--surface-toggletext-surface-off-ai-hover: var(--gray-05);--surface-toggletext-surface-off-ai: var(--gray-white);--surface-toggletext-surface-on-ai-pressed: var(--brand-box-ai-140);--surface-toggletext-surface-on-ai-hover: var(--brand-box-ai-120);--surface-toggletext-surface-on-ai: var(--brand-box-ai-100);--surface-toggletext-surface-on-pressed: var(--box-blue-30);--surface-toggletext-surface-on-hover: var(--box-blue-20);--surface-toggletext-surface-on: var(--box-blue-05);--surface-radiotile-surface-selected: var(--box-blue-05);--surface-radiotile-surface-hover: var(--gray-05);--surface-radiotile-surface: var(--gray-white);--surface-cta-surface-disabled: var(--box-blue-30);--surface-toggle-surface-on-pressed: var(--box-blue-30);--surface-toggle-surface-off-pressed: var(--gray-10);--surface-toolbar-surface: var(--gray-100);--surface-contentswitcher-surface: var(--gray-10);--surface-contentbutton-surface-surface-selected: var(--gray-white);--surface-cta-surface-promo-focus-pressed: var(--grimace-120);--surface-cta-surface-promo-focus: var(--grimace-100);--surface-cta-surface-promo-pressed: var(--grimace-120);--surface-cta-surface-promo-hover: var(--grimace-100);--surface-cta-surface-promo: var(--grimace-110);--surface-upload-surface-brand-neutral: var(--box-blue-100);--surface-illustration-surface-box: var(--box-blue-100);--surface-illustration-surface-box-neutral: var(--box-blue-100);--surface-progressbar-surface-brand: var(--box-blue-100);--surface-nav-surface-brand: var(--box-blue-100);--surface-text-highlight-surface: var(--yellow-20);--surface-toggle-surface-pressed-hover: var(--box-blue-80);--surface-toggle-surface-pressed: var(--box-blue-100);--surface-toggle-surface-hover: var(--gray-05);--surface-toggle-surface: var(--gray-white);--surface-dropdown-secondary-surface-pressed: var(--gray-10);--surface-dropdown-secondary-surface-hover: var(--gray-05);--surface-dropdown-secondary-surface: var(--gray-white);--surface-dropdown-primary-surface-pressed: var(--gray-10);--surface-dropdown-primary-surface-hover: var(--gray-05);--surface-option-grid-surface-selected: var(--black-opacity-08);--surface-option-grid-surface-hover: var(--black-opacity-04);--surface-page-surface: var(--gray-white);--surface-chip-button-surface-hover: var(--black-opacity-08);--surface-chip-button-surface: var(--black-opacity-04);--surface-badge-notification-surface: var(--watermelon-red-110);--surface-badge-progress-surface: var(--yellorange-100);--surface-badge-offline-surface: var(--green-light-100);--surface-badge-collection-surface: var(--gray-10);--surface-badge-pin-surface: var(--gray-10);--surface-badge-online-surface: var(--green-light-120);--surface-badge-coadmin-surface: var(--purple-rain-100);--surface-badge-admin-surface: var(--dark-blue-100);--surface-badge-external-surface: var(--gray-50);--surface-badge-error-surface: var(--watermelon-red-110);--surface-badge-rejected-surface: var(--watermelon-red-110);--surface-badge-completed-surface: var(--green-light-100);--surface-badge-annotation-surface: var(--yellorange-100);--surface-badge-taskapproval-surface: var(--light-blue-120);--surface-badge-task-surface: var(--light-blue-100);--surface-badge-mention-surface: var(--light-blue-120);--surface-badge-relay-surface: var(--light-blue-120);--surface-badge-foldershared-surface: var(--light-blue-100);--surface-badge-folderexternal-surface: var(--gray-65);--surface-badge-boxnote-surface: var(--gray-10);--surface-badge-canvas-surface: var(--orange-100);--surface-badge-image-surface: var(--green-light-100);--surface-accordion-surface-hover: var(--gray-05);--surface-accordion-surface: var(--gray-white);--surface-tab-surface-pressed: var(--gray-10);--surface-tab-surface-hover: var(--gray-05);--surface-day-surface-selected-hover: var(--dark-blue-100);--surface-day-surface-selected: var(--box-blue-100);--surface-day-surface-hover: var(--gray-05);--surface-day-surface: var(--gray-white);--surface-search-surface-focused: var(--gray-white);--surface-search-surface-hover: var(--gray-02);--surface-search-global-surface: var(--gray-05);--surface-search-surface: var(--gray-05);--surface-scrollbar-surface: var(--black-opacity-50);--surface-sliderthumb-surface-hover: var(--light-blue-100);--surface-sliderthumb-surface: var(--box-blue-100);--surface-slidertrack-surface: var(--gray-65);--surface-filterchip-surface-single-on-hover: var(--box-blue-100);--surface-filterchip-surface-single-on: var(--box-blue-100);--surface-filterchip-surface-single-hover: var(--black-opacity-08);--surface-filterchip-surface-single: var(--black-opacity-04);--surface-filterchip-surface-multi-on-hover: var(--box-blue-20);--surface-filterchip-surface-multi-on: var(--box-blue-10);--surface-filterchip-surface-multi-hover: var(--black-opacity-08);--surface-filterchip-surface-multi: var(--black-opacity-04);--surface-inputchip-surface-error: var(--watermelon-red-10);--surface-inputchip-surface-hover: var(--gray-10);--surface-inputchip-surface: var(--gray-10);--surface-ghost-surface-secondary: var(--gray-05);--surface-ghost-surface: var(--gray-02);--surface-checkbox-surface-selected-hover: var(--light-blue-110);--surface-checkbox-surface-selected: var(--box-blue-100);--surface-checkbox-surface-hover: var(--gray-white);--surface-checkbox-surface: var(--gray-white);--surface-radio-surface-selected-hover: var(--light-blue-110);--surface-radio-surface-selected: var(--box-blue-100);--surface-radio-surface-hover: var(--gray-white);--surface-radio-surface: var(--gray-white);--surface-switch-surface-on-hover: var(--light-blue-110);--surface-switch-surface-on: var(--box-blue-100);--surface-switch-surface-off-hover: var(--gray-30);--surface-switch-surface-off: var(--gray-20);--surface-switch-surface-hover: var(--gray-white);--surface-switch-surface: var(--gray-white);--surface-item-small-surface-selected: var(--box-blue-05);--surface-item-small-surface-hover: var(--gray-05);--surface-item-small-surface: var(--gray-white);--surface-item-surface-selected: var(--box-blue-05);--surface-item-surface-hover: var(--gray-white);--surface-status-surface-gray-focus: var(--gray-10);--surface-status-surface-gray-hover: var(--gray-10);--surface-status-surface-gray: var(--gray-10);--surface-status-surface-boxblue-focus: var(--box-blue-100);--surface-status-surface-boxblue-hover: var(--box-blue-100);--surface-status-surface-boxblue: var(--box-blue-100);--surface-status-surface-green-focus: var(--green-light-50);--surface-status-surface-green-hover: var(--green-light-50);--surface-status-surface-green: var(--green-light-50);--surface-status-surface-dark-blue-focus: var(--dark-blue-50);--surface-status-surface-dark-blue-hover: var(--dark-blue-50);--surface-status-surface-dark-blue: var(--dark-blue-50);--surface-status-surface-light-blue-focus: var(--light-blue-50);--surface-status-surface-light-blue-hover: var(--light-blue-50);--surface-status-surface-light-blue: var(--light-blue-50);--surface-status-surface-purple-focus: var(--purple-rain-50);--surface-status-surface-purple-hover: var(--purple-rain-50);--surface-status-surface-purple: var(--purple-rain-50);--surface-status-surface-red-focus: var(--watermelon-red-50);--surface-status-surface-red-hover: var(--watermelon-red-50);--surface-status-surface-red: var(--watermelon-red-50);--surface-status-surface-orange-focus: var(--orange-50);--surface-status-surface-orange-hover: var(--orange-50);--surface-status-surface-orange: var(--orange-50);--surface-status-surface-yellow-focus: var(--yellow-50);--surface-status-surface-yellow-hover: var(--yellow-50);--surface-status-surface-yellow: var(--yellow-50);--surface-cta-surface-tertiary-promo-focus-pressed: var(--grimace-20);--surface-cta-surface-tertiary-promo-focus: var(--grimace-05);--surface-cta-surface-tertiary-promo-pressed: var(--grimace-20);--surface-cta-surface-tertiary-promo-hover: var(--grimace-05);--surface-cta-surface-tertiary-promo: var(--grimace-10);--surface-cta-surface-tertiary-pressed: var(--gray-10);--surface-cta-surface-tertiary-hover: var(--gray-05);--surface-cta-surface-tertiary: var(--gray-white);--surface-cta-surface-icon-utility-pressed: var(--gray-30);--surface-cta-surface-icon-utility-hover: var(--gray-20);--surface-cta-surface-icon-utility: var(--gray-10);--surface-cta-surface-icon-pressed: var(--black-opacity-08);--surface-cta-surface-icon-hover: var(--black-opacity-04);--surface-cta-surface-icon-disabled: var(--black-opacity-00);--surface-cta-surface-icon: var(--black-opacity-00);--surface-cta-surface-outline-pressed: var(--black-opacity-08);--surface-cta-surface-outline-hover: var(--black-opacity-04);--surface-cta-surface-outline: var(--black-opacity-00);--surface-status-surface-inprogress: var(--yellorange-100);--surface-status-surface-uploading: var(--box-blue-100);--surface-status-surface-scheduled: var(--purple-rain-100);--surface-status-surface-pending: var(--gray-40);--surface-status-surface-error: var(--watermelon-red-100);--surface-status-surface-success: var(--green-light-100);--surface-status-surface-generic: var(--gray-40);--surface-filter-surface-selected-focus: var(--box-blue-100);--surface-filter-surface-selected: var(--box-blue-100);--surface-filter-surface-focus: var(--box-blue-100);--surface-filter-surface-hover: var(--box-blue-100);--surface-filter-surface: var(--box-blue-100);--surface-pill-surface-focus: var(--gray-10);--surface-pill-surface-hover: var(--gray-10);--surface-pill-surface: var(--gray-10);--surface-message-surface-promo-secondary: var(--grimace-10);--surface-message-surface-success-secondary: var(--green-light-10);--surface-message-surface-success: var(--green-light-20);--surface-message-surface-info-secondary: var(--light-blue-10);--surface-message-surface-info: var(--light-blue-20);--surface-message-surface-generic-secondary: var(--gray-10);--surface-message-surface-generic: var(--gray-10);--surface-tooltip-surface-error: var(--watermelon-red-10);--surface-tooltip-surface: var(--gray-80);--surface-message-surface-error-secondary: var(--watermelon-red-10);--surface-message-surface-error: var(--watermelon-red-20);--surface-message-surface-warning-secondary: var(--yellorange-10);--surface-message-surface-warning: var(--yellorange-20);--surface-toggle-surface-on-hover: var(--box-blue-20);--surface-toggle-surface-on: var(--box-blue-10);--surface-toggle-surface-off-hover: var(--gray-05);--surface-input-surface-error-focus: var(--gray-white);--surface-input-surface-error-hover: var(--gray-white);--surface-input-surface-error: var(--gray-white);--surface-input-surface-focus: var(--gray-white);--surface-input-surface-hover: var(--gray-white);--surface-input-surface: var(--gray-white);--surface-dropdown-surface-error-focus: var(--gray-white);--surface-dropdown-surface-error-hover: var(--gray-white);--surface-dropdown-surface-error: var(--gray-white);--surface-dropdown-surface-focus: var(--gray-white);--surface-dropdown-surface-hover: var(--gray-white);--surface-dropdown-surface: var(--gray-white);--surface-cta-surface-secondary-focus-pressed: var(--gray-10);--surface-cta-surface-secondary-pressed: var(--gray-10);--surface-cta-surface-secondary-focus: var(--gray-05);--surface-cta-surface-secondary-hover: var(--gray-05);--surface-cta-surface-secondary-disabled: var(--gray-white);--surface-cta-surface-secondary-busy: var(--gray-white);--surface-cta-surface-secondary: var(--gray-white);--surface-surface-brand-secondary: var(--box-blue-10);--surface-menu-surface-focus: var(--gray-05);--surface-menu-surface-pressed: var(--gray-05);--surface-menu-surface-hover: var(--gray-05);--surface-menu-surface: var(--gray-white);--surface-card-surface-pressed: var(--gray-02);--surface-card-surface-focus: var(--box-blue-05);--surface-card-surface-hover: var(--gray-white);--surface-card-surface: var(--gray-white);--surface-surface-secondary-focus: var(--gray-02);--surface-surface-secondary-hover: var(--gray-05);--surface-surface-quaternary: var(--gray-20);--surface-surface-tertiary: var(--gray-10);--surface-surface-secondary: var(--gray-02);--surface-surface-hover: var(--gray-05);--surface-surface: var(--gray-white);--background-background: var(--gray-white)}._noAttributesText_13fs7_753{text-align:center}._fieldWrapper_13fs7_757{isolation:isolate;position:relative}._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>input,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>button,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>div[role=group]>div,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>div>div{border-bottom:none!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>input:not(:disabled):not(:focus-visible):not(._error_13fs7_770):hover,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>button:not(:disabled):not(:focus-visible):not(._error_13fs7_770):hover,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>div[role=group]>div:not(:disabled):not(:focus-visible):not(._error_13fs7_770):hover,._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762>div>div:not(:disabled):not(:focus-visible):not(._error_13fs7_770):hover{border-bottom:none}._fieldWrapper_13fs7_757 ._hasSuggestion_13fs7_762 div[role=group]>div{margin-left:var(--border-1);margin-right:var(--border-1)}._fieldWrapper_13fs7_757 ._dateField_13fs7_782>div[role=group]>div{padding-inline:.75rem}._fieldWrapper_13fs7_757 ._suggestionApplied_13fs7_786>._comboboxContainer_13fs7_786,._fieldWrapper_13fs7_757 ._suggestionApplied_13fs7_786>input,._fieldWrapper_13fs7_757 ._suggestionApplied_13fs7_786>button,._fieldWrapper_13fs7_757 ._suggestionApplied_13fs7_786>div[role=group]>div,._fieldWrapper_13fs7_757 ._suggestionApplied_13fs7_786>div>div{border:double var(--border-1) transparent!important;box-sizing:border-box!important;border-radius:var(--radius-2);background-image:linear-gradient(#fff,#fff),linear-gradient(135deg,#fe03dc 0%,#2784fa 100%)!important;background-origin:border-box!important;background-clip:padding-box,border-box!important;outline:none}
|
1
|
+
:root{--notification-default-paragraph-indent: 0rem;--notification-default-paragraph-spacing: 0;--notification-default-text-case: none;--notification-default-text-decoration: none;--notification-default-letter-spacing: .01875rem;--notification-default-font-size: .5625rem;--notification-default-line-height: .75rem;--breakpoint-xlarge: 1219px;--breakpoint-large: 1023px;--breakpoint-medium: 767px;--breakpoint-small: 374px;--animation-easing-ease-base: cubic-bezier(.16, 1, .3, 1);--animation-duration-4: .4s;--animation-duration-3: .3s;--animation-duration-2: .2s;--text-decoration-underline: underline;--font-weights-black: 900;--font-weights-bold: 700;--font-weights-semibold: 600;--font-weights-regular: 400;--font-families-sans: Lato, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--border-8: .5rem;--border-6: .375rem;--border-4: .25rem;--white-opacity-30: #ffffff4d;--white-opacity-70: #ffffffb3;--size-20: 5rem;--size-18: 4.5rem;--size-16: 4rem;--size-15: 3.75rem;--size-14: 3.5rem;--size-12: 3rem;--size-11: 2.75rem;--size-10: 2.5rem;--size-9: 2.25rem;--size-8: 2rem;--size-7: 1.75rem;--size-6: 1.5rem;--size-5: 1.25rem;--size-4: 1rem;--size-3: .75rem;--size-2: .5rem;--size-1: .25rem;--size-05: .125rem;--black-opacity-00: rgba(0, 0, 0, 0);--black-opacity-04: rgba(0, 0, 0, .04);--black-opacity-08: rgba(0, 0, 0, .08);--black-opacity-50: rgba(0, 0, 0, .5);--black-opacity-60: rgba(0, 0, 0, .6);--black-opacity-80: rgba(0, 0, 0, .8);--innershadow-1: inset 0 .125rem .25rem 0 rgba(0, 0, 0, .1);--dropshadow-1: 0 0 .5rem 0 rgba(0, 0, 0, .05);--dropshadow-2: 0 .0625rem .25rem 0 rgba(0, 0, 0, .1);--dropshadow-3-inverse: 0 -.25rem .75rem 0 rgba(0, 0, 0, .1);--dropshadow-3: 0 .25rem .75rem 0 rgba(0, 0, 0, .1);--space-20: 5rem;--space-18: 4.5rem;--space-16: 4rem;--space-15: 3.75rem;--space-14: 3.5rem;--space-12: 3rem;--space-11: 2.75rem;--space-10: 2.5rem;--space-9: 2.25rem;--space-8: 2rem;--space-7: 1.75rem;--space-6: 1.5rem;--space-5: 1.25rem;--space-4: 1rem;--space-3: .75rem;--space-2: .5rem;--space-1: .25rem;--space-05: .125rem;--border-3: .1875rem;--border-2: .125rem;--border-1: .0625rem;--radius-half: 2rem;--radius-8: 1.75rem;--radius-7: 1.5rem;--radius-6: 1.25rem;--radius-5: 1rem;--radius-4: .75rem;--radius-3: .5rem;--radius-2: .375rem;--radius-1: .25rem;--radius-05: .125rem;--link-default-text-case: none;--link-default-paragraph-indent: 0rem;--link-default-paragraph-spacing: 0;--link-default-letter-spacing: .01875rem;--link-default-font-size: .875rem;--link-default-line-height: 1.25rem;--label-default-text-decoration: none;--label-default-text-case: none;--label-default-paragraph-spacing: 0;--label-default-letter-spacing: .0375rem;--label-default-font-size: .625rem;--label-default-line-height: 1rem;--label-bold-text-decoration: none;--label-bold-text-case: none;--label-bold-paragraph-spacing: 0;--label-bold-letter-spacing: .0375rem;--label-bold-font-size: .625rem;--label-bold-line-height: 1rem;--caption-default-text-decoration: none;--caption-default-text-case: none;--caption-default-paragraph-spacing: 0;--caption-default-letter-spacing: .01875rem;--caption-default-font-size: .75rem;--caption-default-line-height: .875rem;--caption-bold-text-decoration: none;--caption-bold-text-case: none;--caption-bold-paragraph-spacing: 0;--caption-bold-letter-spacing: .01875rem;--caption-bold-font-size: .75rem;--caption-bold-line-height: .875rem;--body-default-text-decoration: none;--body-default-text-case: none;--body-default-paragraph-spacing: 0;--body-default-letter-spacing: .01875rem;--body-default-font-size: .875rem;--body-default-line-height: 1.25rem;--body-default-semibold-text-decoration: none;--body-default-semibold-text-case: none;--body-default-semibold-paragraph-spacing: 0;--body-default-semibold-letter-spacing: .01875rem;--body-default-semibold-font-size: .875rem;--body-default-semibold-line-height: 1.25rem;--body-default-bold-text-decoration: none;--body-default-bold-text-case: none;--body-default-bold-paragraph-spacing: 0;--body-default-bold-letter-spacing: .01875rem;--body-default-bold-font-size: .875rem;--body-default-bold-line-height: 1.25rem;--body-large-bold-text-decoration: none;--body-large-bold-text-case: none;--body-large-bold-paragraph-spacing: 0;--body-large-bold-letter-spacing: .01875rem;--body-large-bold-font-size: 1rem;--body-large-bold-line-height: 1.5rem;--body-large-text-decoration: none;--body-large-text-case: none;--body-large-paragraph-spacing: 0;--body-large-letter-spacing: .01875rem;--body-large-font-size: 1rem;--body-large-line-height: 1.5rem;--title-mondo-text-decoration: none;--title-mondo-text-case: none;--title-mondo-paragraph-spacing: 0;--title-mondo-letter-spacing: 0;--title-mondo-font-size: 2.25rem;--title-mondo-line-height: 2.75rem;--title-x-large-text-decoration: none;--title-x-large-text-case: none;--title-x-large-paragraph-spacing: 0;--title-x-large-letter-spacing: .01875rem;--title-x-large-font-size: 1.3125rem;--title-x-large-line-height: 2rem;--title-large-text-decoration: none;--title-large-text-case: none;--title-large-paragraph-spacing: 0;--title-large-letter-spacing: .01875rem;--title-large-font-size: 1.125rem;--title-large-line-height: 1.5rem;--title-medium-text-decoration: none;--title-medium-text-case: none;--title-medium-paragraph-spacing: 0;--title-medium-letter-spacing: .01875rem;--title-medium-font-size: 1rem;--title-medium-line-height: 1.5rem;--title-small-text-decoration: none;--title-small-text-case: none;--title-small-paragraph-spacing: 0;--title-small-letter-spacing: .01875rem;--title-small-font-size: .9375rem;--title-small-line-height: 1.25rem;--title-subtitle-text-decoration: none;--title-subtitle-text-case: none;--title-subtitle-paragraph-spacing: 0;--title-subtitle-letter-spacing: .01875rem;--title-subtitle-font-size: .875rem;--title-subtitle-line-height: 1.25rem;--grimace-02: #fbfbfe;--grimace-05: #f6f4fc;--grimace-180: #0e0827;--grimace-170: #160b3a;--grimace-160: #1d0f4e;--grimace-150: #241361;--grimace-120: #3a1e9b;--grimace-110: #4122af;--grimace-100: #4826c2;--grimace-50: #a392e0;--grimace-20: #dad4f3;--grimace-10: #ece9f8;--purple-rain-02: #fdfbff;--purple-rain-05: #faf5fe;--purple-rain-180: #200d2f;--purple-rain-170: #301347;--purple-rain-160: #40195f;--purple-rain-150: #4f1f76;--purple-rain-120: #7f32be;--purple-rain-110: #8f39d5;--purple-rain-100: #9f3fed;--purple-rain-50: #cf9ff6;--purple-rain-20: #ecd9fb;--purple-rain-10: #f5ebfd;--yellow-02: #fffefa;--yellow-05: #fffdf2;--yellow-180: #332b00;--yellow-170: #4c4000;--yellow-160: #665600;--yellow-150: #806b00;--yellow-120: #ccac00;--yellow-110: #e6c100;--yellow-100: #ffd700;--yellow-50: #ffeb7f;--yellow-20: #fff7cc;--yellow-10: #fffbe5;--yellorange-02: #fffefb;--yellorange-05: #fefbf3;--yellorange-180: #312405;--yellorange-170: #493608;--yellorange-160: #62480b;--yellorange-150: #7a590d;--yellorange-120: #c48f16;--yellorange-110: #dca118;--yellorange-100: #f5b31b;--yellorange-50: #fad98d;--yellorange-20: #fdf0d1;--yellorange-10: #fef7e8;--orange-02: #fffdfb;--orange-05: #fef8f3;--orange-180: #301a05;--orange-170: #482708;--orange-160: #60340a;--orange-150: #78400d;--orange-120: #c16715;--orange-110: #d97417;--orange-100: #f1811a;--orange-50: #f8c08c;--orange-20: #fce6d1;--orange-10: #fdf2e8;--watermelon-red-02: #fffbfc;--watermelon-red-05: #fef5f6;--watermelon-red-180: #2f0b11;--watermelon-red-170: #47101a;--watermelon-red-160: #5f1623;--watermelon-red-150: #761b2b;--watermelon-red-120: #be2c46;--watermelon-red-110: #d5324e;--watermelon-red-100: #ed3757;--watermelon-red-50: #f69bab;--watermelon-red-20: #fbd7dd;--watermelon-red-10: #fdebee;--green-light-02: #fbfefd;--green-light-05: #f4fcf8;--green-light-180: #08271a;--green-light-170: #0b3a27;--green-light-160: #0f4e34;--green-light-150: #136140;--green-light-120: #1e9b67;--green-light-110: #22af74;--green-light-100: #26c281;--green-light-50: #92e0c0;--green-light-20: #d4f3e6;--green-light-10: #e9f8f2;--light-blue-02: #fbfdff;--light-blue-05: #f4f9ff;--light-blue-180: #071b32;--light-blue-170: #0b284c;--light-blue-160: #0e3665;--light-blue-150: #12437e;--light-blue-120: #1d6bca;--light-blue-110: #2079e3;--light-blue-100: #2486fc;--light-blue-50: #91c2fd;--light-blue-20: #d3e7fe;--light-blue-10: #e9f2fe;--dark-blue-02: #fafbfd;--dark-blue-05: #f2f5f9;--dark-blue-180: #000c1a;--dark-blue-170: #001228;--dark-blue-160: #001835;--dark-blue-150: #001e42;--dark-blue-120: #00306a;--dark-blue-110: #003677;--dark-blue-100: #003c84;--dark-blue-50: #7f9dc1;--dark-blue-20: #ccd8e6;--dark-blue-10: #e5ebf2;--box-blue-02: #fafcfe;--box-blue-05: #f2f7fd;--box-blue-180: #00132b;--box-blue-170: #001d40;--box-blue-160: #002755;--box-blue-150: #00316b;--box-blue-120: #004eaa;--box-blue-110: #0057c0;--box-blue-100: #0061d5;--box-blue-80: #3381dd;--box-blue-50: #7fb0ea;--box-blue-40: #99c0ee;--box-blue-30: #b2cff2;--box-blue-20: #ccdff7;--box-blue-10: #e5effa;--gray-white: #ffffff;--gray-black: #000000;--gray-05: #f4f4f4;--gray-02: #fbfbfb;--gray-100: #222222;--gray-90: #383838;--gray-80: #4e4e4e;--gray-65: #6f6f6f;--gray-50: #909090;--gray-40: #a7a7a7;--gray-30: #bcbcbc;--gray-20: #d3d3d3;--gray-10: #e8e8e8;--brand-box-ai-140: linear-gradient(135deg, #980284 0%, #174f96 100%);--brand-box-ai-120: linear-gradient(135deg, #cb02b0 0%, #1f6ac8 100%);--brand-box-ai-100: linear-gradient(135deg, #fe03dc 0%, #2784fa 100%);--border-cta-border-outline-disabled: #646464;--surface-badge-video-surface: #009aed;--surface-badge-keynote-surface: #0a84ff;--surface-badge-pages-surface: #ff9500;--surface-badge-sheets-surface: #21a464;--surface-badge-docs-surface: #4083f7;--surface-badge-pdf-surface: #d0021b;--surface-surface-brand-disabled: #0061d5;--surface-surface-brand-busy: #0061d5;--surface-surface-brand-pressed: #004eac;--surface-surface-brand-hover: #006ae9;--surface-surface-brand: #0061d5;--notification-default-font-weight: 700;--notification-default-font-family: var(--font-families-sans);--motion-transition-slide-in: var(--animation-duration-4) var(--animation-easing-ease-base);--link-default-text-decoration: var(--text-decoration-underline);--link-default-font-weight: 400;--link-default-font-family: var(--font-families-sans);--label-default-font-weight: 400;--label-default-font-family: var(--font-families-sans);--label-bold-font-weight: 700;--label-bold-font-family: var(--font-families-sans);--caption-default-font-weight: 400;--caption-default-font-family: var(--font-families-sans);--caption-bold-font-weight: 700;--caption-bold-font-family: var(--font-families-sans);--body-default-font-weight: 400;--body-default-font-family: var(--font-families-sans);--body-default-semibold-font-weight: 600;--body-default-semibold-font-family: var(--font-families-sans);--body-default-bold-font-weight: 700;--body-default-bold-font-family: var(--font-families-sans);--body-large-bold-font-weight: 700;--body-large-bold-font-family: var(--font-families-sans);--body-large-font-weight: 400;--body-large-font-family: var(--font-families-sans);--title-mondo-font-weight: 900;--title-mondo-font-family: var(--font-families-sans);--title-x-large-font-weight: 700;--title-x-large-font-family: var(--font-families-sans);--title-large-font-weight: 700;--title-large-font-family: var(--font-families-sans);--title-medium-font-weight: 700;--title-medium-font-family: var(--font-families-sans);--title-small-font-weight: 700;--title-small-font-family: var(--font-families-sans);--title-subtitle-font-weight: 700;--title-subtitle-font-family: var(--font-families-sans);--brand-sign-tertiary: var(--dark-blue-10);--brand-sign-secondary: var(--dark-blue-20);--brand-sign-primary: var(--dark-blue-100);--brand-docgen-tertiary: var(--grimace-10);--brand-docgen-secondary: var(--grimace-20);--brand-docgen-primary: var(--grimace-120);--brand-forms-tertiary: var(--green-light-10);--brand-forms-secondary: var(--green-light-20);--brand-forms-primary: var(--green-light-120);--brand-box-tertiary: var(--box-blue-10);--brand-box-secondary: var(--box-blue-20);--brand-box-primary: var(--box-blue-100);--overlay-modal-overlay: var(--black-opacity-80);--overlay-sidepanel-overlay: var(--black-opacity-50);--text-toggletext-text: var(--box-blue-170);--text-text-on-light-disabled: var(--gray-30);--text-cta-link-disabled: var(--box-blue-30);--text-cta-promo: var(--grimace-100);--text-cta-link-secondary-hover: var(--gray-65);--text-cta-link-secondary-pressed: var(--gray-65);--text-cta-link-secondary: var(--gray-65);--text-text-error-on-light: var(--watermelon-red-110);--text-nav-text-on-light-focus: var(--gray-white);--text-nav-text-on-light-selected: var(--gray-white);--text-nav-text-on-light-hover: var(--gray-white);--text-nav-text-on-light: var(--gray-white);--text-nav-text-on-dark-focus: var(--gray-white);--text-nav-text-on-dark-selected: var(--gray-white);--text-nav-text-on-dark-hover: var(--gray-white);--text-nav-text-on-dark: var(--gray-white);--text-cta-link-pressed: var(--light-blue-100);--text-cta-link-hover: var(--light-blue-120);--text-cta-link: var(--box-blue-100);--text-text-brand-on-color: var(--gray-white);--text-text-on-dark: var(--gray-white);--text-text-on-light-secondary-hover: var(--gray-80);--text-text-on-light-tertiary: var(--gray-50);--text-text-on-light-secondary: var(--gray-65);--text-text-on-light: var(--gray-100);--outline-focus-on-dark: var(--gray-white);--outline-focus-on-light: var(--light-blue-100);--icon-icon-blue: var(--box-blue-100);--icon-cta-icon-on-color-pressed: var(--gray-black);--icon-cta-icon-on-color-hover: var(--gray-black);--icon-cta-icon-on-color: var(--gray-black);--icon-cta-icon-utility-pressed: var(--gray-black);--icon-cta-icon-utility-hover: var(--gray-black);--icon-cta-icon-utility: var(--gray-80);--icon-cta-icon-pressed: var(--gray-100);--icon-cta-icon-hover: var(--gray-100);--icon-cta-icon: var(--gray-65);--icon-nav-icon-on-light-focus: var(--gray-100);--icon-nav-icon-on-light-selected: var(--gray-100);--icon-nav-icon-on-light-hover: var(--gray-100);--icon-nav-icon-on-light: var(--gray-100);--icon-nav-icon-on-dark-focus: var(--gray-white);--icon-nav-icon-on-dark-selected: var(--gray-white);--icon-nav-icon-on-dark-hover: var(--gray-white);--icon-nav-icon-on-dark: var(--gray-white);--icon-icon-required-on-light: var(--watermelon-red-110);--icon-icon-error-on-light: var(--watermelon-red-110);--icon-icon-on-dark: var(--gray-white);--icon-icon-on-light-tertiary: var(--gray-50);--icon-icon-on-light-secondary: var(--gray-65);--icon-icon-on-light: var(--gray-100);--border-toggletext-border-off-ai-pressed: var(--brand-box-ai-100);--border-toggletext-border-off-ai-hover: var(--brand-box-ai-100);--border-toggletext-border-off-ai: var(--gray-30);--border-toggletext-border-on-ai-pressed: var(--brand-box-ai-100);--border-toggletext-border-on-ai-hover: var(--brand-box-ai-100);--border-toggletext-border-on-ai: var(--brand-box-ai-100);--border-toggletext-border-on-pressed: var(--box-blue-30);--border-toggletext-border-on-hover: var(--box-blue-20);--border-toggletext-border-on: var(--box-blue-05);--border-toggletext-border-off-pressed: var(--gray-65);--border-toggletext-border-off-hover: var(--gray-65);--border-toggletext-border-off: var(--gray-65);--border-radiotile-border-selected: var(--box-blue-100);--border-radiotile-border-hover: var(--gray-30);--border-radiotile-border: var(--gray-30);--border-cta-border-secondary-disabled: var(--gray-10);--border-toggle-border-on: var(--box-blue-40);--border-contentbutton-border-selected: var(--gray-50);--border-cta-border-ai: var(--brand-box-ai-100);--border-card-border-ai: var(--brand-box-ai-100);--border-toggle-border: var(--gray-30);--border-badge-border: var(--gray-white);--border-collapsible-border: var(--gray-20);--border-filterchip-border-multi-on-hover: var(--box-blue-40);--border-filterchip-border-multi-on: var(--box-blue-40);--border-gridthumbnail-border: var(--gray-10);--border-search-global-border-hover: var(--gray-10);--border-search-border-hover: var(--gray-65);--border-search-border: var(--gray-05);--border-status-border-hover: var(--black-opacity-04);--border-avatar-border-pressed: var(--black-opacity-08);--border-avatar-border-hover: var(--black-opacity-04);--border-inputchip-border-error: var(--watermelon-red-100);--border-card-border-pressed: var(--gray-10);--border-divider-border: var(--gray-10);--border-checkbox-border-selected-hover: var(--light-blue-110);--border-checkbox-border-selected: var(--box-blue-100);--border-checkbox-border-hover: var(--gray-80);--border-checkbox-border: var(--gray-65);--border-radio-border-hover: var(--gray-80);--border-radio-border-selected-hover: var(--light-blue-110);--border-radio-border-selected: var(--box-blue-100);--border-radio-border: var(--gray-65);--border-switch-border-hover: var(--gray-30);--border-switch-border: var(--gray-30);--border-item-small-border-selected: var(--box-blue-100);--border-item-border-selected: var(--box-blue-100);--border-item-border-hover: var(--gray-10);--border-cta-border-outline-pressed: var(--gray-black);--border-cta-border-outline-hover: var(--gray-black);--border-cta-border-outline: var(--gray-black);--border-tab-border-hover: var(--gray-30);--border-tab-border: var(--gray-10);--border-tab-border-selected-focus: var(--box-blue-100);--border-tab-border-selected-hover: var(--box-blue-100);--border-tab-border-selected: var(--box-blue-100);--border-tooltip-border-error: var(--watermelon-red-50);--border-dropdown-border-error-focus: var(--watermelon-red-100);--border-dropdown-border-error-hover: var(--watermelon-red-100);--border-dropdown-border-error: var(--watermelon-red-100);--border-dropdown-border-focus: var(--box-blue-100);--border-dropdown-border-hover: var(--gray-65);--border-dropdown-border: var(--gray-30);--border-input-border-error-focus: var(--watermelon-red-100);--border-input-border-error-hover: var(--watermelon-red-100);--border-input-border-error: var(--watermelon-red-100);--border-input-border-focus: var(--light-blue-100);--border-input-border-hover: var(--gray-65);--border-input-border: var(--gray-50);--border-message-border-error-secondary: var(--watermelon-red-50);--border-message-border-error: var(--watermelon-red-100);--border-message-border-warning-secondary: var(--yellorange-50);--border-message-border-warning: var(--yellorange-100);--border-message-border-success-secondary: var(--green-light-50);--border-message-border-success: var(--green-light-100);--border-message-border-info-secondary: var(--light-blue-50);--border-message-border-info: var(--box-blue-100);--border-message-border-generic-secondary: var(--gray-50);--border-message-border-generic: var(--gray-100);--border-card-border-focus: var(--box-blue-100);--border-card-border-hover: var(--gray-10);--border-card-border: var(--gray-10);--border-cta-border-secondary-hover: var(--gray-30);--border-cta-border-secondary-pressed: var(--gray-30);--border-cta-border-secondary: var(--gray-30);--surface-toggletext-surface-off-ai-pressed: var(--gray-10);--surface-toggletext-surface-off-ai-hover: var(--gray-05);--surface-toggletext-surface-off-ai: var(--gray-white);--surface-toggletext-surface-on-ai-pressed: var(--brand-box-ai-140);--surface-toggletext-surface-on-ai-hover: var(--brand-box-ai-120);--surface-toggletext-surface-on-ai: var(--brand-box-ai-100);--surface-toggletext-surface-on-pressed: var(--box-blue-30);--surface-toggletext-surface-on-hover: var(--box-blue-20);--surface-toggletext-surface-on: var(--box-blue-05);--surface-radiotile-surface-selected: var(--box-blue-05);--surface-radiotile-surface-hover: var(--gray-05);--surface-radiotile-surface: var(--gray-white);--surface-cta-surface-disabled: var(--box-blue-30);--surface-toggle-surface-on-pressed: var(--box-blue-30);--surface-toggle-surface-off-pressed: var(--gray-10);--surface-toolbar-surface: var(--gray-100);--surface-contentswitcher-surface: var(--gray-10);--surface-contentbutton-surface-surface-selected: var(--gray-white);--surface-cta-surface-promo-focus-pressed: var(--grimace-120);--surface-cta-surface-promo-focus: var(--grimace-100);--surface-cta-surface-promo-pressed: var(--grimace-120);--surface-cta-surface-promo-hover: var(--grimace-100);--surface-cta-surface-promo: var(--grimace-110);--surface-upload-surface-brand-neutral: var(--box-blue-100);--surface-illustration-surface-box: var(--box-blue-100);--surface-illustration-surface-box-neutral: var(--box-blue-100);--surface-progressbar-surface-brand: var(--box-blue-100);--surface-nav-surface-brand: var(--box-blue-100);--surface-text-highlight-surface: var(--yellow-20);--surface-toggle-surface-pressed-hover: var(--box-blue-80);--surface-toggle-surface-pressed: var(--box-blue-100);--surface-toggle-surface-hover: var(--gray-05);--surface-toggle-surface: var(--gray-white);--surface-dropdown-secondary-surface-pressed: var(--gray-10);--surface-dropdown-secondary-surface-hover: var(--gray-05);--surface-dropdown-secondary-surface: var(--gray-white);--surface-dropdown-primary-surface-pressed: var(--gray-10);--surface-dropdown-primary-surface-hover: var(--gray-05);--surface-option-grid-surface-selected: var(--black-opacity-08);--surface-option-grid-surface-hover: var(--black-opacity-04);--surface-page-surface: var(--gray-white);--surface-chip-button-surface-hover: var(--black-opacity-08);--surface-chip-button-surface: var(--black-opacity-04);--surface-badge-notification-surface: var(--watermelon-red-110);--surface-badge-progress-surface: var(--yellorange-100);--surface-badge-offline-surface: var(--green-light-100);--surface-badge-collection-surface: var(--gray-10);--surface-badge-pin-surface: var(--gray-10);--surface-badge-online-surface: var(--green-light-120);--surface-badge-coadmin-surface: var(--purple-rain-100);--surface-badge-admin-surface: var(--dark-blue-100);--surface-badge-external-surface: var(--gray-50);--surface-badge-error-surface: var(--watermelon-red-110);--surface-badge-rejected-surface: var(--watermelon-red-110);--surface-badge-completed-surface: var(--green-light-100);--surface-badge-annotation-surface: var(--yellorange-100);--surface-badge-taskapproval-surface: var(--light-blue-120);--surface-badge-task-surface: var(--light-blue-100);--surface-badge-mention-surface: var(--light-blue-120);--surface-badge-relay-surface: var(--light-blue-120);--surface-badge-foldershared-surface: var(--light-blue-100);--surface-badge-folderexternal-surface: var(--gray-65);--surface-badge-boxnote-surface: var(--gray-10);--surface-badge-canvas-surface: var(--orange-100);--surface-badge-image-surface: var(--green-light-100);--surface-accordion-surface-hover: var(--gray-05);--surface-accordion-surface: var(--gray-white);--surface-tab-surface-pressed: var(--gray-10);--surface-tab-surface-hover: var(--gray-05);--surface-day-surface-selected-hover: var(--dark-blue-100);--surface-day-surface-selected: var(--box-blue-100);--surface-day-surface-hover: var(--gray-05);--surface-day-surface: var(--gray-white);--surface-search-surface-focused: var(--gray-white);--surface-search-surface-hover: var(--gray-02);--surface-search-global-surface: var(--gray-05);--surface-search-surface: var(--gray-05);--surface-scrollbar-surface: var(--black-opacity-50);--surface-sliderthumb-surface-hover: var(--light-blue-100);--surface-sliderthumb-surface: var(--box-blue-100);--surface-slidertrack-surface: var(--gray-65);--surface-filterchip-surface-single-on-hover: var(--box-blue-100);--surface-filterchip-surface-single-on: var(--box-blue-100);--surface-filterchip-surface-single-hover: var(--black-opacity-08);--surface-filterchip-surface-single: var(--black-opacity-04);--surface-filterchip-surface-multi-on-hover: var(--box-blue-20);--surface-filterchip-surface-multi-on: var(--box-blue-10);--surface-filterchip-surface-multi-hover: var(--black-opacity-08);--surface-filterchip-surface-multi: var(--black-opacity-04);--surface-inputchip-surface-error: var(--watermelon-red-10);--surface-inputchip-surface-hover: var(--gray-10);--surface-inputchip-surface: var(--gray-10);--surface-ghost-surface-secondary: var(--gray-05);--surface-ghost-surface: var(--gray-02);--surface-checkbox-surface-selected-hover: var(--light-blue-110);--surface-checkbox-surface-selected: var(--box-blue-100);--surface-checkbox-surface-hover: var(--gray-white);--surface-checkbox-surface: var(--gray-white);--surface-radio-surface-selected-hover: var(--light-blue-110);--surface-radio-surface-selected: var(--box-blue-100);--surface-radio-surface-hover: var(--gray-white);--surface-radio-surface: var(--gray-white);--surface-switch-surface-on-hover: var(--light-blue-110);--surface-switch-surface-on: var(--box-blue-100);--surface-switch-surface-off-hover: var(--gray-30);--surface-switch-surface-off: var(--gray-20);--surface-switch-surface-hover: var(--gray-white);--surface-switch-surface: var(--gray-white);--surface-item-small-surface-selected: var(--box-blue-05);--surface-item-small-surface-hover: var(--gray-05);--surface-item-small-surface: var(--gray-white);--surface-item-surface-selected: var(--box-blue-05);--surface-item-surface-hover: var(--gray-white);--surface-status-surface-gray-focus: var(--gray-10);--surface-status-surface-gray-hover: var(--gray-10);--surface-status-surface-gray: var(--gray-10);--surface-status-surface-boxblue-focus: var(--box-blue-100);--surface-status-surface-boxblue-hover: var(--box-blue-100);--surface-status-surface-boxblue: var(--box-blue-100);--surface-status-surface-green-focus: var(--green-light-50);--surface-status-surface-green-hover: var(--green-light-50);--surface-status-surface-green: var(--green-light-50);--surface-status-surface-dark-blue-focus: var(--dark-blue-50);--surface-status-surface-dark-blue-hover: var(--dark-blue-50);--surface-status-surface-dark-blue: var(--dark-blue-50);--surface-status-surface-light-blue-focus: var(--light-blue-50);--surface-status-surface-light-blue-hover: var(--light-blue-50);--surface-status-surface-light-blue: var(--light-blue-50);--surface-status-surface-purple-focus: var(--purple-rain-50);--surface-status-surface-purple-hover: var(--purple-rain-50);--surface-status-surface-purple: var(--purple-rain-50);--surface-status-surface-red-focus: var(--watermelon-red-50);--surface-status-surface-red-hover: var(--watermelon-red-50);--surface-status-surface-red: var(--watermelon-red-50);--surface-status-surface-orange-focus: var(--orange-50);--surface-status-surface-orange-hover: var(--orange-50);--surface-status-surface-orange: var(--orange-50);--surface-status-surface-yellow-focus: var(--yellow-50);--surface-status-surface-yellow-hover: var(--yellow-50);--surface-status-surface-yellow: var(--yellow-50);--surface-cta-surface-tertiary-promo-focus-pressed: var(--grimace-20);--surface-cta-surface-tertiary-promo-focus: var(--grimace-05);--surface-cta-surface-tertiary-promo-pressed: var(--grimace-20);--surface-cta-surface-tertiary-promo-hover: var(--grimace-05);--surface-cta-surface-tertiary-promo: var(--grimace-10);--surface-cta-surface-tertiary-pressed: var(--gray-10);--surface-cta-surface-tertiary-hover: var(--gray-05);--surface-cta-surface-tertiary: var(--gray-white);--surface-cta-surface-icon-utility-pressed: var(--gray-30);--surface-cta-surface-icon-utility-hover: var(--gray-20);--surface-cta-surface-icon-utility: var(--gray-10);--surface-cta-surface-icon-pressed: var(--black-opacity-08);--surface-cta-surface-icon-hover: var(--black-opacity-04);--surface-cta-surface-icon-disabled: var(--black-opacity-00);--surface-cta-surface-icon: var(--black-opacity-00);--surface-cta-surface-outline-pressed: var(--black-opacity-08);--surface-cta-surface-outline-hover: var(--black-opacity-04);--surface-cta-surface-outline: var(--black-opacity-00);--surface-status-surface-inprogress: var(--yellorange-100);--surface-status-surface-uploading: var(--box-blue-100);--surface-status-surface-scheduled: var(--purple-rain-100);--surface-status-surface-pending: var(--gray-40);--surface-status-surface-error: var(--watermelon-red-100);--surface-status-surface-success: var(--green-light-100);--surface-status-surface-generic: var(--gray-40);--surface-filter-surface-selected-focus: var(--box-blue-100);--surface-filter-surface-selected: var(--box-blue-100);--surface-filter-surface-focus: var(--box-blue-100);--surface-filter-surface-hover: var(--box-blue-100);--surface-filter-surface: var(--box-blue-100);--surface-pill-surface-focus: var(--gray-10);--surface-pill-surface-hover: var(--gray-10);--surface-pill-surface: var(--gray-10);--surface-message-surface-promo-secondary: var(--grimace-10);--surface-message-surface-success-secondary: var(--green-light-10);--surface-message-surface-success: var(--green-light-20);--surface-message-surface-info-secondary: var(--light-blue-10);--surface-message-surface-info: var(--light-blue-20);--surface-message-surface-generic-secondary: var(--gray-10);--surface-message-surface-generic: var(--gray-10);--surface-tooltip-surface-error: var(--watermelon-red-10);--surface-tooltip-surface: var(--gray-80);--surface-message-surface-error-secondary: var(--watermelon-red-10);--surface-message-surface-error: var(--watermelon-red-20);--surface-message-surface-warning-secondary: var(--yellorange-10);--surface-message-surface-warning: var(--yellorange-20);--surface-toggle-surface-on-hover: var(--box-blue-20);--surface-toggle-surface-on: var(--box-blue-10);--surface-toggle-surface-off-hover: var(--gray-05);--surface-input-surface-error-focus: var(--gray-white);--surface-input-surface-error-hover: var(--gray-white);--surface-input-surface-error: var(--gray-white);--surface-input-surface-focus: var(--gray-white);--surface-input-surface-hover: var(--gray-white);--surface-input-surface: var(--gray-white);--surface-dropdown-surface-error-focus: var(--gray-white);--surface-dropdown-surface-error-hover: var(--gray-white);--surface-dropdown-surface-error: var(--gray-white);--surface-dropdown-surface-focus: var(--gray-white);--surface-dropdown-surface-hover: var(--gray-white);--surface-dropdown-surface: var(--gray-white);--surface-cta-surface-secondary-focus-pressed: var(--gray-10);--surface-cta-surface-secondary-pressed: var(--gray-10);--surface-cta-surface-secondary-focus: var(--gray-05);--surface-cta-surface-secondary-hover: var(--gray-05);--surface-cta-surface-secondary-disabled: var(--gray-white);--surface-cta-surface-secondary-busy: var(--gray-white);--surface-cta-surface-secondary: var(--gray-white);--surface-surface-brand-secondary: var(--box-blue-10);--surface-menu-surface-focus: var(--gray-05);--surface-menu-surface-pressed: var(--gray-05);--surface-menu-surface-hover: var(--gray-05);--surface-menu-surface: var(--gray-white);--surface-card-surface-pressed: var(--gray-02);--surface-card-surface-focus: var(--box-blue-05);--surface-card-surface-hover: var(--gray-white);--surface-card-surface: var(--gray-white);--surface-surface-secondary-focus: var(--gray-02);--surface-surface-secondary-hover: var(--gray-05);--surface-surface-quaternary: var(--gray-20);--surface-surface-tertiary: var(--gray-10);--surface-surface-secondary: var(--gray-02);--surface-surface-hover: var(--gray-05);--surface-surface: var(--gray-white);--background-background: var(--gray-white)}._noAttributesText_ix3i9_753{text-align:center}._fieldWrapper_ix3i9_757{isolation:isolate;position:relative}._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>input,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>button,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>div[role=group]>div,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>div>div{border-bottom:none!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>input:not(:disabled):not(:focus-visible):not(._error_ix3i9_770):hover,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>button:not(:disabled):not(:focus-visible):not(._error_ix3i9_770):hover,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>div[role=group]>div:not(:disabled):not(:focus-visible):not(._error_ix3i9_770):hover,._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762>div>div:not(:disabled):not(:focus-visible):not(._error_ix3i9_770):hover{border-bottom:none}._fieldWrapper_ix3i9_757 ._hasSuggestion_ix3i9_762 div[role=group]>div{margin-left:var(--border-1);margin-right:var(--border-1)}._fieldWrapper_ix3i9_757 ._dateField_ix3i9_782>div[role=group]>div{padding-inline:.75rem}._fieldWrapper_ix3i9_757 ._suggestionApplied_ix3i9_786>._comboboxContainer_ix3i9_786,._fieldWrapper_ix3i9_757 ._suggestionApplied_ix3i9_786>input,._fieldWrapper_ix3i9_757 ._suggestionApplied_ix3i9_786>button,._fieldWrapper_ix3i9_757 ._suggestionApplied_ix3i9_786>div[role=group]>div,._fieldWrapper_ix3i9_757 ._suggestionApplied_ix3i9_786>div>div{border:double var(--border-1) transparent!important;box-sizing:border-box!important;border-radius:var(--radius-2);background-image:linear-gradient(#fff,#fff),linear-gradient(135deg,#fe03dc 0%,#2784fa 100%)!important;background-origin:border-box!important;background-clip:padding-box,border-box!important;outline:none}._labelWrapper_ix3i9_800{width:100%;display:flex;align-items:baseline;justify-content:space-between}._labelWrapper_ix3i9_800 ._labelText_ix3i9_806{flex:unset!important}._labelWrapper_ix3i9_800 ._labelIcon_ix3i9_809{margin-inline-end:var(--space-3);margin-inline-start:var(--space-3);height:var(--space-4);width:var(--space-4)}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
}) => import("react/jsx-runtime").JSX.Element);
|
1
|
+
import { type Labelable, type TextProps } from '@box/blueprint-web';
|
2
|
+
export declare const getFieldLabel: (fieldName: string, fieldDescription: string | undefined, isAiSuggestionApplied?: boolean, as?: TextProps['as']) => Labelable['label'];
|
@@ -1,85 +0,0 @@
|
|
1
|
-
import "../styles/metadata-editor-field-wrapper.css";
|
2
|
-
import T from "clsx";
|
3
|
-
import { useFormikContext as C } from "formik";
|
4
|
-
import v from "lodash/isUndefined";
|
5
|
-
import { forwardRef as I, useState as A } from "react";
|
6
|
-
import { AiSuggestionField as V } from "../esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/ai-suggestion-field.js";
|
7
|
-
import { UpdateModeFieldWrapper as k } from "../esm/lib/components/metadata-editor-fields/components/update-mode-field-wrapper/update-mode-field-wrapper.js";
|
8
|
-
import { editorFieldTypes as w } from "../esm/lib/components/metadata-editor-fields/editor-field-types.js";
|
9
|
-
import { jsx as o, jsxs as E } from "react/jsx-runtime";
|
10
|
-
const P = "_noAttributesText_13fs7_753", R = "_fieldWrapper_13fs7_757", U = "_hasSuggestion_13fs7_762", $ = "_error_13fs7_770", j = "_dateField_13fs7_782", q = "_suggestionApplied_13fs7_786", z = "_comboboxContainer_13fs7_786", i = {
|
11
|
-
noAttributesText: P,
|
12
|
-
fieldWrapper: R,
|
13
|
-
hasSuggestion: U,
|
14
|
-
error: $,
|
15
|
-
dateField: j,
|
16
|
-
suggestionApplied: q,
|
17
|
-
comboboxContainer: z
|
18
|
-
}, Y = /* @__PURE__ */ I(({
|
19
|
-
disableForm: p,
|
20
|
-
portalElement: d,
|
21
|
-
field: e,
|
22
|
-
index: x,
|
23
|
-
taxonomyOptionsFetcher: l
|
24
|
-
}, u) => {
|
25
|
-
var S;
|
26
|
-
const {
|
27
|
-
setFieldValue: g
|
28
|
-
} = C(), [y, n] = A(!0), [c, r] = A(!1), a = w[e.type], {
|
29
|
-
aiSuggestion: t,
|
30
|
-
type: m,
|
31
|
-
value: b
|
32
|
-
} = e, h = a && !e.hidden, F = !v(e.updateMode), s = `metadata.fields[${x}]`, W = e.type === "taxonomy" && ((S = e.optionsRules) == null ? void 0 : S.multiSelect), f = t && y, M = T({
|
33
|
-
[i.suggestionApplied]: c,
|
34
|
-
[i.hasSuggestion]: f,
|
35
|
-
[i.dateField]: m === "date"
|
36
|
-
});
|
37
|
-
if (!h)
|
38
|
-
return null;
|
39
|
-
const _ = () => {
|
40
|
-
c && r(!1);
|
41
|
-
};
|
42
|
-
return F ? /* @__PURE__ */ o(k, {
|
43
|
-
fieldNamePrefix: s,
|
44
|
-
fieldType: e.type,
|
45
|
-
isTaxonomyMultiSelect: W,
|
46
|
-
children: /* @__PURE__ */ o(a, {
|
47
|
-
ref: u,
|
48
|
-
description: e.description,
|
49
|
-
disableForm: p,
|
50
|
-
fieldNamePrefix: s,
|
51
|
-
label: e.displayName,
|
52
|
-
onValueEdited: _,
|
53
|
-
portalElement: d,
|
54
|
-
taxonomyOptionsFetcher: l
|
55
|
-
})
|
56
|
-
}, e.key) : /* @__PURE__ */ E("div", {
|
57
|
-
className: i.fieldWrapper,
|
58
|
-
children: [/* @__PURE__ */ o(a, {
|
59
|
-
ref: u,
|
60
|
-
className: M,
|
61
|
-
description: e.description,
|
62
|
-
disableForm: p,
|
63
|
-
fieldNamePrefix: s,
|
64
|
-
label: e.displayName,
|
65
|
-
onValueEdited: _,
|
66
|
-
portalElement: d,
|
67
|
-
taxonomyOptionsFetcher: l
|
68
|
-
}), f && /* @__PURE__ */ o(V, {
|
69
|
-
aiSuggestion: t,
|
70
|
-
onAiSuggestionAppend: () => {
|
71
|
-
const N = e.type === "multiSelect" ? [b, t].flat() : t;
|
72
|
-
g(`${s}.value`, N), n(!1), r(!0);
|
73
|
-
},
|
74
|
-
onAiSuggestionIgnore: () => n(!1),
|
75
|
-
onAiSuggestionReplace: () => {
|
76
|
-
g(`${s}.value`, t), n(!1), r(!0);
|
77
|
-
},
|
78
|
-
type: m
|
79
|
-
})]
|
80
|
-
}, e.key);
|
81
|
-
});
|
82
|
-
export {
|
83
|
-
Y as M,
|
84
|
-
i as s
|
85
|
-
};
|