@box/metadata-taxonomy-picker 3.1.34 → 3.1.36
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.
|
@@ -3,63 +3,63 @@ import { useTaxonomyPickerController as t } from "../esm/lib/hooks/use-taxonomy-
|
|
|
3
3
|
import { t as n } from "./taxonomy-items-list.js";
|
|
4
4
|
import { t as r } from "./taxonomy-level-filter.js";
|
|
5
5
|
import { messages as i } from "../esm/lib/components/metadata-taxonomy-picker-shell/messages.js";
|
|
6
|
-
import { forwardRef as a, useCallback as o, useEffect as ee, useId as te, useLayoutEffect as s, useMemo as c, useRef as l, useState as
|
|
7
|
-
import
|
|
8
|
-
import { useIntl as
|
|
9
|
-
import { Breadcrumb as
|
|
10
|
-
import { Search as
|
|
11
|
-
import { jsx as
|
|
12
|
-
import '../styles/metadata-taxonomy-picker-shell.css';var
|
|
6
|
+
import { forwardRef as a, useCallback as o, useEffect as ee, useId as te, useLayoutEffect as s, useMemo as c, useRef as l, useState as ne } from "react";
|
|
7
|
+
import re from "clsx";
|
|
8
|
+
import { useIntl as ie } from "react-intl";
|
|
9
|
+
import { Breadcrumb as ae, ChipsGroup as oe, IconButton as se, InputChip as u, Popover as d, Text as ce, useForkRef as le } from "@box/blueprint-web";
|
|
10
|
+
import { Search as ue, XMark as de } from "@box/blueprint-web-assets/icons/Fill";
|
|
11
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
12
|
+
import '../styles/metadata-taxonomy-picker-shell.css';var m = /* @__PURE__ */ function(e) {
|
|
13
13
|
return e.SingleLevel = "single-level", e.MultiLevel = "multi-level", e;
|
|
14
|
-
}({}),
|
|
15
|
-
container: "
|
|
16
|
-
label: "
|
|
17
|
-
trigger: "
|
|
18
|
-
searchInput: "
|
|
19
|
-
chips: "
|
|
20
|
-
searchIcon: "
|
|
21
|
-
popover: "
|
|
22
|
-
clearButton: "
|
|
23
|
-
breadcrumbContainer: "
|
|
14
|
+
}({}), h = {
|
|
15
|
+
container: "_container_nitxb_1",
|
|
16
|
+
label: "_label_nitxb_8",
|
|
17
|
+
trigger: "_trigger_nitxb_12",
|
|
18
|
+
searchInput: "_searchInput_nitxb_30",
|
|
19
|
+
chips: "_chips_nitxb_42",
|
|
20
|
+
searchIcon: "_searchIcon_nitxb_79",
|
|
21
|
+
popover: "_popover_nitxb_88",
|
|
22
|
+
clearButton: "_clearButton_nitxb_96",
|
|
23
|
+
breadcrumbContainer: "_breadcrumbContainer_nitxb_100"
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function fe(e) {
|
|
26
26
|
let t = null;
|
|
27
27
|
for (let n of e) n.selectable !== !1 && (t === null || n.level > t) && (t = n.level);
|
|
28
28
|
return t;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
31
|
-
function
|
|
30
|
+
var pe = [];
|
|
31
|
+
function me(e) {
|
|
32
32
|
if (e != null) return (typeof e == "function" ? e() : e) ?? void 0;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
let { formatMessage:
|
|
34
|
+
var g = /*#__PURE__*/ a(function({ itemsService: a, eventService: g, levels: _ = pe, mode: he, multiSelect: v, value: y, onValueChange: b, placeholder: ge, disabled: x = !1, label: S, containerClassName: _e, portalElement: ve }, ye) {
|
|
35
|
+
let { formatMessage: C } = ie(), w = te(), T = `${w}-listbox`, E = l(null), be = le(E, ye), D = l(null), O = l(null), [xe, Se] = ne(null), k = l(0), A = l(!1), Ce = me(ve), j = he === m.SingleLevel, { state: M, isOpen: N, handleOpenChange: P, handleInputValueChange: F, actions: I } = t(a, _, g), { items: L, levelStack: R } = M, { drillDown: z, navigateBack: B, loadMore: we, setSearchScopeOverride: V } = I, H = M.searchInputValue !== "", U = c(() => fe(M.availableLevels), [M.availableLevels]);
|
|
36
36
|
ee(() => {
|
|
37
|
-
|
|
37
|
+
V(j && U !== null ? {
|
|
38
38
|
parentId: null,
|
|
39
|
-
levelFilter:
|
|
39
|
+
levelFilter: U
|
|
40
40
|
} : void 0);
|
|
41
41
|
}, [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
j,
|
|
43
|
+
U,
|
|
44
|
+
V
|
|
45
45
|
]);
|
|
46
|
-
let [
|
|
47
|
-
|
|
48
|
-
}, []),
|
|
49
|
-
|
|
50
|
-
}, [
|
|
46
|
+
let [Te, W] = ne(""), G = l(!1), Ee = o(() => {
|
|
47
|
+
G.current = !0;
|
|
48
|
+
}, []), De = o((e) => {
|
|
49
|
+
G.current = !1, F(e.target.value);
|
|
50
|
+
}, [F]);
|
|
51
51
|
s(() => {
|
|
52
|
-
|
|
53
|
-
}, [
|
|
52
|
+
G.current ? M.searchInputValue === "" && (G.current = !1, W("")) : W(M.searchInputValue);
|
|
53
|
+
}, [M.searchInputValue]), s(() => {
|
|
54
54
|
let e;
|
|
55
|
-
return !
|
|
56
|
-
|
|
57
|
-
})),
|
|
55
|
+
return !H && A.current && (e = requestAnimationFrame(() => {
|
|
56
|
+
O.current?.scrollTo(k.current);
|
|
57
|
+
})), A.current = H, () => {
|
|
58
58
|
e !== void 0 && cancelAnimationFrame(e);
|
|
59
59
|
};
|
|
60
|
-
}, [
|
|
61
|
-
let
|
|
62
|
-
let n =
|
|
60
|
+
}, [H]);
|
|
61
|
+
let K = c(() => new Set(y.map((e) => e.id)), [y]), Oe = c(() => !v && y.length === 1 ? y[0].id : "", [v, y]), q = o((e, t = !0) => {
|
|
62
|
+
let n = L.find((t) => t.id === e);
|
|
63
63
|
if (!n || !n.selectable) return;
|
|
64
64
|
let r = {
|
|
65
65
|
id: n.id,
|
|
@@ -67,16 +67,16 @@ var _ = /*#__PURE__*/ a(function({ itemsService: a, eventService: _, levels: v =
|
|
|
67
67
|
level: n.level,
|
|
68
68
|
ancestors: n.ancestors
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
v ? b(K.has(e) ? y.filter((t) => t.id !== e) : [...y, r]) : (b([r]), t && P(!1));
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
L,
|
|
73
|
+
v,
|
|
74
|
+
K,
|
|
73
75
|
y,
|
|
74
|
-
q,
|
|
75
76
|
b,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
let n = N.searchResults.find((t) => t.id === e);
|
|
77
|
+
P
|
|
78
|
+
]), J = o((e, t = !0) => {
|
|
79
|
+
let n = M.searchResults.find((t) => t.id === e);
|
|
80
80
|
if (!n || !n.selectable) return;
|
|
81
81
|
let r = {
|
|
82
82
|
id: n.id,
|
|
@@ -84,197 +84,199 @@ var _ = /*#__PURE__*/ a(function({ itemsService: a, eventService: _, levels: v =
|
|
|
84
84
|
level: n.level,
|
|
85
85
|
ancestors: n.ancestors
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
v ? b(K.has(e) ? y.filter((t) => t.id !== e) : [...y, r]) : (b([r]), t !== !1 && P(!1));
|
|
88
88
|
}, [
|
|
89
|
-
|
|
89
|
+
M.searchResults,
|
|
90
|
+
v,
|
|
91
|
+
K,
|
|
90
92
|
y,
|
|
91
|
-
q,
|
|
92
93
|
b,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
t && L.drillDown({
|
|
94
|
+
P
|
|
95
|
+
]), Y = o((e) => {
|
|
96
|
+
let t = M.searchResults.find((t) => t.id === e);
|
|
97
|
+
t && I.drillDown({
|
|
98
98
|
id: t.id,
|
|
99
99
|
displayName: t.displayName,
|
|
100
100
|
ancestors: t.ancestors
|
|
101
101
|
});
|
|
102
|
-
}, [
|
|
103
|
-
let t =
|
|
104
|
-
t &&
|
|
102
|
+
}, [M.searchResults, I]), X = o((e) => {
|
|
103
|
+
let t = M.items.find((t) => t.id === e);
|
|
104
|
+
t && z({
|
|
105
105
|
id: t.id,
|
|
106
106
|
displayName: t.displayName
|
|
107
107
|
});
|
|
108
|
-
}, [
|
|
108
|
+
}, [M.items, z]), Z = o((e) => !(!e.hasChildren || j && U !== null && e.level >= U), [j, U]), ke = c(() => L.map((e) => ({
|
|
109
109
|
id: e.id,
|
|
110
110
|
displayName: e.displayName,
|
|
111
111
|
selectable: e.selectable,
|
|
112
|
-
multiSelect:
|
|
113
|
-
isSelected:
|
|
112
|
+
multiSelect: v,
|
|
113
|
+
isSelected: K.has(e.id),
|
|
114
114
|
showDrillDown: Z(e),
|
|
115
115
|
ancestors: e.ancestors,
|
|
116
|
-
onSelect:
|
|
117
|
-
onDrillDown:
|
|
116
|
+
onSelect: q,
|
|
117
|
+
onDrillDown: X
|
|
118
118
|
})), [
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
L,
|
|
120
|
+
v,
|
|
121
|
+
K,
|
|
122
122
|
Z,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
]), Q = c(() =>
|
|
123
|
+
q,
|
|
124
|
+
X
|
|
125
|
+
]), Q = c(() => R.length === 0 ? [] : [{
|
|
126
126
|
id: e,
|
|
127
|
-
name:
|
|
128
|
-
}, ...
|
|
127
|
+
name: C(i.breadcrumbRootLabel)
|
|
128
|
+
}, ...R.map((e) => ({
|
|
129
129
|
id: e.id,
|
|
130
130
|
name: e.displayName
|
|
131
|
-
}))], [
|
|
132
|
-
|
|
133
|
-
}, [
|
|
131
|
+
}))], [R, C]), Ae = o((e) => {
|
|
132
|
+
B(e === "__breadcrumb_root__" ? null : e);
|
|
133
|
+
}, [B]), je = !j && H && M.availableLevels.length > 1, Me = c(() => M.searchResults.map((e) => ({
|
|
134
134
|
id: e.id,
|
|
135
135
|
displayName: e.displayName,
|
|
136
136
|
selectable: e.selectable,
|
|
137
|
-
multiSelect:
|
|
138
|
-
isSelected:
|
|
137
|
+
multiSelect: v,
|
|
138
|
+
isSelected: K.has(e.id),
|
|
139
139
|
showDrillDown: Z(e),
|
|
140
140
|
ancestors: e.ancestors,
|
|
141
|
-
onSelect:
|
|
142
|
-
onDrillDown:
|
|
141
|
+
onSelect: J,
|
|
142
|
+
onDrillDown: Y
|
|
143
143
|
})), [
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
M.searchResults,
|
|
145
|
+
v,
|
|
146
|
+
K,
|
|
147
147
|
Z,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
]),
|
|
151
|
-
e.target === e.currentTarget &&
|
|
152
|
-
}, [
|
|
153
|
-
!
|
|
154
|
-
},
|
|
155
|
-
!
|
|
156
|
-
},
|
|
157
|
-
|
|
148
|
+
J,
|
|
149
|
+
Y
|
|
150
|
+
]), Ne = o((e) => {
|
|
151
|
+
e.target === e.currentTarget && E.current?.focus();
|
|
152
|
+
}, [E]), $ = y.length > 0, Pe = ge ?? C(i.placeholder), Fe = (e) => {
|
|
153
|
+
!x && e.target === e.currentTarget && (e.preventDefault(), E.current?.focus());
|
|
154
|
+
}, Ie = () => {
|
|
155
|
+
!x && !N && P(!0);
|
|
156
|
+
}, Le = o(() => {
|
|
157
|
+
x || (b([]), F(""));
|
|
158
158
|
}, [
|
|
159
|
-
S,
|
|
160
159
|
x,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
b,
|
|
161
|
+
F
|
|
162
|
+
]), Re = (e) => {
|
|
163
|
+
!H && e.target.value && (k.current = O.current?.getScrollTop() ?? 0), W(e.target.value), G.current || F(e.target.value);
|
|
164
|
+
}, ze = (e) => {
|
|
165
|
+
x || b(y.filter((t) => t.id !== e.id));
|
|
166
166
|
};
|
|
167
|
-
return /* @__PURE__ */
|
|
167
|
+
return /* @__PURE__ */ p(d.Root, {
|
|
168
168
|
modal: !1,
|
|
169
|
-
onOpenChange:
|
|
170
|
-
open:
|
|
171
|
-
children: [/* @__PURE__ */
|
|
172
|
-
className:
|
|
173
|
-
children: [
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
onOpenChange: P,
|
|
170
|
+
open: N,
|
|
171
|
+
children: [/* @__PURE__ */ f(d.Anchor, { children: /* @__PURE__ */ p("div", {
|
|
172
|
+
className: re(h.container, _e),
|
|
173
|
+
children: [S && /* @__PURE__ */ f(ce, {
|
|
174
|
+
as: "label",
|
|
175
|
+
className: h.label,
|
|
176
|
+
htmlFor: w,
|
|
177
|
+
variant: "bodyDefaultBold",
|
|
178
|
+
children: S
|
|
179
|
+
}), /* @__PURE__ */ p("div", {
|
|
180
|
+
className: h.trigger,
|
|
181
|
+
"data-disabled": x,
|
|
182
|
+
onMouseDown: Fe,
|
|
183
|
+
ref: D,
|
|
182
184
|
children: [
|
|
183
|
-
|
|
184
|
-
className:
|
|
185
|
-
onClick:
|
|
186
|
-
children:
|
|
185
|
+
v && $ && /* @__PURE__ */ f(oe, {
|
|
186
|
+
className: h.chips,
|
|
187
|
+
onClick: Ne,
|
|
188
|
+
children: y.map((e) => /* @__PURE__ */ f(u, {
|
|
187
189
|
label: e.displayName,
|
|
188
|
-
onDelete: () =>
|
|
189
|
-
tabIndex:
|
|
190
|
+
onDelete: () => ze(e),
|
|
191
|
+
tabIndex: x ? -1 : void 0
|
|
190
192
|
}, e.id))
|
|
191
193
|
}),
|
|
192
|
-
!
|
|
193
|
-
label:
|
|
194
|
-
tabIndex:
|
|
194
|
+
!v && $ && /* @__PURE__ */ f(u, {
|
|
195
|
+
label: y[0].displayName,
|
|
196
|
+
tabIndex: x ? -1 : void 0
|
|
195
197
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
"aria-controls":
|
|
198
|
-
"aria-expanded":
|
|
198
|
+
/* @__PURE__ */ f("input", {
|
|
199
|
+
"aria-controls": T,
|
|
200
|
+
"aria-expanded": N,
|
|
199
201
|
"aria-haspopup": "listbox",
|
|
200
|
-
className:
|
|
201
|
-
disabled:
|
|
202
|
-
id:
|
|
203
|
-
onChange:
|
|
204
|
-
onCompositionStart:
|
|
205
|
-
onCompositionEnd:
|
|
206
|
-
onFocus:
|
|
207
|
-
placeholder: $ ? void 0 :
|
|
208
|
-
ref:
|
|
202
|
+
className: h.searchInput,
|
|
203
|
+
disabled: x,
|
|
204
|
+
id: w,
|
|
205
|
+
onChange: Re,
|
|
206
|
+
onCompositionStart: Ee,
|
|
207
|
+
onCompositionEnd: De,
|
|
208
|
+
onFocus: Ie,
|
|
209
|
+
placeholder: $ ? void 0 : Pe,
|
|
210
|
+
ref: be,
|
|
209
211
|
role: "combobox",
|
|
210
212
|
type: "text",
|
|
211
|
-
value:
|
|
213
|
+
value: Te
|
|
212
214
|
}),
|
|
213
|
-
!
|
|
214
|
-
"aria-label":
|
|
215
|
-
className:
|
|
216
|
-
icon:
|
|
215
|
+
!v && $ && /* @__PURE__ */ f(se, {
|
|
216
|
+
"aria-label": C(i.clearAriaLabel),
|
|
217
|
+
className: h.clearButton,
|
|
218
|
+
icon: de,
|
|
217
219
|
size: "x-small",
|
|
218
|
-
tabIndex:
|
|
219
|
-
onClick:
|
|
220
|
+
tabIndex: x ? -1 : void 0,
|
|
221
|
+
onClick: Le
|
|
220
222
|
}),
|
|
221
|
-
/* @__PURE__ */
|
|
223
|
+
/* @__PURE__ */ f(ue, {
|
|
222
224
|
"aria-hidden": "true",
|
|
223
|
-
className:
|
|
225
|
+
className: h.searchIcon,
|
|
224
226
|
role: "presentation"
|
|
225
227
|
})
|
|
226
228
|
]
|
|
227
229
|
})]
|
|
228
|
-
}) }), /* @__PURE__ */
|
|
230
|
+
}) }), /* @__PURE__ */ p(d.ContentContainer, {
|
|
229
231
|
align: "start",
|
|
230
|
-
className:
|
|
231
|
-
container:
|
|
232
|
+
className: h.popover,
|
|
233
|
+
container: Ce,
|
|
232
234
|
onInteractOutside: (e) => {
|
|
233
|
-
|
|
235
|
+
D.current?.contains(e.target) && e.preventDefault();
|
|
234
236
|
},
|
|
235
237
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
236
|
-
ref:
|
|
238
|
+
ref: Se,
|
|
237
239
|
children: [
|
|
238
|
-
Q.length > 0 && !
|
|
239
|
-
className:
|
|
240
|
-
children: /* @__PURE__ */
|
|
241
|
-
breadcrumbAriaLabel:
|
|
240
|
+
Q.length > 0 && !H && /* @__PURE__ */ f("div", {
|
|
241
|
+
className: h.breadcrumbContainer,
|
|
242
|
+
children: /* @__PURE__ */ f(ae, {
|
|
243
|
+
breadcrumbAriaLabel: C(i.breadcrumbAriaLabel),
|
|
242
244
|
crumbs: Q,
|
|
243
|
-
onPageLinkClick:
|
|
245
|
+
onPageLinkClick: Ae,
|
|
244
246
|
rootIconVariant: "taxonomy",
|
|
245
|
-
isInteractive: !
|
|
247
|
+
isInteractive: !x,
|
|
246
248
|
isResponsiveEnabled: !1,
|
|
247
249
|
size: "small",
|
|
248
|
-
truncatedLinksIconAriaLabel:
|
|
250
|
+
truncatedLinksIconAriaLabel: C(i.breadcrumbTruncatedLinksLabel),
|
|
249
251
|
truncationMethod: "folder-tree"
|
|
250
252
|
})
|
|
251
253
|
}),
|
|
252
|
-
|
|
253
|
-
availableLevels:
|
|
254
|
-
container:
|
|
255
|
-
levelFilter:
|
|
256
|
-
onLevelFilterChange:
|
|
254
|
+
je && /* @__PURE__ */ f(r, {
|
|
255
|
+
availableLevels: _,
|
|
256
|
+
container: xe,
|
|
257
|
+
levelFilter: M.levelFilter,
|
|
258
|
+
onLevelFilterChange: I.setLevelFilter
|
|
257
259
|
}),
|
|
258
|
-
/* @__PURE__ */
|
|
259
|
-
error:
|
|
260
|
-
estimatedRowHeight:
|
|
261
|
-
hasMore:
|
|
262
|
-
hasVariableRowHeight:
|
|
263
|
-
isFetching:
|
|
264
|
-
isFetchingMore:
|
|
265
|
-
isSearchMode:
|
|
266
|
-
items:
|
|
267
|
-
listboxId:
|
|
268
|
-
loadMoreError:
|
|
269
|
-
multiSelect:
|
|
270
|
-
onFocusExit: () =>
|
|
271
|
-
onLoadMore:
|
|
272
|
-
onRetry:
|
|
273
|
-
ref:
|
|
274
|
-
selectedValue:
|
|
260
|
+
/* @__PURE__ */ f(n, {
|
|
261
|
+
error: H ? M.searchError : M.initialLoadError,
|
|
262
|
+
estimatedRowHeight: H ? 44 : void 0,
|
|
263
|
+
hasMore: H ? M.searchNextMarker !== void 0 : M.itemsNextMarker !== void 0,
|
|
264
|
+
hasVariableRowHeight: H,
|
|
265
|
+
isFetching: H ? M.isFetchingSearch : M.isFetching,
|
|
266
|
+
isFetchingMore: H ? M.isFetchingSearchMore : M.isFetchingMore,
|
|
267
|
+
isSearchMode: H,
|
|
268
|
+
items: H ? Me : ke,
|
|
269
|
+
listboxId: T,
|
|
270
|
+
loadMoreError: H ? M.searchLoadMoreError : M.loadMoreError,
|
|
271
|
+
multiSelect: v,
|
|
272
|
+
onFocusExit: () => E.current?.focus(),
|
|
273
|
+
onLoadMore: H ? I.searchLoadMore : we,
|
|
274
|
+
onRetry: I.retry,
|
|
275
|
+
ref: O,
|
|
276
|
+
selectedValue: Oe
|
|
275
277
|
})
|
|
276
278
|
]
|
|
277
279
|
})]
|
|
278
280
|
});
|
|
279
281
|
});
|
|
280
|
-
export {
|
|
282
|
+
export { m as n, g as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_nitxb_1{gap:var(--bp-space-020,.5rem);flex-direction:column;width:100%;display:flex}._label_nitxb_8{cursor:pointer}._trigger_nitxb_12{box-sizing:border-box;align-items:center;gap:var(--space-2);width:100%;min-height:var(--bp-size-100,2.5rem);padding-block:var(--bp-space-020,.5rem);padding-inline:var(--bp-space-030,.75rem);color:var(--bp-text-text-on-light);background-color:var(--surface-dropdown-surface);border:var(--bp-border-01,.0625rem) solid var(--bp-border-input-border);border-radius:var(--bp-radius-06,.75rem);font:inherit;cursor:pointer;outline:none;flex-wrap:wrap;display:flex}._trigger_nitxb_12:has(._searchInput_nitxb_30:focus){background-color:var(--surface-dropdown-surface-focus);border-color:var(--outline-focus-on-light);border-width:var(--bp-border-02,.125rem)}._trigger_nitxb_12[data-disabled=true]{opacity:.6;cursor:not-allowed}._trigger_nitxb_12[data-disabled=true] button{pointer-events:none}._trigger_nitxb_12 ._chips_nitxb_42{display:contents}._trigger_nitxb_12[data-disabled=true] ._chips_nitxb_42>*{pointer-events:none}input[type=text]._searchInput_nitxb_30{width:auto;min-width:var(--size-12);color:var(--bp-text-text-on-light);box-shadow:none;font:inherit;font-size:var(--bp-font-size-05,.9375rem);line-height:var(--body-default-line-height,1.25rem);cursor:inherit;background:0 0;border:none;border-radius:0;outline:none;flex:1;padding:0}input[type=text]._searchInput_nitxb_30:hover,input[type=text]._searchInput_nitxb_30:focus,input[type=text]._searchInput_nitxb_30:disabled{box-shadow:none;background:0 0;border:none;border-radius:0;outline:none}input[type=text]._searchInput_nitxb_30::placeholder{color:var(--bp-text-text-on-light-secondary);font-family:inherit;font-size:var(--bp-font-size-05,.9375rem);font-weight:var(--bp-font-weight-regular,400)}._searchIcon_nitxb_79{width:var(--bp-size-040,1rem);height:var(--bp-size-040,1rem);color:var(--bp-icon-icon-on-light-secondary);pointer-events:none;flex-shrink:0;margin-inline-start:auto}._popover_nitxb_88{width:var(--radix-popover-trigger-width);max-width:none}._popover_nitxb_88 div[data-radix-popper-content-wrapper]:has([role=menu]){background-color:var(--bp-surface-menu-surface-dropdown)}._clearButton_nitxb_96{flex-shrink:0}._breadcrumbContainer_nitxb_100{min-width:0;padding-block:var(--bp-space-020,.5rem);padding-inline:var(--bp-space-020,.5rem);border-bottom:var(--bp-border-01,.0625rem) solid var(--bp-border-divider);align-items:center;display:flex}._breadcrumbContainer_nitxb_100 li:first-child:has(button){margin-inline-start:calc(-1 * var(--bp-space-010,.25rem))}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-taxonomy-picker",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.36",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@ariakit/react": "^0.4.21",
|
|
7
|
-
"@box/blueprint-web": "^16.
|
|
8
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
7
|
+
"@box/blueprint-web": "^16.13.0",
|
|
8
|
+
"@box/blueprint-web-assets": "^5.5.9",
|
|
9
9
|
"@tanstack/react-virtual": "^3.10.8",
|
|
10
10
|
"react": "^18.0.0",
|
|
11
11
|
"react-dom": "^18.0.0",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@ariakit/react": "^0.4.21",
|
|
16
|
-
"@box/blueprint-web": "^16.
|
|
17
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
16
|
+
"@box/blueprint-web": "^16.13.0",
|
|
17
|
+
"@box/blueprint-web-assets": "^5.5.9",
|
|
18
18
|
"@box/eslint-plugin-blueprint": "2.1.10",
|
|
19
|
-
"@box/storybook-utils": "1.1.
|
|
19
|
+
"@box/storybook-utils": "1.1.33",
|
|
20
20
|
"@tanstack/react-virtual": "^3.10.8",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|