@box/box-ai-agent-selector 1.38.0 → 1.38.2
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.
|
@@ -550,9 +550,9 @@ function St(e, t) {
|
|
|
550
550
|
return be(r, "Invalid store"), r[t];
|
|
551
551
|
}
|
|
552
552
|
function Ke(e, ...t) {
|
|
553
|
-
let r = e, n = r, o = Symbol(), i = Vt;
|
|
553
|
+
let r = e, n = r, o = /* @__PURE__ */ Symbol(), i = Vt;
|
|
554
554
|
const s = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), p = (R) => (a.add(R), () => a.delete(R)), v = () => {
|
|
555
|
-
const R = s.size, w = Symbol();
|
|
555
|
+
const R = s.size, w = /* @__PURE__ */ Symbol();
|
|
556
556
|
s.add(w);
|
|
557
557
|
const L = () => {
|
|
558
558
|
s.delete(w), !s.size && i();
|
|
@@ -593,7 +593,7 @@ function Ke(e, ...t) {
|
|
|
593
593
|
(M = g?.setState) == null || M.call(g, R, k);
|
|
594
594
|
const I = r;
|
|
595
595
|
r = ge(te({}, r), { [R]: k });
|
|
596
|
-
const T = Symbol();
|
|
596
|
+
const T = /* @__PURE__ */ Symbol();
|
|
597
597
|
o = T, u.add(R);
|
|
598
598
|
const A = (g, F, K) => {
|
|
599
599
|
var E;
|
|
@@ -690,15 +690,6 @@ function ws(e) {
|
|
|
690
690
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
691
691
|
}
|
|
692
692
|
var Ft = { exports: {} }, fn = {};
|
|
693
|
-
/**
|
|
694
|
-
* @license React
|
|
695
|
-
* use-sync-external-store-shim.production.js
|
|
696
|
-
*
|
|
697
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
698
|
-
*
|
|
699
|
-
* This source code is licensed under the MIT license found in the
|
|
700
|
-
* LICENSE file in the root directory of this source tree.
|
|
701
|
-
*/
|
|
702
693
|
var wr;
|
|
703
694
|
function Es() {
|
|
704
695
|
if (wr) return fn;
|
|
@@ -741,15 +732,6 @@ function Es() {
|
|
|
741
732
|
return fn.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, fn;
|
|
742
733
|
}
|
|
743
734
|
var dn = {};
|
|
744
|
-
/**
|
|
745
|
-
* @license React
|
|
746
|
-
* use-sync-external-store-shim.development.js
|
|
747
|
-
*
|
|
748
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
749
|
-
*
|
|
750
|
-
* This source code is licensed under the MIT license found in the
|
|
751
|
-
* LICENSE file in the root directory of this source tree.
|
|
752
|
-
*/
|
|
753
735
|
var Er;
|
|
754
736
|
function xs() {
|
|
755
737
|
return Er || (Er = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -1269,13 +1251,13 @@ function Hs(e = {}) {
|
|
|
1269
1251
|
anchorElement: U(i?.anchorElement, null),
|
|
1270
1252
|
popoverElement: U(i?.popoverElement, null),
|
|
1271
1253
|
arrowElement: U(i?.arrowElement, null),
|
|
1272
|
-
rendered: Symbol("rendered")
|
|
1254
|
+
rendered: /* @__PURE__ */ Symbol("rendered")
|
|
1273
1255
|
}), d = Ke(a, s, o);
|
|
1274
1256
|
return ge(te(te({}, s), d), {
|
|
1275
1257
|
setAnchorElement: (f) => d.setState("anchorElement", f),
|
|
1276
1258
|
setPopoverElement: (f) => d.setState("popoverElement", f),
|
|
1277
1259
|
setArrowElement: (f) => d.setState("arrowElement", f),
|
|
1278
|
-
render: () => d.setState("rendered", Symbol("rendered"))
|
|
1260
|
+
render: () => d.setState("rendered", /* @__PURE__ */ Symbol("rendered"))
|
|
1279
1261
|
});
|
|
1280
1262
|
}
|
|
1281
1263
|
function Ws(e, t, r) {
|
|
@@ -1544,7 +1526,7 @@ var su = "div", Or = Nn(), uu = [
|
|
|
1544
1526
|
"time",
|
|
1545
1527
|
"datetime",
|
|
1546
1528
|
"datetime-local"
|
|
1547
|
-
], Ro = Symbol("safariFocusAncestor");
|
|
1529
|
+
], Ro = /* @__PURE__ */ Symbol("safariFocusAncestor");
|
|
1548
1530
|
function au(e) {
|
|
1549
1531
|
return e ? !!e[Ro] : !1;
|
|
1550
1532
|
}
|
|
@@ -1704,7 +1686,7 @@ function Dr(e) {
|
|
|
1704
1686
|
const t = e.currentTarget;
|
|
1705
1687
|
return e.key === "Enter" ? Xe(t) || t.tagName === "SUMMARY" || t.tagName === "A" : e.key === " " ? Xe(t) || t.tagName === "SUMMARY" || t.tagName === "INPUT" || t.tagName === "SELECT" : !1;
|
|
1706
1688
|
}
|
|
1707
|
-
var hu = Symbol("command"), er = Z(
|
|
1689
|
+
var hu = /* @__PURE__ */ Symbol("command"), er = Z(
|
|
1708
1690
|
function(t) {
|
|
1709
1691
|
var r = t, { clickOnEnter: n = !0, clickOnSpace: o = !0 } = r, i = J(r, ["clickOnEnter", "clickOnSpace"]);
|
|
1710
1692
|
const s = Y(null), [u, a] = X(!1);
|
|
@@ -1771,7 +1753,7 @@ G(function(t) {
|
|
|
1771
1753
|
const r = No(t);
|
|
1772
1754
|
return Q(Fo, r);
|
|
1773
1755
|
});
|
|
1774
|
-
var bu = "button", yu = Symbol("disclosure"), Mo = Z(
|
|
1756
|
+
var bu = "button", yu = /* @__PURE__ */ Symbol("disclosure"), Mo = Z(
|
|
1775
1757
|
function(t) {
|
|
1776
1758
|
var r = t, { store: n, toggleOnClick: o = !0 } = r, i = J(r, ["store", "toggleOnClick"]);
|
|
1777
1759
|
const s = Wn();
|
|
@@ -1946,7 +1928,7 @@ function Lu(e, t = !1) {
|
|
|
1946
1928
|
r?.selectAllChildren(e), t && r?.collapseToEnd();
|
|
1947
1929
|
}
|
|
1948
1930
|
}
|
|
1949
|
-
var xn = Symbol("FOCUS_SILENTLY");
|
|
1931
|
+
var xn = /* @__PURE__ */ Symbol("FOCUS_SILENTLY");
|
|
1950
1932
|
function Ru(e) {
|
|
1951
1933
|
e[xn] = !0, e.focus({ preventScroll: !0 });
|
|
1952
1934
|
}
|
|
@@ -2193,7 +2175,7 @@ function ju(e) {
|
|
|
2193
2175
|
const t = Ko(e);
|
|
2194
2176
|
return t ? se(e.currentTarget, t) : !1;
|
|
2195
2177
|
}
|
|
2196
|
-
var Pn = Symbol("composite-hover");
|
|
2178
|
+
var Pn = /* @__PURE__ */ Symbol("composite-hover");
|
|
2197
2179
|
function qu(e) {
|
|
2198
2180
|
let t = Ko(e);
|
|
2199
2181
|
if (!t) return !1;
|
|
@@ -3782,7 +3764,7 @@ var ei = Z(function(t) {
|
|
|
3782
3764
|
const q = z.target;
|
|
3783
3765
|
if (!q) return;
|
|
3784
3766
|
const { disclosureElement: we } = _.getState();
|
|
3785
|
-
|
|
3767
|
+
(q.tagName === "BODY" || se(ae, q) || !we || se(we, q)) && ut(z) && _.hide();
|
|
3786
3768
|
}, !0), [_, w, T, ut]), h = le(
|
|
3787
3769
|
h,
|
|
3788
3770
|
(V) => /* @__PURE__ */ N(Va, { level: u ? 1 : void 0, children: V }),
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/box-ai-agent-selector",
|
|
3
|
-
"version": "1.38.
|
|
3
|
+
"version": "1.38.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@ariakit/react": "^0.4.15",
|
|
7
|
-
"@box/blueprint-web": "^13.3.
|
|
8
|
-
"@box/blueprint-web-assets": "^4.101.
|
|
7
|
+
"@box/blueprint-web": "^13.3.2",
|
|
8
|
+
"@box/blueprint-web-assets": "^4.101.16",
|
|
9
9
|
"react": "^17.0.0 || ^18.0.0",
|
|
10
10
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-intl": "^6.4.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ariakit/react": "^0.4.15",
|
|
15
|
-
"@box/babel-plugin-target-attributes": "1.5.
|
|
16
|
-
"@box/blueprint-web": "^13.3.
|
|
17
|
-
"@box/blueprint-web-assets": "^4.101.
|
|
18
|
-
"@box/eslint-plugin-blueprint": "^1.
|
|
19
|
-
"@box/storybook-utils": "^0.16.
|
|
15
|
+
"@box/babel-plugin-target-attributes": "1.5.2",
|
|
16
|
+
"@box/blueprint-web": "^13.3.2",
|
|
17
|
+
"@box/blueprint-web-assets": "^4.101.16",
|
|
18
|
+
"@box/eslint-plugin-blueprint": "^1.1.1",
|
|
19
|
+
"@box/storybook-utils": "^0.16.53",
|
|
20
20
|
"@testing-library/react": "^15.0.6",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|