@box/metadata-editor 0.67.3 → 0.67.4

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,20 +1,20 @@
1
1
  import "../../../../../../styles/ai-suggestion-field.css";
2
- import { Text as p, IconButton as g, DropdownMenu as t } from "@box/blueprint-web";
2
+ import { Text as g, IconButton as l, DropdownMenu as t } from "@box/blueprint-web";
3
3
  import { Checkmark as u, Ellipsis as S } from "@box/blueprint-web-assets/icons/Fill";
4
4
  import { useIntl as h, FormattedMessage as n } from "react-intl";
5
5
  import r from "./messages.js";
6
6
  import { formatSuggestionValue as w } from "./utils.js";
7
7
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
8
- const I = "_wrapperGradient_1e3py_1", _ = "_wrapper_1e3py_1", f = "_buttons_1e3py_18", M = "_selectTrigger_1e3py_22", i = {
8
+ const I = "_wrapperGradient_t2yak_1", _ = "_wrapper_t2yak_1", f = "_buttons_t2yak_18", k = "_selectTrigger_t2yak_22", i = {
9
9
  wrapperGradient: I,
10
10
  wrapper: _,
11
11
  buttons: f,
12
- selectTrigger: M
12
+ selectTrigger: k
13
13
  };
14
- function D({
15
- aiSuggestion: l,
14
+ function A({
15
+ aiSuggestion: c,
16
16
  onAiSuggestionAppend: s,
17
- onAiSuggestionReplace: c,
17
+ onAiSuggestionReplace: p,
18
18
  onAiSuggestionIgnore: d,
19
19
  type: m
20
20
  }) {
@@ -24,23 +24,23 @@ function D({
24
24
  children: /* @__PURE__ */ a("div", {
25
25
  className: i.wrapper,
26
26
  children: [/* @__PURE__ */ a("div", {
27
- children: [/* @__PURE__ */ e(p, {
27
+ children: [/* @__PURE__ */ e(g, {
28
28
  as: "p",
29
29
  color: "textOnLightSecondary",
30
30
  variant: "caption",
31
31
  children: /* @__PURE__ */ e(n, {
32
32
  ...r.aiSuggestionCaption
33
33
  })
34
- }), /* @__PURE__ */ e(p, {
34
+ }), /* @__PURE__ */ e(g, {
35
35
  as: "p",
36
- children: w(l, {
36
+ children: w(c, {
37
37
  type: m,
38
38
  locale: o.locale
39
39
  })
40
40
  })]
41
41
  }), /* @__PURE__ */ a("div", {
42
42
  className: i.buttons,
43
- children: [/* @__PURE__ */ e(g, {
43
+ children: [/* @__PURE__ */ e(l, {
44
44
  "aria-label": o.formatMessage(r.aiSuggestionAppend),
45
45
  icon: u,
46
46
  onClick: s,
@@ -49,7 +49,7 @@ function D({
49
49
  }), /* @__PURE__ */ a(t.Root, {
50
50
  children: [/* @__PURE__ */ e(t.Trigger, {
51
51
  className: i.selectTrigger,
52
- children: /* @__PURE__ */ e(g, {
52
+ children: /* @__PURE__ */ e(l, {
53
53
  "aria-label": o.formatMessage(r.aiSuggestionOptions),
54
54
  icon: S,
55
55
  "data-target-id": "IconButton-aiSuggestionOptions"
@@ -62,7 +62,7 @@ function D({
62
62
  ...r.aiSuggestionAppend
63
63
  })
64
64
  }), /* @__PURE__ */ e(t.Item, {
65
- onSelect: c,
65
+ onSelect: p,
66
66
  "data-target-id": "DropdownMenu.Item-aiSuggestionClearAndReplace",
67
67
  children: /* @__PURE__ */ e(n, {
68
68
  ...r.aiSuggestionClearAndReplace
@@ -81,5 +81,5 @@ function D({
81
81
  });
82
82
  }
83
83
  export {
84
- D as AiSuggestionField
84
+ A as AiSuggestionField
85
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.67.3",
3
+ "version": "0.67.4",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.5",
6
6
  "@box/blueprint-web": "^7.30.3",
@@ -53,5 +53,5 @@
53
53
  "**/*.css"
54
54
  ],
55
55
  "license": "SEE LICENSE IN LICENSE",
56
- "gitHead": "254f87a48e69399b6138d000899e0fd2217f179a"
56
+ "gitHead": "5550b436926d1ba8d9baaee86700020cf730cf14"
57
57
  }
@@ -1 +1 @@
1
- ._wrapperGradient_1e3py_1{background:linear-gradient(135deg,#fe03dc 0%,#2784fa 100%);border-radius:0 0 var(--radius-2) var(--radius-2)}._wrapperGradient_1e3py_1 ._wrapper_1e3py_1{display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;padding:var(--space-2) var(--space-3);position:relative;box-sizing:border-box;background:var(--box-blue-02);background-clip:padding-box;border:var(--border-1) solid transparent;border-radius:inherit}._wrapperGradient_1e3py_1 ._wrapper_1e3py_1 ._buttons_1e3py_18{display:flex;gap:var(--space-1)}._wrapperGradient_1e3py_1 ._wrapper_1e3py_1 ._selectTrigger_1e3py_22{width:var(--size-6);height:var(--size-6)}
1
+ ._wrapperGradient_t2yak_1{background:linear-gradient(135deg,#fe03dc 0%,#2784fa 100%);border-radius:0 0 var(--radius-2) var(--radius-2)}._wrapperGradient_t2yak_1 ._wrapper_t2yak_1{display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;padding:var(--space-2) var(--space-3);position:relative;box-sizing:border-box;background:var(--box-blue-02);background-clip:padding-box;border:var(--border-1) solid transparent;border-radius:inherit}._wrapperGradient_t2yak_1 ._wrapper_t2yak_1 ._buttons_t2yak_18{display:flex;gap:var(--space-1)}._wrapperGradient_t2yak_1 ._wrapper_t2yak_1 ._selectTrigger_t2yak_22{width:var(--size-6);height:var(--size-6)}._wrapperGradient_t2yak_1 ._wrapper_t2yak_1>div>p{overflow-wrap:anywhere}