@box/tree 1.14.4 → 1.16.0
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,11 +1,11 @@
|
|
|
1
1
|
import { useIntl as n } from "react-intl";
|
|
2
2
|
import { LoadingIndicator as _ } from "@box/blueprint-web";
|
|
3
|
-
import
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { Expander as
|
|
6
|
-
import '../styles/expander-with-loading.css';const
|
|
7
|
-
loader:
|
|
8
|
-
content:
|
|
3
|
+
import d from "../esm/lib/components/content-node/messages.js";
|
|
4
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
5
|
+
import { Expander as c } from "../esm/lib/components/expander/expander.js";
|
|
6
|
+
import '../styles/expander-with-loading.css';const m = "_loader_1stia_2", p = "_content_1stia_10", g = "_title_1stia_16", b = "_subtitle_1stia_68", f = "_tooltip_1stia_84", u = {
|
|
7
|
+
loader: m,
|
|
8
|
+
content: p,
|
|
9
9
|
"title-wrapper": "_title-wrapper_1stia_16",
|
|
10
10
|
title: g,
|
|
11
11
|
"title--small": "_title--small_1stia_30",
|
|
@@ -15,25 +15,25 @@ import '../styles/expander-with-loading.css';const p = "_loader_1stia_2", m = "_
|
|
|
15
15
|
tooltip: f
|
|
16
16
|
}, w = ({
|
|
17
17
|
metadata: t,
|
|
18
|
-
handleExpand:
|
|
19
|
-
isDisabled:
|
|
18
|
+
handleExpand: o,
|
|
19
|
+
isDisabled: i,
|
|
20
20
|
isExpanded: e,
|
|
21
|
-
isLoading:
|
|
22
|
-
size:
|
|
21
|
+
isLoading: s,
|
|
22
|
+
size: a
|
|
23
23
|
}) => {
|
|
24
24
|
const r = n();
|
|
25
|
-
return
|
|
26
|
-
"aria-label": r.formatMessage(
|
|
25
|
+
return s ? /* @__PURE__ */ l(_, {
|
|
26
|
+
"aria-label": r.formatMessage(d.branchContentLoaderLabel),
|
|
27
27
|
className: u.loader,
|
|
28
|
-
size:
|
|
29
|
-
}) : /* @__PURE__ */
|
|
30
|
-
...
|
|
28
|
+
size: a === "small" ? "small" : "medium"
|
|
29
|
+
}) : /* @__PURE__ */ l(c, {
|
|
30
|
+
...t?.dataTargetId && {
|
|
31
31
|
dataTargetId: `${t.dataTargetId}:${e ? "collapse" : "expand"}`
|
|
32
32
|
},
|
|
33
|
-
disabled:
|
|
33
|
+
disabled: i,
|
|
34
34
|
expanded: e,
|
|
35
|
-
onClick:
|
|
36
|
-
size:
|
|
35
|
+
onClick: o,
|
|
36
|
+
size: a
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
@@ -1,130 +1,130 @@
|
|
|
1
1
|
import r from "clsx";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import {
|
|
2
|
+
import { useRef as c, useMemo as P } from "react";
|
|
3
|
+
import { CONTENT_NODE_LOADING as W, CONTENT_NODE as q } from "../../constants.js";
|
|
4
4
|
import { E as B, c as n } from "../../../../chunks/expander-with-loading.js";
|
|
5
5
|
import { VariantIcon as F } from "./variant-icon.js";
|
|
6
|
-
import { s as
|
|
7
|
-
import { jsxs as u, jsx as
|
|
6
|
+
import { s as e } from "../../../../chunks/nodes.module.js";
|
|
7
|
+
import { jsxs as u, jsx as l } from "react/jsx-runtime";
|
|
8
8
|
import { useIntersectionObserver as H } from "../../hooks/useIntersectionObserver.js";
|
|
9
9
|
import { NodeLabel as R } from "../node-label/node-label.js";
|
|
10
10
|
import { TruncatedTooltipText as J } from "../truncated-tooltip-text/truncated-tooltip-text.js";
|
|
11
|
-
function
|
|
11
|
+
function te({
|
|
12
12
|
element: {
|
|
13
13
|
name: i,
|
|
14
|
-
metadata:
|
|
14
|
+
metadata: t
|
|
15
15
|
},
|
|
16
|
-
level:
|
|
17
|
-
getNodeProps:
|
|
18
|
-
handleSelect:
|
|
16
|
+
level: N,
|
|
17
|
+
getNodeProps: p,
|
|
18
|
+
handleSelect: b,
|
|
19
19
|
handleExpand: h,
|
|
20
20
|
isBranch: V,
|
|
21
21
|
isExpanded: v,
|
|
22
|
-
isDisabled:
|
|
22
|
+
isDisabled: m,
|
|
23
23
|
isSelected: x,
|
|
24
|
-
size:
|
|
24
|
+
size: o,
|
|
25
25
|
withIcon: L,
|
|
26
26
|
containsSelection: k
|
|
27
27
|
}) {
|
|
28
|
-
const T =
|
|
28
|
+
const T = c(null), D = c(null), $ = c(null), f = c(null), {
|
|
29
29
|
isLoading: E = !1,
|
|
30
30
|
selectable: O = !0,
|
|
31
|
-
variant:
|
|
32
|
-
} =
|
|
31
|
+
variant: d
|
|
32
|
+
} = t, {
|
|
33
33
|
labelName: w,
|
|
34
34
|
labelValue: I,
|
|
35
35
|
subtitle: s,
|
|
36
36
|
withDivider: _
|
|
37
|
-
} =
|
|
38
|
-
labelName:
|
|
39
|
-
labelValue:
|
|
37
|
+
} = d === "labeled" ? {
|
|
38
|
+
labelName: t.labelName,
|
|
39
|
+
labelValue: t.labelValue,
|
|
40
40
|
subtitle: void 0,
|
|
41
41
|
withDivider: !1
|
|
42
42
|
} : {
|
|
43
43
|
labelName: void 0,
|
|
44
44
|
labelValue: void 0,
|
|
45
|
-
subtitle:
|
|
46
|
-
withDivider:
|
|
47
|
-
},
|
|
48
|
-
onClick:
|
|
49
|
-
}), [
|
|
50
|
-
[`data-${
|
|
51
|
-
[`data-${
|
|
52
|
-
}, A = !!s ||
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
45
|
+
subtitle: t.subtitle,
|
|
46
|
+
withDivider: t.withDivider ?? !1
|
|
47
|
+
}, a = P(() => p({
|
|
48
|
+
onClick: b
|
|
49
|
+
}), [p, b]), j = H(T), C = !m && !v && k, y = {
|
|
50
|
+
[`data-${q}`]: !0,
|
|
51
|
+
[`data-${W}`]: E
|
|
52
|
+
}, A = !!s || d === "labeled", g = ["node", e.node, e[`node-${o}-level${N - 1}`], e[`node--${o}`], {
|
|
53
|
+
[e[`node--${o}-extraData`]]: A,
|
|
54
|
+
[e["node--focused"]]: a.className.includes("tree-node--focused"),
|
|
55
|
+
[e["node--disabled"]]: m,
|
|
56
|
+
[e["node--nonselectable"]]: !O,
|
|
57
57
|
"node--with-divider": _
|
|
58
58
|
}], G = /* @__PURE__ */ u("div", {
|
|
59
|
-
...
|
|
59
|
+
...a,
|
|
60
60
|
className: r(g, {
|
|
61
|
-
[
|
|
61
|
+
[e["node--selected"]]: x || C
|
|
62
62
|
}),
|
|
63
|
-
"data-target-id":
|
|
64
|
-
children: [V && /* @__PURE__ */
|
|
65
|
-
className: r(
|
|
66
|
-
children: /* @__PURE__ */
|
|
63
|
+
"data-target-id": t?.dataTargetId,
|
|
64
|
+
children: [V && /* @__PURE__ */ l("div", {
|
|
65
|
+
className: r(e.expander, e[`expander-level${N - 1}`], e[`expander-${o}`]),
|
|
66
|
+
children: /* @__PURE__ */ l(B, {
|
|
67
67
|
handleExpand: h,
|
|
68
|
-
isDisabled:
|
|
68
|
+
isDisabled: m,
|
|
69
69
|
isExpanded: v,
|
|
70
70
|
isLoading: E,
|
|
71
|
-
metadata:
|
|
72
|
-
size:
|
|
71
|
+
metadata: t,
|
|
72
|
+
size: o
|
|
73
73
|
})
|
|
74
74
|
}), /* @__PURE__ */ u("div", {
|
|
75
75
|
className: r(n.content),
|
|
76
|
-
children: [L && /* @__PURE__ */
|
|
77
|
-
metadata:
|
|
76
|
+
children: [L && /* @__PURE__ */ l(F, {
|
|
77
|
+
metadata: t,
|
|
78
78
|
name: i,
|
|
79
|
-
size:
|
|
79
|
+
size: o
|
|
80
80
|
}), /* @__PURE__ */ u("div", {
|
|
81
81
|
className: n["title-wrapper"],
|
|
82
82
|
...!O && {
|
|
83
83
|
onClick: h
|
|
84
84
|
},
|
|
85
|
-
children: [
|
|
86
|
-
ref:
|
|
85
|
+
children: [d === "labeled" && /* @__PURE__ */ l(R, {
|
|
86
|
+
ref: f,
|
|
87
87
|
labelName: w,
|
|
88
88
|
labelValue: I
|
|
89
|
-
}), /* @__PURE__ */
|
|
89
|
+
}), /* @__PURE__ */ l("span", {
|
|
90
90
|
ref: D,
|
|
91
|
-
className: r(n.title, n[`title--${
|
|
91
|
+
className: r(n.title, n[`title--${o}`], {
|
|
92
92
|
[n["title--selected"]]: x || C
|
|
93
93
|
}),
|
|
94
94
|
children: i
|
|
95
|
-
}), s && /* @__PURE__ */
|
|
95
|
+
}), s && /* @__PURE__ */ l("span", {
|
|
96
96
|
ref: $,
|
|
97
97
|
className: n.subtitle,
|
|
98
98
|
children: s
|
|
99
99
|
})]
|
|
100
100
|
})]
|
|
101
101
|
})]
|
|
102
|
-
}), M = /* @__PURE__ */
|
|
103
|
-
...
|
|
102
|
+
}), M = /* @__PURE__ */ l("div", {
|
|
103
|
+
...a,
|
|
104
104
|
className: r(g, {
|
|
105
|
-
[
|
|
105
|
+
[e["node--selected"]]: a.className.includes("tree-node--selected")
|
|
106
106
|
}),
|
|
107
|
-
"data-target-id":
|
|
107
|
+
"data-target-id": t?.dataTargetId,
|
|
108
108
|
children: i
|
|
109
109
|
});
|
|
110
|
-
return /* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ l("div", {
|
|
111
111
|
ref: T,
|
|
112
112
|
...y,
|
|
113
|
-
children: j ? M : /* @__PURE__ */
|
|
114
|
-
labelElementRef:
|
|
113
|
+
children: j ? M : /* @__PURE__ */ l(J, {
|
|
114
|
+
labelElementRef: f,
|
|
115
115
|
subtitleElementRef: $,
|
|
116
116
|
textElementRef: D,
|
|
117
117
|
tooltipContent: /* @__PURE__ */ u("div", {
|
|
118
118
|
className: n.tooltip,
|
|
119
|
-
children: [
|
|
120
|
-
ref:
|
|
119
|
+
children: [d === "labeled" && /* @__PURE__ */ l(R, {
|
|
120
|
+
ref: f,
|
|
121
121
|
color: "textOnDarkDefault",
|
|
122
122
|
isInTooltip: !0,
|
|
123
123
|
labelName: w,
|
|
124
124
|
labelValue: I
|
|
125
|
-
}), /* @__PURE__ */
|
|
125
|
+
}), /* @__PURE__ */ l("span", {
|
|
126
126
|
children: i
|
|
127
|
-
}), s && /* @__PURE__ */
|
|
127
|
+
}), s && /* @__PURE__ */ l("span", {
|
|
128
128
|
children: s
|
|
129
129
|
})]
|
|
130
130
|
}),
|
|
@@ -133,5 +133,5 @@ function oe({
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
export {
|
|
136
|
-
|
|
136
|
+
te as ContentNode
|
|
137
137
|
};
|
package/dist/esm/lib/utils.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SERVICE_NODE_DATA_ATTRIBUTE as s, BRANCH_ID_DATA_ATTRIBUTE as a, CONTENT_NODE as i, CONTENT_NODE_LOADING as u, LOAD_MORE_NODE_DATA_ATTRIBUTE as f, RELOAD_NODE_DATA_ATTRIBUTE as A } from "./constants.js";
|
|
2
2
|
const C = (t) => {
|
|
3
3
|
t.code === "ArrowRight" && t.target.getAttribute("aria-disabled") === "true" && t.stopPropagation();
|
|
4
|
-
}, l = (t) => {
|
|
5
|
-
var r;
|
|
6
|
-
return t.closest(`[data-${s}="true"]`) || ((r = t.firstChild) != null && r.dataset && t.firstChild.dataset[s] === "true" ? t.firstChild : null);
|
|
7
|
-
}, d = (t) => {
|
|
8
|
-
var r;
|
|
9
|
-
return t.closest(`[data-${i}="true"]`) || ((r = t.firstChild) != null && r.dataset && t.firstChild.dataset[i] === "true" ? t.firstChild : null);
|
|
10
|
-
}, N = (t) => t.dataset[f] === "true", T = (t) => t.dataset[A] === "true", E = (t) => t.dataset[a] === "true", n = (t) => {
|
|
4
|
+
}, l = (t) => t.closest(`[data-${i}="true"]`) || (t.firstChild?.dataset && t.firstChild.dataset[i] === "true" ? t.firstChild : null), d = (t) => t.closest(`[data-${s}="true"]`) || (t.firstChild?.dataset && t.firstChild.dataset[s] === "true" ? t.firstChild : null), N = (t) => t.dataset[f] === "true", T = (t) => t.dataset[A] === "true", E = (t) => t.dataset[u] === "true", n = (t) => {
|
|
11
5
|
t.dispatchEvent(new KeyboardEvent("keydown", {
|
|
12
6
|
code: "ArrowUp",
|
|
13
7
|
key: "ArrowUp",
|
|
@@ -25,7 +19,7 @@ const C = (t) => {
|
|
|
25
19
|
}, c = (t, r) => {
|
|
26
20
|
if (t.getAttribute("aria-disabled") === "true" || !N(t) && !T(t))
|
|
27
21
|
return;
|
|
28
|
-
const o = t.dataset[
|
|
22
|
+
const o = t.dataset[a];
|
|
29
23
|
o && r(o);
|
|
30
24
|
}, D = (t) => (r) => {
|
|
31
25
|
if (r.code !== "Enter" && r.code !== "Space" && r.code !== "ArrowRight" && r.code !== "ArrowLeft")
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"groupSharedFeatures.tree.branch.loadMore": "⟦萬萬萬萬萬
|
|
3
|
-
"groupSharedFeatures.tree.branch.loadMoreButtonAriaLabel": "⟦萬萬萬萬萬
|
|
4
|
-
"groupSharedFeatures.tree.branch.loadMoreButtonTitle": "⟦萬萬
|
|
5
|
-
"groupSharedFeatures.tree.branch.loaderLabel": "⟦萬萬萬萬萬萬萬
|
|
6
|
-
"groupSharedFeatures.tree.branch.loadingError": "⟦萬萬萬
|
|
7
|
-
"groupSharedFeatures.tree.branch.loadingErrorIconAriaLabel": "⟦萬
|
|
8
|
-
"groupSharedFeatures.tree.branch.reloadButtonAriaLabel": "⟦萬萬萬萬萬萬萬
|
|
9
|
-
"groupSharedFeatures.tree.branch.reloadButtonTitle": "⟦萬
|
|
10
|
-
"groupSharedFeatures.tree.error.body": "⟦萬萬萬萬萬
|
|
11
|
-
"groupSharedFeatures.tree.error.reload": "⟦萬
|
|
12
|
-
"groupSharedFeatures.tree.error.title": "⟦萬萬萬萬萬
|
|
13
|
-
"groupSharedFeatures.tree.expander.collapse": "⟦萬萬萬萬
|
|
14
|
-
"groupSharedFeatures.tree.expander.expand": "⟦萬萬萬
|
|
15
|
-
"groupSharedFeatures.tree.inlineError.inlineNoticeIconAriaLabel": "⟦萬
|
|
16
|
-
"groupSharedFeatures.tree.inlineError.inlineNoticeText": "⟦萬萬萬萬
|
|
17
|
-
"groupSharedFeatures.tree.inlineError.reloadButtonAriaLabel": "⟦萬萬萬萬萬
|
|
18
|
-
"groupSharedFeatures.tree.inlineError.reloadButtonText": "⟦萬
|
|
19
|
-
"groupSharedFeatures.tree.node.iconLabel": "⟦萬萬萬萬
|
|
2
|
+
"groupSharedFeatures.tree.branch.loadMore": "⟦萬萬萬萬萬 Ŀõāďĭπġ mõřё çòπτëŋτ 國國國國國⟧",
|
|
3
|
+
"groupSharedFeatures.tree.branch.loadMoreButtonAriaLabel": "⟦萬萬萬萬萬 Ļøāď Мõгě ƒσґ {nodeName} 國國國國國⟧",
|
|
4
|
+
"groupSharedFeatures.tree.branch.loadMoreButtonTitle": "⟦萬萬 Ĺοάď Μõřĕ 國國⟧",
|
|
5
|
+
"groupSharedFeatures.tree.branch.loaderLabel": "⟦萬萬萬萬萬萬萬 Ŀōãďïпĝ çоʼnťęņţ ƒőř ьѓåлĉħ 國國國國國國國⟧",
|
|
6
|
+
"groupSharedFeatures.tree.branch.loadingError": "⟦萬萬萬 Ĺóăďίňğ Εřгσŗ 國國國⟧",
|
|
7
|
+
"groupSharedFeatures.tree.branch.loadingErrorIconAriaLabel": "⟦萬 Єřŕōř 國⟧",
|
|
8
|
+
"groupSharedFeatures.tree.branch.reloadButtonAriaLabel": "⟦萬萬萬萬萬萬萬 Яёľøãď ĉŏητĕпτ ƒøг {nodeName} 國國國國國國國⟧",
|
|
9
|
+
"groupSharedFeatures.tree.branch.reloadButtonTitle": "⟦萬 Яēļőâď 國⟧",
|
|
10
|
+
"groupSharedFeatures.tree.error.body": "⟦萬萬萬萬萬 Яéļóâď ťõ ŧяÿ ąġãїŋ. 國國國國國⟧",
|
|
11
|
+
"groupSharedFeatures.tree.error.reload": "⟦萬 Яėļόåď 國⟧",
|
|
12
|
+
"groupSharedFeatures.tree.error.title": "⟦萬萬萬萬萬 Üňαвĺě τō ľоăď τяĕé 國國國國國⟧",
|
|
13
|
+
"groupSharedFeatures.tree.expander.collapse": "⟦萬萬萬萬 ČöľļáΡѕē ьŗąŋĉĥ 國國國國⟧",
|
|
14
|
+
"groupSharedFeatures.tree.expander.expand": "⟦萬萬萬 ЕхΡàņď ьŗåň¢н 國國國⟧",
|
|
15
|
+
"groupSharedFeatures.tree.inlineError.inlineNoticeIconAriaLabel": "⟦萬 Εѓгőг 國⟧",
|
|
16
|
+
"groupSharedFeatures.tree.inlineError.inlineNoticeText": "⟦萬萬萬萬 Ľòαďîпğ ƒâїļēď 國國國國⟧",
|
|
17
|
+
"groupSharedFeatures.tree.inlineError.reloadButtonAriaLabel": "⟦萬萬萬萬萬 Ŕëľőăď ćøпţěлť ťяеé 國國國國國⟧",
|
|
18
|
+
"groupSharedFeatures.tree.inlineError.reloadButtonText": "⟦萬 Яєĺσäď 國⟧",
|
|
19
|
+
"groupSharedFeatures.tree.node.iconLabel": "⟦萬萬萬萬 Īĉοή ƒøґ {iconType} 國國國國⟧"
|
|
20
20
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
# Aria label for the loading indicator that appears when the user clicks the 'Load more' or 'Reload' button
|
|
2
|
-
groupSharedFeatures.tree.branch.loadMore = ⟦萬萬萬萬萬
|
|
2
|
+
groupSharedFeatures.tree.branch.loadMore = ⟦萬萬萬萬萬 Ŀõāďĭπġ mõřё çòπτëŋτ 國國國國國⟧
|
|
3
3
|
# Aria label for the 'Load More' button
|
|
4
|
-
groupSharedFeatures.tree.branch.loadMoreButtonAriaLabel = ⟦萬萬萬萬萬
|
|
4
|
+
groupSharedFeatures.tree.branch.loadMoreButtonAriaLabel = ⟦萬萬萬萬萬 Ļøāď Мõгě ƒσґ {nodeName} 國國國國國⟧
|
|
5
5
|
# Title for the 'Load More' button
|
|
6
|
-
groupSharedFeatures.tree.branch.loadMoreButtonTitle = ⟦萬萬
|
|
6
|
+
groupSharedFeatures.tree.branch.loadMoreButtonTitle = ⟦萬萬 Ĺοάď Μõřĕ 國國⟧
|
|
7
7
|
# Aria label for the loading indicator when a branch's content is loading
|
|
8
|
-
groupSharedFeatures.tree.branch.loaderLabel = ⟦萬萬萬萬萬萬萬
|
|
8
|
+
groupSharedFeatures.tree.branch.loaderLabel = ⟦萬萬萬萬萬萬萬 Ŀōãďïпĝ çоʼnťęņţ ƒőř ьѓåлĉħ 國國國國國國國⟧
|
|
9
9
|
# Message displayed in an inline notice when loading failed
|
|
10
|
-
groupSharedFeatures.tree.branch.loadingError = ⟦萬萬萬
|
|
10
|
+
groupSharedFeatures.tree.branch.loadingError = ⟦萬萬萬 Ĺóăďίňğ Εřгσŗ 國國國⟧
|
|
11
11
|
# Aria label for the error icon in the error inline notice
|
|
12
|
-
groupSharedFeatures.tree.branch.loadingErrorIconAriaLabel = ⟦萬
|
|
12
|
+
groupSharedFeatures.tree.branch.loadingErrorIconAriaLabel = ⟦萬 Єřŕōř 國⟧
|
|
13
13
|
# Aria label for the 'Reload' button
|
|
14
|
-
groupSharedFeatures.tree.branch.reloadButtonAriaLabel = ⟦萬萬萬萬萬萬萬
|
|
14
|
+
groupSharedFeatures.tree.branch.reloadButtonAriaLabel = ⟦萬萬萬萬萬萬萬 Яёľøãď ĉŏητĕпτ ƒøг {nodeName} 國國國國國國國⟧
|
|
15
15
|
# Title for the 'Reload' button
|
|
16
|
-
groupSharedFeatures.tree.branch.reloadButtonTitle = ⟦萬
|
|
16
|
+
groupSharedFeatures.tree.branch.reloadButtonTitle = ⟦萬 Яēļőâď 國⟧
|
|
17
17
|
# Body for the error message when the tree fails to load
|
|
18
|
-
groupSharedFeatures.tree.error.body = ⟦萬萬萬萬萬
|
|
18
|
+
groupSharedFeatures.tree.error.body = ⟦萬萬萬萬萬 Яéļóâď ťõ ŧяÿ ąġãїŋ. 國國國國國⟧
|
|
19
19
|
# Button text to reload tree
|
|
20
|
-
groupSharedFeatures.tree.error.reload = ⟦萬
|
|
20
|
+
groupSharedFeatures.tree.error.reload = ⟦萬 Яėļόåď 國⟧
|
|
21
21
|
# Title for the error message when the tree fails to load
|
|
22
|
-
groupSharedFeatures.tree.error.title = ⟦萬萬萬萬萬
|
|
22
|
+
groupSharedFeatures.tree.error.title = ⟦萬萬萬萬萬 Üňαвĺě τō ľоăď τяĕé 國國國國國⟧
|
|
23
23
|
# Aria label for the collapse button
|
|
24
|
-
groupSharedFeatures.tree.expander.collapse = ⟦萬萬萬萬
|
|
24
|
+
groupSharedFeatures.tree.expander.collapse = ⟦萬萬萬萬 ČöľļáΡѕē ьŗąŋĉĥ 國國國國⟧
|
|
25
25
|
# Aria label for the expand button
|
|
26
|
-
groupSharedFeatures.tree.expander.expand = ⟦萬萬萬
|
|
26
|
+
groupSharedFeatures.tree.expander.expand = ⟦萬萬萬 ЕхΡàņď ьŗåň¢н 國國國⟧
|
|
27
27
|
# Aria label for the error icon in the error inline notice
|
|
28
|
-
groupSharedFeatures.tree.inlineError.inlineNoticeIconAriaLabel = ⟦萬
|
|
28
|
+
groupSharedFeatures.tree.inlineError.inlineNoticeIconAriaLabel = ⟦萬 Εѓгőг 國⟧
|
|
29
29
|
# Inline notice text error message when the tree fails to load
|
|
30
|
-
groupSharedFeatures.tree.inlineError.inlineNoticeText = ⟦萬萬萬萬
|
|
30
|
+
groupSharedFeatures.tree.inlineError.inlineNoticeText = ⟦萬萬萬萬 Ľòαďîпğ ƒâїļēď 國國國國⟧
|
|
31
31
|
# Aria label for the 'Reload' button
|
|
32
|
-
groupSharedFeatures.tree.inlineError.reloadButtonAriaLabel = ⟦萬萬萬萬萬
|
|
32
|
+
groupSharedFeatures.tree.inlineError.reloadButtonAriaLabel = ⟦萬萬萬萬萬 Ŕëľőăď ćøпţěлť ťяеé 國國國國國⟧
|
|
33
33
|
# Button text to reload tree
|
|
34
|
-
groupSharedFeatures.tree.inlineError.reloadButtonText = ⟦萬
|
|
34
|
+
groupSharedFeatures.tree.inlineError.reloadButtonText = ⟦萬 Яєĺσäď 國⟧
|
|
35
35
|
# Aria label for the icon in a node
|
|
36
|
-
groupSharedFeatures.tree.node.iconLabel = ⟦萬萬萬萬
|
|
36
|
+
groupSharedFeatures.tree.node.iconLabel = ⟦萬萬萬萬 Īĉοή ƒøґ {iconType} 國國國國⟧
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/tree",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@box/blueprint-web": "^
|
|
6
|
-
"@box/blueprint-web-assets": "^4.
|
|
7
|
-
"@box/item-icon": "^
|
|
5
|
+
"@box/blueprint-web": "^12.104.1",
|
|
6
|
+
"@box/blueprint-web-assets": "^4.87.0",
|
|
7
|
+
"@box/item-icon": "^2.7.0",
|
|
8
8
|
"react": "^17.0.0 || ^18.0.0",
|
|
9
9
|
"react-accessible-treeview": "2.9.0",
|
|
10
10
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-intl": "^6.4.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@box/blueprint-web": "^12.
|
|
15
|
-
"@box/blueprint-web-assets": "^4.
|
|
16
|
-
"@box/item-icon": "^2.
|
|
17
|
-
"@box/storybook-utils": "^0.14.
|
|
14
|
+
"@box/blueprint-web": "^12.104.1",
|
|
15
|
+
"@box/blueprint-web-assets": "^4.87.0",
|
|
16
|
+
"@box/item-icon": "^2.7.0",
|
|
17
|
+
"@box/storybook-utils": "^0.14.27",
|
|
18
18
|
"@faker-js/faker": "^8.4.1",
|
|
19
19
|
"react": "^18.3.0",
|
|
20
20
|
"react-dom": "^18.3.0",
|