@box/metadata-editor 0.130.4 → 0.130.6
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.
- package/dist/chunks/utils2.js +18 -18
- package/dist/styles/utils.css +1 -1
- package/package.json +3 -3
package/dist/chunks/utils2.js
CHANGED
@@ -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
|
4
|
-
import { jsxs as
|
5
|
-
import '../styles/utils.css';const
|
6
|
-
noAttributesText:
|
7
|
-
fieldWrapper:
|
8
|
-
hasSuggestion:
|
9
|
-
error:
|
10
|
-
dateField:
|
11
|
-
suggestionApplied:
|
12
|
-
comboboxContainer:
|
13
|
-
labelWrapper:
|
14
|
-
labelText:
|
15
|
-
labelIcon:
|
16
|
-
},
|
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
|
-
}),
|
31
|
+
}), F = (t) => {
|
32
32
|
try {
|
33
|
-
const 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
|
-
|
40
|
+
I as g,
|
41
41
|
o as s,
|
42
|
-
|
42
|
+
F as t
|
43
43
|
};
|
package/dist/styles/utils.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
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
|
+
"version": "0.130.6",
|
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.
|
18
|
+
"@box/box-ai-agent-selector": "^0.58.6",
|
19
19
|
"@box/babel-plugin-target-attributes": "1.3.0",
|
20
|
-
"@box/blueprint-web": "^12.
|
20
|
+
"@box/blueprint-web": "^12.65.0",
|
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",
|