@box/metadata-template-editor 2.2.20 → 2.2.22

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.
@@ -7,10 +7,7 @@ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  import { useEffect as c, useLayoutEffect as l, useMemo as u, useRef as d, useState as f } from "react";
8
8
  import { IconIconOnLightSecondary as p } from "@box/blueprint-web-assets/tokens/tokens";
9
9
  import { ArrowRight as m } from "@box/blueprint-web-assets/icons/Line";
10
- import '../styles/levels-chain.css';var h = {
11
- levelsChain: "_levelsChain_1wuki_1",
12
- hiddenLevelsButton: "_hiddenLevelsButton_1wuki_11"
13
- };
10
+ import '../styles/levels-chain.css';var h = { levelsChain: "_levelsChain_bbgph_1" };
14
11
  function g(e) {
15
12
  let t = Math.ceil(e.length / 2);
16
13
  return [e.slice(0, t), e.slice(t)];
@@ -79,9 +76,8 @@ var _ = ({ levels: _ = [], selectedLevels: v = [] }) => {
79
76
  y.map((e, n) => {
80
77
  let r = x && n >= y.length - F;
81
78
  return /* @__PURE__ */ s("li", {
82
- className: h.left,
83
- style: { display: r ? "none" : void 0 },
84
79
  "aria-hidden": r,
80
+ style: { display: r ? "none" : void 0 },
85
81
  children: [/* @__PURE__ */ o(t, {
86
82
  value: e.name,
87
83
  selected: v.includes(e.level)
@@ -110,9 +106,8 @@ var _ = ({ levels: _ = [], selectedLevels: v = [] }) => {
110
106
  b.map((e, n) => {
111
107
  let r = x && n < I;
112
108
  return /* @__PURE__ */ s("li", {
113
- className: h.right,
114
- style: { display: r ? "none" : void 0 },
115
109
  "aria-hidden": r,
110
+ style: { display: r ? "none" : void 0 },
116
111
  children: [/* @__PURE__ */ o(t, {
117
112
  value: e.name,
118
113
  selected: v.includes(e.level)
@@ -1,131 +1,132 @@
1
1
  import { t as e } from "./field-selector.js";
2
2
  import { t } from "./field-type-dropdown.js";
3
- import { FieldTypeTiles as ee } from "../esm/lib/components/field-type-tiles/field-type-tiles.js";
4
- import { createDefaultFieldValues as n } from "../esm/lib/components/metadata-field-configurator/utils.js";
5
- import { FieldExtensionsContext as r } from "../esm/lib/components/metadata-field-configurator/context/field-extensions-context.js";
6
- import { t as i } from "./metadata-field-list.js";
7
- import a from "../esm/lib/messages.js";
8
- import { Button as o, EmptyState as s, Link as c, Text as l, TextInput as u } from "@box/blueprint-web";
9
- import { FormattedMessage as d, useIntl as f } from "react-intl";
10
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
11
- import { useEffect as g, useMemo as _, useRef as v } from "react";
12
- import te from "clsx";
13
- import { Form as y, useFormikContext as b } from "formik";
14
- import { NoTemplates as x } from "@box/blueprint-web-assets/illustrations/Medium";
15
- import '../styles/metadata-template-editor-form.css';var S = {
16
- form: "_form_1f0e7_1",
17
- loading: "_loading_1f0e7_10",
18
- fields: "_fields_1f0e7_17",
19
- emptyFields: "_emptyFields_1f0e7_23",
20
- actions: "_actions_1f0e7_28",
21
- fieldsHeader: "_fieldsHeader_1f0e7_35"
22
- }, C = "bodyDefaultBold", w = "h2", T = "https://developer.box.com/guides/metadata/fields/", E = ({ formId: E, onCancel: D, taxonomyOptions: O, fetchTaxonomies: k, hideActions: A, isEditMode: j, readOnly: M = !1, onDirtyStateChange: N, onValidationChange: P, fieldExtensions: F }) => {
23
- let I = f(), { errors: L, values: R, setFieldValue: z, isSubmitting: B, isValid: V, touched: H, handleChange: U, handleBlur: W, submitCount: G, dirty: K } = b(), q = v(null), J = _(() => {
24
- if (!Array.isArray(L.fields)) return null;
25
- let e = L.fields.findIndex(Boolean);
3
+ import { FieldTypeTiles as n } from "../esm/lib/components/field-type-tiles/field-type-tiles.js";
4
+ import { createDefaultFieldValues as r } from "../esm/lib/components/metadata-field-configurator/utils.js";
5
+ import { FieldExtensionsContext as i } from "../esm/lib/components/metadata-field-configurator/context/field-extensions-context.js";
6
+ import { t as a } from "./metadata-field-list.js";
7
+ import o from "../esm/lib/messages.js";
8
+ import { Button as s, EmptyState as c, Link as l, Text as u, TextInput as d } from "@box/blueprint-web";
9
+ import { FormattedMessage as f, useIntl as p } from "react-intl";
10
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
11
+ import { useEffect as _, useMemo as v, useRef as y } from "react";
12
+ import b from "clsx";
13
+ import { Form as x, useFormikContext as ee } from "formik";
14
+ import { NoTemplates as S } from "@box/blueprint-web-assets/illustrations/Medium";
15
+ import '../styles/metadata-template-editor-form.css';var C = {
16
+ form: "_form_1r59b_1",
17
+ fields: "_fields_1r59b_10",
18
+ emptyFields: "_emptyFields_1r59b_16",
19
+ actions: "_actions_1r59b_21",
20
+ fieldsHeader: "_fieldsHeader_1r59b_28"
21
+ }, w = "bodyDefaultBold", T = "h2", E = "https://developer.box.com/guides/metadata/fields/", D = ({ formId: D, onCancel: O, taxonomyOptions: k, fetchTaxonomies: A, hideActions: te, isEditMode: ne, readOnly: j = !1, onDirtyStateChange: M, onValidationChange: N, fieldExtensions: P }) => {
22
+ let F = p(), { errors: I, values: L, setFieldValue: R, setFieldTouched: z, isSubmitting: B, isValid: V, handleChange: H, submitCount: U, dirty: W, touched: G } = ee(), K = y(null), q = y(!1), J = () => {
23
+ q.current = !0;
24
+ }, Y = () => {
25
+ q.current && z("displayName", !0);
26
+ }, X = v(() => {
27
+ if (!Array.isArray(I.fields)) return null;
28
+ let e = I.fields.findIndex(Boolean);
26
29
  return e >= 0 ? e : null;
27
- }, [L.fields]), Y = (e) => {
28
- let t = n(e.type);
29
- z("fields", [...R.fields, t]);
30
- }, X = (e) => {
31
- z("fields", e);
30
+ }, [I.fields]), Z = (e) => {
31
+ let t = r(e.type);
32
+ R("fields", [...L.fields, t]);
33
+ }, re = (e) => {
34
+ R("fields", e);
32
35
  };
33
- g(() => {
34
- N?.(K);
35
- }, [K, N]), g(() => {
36
- P?.(V);
37
- }, [V, P]);
38
- let Z = B || j && !K, Q;
39
- Q = M && R.fields.length === 0 ? /* @__PURE__ */ m(s, {
36
+ _(() => {
37
+ M?.(W);
38
+ }, [W, M]), _(() => {
39
+ N?.(V);
40
+ }, [V, N]);
41
+ let ie = B || ne && !W, Q;
42
+ Q = j && L.fields.length === 0 ? /* @__PURE__ */ h(c, {
40
43
  size: "large",
41
- illustration: x,
42
- body: /* @__PURE__ */ m(l, {
44
+ illustration: S,
45
+ body: /* @__PURE__ */ h(u, {
43
46
  as: "p",
44
- children: I.formatMessage(a.noFields)
47
+ children: F.formatMessage(o.noFields)
45
48
  })
46
- }) : M ? /* @__PURE__ */ m(i, {
47
- ref: q,
48
- fields: R.fields,
49
- taxonomyOptions: O,
50
- fetchTaxonomies: k,
49
+ }) : j ? /* @__PURE__ */ h(a, {
50
+ ref: K,
51
+ fields: L.fields,
52
+ taxonomyOptions: k,
53
+ fetchTaxonomies: A,
51
54
  readOnly: !0
52
- }) : R.fields.length === 0 ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(ee, { onFieldAdd: Y }), /* @__PURE__ */ m(c, {
55
+ }) : L.fields.length === 0 ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(n, { onFieldAdd: Z }), /* @__PURE__ */ h(l, {
56
+ href: E,
53
57
  isExternal: !0,
54
- className: S.fieldsLearnMoreLink,
55
- href: T,
56
58
  target: "_blank",
57
- children: /* @__PURE__ */ m(d, { ...a.fieldsLearnMore })
58
- })] }) : /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(i, {
59
- ref: q,
60
- fields: R.fields,
61
- taxonomyOptions: O,
62
- fetchTaxonomies: k,
63
- onChangeFields: X,
64
- firstInvalidFieldIndex: J,
65
- submitAttemptCount: G
66
- }), /* @__PURE__ */ m(t, { onFieldAdd: Y })] });
67
- let $ = /* @__PURE__ */ h(y, {
59
+ children: /* @__PURE__ */ h(f, { ...o.fieldsLearnMore })
60
+ })] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(a, {
61
+ ref: K,
62
+ fields: L.fields,
63
+ taxonomyOptions: k,
64
+ fetchTaxonomies: A,
65
+ onChangeFields: re,
66
+ firstInvalidFieldIndex: X,
67
+ submitAttemptCount: U
68
+ }), /* @__PURE__ */ h(t, { onFieldAdd: Z })] });
69
+ let $ = /* @__PURE__ */ g(x, {
68
70
  noValidate: !0,
69
- id: E,
70
- className: S.form,
71
+ id: D,
72
+ className: C.form,
71
73
  children: [
72
- /* @__PURE__ */ m("div", {
73
- className: S.templateInfo,
74
- children: /* @__PURE__ */ m(u, {
75
- name: "displayName",
76
- label: I.formatMessage(a.templateName),
77
- placeholder: I.formatMessage(a.templateNameDescription),
78
- value: R.displayName,
79
- error: !M && H.displayName && L.displayName ? L.displayName : void 0,
80
- onChange: (e) => {
81
- U(e);
82
- },
83
- onBlur: W,
84
- readOnly: M
85
- })
86
- }),
87
- /* @__PURE__ */ h("div", {
88
- className: S.fieldsHeader,
89
- children: [/* @__PURE__ */ m(l, {
90
- as: w,
91
- variant: C,
92
- children: /* @__PURE__ */ m(d, { ...!M && R.fields.length === 0 ? a.fieldsAddFirst : a.fields })
93
- }), R.fields.length > 0 && /* @__PURE__ */ m(e, {
94
- fields: R.fields,
95
- onSelect: (e) => q.current?.scrollToAndExpand(e)
74
+ /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h(d, {
75
+ name: "displayName",
76
+ label: F.formatMessage(o.templateName),
77
+ placeholder: F.formatMessage(o.templateNameDescription),
78
+ value: L.displayName,
79
+ error: !j && G.displayName && I.displayName ? I.displayName : void 0,
80
+ onChange: (e) => {
81
+ H(e);
82
+ },
83
+ onPointerDown: J,
84
+ onKeyDown: J,
85
+ onBlur: Y,
86
+ readOnly: j
87
+ }) }),
88
+ /* @__PURE__ */ g("div", {
89
+ className: C.fieldsHeader,
90
+ children: [/* @__PURE__ */ h(u, {
91
+ as: T,
92
+ variant: w,
93
+ children: /* @__PURE__ */ h(f, { ...!j && L.fields.length === 0 ? o.fieldsAddFirst : o.fields })
94
+ }), L.fields.length > 0 && /* @__PURE__ */ h(e, {
95
+ fields: L.fields,
96
+ onSelect: (e) => K.current?.scrollToAndExpand(e)
96
97
  })]
97
98
  }),
98
- /* @__PURE__ */ m("div", {
99
- className: te(S.fields, { [S.emptyFields]: R.fields.length === 0 && M }),
99
+ /* @__PURE__ */ h("div", {
100
+ className: b(C.fields, { [C.emptyFields]: L.fields.length === 0 && j }),
100
101
  children: Q
101
102
  }),
102
- !A && /* @__PURE__ */ m("div", {
103
- className: S.actions,
104
- children: M ? D && /* @__PURE__ */ m(o, {
103
+ !te && /* @__PURE__ */ h("div", {
104
+ className: C.actions,
105
+ children: j ? O && /* @__PURE__ */ h(s, {
105
106
  variant: "primary",
106
107
  type: "button",
107
- onClick: D,
108
- children: I.formatMessage(a.close)
109
- }) : /* @__PURE__ */ h(p, { children: [D && /* @__PURE__ */ m(o, {
108
+ onClick: O,
109
+ children: F.formatMessage(o.close)
110
+ }) : /* @__PURE__ */ g(m, { children: [O && /* @__PURE__ */ h(s, {
110
111
  variant: "secondary",
111
112
  type: "button",
112
- onClick: D,
113
+ onClick: O,
113
114
  loading: B,
114
115
  disabled: B,
115
- loadingAriaLabel: I.formatMessage(a.submitting),
116
- children: I.formatMessage(a.cancel)
117
- }), /* @__PURE__ */ m(o, {
116
+ loadingAriaLabel: F.formatMessage(o.submitting),
117
+ children: F.formatMessage(o.cancel)
118
+ }), /* @__PURE__ */ h(s, {
118
119
  variant: "primary",
119
120
  type: "submit",
120
- disabled: Z,
121
- children: I.formatMessage(a.save)
121
+ disabled: ie,
122
+ children: F.formatMessage(o.save)
122
123
  })] })
123
124
  })
124
125
  ]
125
126
  });
126
- return F === void 0 ? $ : /* @__PURE__ */ m(r.Provider, {
127
- value: F,
127
+ return P === void 0 ? $ : /* @__PURE__ */ h(i.Provider, {
128
+ value: P,
128
129
  children: $
129
130
  });
130
131
  };
131
- export { E as t };
132
+ export { D as t };
@@ -16,12 +16,8 @@ import { ArrowsRotating as b } from "@box/blueprint-web-assets/icons/Line";
16
16
  import { Formik as x } from "formik";
17
17
  import { ErrorState404 as S } from "@box/blueprint-web-assets/illustrations/Medium";
18
18
  import '../styles/metadata-template-editor.css';var C = {
19
- form: "_form_1o2vk_1",
20
- loading: "_loading_1o2vk_8",
21
- error: "_error_1o2vk_15",
22
- fields: "_fields_1o2vk_24",
23
- addField: "_addField_1o2vk_30",
24
- actions: "_actions_1o2vk_34"
19
+ loading: "_loading_fd3t9_1",
20
+ error: "_error_fd3t9_8"
25
21
  }, ne = {
26
22
  displayName: "",
27
23
  templateKey: "",
@@ -13,15 +13,14 @@ import { DndContext as _, DragOverlay as v, KeyboardSensor as y, PointerSensor a
13
13
  import { SortableContext as ee, arrayMove as T, sortableKeyboardCoordinates as te, useSortable as E, verticalListSortingStrategy as D } from "@dnd-kit/sortable";
14
14
  import { CSS as O } from "@dnd-kit/utilities";
15
15
  import '../styles/sortable-option-list.css';var k = {
16
- sortableOptionList: "_sortableOptionList_1cieq_1",
17
- option: "_option_1cieq_9",
18
- editable: "_editable_1cieq_9",
19
- dragging: "_dragging_1cieq_22",
20
- dragHandle: "_dragHandle_1cieq_26",
21
- inputContainer: "_inputContainer_1cieq_41",
22
- input: "_input_1cieq_41",
23
- deleteButtonContainer: "_deleteButtonContainer_1cieq_52",
24
- optionDragOverlay: "_optionDragOverlay_1cieq_58"
16
+ sortableOptionList: "_sortableOptionList_dhce1_1",
17
+ option: "_option_dhce1_9",
18
+ editable: "_editable_dhce1_9",
19
+ dragging: "_dragging_dhce1_22",
20
+ dragHandle: "_dragHandle_dhce1_26",
21
+ input: "_input_dhce1_41",
22
+ deleteButtonContainer: "_deleteButtonContainer_dhce1_47",
23
+ optionDragOverlay: "_optionDragOverlay_dhce1_53"
25
24
  };
26
25
  function ne(e, t, n, r, i, a) {
27
26
  let o = t?.dropdown?.options?.[n] && typeof e == "object" && !!e && typeof e.dropdown == "object" && e.dropdown?.options?.[n]?.key;
@@ -12,10 +12,7 @@ import { useIntl as m } from "react-intl";
12
12
  import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
13
13
  import { Caret as v } from "@box/blueprint-web-assets/icons/Fill";
14
14
  import { useEffect as y, useMemo as b } from "react";
15
- import '../styles/taxonomy-field-configuration.css';var x = {
16
- taxonomyFieldConfiguration: "_taxonomyFieldConfiguration_ylhrs_1",
17
- responsePlaceholder: "_responsePlaceholder_ylhrs_8"
18
- }, S = () => {
15
+ import '../styles/taxonomy-field-configuration.css';var x = { taxonomyFieldConfiguration: "_taxonomyFieldConfiguration_1smhd_1" }, S = () => {
19
16
  let { formatMessage: S } = m(), { values: C, errors: w, touched: T, setFieldValue: E } = t(), { onTaxonomySelect: D } = o({
20
17
  values: C,
21
18
  setFieldValue: E
@@ -6,12 +6,11 @@ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
6
6
  import { Plus as d } from "@box/blueprint-web-assets/icons/Fill";
7
7
  import { useState as f } from "react";
8
8
  import '../styles/taxonomy-selector.css';var p = {
9
- taxonomySelectorLabel: "_taxonomySelectorLabel_b3aww_1",
10
- taxonomySelectorSeparator: "_taxonomySelectorSeparator_b3aww_6",
11
- listWrapper: "_listWrapper_b3aww_14",
12
- listWrapperWithPadding: "_listWrapperWithPadding_b3aww_19",
13
- taxonomyItem: "_taxonomyItem_b3aww_24",
14
- statusContainer: "_statusContainer_b3aww_30"
9
+ taxonomySelectorLabel: "_taxonomySelectorLabel_fuxhs_1",
10
+ listWrapper: "_listWrapper_fuxhs_6",
11
+ listWrapperWithPadding: "_listWrapperWithPadding_fuxhs_11",
12
+ taxonomyItem: "_taxonomyItem_fuxhs_16",
13
+ statusContainer: "_statusContainer_fuxhs_22"
15
14
  }, m = ({ data: m, onClick: h, onSearchValue: g, triggerButton: _, disabled: v, resetValueOnHide: y }) => {
16
15
  let { formatMessage: b } = s(), { status: x, onSelectorOpen: S } = e(), [C, w] = f(""), [T, E] = f(!1), D = (e) => {
17
16
  w(e), g(e);
@@ -1 +1 @@
1
- ._levelsChain_1wuki_1{white-space:nowrap;align-items:center;gap:11px;width:100%;margin:0;padding:0;display:flex;overflow:hidden}._levelsChain_1wuki_1 ._hiddenLevelsButton_1wuki_11{all:unset}._levelsChain_1wuki_1 li{align-items:center;gap:8px;display:flex}
1
+ ._levelsChain_bbgph_1{white-space:nowrap;align-items:center;gap:11px;width:100%;margin:0;padding:0;display:flex;overflow:hidden}._levelsChain_bbgph_1 li{align-items:center;gap:8px;display:flex}
@@ -1 +1 @@
1
- ._form_1f0e7_1{gap:var(--space-4);flex-direction:column;flex:1;max-width:620px;height:100%;display:flex}._loading_1f0e7_10{padding:var(--space-8) 0;justify-content:center;align-items:center;display:flex}._fields_1f0e7_17{gap:var(--space-4);flex-direction:column;display:flex}._emptyFields_1f0e7_23{flex-grow:1;justify-content:space-around}._actions_1f0e7_28{justify-content:flex-end;gap:var(--space-3);padding-top:var(--space-2);display:flex}._fieldsHeader_1f0e7_35{align-items:center;gap:var(--space-2);justify-content:space-between;display:flex}
1
+ ._form_1r59b_1{gap:var(--space-4);flex-direction:column;flex:1;max-width:620px;height:100%;display:flex}._fields_1r59b_10{gap:var(--space-4);flex-direction:column;display:flex}._emptyFields_1r59b_16{flex-grow:1;justify-content:space-around}._actions_1r59b_21{justify-content:flex-end;gap:var(--space-3);padding-top:var(--space-2);display:flex}._fieldsHeader_1r59b_28{align-items:center;gap:var(--space-2);justify-content:space-between;display:flex}
@@ -1 +1 @@
1
- ._form_1o2vk_1{gap:var(--space-4);flex-direction:column;max-width:620px;display:flex}._loading_1o2vk_8{padding:var(--space-8) 0;justify-content:center;align-items:center;display:flex}._error_1o2vk_15{align-items:center;gap:var(--space-4);padding:var(--space-8) 0;text-align:center;flex-direction:column;display:flex}._fields_1o2vk_24{gap:var(--space-4);flex-direction:column;display:flex}._addField_1o2vk_30{align-self:flex-start}._actions_1o2vk_34{justify-content:flex-end;gap:var(--space-2);padding-top:var(--space-2);display:flex}
1
+ ._loading_fd3t9_1{padding:var(--space-8) 0;justify-content:center;align-items:center;display:flex}._error_fd3t9_8{align-items:center;gap:var(--space-4);padding:var(--space-8) 0;text-align:center;flex-direction:column;display:flex}
@@ -1 +1 @@
1
- ._sortableOptionList_1cieq_1{max-height:190px;margin:0;padding:0;list-style:none;overflow:auto}._option_1cieq_9._editable_1cieq_9{gap:var(--space-05);grid-template-rows:auto auto;grid-template-columns:auto 1fr auto;align-items:start;display:grid}._option_1cieq_9 svg{pointer-events:none}._option_1cieq_9:not(:last-child){margin-bottom:var(--space-2)}._option_1cieq_9._dragging_1cieq_22{opacity:0}._dragHandle_1cieq_26{width:20px;padding:var(--space-3) 0;cursor:grab;touch-action:none;grid-area:1/1;justify-content:center;align-items:center;display:flex}._dragHandle_1cieq_26:active{cursor:grabbing}._inputContainer_1cieq_41{grid-area:1/2}._input_1cieq_41+span{margin-top:var(--space-1);grid-area:2/2}._deleteButtonContainer_1cieq_52{padding:var(--space-2) 0;grid-area:1/3}._optionDragOverlay_1cieq_58{background-color:var(--surface-surface-on-light);border-radius:var(--border-radius-small)}
1
+ ._sortableOptionList_dhce1_1{max-height:190px;margin:0;padding:0;list-style:none;overflow:auto}._option_dhce1_9._editable_dhce1_9{gap:var(--space-05);grid-template-rows:auto auto;grid-template-columns:auto 1fr auto;align-items:start;display:grid}._option_dhce1_9 svg{pointer-events:none}._option_dhce1_9:not(:last-child){margin-bottom:var(--space-2)}._option_dhce1_9._dragging_dhce1_22{opacity:0}._dragHandle_dhce1_26{width:20px;padding:var(--space-3) 0;cursor:grab;touch-action:none;grid-area:1/1;justify-content:center;align-items:center;display:flex}._dragHandle_dhce1_26:active{cursor:grabbing}._input_dhce1_41+span{margin-top:var(--space-1);grid-area:2/2}._deleteButtonContainer_dhce1_47{padding:var(--space-2) 0;grid-area:1/3}._optionDragOverlay_dhce1_53{background-color:var(--surface-surface-on-light);border-radius:var(--border-radius-small)}
@@ -1 +1 @@
1
- ._taxonomyFieldConfiguration_ylhrs_1{gap:var(--space-4);grid-template-rows:auto;grid-template-columns:1fr;display:grid}._responsePlaceholder_ylhrs_8{padding:var(--space-4);justify-content:center;align-items:center;display:flex}
1
+ ._taxonomyFieldConfiguration_1smhd_1{gap:var(--space-4);grid-template-rows:auto;grid-template-columns:1fr;display:grid}
@@ -1 +1 @@
1
- ._taxonomySelectorLabel_b3aww_1{padding:var(--space-2) var(--space-3);display:block}._taxonomySelectorSeparator_b3aww_6{background:var(--border-card-border);border:none;height:1px;margin:0;padding:0}._listWrapper_b3aww_14{max-height:200px;overflow-y:auto}._listWrapperWithPadding_b3aww_19{padding:var(--space-2);min-width:150px}._taxonomyItem_b3aww_24{text-align:left;justify-content:flex-start;width:100%}._statusContainer_b3aww_30{justify-content:center;align-items:center;gap:var(--space-2);flex-direction:column;min-width:190px;min-height:80px;display:flex}
1
+ ._taxonomySelectorLabel_fuxhs_1{padding:var(--space-2) var(--space-3);display:block}._listWrapper_fuxhs_6{max-height:200px;overflow-y:auto}._listWrapperWithPadding_fuxhs_11{padding:var(--space-2);min-width:150px}._taxonomyItem_fuxhs_16{text-align:left;justify-content:flex-start;width:100%}._statusContainer_fuxhs_22{justify-content:center;align-items:center;gap:var(--space-2);flex-direction:column;min-width:190px;min-height:80px;display:flex}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@box/metadata-template-editor",
3
- "version": "2.2.20",
3
+ "version": "2.2.22",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@box/blueprint-web": "^16.12.0",
7
- "@box/blueprint-web-assets": "^5.5.7",
6
+ "@box/blueprint-web": "^16.12.1",
7
+ "@box/blueprint-web-assets": "^5.5.8",
8
8
  "@dnd-kit/core": "^6.1.0",
9
9
  "@dnd-kit/sortable": "^8.0.0",
10
10
  "@dnd-kit/utilities": "^3.2.2",
@@ -17,10 +17,10 @@
17
17
  "yup": "^1.6.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@box/blueprint-web": "^16.12.0",
21
- "@box/blueprint-web-assets": "^5.5.7",
20
+ "@box/blueprint-web": "^16.12.1",
21
+ "@box/blueprint-web-assets": "^5.5.8",
22
22
  "@box/eslint-plugin-blueprint": "2.1.10",
23
- "@box/storybook-utils": "1.1.31",
23
+ "@box/storybook-utils": "1.1.32",
24
24
  "@dnd-kit/core": "^6.1.0",
25
25
  "@dnd-kit/sortable": "^8.0.0",
26
26
  "@dnd-kit/utilities": "^3.2.2",