@box/metadata-editor 0.130.3 → 0.130.5

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,19 +1,19 @@
1
1
  import { BoxAiLogo as s } from "@box/blueprint-web-assets/icons/Logo";
2
2
  import i from "../esm/lib/components/interactive-text/interactive-text.js";
3
- import { convertISOStringtoRFC3339String as c } from "../esm/lib/utils/convertDate.js";
4
- import { jsxs as _, jsx as l } from "react/jsx-runtime";
5
- import '../styles/utils.css';const b = "_noAttributesText_1wv72_2", p = "_fieldWrapper_1wv72_6", g = "_hasSuggestion_1wv72_11", d = "_error_1wv72_19", x = "_dateField_1wv72_31", m = "_suggestionApplied_1wv72_35", u = "_comboboxContainer_1wv72_35", v = "_labelWrapper_1wv72_49", w = "_labelText_1wv72_55", T = "_labelIcon_1wv72_58", o = {
6
- noAttributesText: b,
7
- fieldWrapper: p,
8
- hasSuggestion: g,
9
- error: d,
10
- dateField: x,
11
- suggestionApplied: m,
12
- comboboxContainer: u,
13
- labelWrapper: v,
14
- labelText: w,
15
- labelIcon: T
16
- }, W = (t, e, r = !1, n = "label") => (a) => /* @__PURE__ */ _("div", {
3
+ import { convertISOStringtoRFC3339String as p } from "../esm/lib/utils/convertDate.js";
4
+ import { jsxs as c, jsx as l } from "react/jsx-runtime";
5
+ import '../styles/utils.css';const _ = "_noAttributesText_tpqxf_2", x = "_fieldWrapper_tpqxf_6", b = "_hasSuggestion_tpqxf_11", g = "_error_tpqxf_19", d = "_dateField_tpqxf_31", f = "_suggestionApplied_tpqxf_35", m = "_comboboxContainer_tpqxf_35", u = "_labelWrapper_tpqxf_50", T = "_labelText_tpqxf_56", q = "_labelIcon_tpqxf_59", o = {
6
+ noAttributesText: _,
7
+ fieldWrapper: x,
8
+ hasSuggestion: b,
9
+ error: g,
10
+ dateField: d,
11
+ suggestionApplied: f,
12
+ comboboxContainer: m,
13
+ labelWrapper: u,
14
+ labelText: T,
15
+ labelIcon: q
16
+ }, I = (t, e, r = !1, n = "label") => (a) => /* @__PURE__ */ c("div", {
17
17
  className: o.labelWrapper,
18
18
  children: [e ? /* @__PURE__ */ l(i, {
19
19
  as: n,
@@ -28,16 +28,16 @@ import '../styles/utils.css';const b = "_noAttributesText_1wv72_2", p = "_fieldW
28
28
  }), r && /* @__PURE__ */ l(s, {
29
29
  className: o.labelIcon
30
30
  })]
31
- }), I = (t) => {
31
+ }), F = (t) => {
32
32
  try {
33
- const e = c(t), r = new Date(e);
33
+ const e = p(t), r = new Date(e);
34
34
  return isNaN(r.getTime()) ? null : e;
35
35
  } catch {
36
36
  return null;
37
37
  }
38
38
  };
39
39
  export {
40
- W as g,
40
+ I as g,
41
41
  o as s,
42
- I as t
42
+ F as t
43
43
  };
@@ -1 +1 @@
1
- ._noAttributesText_1wv72_2{text-align:center}._fieldWrapper_1wv72_6{position:relative;isolation:isolate}._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>input,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>button,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>div[role=group]>div,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>div>div{border-bottom:none!important;border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>input:not(:disabled):not(:focus-visible):not(._error_1wv72_19):hover,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>button:not(:disabled):not(:focus-visible):not(._error_1wv72_19):hover,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>div[role=group]>div:not(:disabled):not(:focus-visible):not(._error_1wv72_19):hover,._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11>div>div:not(:disabled):not(:focus-visible):not(._error_1wv72_19):hover{border-bottom:none}._fieldWrapper_1wv72_6 ._hasSuggestion_1wv72_11 div[role=group]>div{margin-right:var(--border-1);margin-left:var(--border-1)}._fieldWrapper_1wv72_6 ._dateField_1wv72_31>div[role=group]>div{padding-inline:.75rem}._fieldWrapper_1wv72_6 ._suggestionApplied_1wv72_35>._comboboxContainer_1wv72_35,._fieldWrapper_1wv72_6 ._suggestionApplied_1wv72_35>input,._fieldWrapper_1wv72_6 ._suggestionApplied_1wv72_35>button,._fieldWrapper_1wv72_6 ._suggestionApplied_1wv72_35>div[role=group]>div,._fieldWrapper_1wv72_6 ._suggestionApplied_1wv72_35>div>div{box-sizing:border-box!important;background-image:linear-gradient(#fff,#fff),linear-gradient(135deg,#fe03dc,#2784fa)!important;background-clip:padding-box,border-box!important;background-origin:border-box!important;border:double var(--border-1) transparent!important;border-radius:var(--radius-2);outline:none}._labelWrapper_1wv72_49{display:flex;align-items:baseline;justify-content:space-between;width:100%}._labelWrapper_1wv72_49 ._labelText_1wv72_55{flex:unset!important}._labelWrapper_1wv72_49 ._labelIcon_1wv72_58{width:var(--space-4);height:var(--space-4);margin-inline-end:var(--space-3);margin-inline-start:var(--space-3)}
1
+ ._noAttributesText_tpqxf_2{text-align:center}._fieldWrapper_tpqxf_6{position:relative;isolation:isolate}._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>input,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>button,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>div[role=group]>div,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>div>div{border-bottom:none!important;border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>input:not(:disabled):not(:focus-visible):not(._error_tpqxf_19):hover,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>button:not(:disabled):not(:focus-visible):not(._error_tpqxf_19):hover,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>div[role=group]>div:not(:disabled):not(:focus-visible):not(._error_tpqxf_19):hover,._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11>div>div:not(:disabled):not(:focus-visible):not(._error_tpqxf_19):hover{border-bottom:none}._fieldWrapper_tpqxf_6 ._hasSuggestion_tpqxf_11 div[role=group]>div{margin-right:var(--border-1);margin-left:var(--border-1)}._fieldWrapper_tpqxf_6 ._dateField_tpqxf_31>div[role=group]>div{padding-inline:.75rem}._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>._comboboxContainer_tpqxf_35,._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>input,._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>button,._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>div[role=group]>div,._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>div>div,._fieldWrapper_tpqxf_6 ._suggestionApplied_tpqxf_35>div>input{box-sizing:border-box!important;background-image:linear-gradient(#fff,#fff),linear-gradient(135deg,#fe03dc,#2784fa)!important;background-clip:padding-box,border-box!important;background-origin:border-box!important;border:double var(--border-1) transparent!important;border-radius:var(--radius-2);outline:none}._labelWrapper_tpqxf_50{display:flex;align-items:baseline;justify-content:space-between;width:100%}._labelWrapper_tpqxf_50 ._labelText_tpqxf_56{flex:unset!important}._labelWrapper_tpqxf_50 ._labelIcon_tpqxf_59{width:var(--space-4);height:var(--space-4);margin-inline-end:var(--space-3);margin-inline-start:var(--space-3)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.130.3",
3
+ "version": "0.130.5",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.15",
6
6
  "@box/box-ai-agent-selector": "^0.55.2",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@ariakit/react": "0.4.15",
18
- "@box/box-ai-agent-selector": "^0.58.3",
18
+ "@box/box-ai-agent-selector": "^0.58.5",
19
19
  "@box/babel-plugin-target-attributes": "1.3.0",
20
- "@box/blueprint-web": "^12.64.2",
20
+ "@box/blueprint-web": "^12.64.4",
21
21
  "@box/blueprint-web-assets": "^4.65.0",
22
22
  "@box/storybook-utils": "^0.14.1",
23
23
  "@testing-library/react": "^15.0.6",