@box/metadata-editor 1.61.1 → 1.61.3
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.
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import { Focusable as
|
|
2
|
-
import { Tooltip as
|
|
3
|
-
import
|
|
1
|
+
import { Focusable as c } from "@ariakit/react";
|
|
2
|
+
import { Tooltip as s, Text as a } from "@box/blueprint-web";
|
|
3
|
+
import m from "clsx";
|
|
4
4
|
import { jsx as t } from "react/jsx-runtime";
|
|
5
|
-
import '../../../../styles/interactive-text.css';const
|
|
6
|
-
interactiveText:
|
|
7
|
-
},
|
|
5
|
+
import '../../../../styles/interactive-text.css';const x = "_interactiveText_1i8lr_1", l = {
|
|
6
|
+
interactiveText: x
|
|
7
|
+
}, d = ({
|
|
8
8
|
tooltipText: r,
|
|
9
9
|
className: i,
|
|
10
|
-
children:
|
|
10
|
+
children: o,
|
|
11
11
|
...e
|
|
12
12
|
}) => {
|
|
13
13
|
const {
|
|
14
14
|
as: n = "span"
|
|
15
15
|
} = e;
|
|
16
|
-
return /* @__PURE__ */ t(
|
|
17
|
-
__checkInteractivity: !1,
|
|
16
|
+
return /* @__PURE__ */ t(s, {
|
|
18
17
|
content: r,
|
|
19
|
-
children: /* @__PURE__ */ t(
|
|
20
|
-
render: /* @__PURE__ */ t(
|
|
18
|
+
children: /* @__PURE__ */ t(c, {
|
|
19
|
+
render: /* @__PURE__ */ t(a, {
|
|
21
20
|
as: n,
|
|
22
|
-
className: l
|
|
21
|
+
className: m(l.interactiveText, i),
|
|
23
22
|
...e,
|
|
24
|
-
children:
|
|
23
|
+
children: o
|
|
25
24
|
})
|
|
26
25
|
})
|
|
27
26
|
});
|
|
28
27
|
};
|
|
29
28
|
export {
|
|
30
|
-
|
|
29
|
+
d as default
|
|
31
30
|
};
|
|
@@ -32,7 +32,7 @@ import '../../../../../../styles/metadata-instance-form-autofill-button.css';con
|
|
|
32
32
|
ref: h,
|
|
33
33
|
disabled: I,
|
|
34
34
|
dropdownTriggerAriaLabel: "See agent options.",
|
|
35
|
-
|
|
35
|
+
endIcon: e,
|
|
36
36
|
label: n.formatMessage(p.autofillButton),
|
|
37
37
|
onClick: () => A(),
|
|
38
38
|
variant: "secondary",
|
|
@@ -102,7 +102,7 @@ import '../../../../../../styles/metadata-instance-form-autofill-button.css';con
|
|
|
102
102
|
storedAgent: i
|
|
103
103
|
}) : /* @__PURE__ */ t(E, {
|
|
104
104
|
disabled: y,
|
|
105
|
-
|
|
105
|
+
endIcon: C,
|
|
106
106
|
onClick: () => S(),
|
|
107
107
|
variant: "secondary",
|
|
108
108
|
"data-target-id": "Button-autofillButton",
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-editor",
|
|
3
|
-
"version": "1.61.
|
|
3
|
+
"version": "1.61.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ariakit/react": "0.4.
|
|
6
|
-
"@box/blueprint-web": "^
|
|
7
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
8
|
-
"@box/box-ai-agent-selector": "^1.39.
|
|
9
|
-
"@box/combobox-with-api": "^1.42.
|
|
5
|
+
"@ariakit/react": "0.4.21",
|
|
6
|
+
"@box/blueprint-web": "^14.0.0",
|
|
7
|
+
"@box/blueprint-web-assets": "^4.111.15",
|
|
8
|
+
"@box/box-ai-agent-selector": "^1.39.19",
|
|
9
|
+
"@box/combobox-with-api": "^1.42.20",
|
|
10
10
|
"formik": "^2.0.3",
|
|
11
11
|
"lodash": "^4.17.15",
|
|
12
12
|
"react": "^17.0.0 || ^18.0.0",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"react-intl": "6.4.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@ariakit/react": "0.4.
|
|
18
|
-
"@box/babel-plugin-target-attributes": "1.5.
|
|
19
|
-
"@box/blueprint-web": "^
|
|
20
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
21
|
-
"@box/box-ai-agent-selector": "^1.39.
|
|
22
|
-
"@box/storybook-utils": "^0.17.
|
|
17
|
+
"@ariakit/react": "0.4.21",
|
|
18
|
+
"@box/babel-plugin-target-attributes": "1.5.9",
|
|
19
|
+
"@box/blueprint-web": "^14.0.0",
|
|
20
|
+
"@box/blueprint-web-assets": "^4.111.15",
|
|
21
|
+
"@box/box-ai-agent-selector": "^1.39.19",
|
|
22
|
+
"@box/storybook-utils": "^0.17.15",
|
|
23
23
|
"@testing-library/react": "^15.0.6",
|
|
24
24
|
"react": "^18.3.0",
|
|
25
25
|
"react-dom": "^18.3.0",
|