@box/metadata-view 1.26.1 → 1.27.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.
Files changed (26) hide show
  1. package/dist/chunks/index.js +41 -41
  2. package/dist/chunks/types.js +3 -3
  3. package/dist/esm/lib/components/filter-row/initial-field-values.js +12 -13
  4. package/dist/esm/lib/components/filter-row/metadata-filter-chip.js +1 -0
  5. package/dist/esm/lib/components/filter-row/predefinedFilters/index.js +2 -2
  6. package/dist/esm/lib/components/filter-row/select-filter-chip.js +39 -40
  7. package/dist/esm/lib/components/filter-sidepanel/filter-side-panel.js +36 -36
  8. package/dist/esm/lib/components/filter-sidepanel/filter.js +7 -4
  9. package/dist/esm/lib/components/item-action-menu/item-action-menu.js +103 -103
  10. package/dist/esm/lib/components/metadata-grid/metadata-grid.js +29 -30
  11. package/dist/esm/lib/components/metadata-table/actionColumn.js +3 -3
  12. package/dist/esm/lib/components/metadata-table/hooks/useInfiniteScrollTableItems.js +13 -16
  13. package/dist/esm/lib/components/metadata-table/table-body/table-body-with-data.js +140 -144
  14. package/dist/esm/lib/components/metadata-table/table-renderer.js +35 -35
  15. package/dist/esm/lib/components/metadata-value/metadata-checkbox-field.js +14 -15
  16. package/dist/esm/lib/components/metadata-value/metadata-file-chip.js +13 -14
  17. package/dist/esm/lib/components/metadata-value/metadata-file-field.js +12 -13
  18. package/dist/esm/lib/components/metadata-value/metadata-location-field.js +31 -32
  19. package/dist/esm/lib/components/metadata-value/metadata-radio-field.js +10 -11
  20. package/dist/esm/lib/components/metadata-value/metadata-search-field.js +22 -23
  21. package/dist/esm/lib/components/sort-dropdown/sort-dropdown.js +35 -35
  22. package/dist/esm/lib/metadata-view.js +59 -59
  23. package/dist/i18n/en-x-pseudo.js +31 -31
  24. package/dist/i18n/en-x-pseudo.properties +31 -31
  25. package/dist/styles/action-bar.css +1 -1
  26. package/package.json +12 -12
@@ -1,30 +1,29 @@
1
- import { useFormikContext as v } from "formik";
1
+ import { useFormikContext as u } from "formik";
2
2
  import { Radio as a } from "@box/blueprint-web";
3
- import { jsx as o, jsxs as c } from "react/jsx-runtime";
4
- const R = ({
3
+ import { jsx as o, jsxs as n } from "react/jsx-runtime";
4
+ const c = ({
5
5
  id: t,
6
6
  name: i,
7
7
  placeholder: l
8
8
  }) => {
9
- var r, m, s, u;
10
9
  const {
11
10
  values: d,
12
- setFieldValue: n
13
- } = v(), f = ((s = (m = (r = d.metadata.fields[t]) == null ? void 0 : r.value) == null ? void 0 : m.enum) == null ? void 0 : s[0]) || "", p = ((u = d.metadata.fields[t]) == null ? void 0 : u.options) || [];
11
+ setFieldValue: r
12
+ } = u(), m = d.metadata.fields[t]?.value?.enum?.[0] || "", s = d.metadata.fields[t]?.options || [];
14
13
  return /* @__PURE__ */ o(a.Legend, {
15
14
  header: i,
16
- children: /* @__PURE__ */ c(a.Group, {
15
+ children: /* @__PURE__ */ n(a.Group, {
17
16
  loop: !0,
18
17
  name: i,
19
18
  onValueChange: (e) => {
20
- n(`metadata.fields.${t}.value.enum[0]`, e);
19
+ r(`metadata.fields.${t}.value.enum[0]`, e);
21
20
  },
22
- value: f,
21
+ value: m,
23
22
  children: [l && /* @__PURE__ */ o(a.Item, {
24
23
  "data-target-id": `RadioItem-filter_${t}_placeholder`,
25
24
  label: l,
26
25
  value: ""
27
- }, l), p.map(({
26
+ }, l), s.map(({
28
27
  key: e
29
28
  }) => /* @__PURE__ */ o(a.Item, {
30
29
  "data-target-id": `RadioItem-filter_${t}_${e}`,
@@ -35,5 +34,5 @@ const R = ({
35
34
  });
36
35
  };
37
36
  export {
38
- R as MetadataRadioField
37
+ c as MetadataRadioField
39
38
  };
@@ -1,32 +1,31 @@
1
- import { SearchInput as i } from "@box/blueprint-web";
2
- import { useFormikContext as c } from "formik";
3
- import { useIntl as f } from "react-intl";
4
- import n from "./messages.js";
5
- import { jsx as d } from "react/jsx-runtime";
6
- const b = ({
1
+ import { SearchInput as m } from "@box/blueprint-web";
2
+ import { useFormikContext as i } from "formik";
3
+ import { useIntl as p } from "react-intl";
4
+ import r from "./messages.js";
5
+ import { jsx as c } from "react/jsx-runtime";
6
+ const v = ({
7
7
  id: e,
8
- name: s,
9
- placeholder: m
8
+ name: l,
9
+ placeholder: o
10
10
  }) => {
11
- var o, l;
12
11
  const {
13
- formatMessage: t
14
- } = f(), {
15
- values: u,
16
- setFieldValue: r
17
- } = c(), a = (l = (o = u.metadata.fields[e]) == null ? void 0 : o.value) == null ? void 0 : l.enum;
18
- return /* @__PURE__ */ d(i.Controlled, {
12
+ formatMessage: a
13
+ } = p(), {
14
+ values: n,
15
+ setFieldValue: t
16
+ } = i(), s = n.metadata.fields[e]?.value?.enum;
17
+ return /* @__PURE__ */ c(m.Controlled, {
19
18
  "data-target-id": `SearchInputControlled-filter_${e}`,
20
19
  id: e,
21
- name: s,
22
- onChange: (p) => r(`metadata.fields.${e}.value.enum[0]`, p.target.value),
23
- onClearInput: () => r(`metadata.fields.${e}.value.enum`, []),
24
- placeholder: m,
25
- searchInputAriaLabel: t(n.searchInputAriaLabel),
26
- searchInputClearAriaLabel: t(n.searchInputClearAriaLabel),
27
- value: (a == null ? void 0 : a[0]) || ""
20
+ name: l,
21
+ onChange: (u) => t(`metadata.fields.${e}.value.enum[0]`, u.target.value),
22
+ onClearInput: () => t(`metadata.fields.${e}.value.enum`, []),
23
+ placeholder: o,
24
+ searchInputAriaLabel: a(r.searchInputAriaLabel),
25
+ searchInputClearAriaLabel: a(r.searchInputClearAriaLabel),
26
+ value: s?.[0] || ""
28
27
  });
29
28
  };
30
29
  export {
31
- b as MetadataSearchField
30
+ v as MetadataSearchField
32
31
  };
@@ -1,57 +1,57 @@
1
- import { DropdownMenu as e, TriggerButton as M } from "@box/blueprint-web";
2
- import { ArrowUp as R, ArrowDown as S } from "@box/blueprint-web-assets/icons/Fill";
3
- import { useState as r } from "react";
4
- import { jsxs as j, jsx as a } from "react/jsx-runtime";
5
- const B = ({
6
- onSortDescriptorChange: u,
7
- sortableColumns: o,
8
- sortDescriptor: i,
9
- initialSortByColumnId: l = o[0].id,
10
- initialSortDirection: w = "ascending",
11
- onSortChange: g
1
+ import { DropdownMenu as o, TriggerButton as D } from "@box/blueprint-web";
2
+ import { ArrowUp as v, ArrowDown as M } from "@box/blueprint-web-assets/icons/Fill";
3
+ import { useState as m } from "react";
4
+ import { jsxs as R, jsx as c } from "react/jsx-runtime";
5
+ const V = ({
6
+ onSortDescriptorChange: d,
7
+ sortableColumns: r,
8
+ sortDescriptor: t,
9
+ initialSortByColumnId: l = r[0].id,
10
+ initialSortDirection: p = "ascending",
11
+ onSortChange: u
12
12
  }) => {
13
- const h = new Map(o.map((n) => [n.id, n.textValue])), [f, x] = r(l), [p, m] = r(w), d = (i == null ? void 0 : i.column) != null ? String(i.column) : f, t = (i == null ? void 0 : i.direction) ?? p, v = (n) => {
14
- if (n === d) {
15
- const c = t === "ascending" ? "descending" : "ascending";
16
- m(c), u({
13
+ const s = new Map(r.map((n) => [n.id, n.textValue])), [w, h] = m(l), [f, g] = m(p), e = t?.column != null ? String(t.column) : w, a = t?.direction ?? f, x = (n) => {
14
+ if (n === e) {
15
+ const i = a === "ascending" ? "descending" : "ascending";
16
+ g(i), d({
17
17
  column: n,
18
- direction: c
19
- }), g({
18
+ direction: i
19
+ }), u({
20
20
  column: n,
21
- direction: c
21
+ direction: i
22
22
  });
23
23
  } else
24
- x(n), m("ascending"), u({
24
+ h(n), g("ascending"), d({
25
25
  column: n,
26
26
  direction: "ascending"
27
- }), g({
27
+ }), u({
28
28
  column: n,
29
29
  direction: "ascending"
30
30
  });
31
31
  };
32
- return /* @__PURE__ */ j(e.Root, {
33
- children: [/* @__PURE__ */ a(e.Trigger, {
34
- children: /* @__PURE__ */ a(M, {
35
- caretDirection: t === "ascending" ? "up" : "down",
36
- label: h.get(d),
37
- startIcon: t === "ascending" ? R : S,
32
+ return /* @__PURE__ */ R(o.Root, {
33
+ children: [/* @__PURE__ */ c(o.Trigger, {
34
+ children: /* @__PURE__ */ c(D, {
35
+ caretDirection: a === "ascending" ? "up" : "down",
36
+ label: s.get(e),
37
+ startIcon: a === "ascending" ? v : M,
38
38
  variant: "tertiary"
39
39
  })
40
- }), /* @__PURE__ */ a(e.Content, {
41
- children: /* @__PURE__ */ a(e.RadioGroup, {
42
- onValueChange: v,
43
- value: d,
44
- children: o.map(({
40
+ }), /* @__PURE__ */ c(o.Content, {
41
+ children: /* @__PURE__ */ c(o.RadioGroup, {
42
+ onValueChange: x,
43
+ value: e,
44
+ children: r.map(({
45
45
  id: n,
46
- textValue: c
47
- }) => /* @__PURE__ */ a(e.RadioSelectItem, {
46
+ textValue: i
47
+ }) => /* @__PURE__ */ c(o.RadioSelectItem, {
48
48
  value: n,
49
- children: c
49
+ children: i
50
50
  }, n))
51
51
  })
52
52
  })]
53
53
  });
54
54
  };
55
55
  export {
56
- B as SortDropdown
56
+ V as SortDropdown
57
57
  };
@@ -1,5 +1,5 @@
1
- import { I as k, V as t } from "../../chunks/types.js";
2
- import { ActionBar as x } from "./components/action-bar/action-bar.js";
1
+ import { V as t, I as O } from "../../chunks/types.js";
2
+ import { ActionBar as Z } from "./components/action-bar/action-bar.js";
3
3
  import "./components/filter-row/filter-row.js";
4
4
  import "./components/filter-row/form-filter-chip.js";
5
5
  import "./components/filter-row/metadata-filter-chip.js";
@@ -8,8 +8,8 @@ import "./components/filter-row/predefinedFilters/index.js";
8
8
  import "./components/filter-sidepanel/filter.js";
9
9
  import "./components/filter-sidepanel/filter-side-panel.js";
10
10
  import "./components/item-action-menu/item-action-menu.js";
11
- import { MetadataGrid as z } from "./components/metadata-grid/metadata-grid.js";
12
- import { MetadataTable as A } from "./components/metadata-table/metadata-table.js";
11
+ import { MetadataGrid as b } from "./components/metadata-grid/metadata-grid.js";
12
+ import { MetadataTable as k } from "./components/metadata-table/metadata-table.js";
13
13
  import "./components/metadata-table/table-body/inline-editing-cell/inline-editing-cell.js";
14
14
  import "./components/metadata-table/table-renderer.js";
15
15
  import "./components/metadata-value/metadata-file-chip.js";
@@ -17,102 +17,102 @@ import "./components/metadata-value/metadata-file-field.js";
17
17
  import "./components/metadata-value/metadata-location-field.js";
18
18
  import "./components/metadata-value/metadata-radio-field.js";
19
19
  import "./components/metadata-value/metadata-search-field.js";
20
- import { Pagination as F } from "./components/pagination/pagination.js";
20
+ import { Pagination as z } from "./components/pagination/pagination.js";
21
21
  import "./components/pagination/marker-based-pagination.js";
22
22
  import "./components/pagination/offset-based-pagination.js";
23
23
  import "./components/pagination/pagination-controls.js";
24
24
  import "./components/sort-dropdown/sort-dropdown.js";
25
- import { SwitchCase as U, Case as p } from "./components/switch-case/switch-case.js";
26
- import { TooltipProvider as q } from "@box/blueprint-web";
27
- import { useState as s, useRef as H, useCallback as J } from "react";
28
- import { jsx as o, jsxs as w, Fragment as K } from "react/jsx-runtime";
29
- import { ErrorState as O } from "./components/error-state/error-state.js";
30
- import Q from "./components/empty-state/empty-state.js";
31
- import '../../styles/metadata-view.css';const W = "_container_1o9go_5", X = "_contentContainer_1o9go_15", T = {
32
- container: W,
33
- contentContainer: X
25
+ import { SwitchCase as A, Case as c } from "./components/switch-case/switch-case.js";
26
+ import { TooltipProvider as F } from "@box/blueprint-web";
27
+ import { useState as p, useRef as U, useCallback as q } from "react";
28
+ import { jsx as o, jsxs as w, Fragment as H } from "react/jsx-runtime";
29
+ import { ErrorState as J } from "./components/error-state/error-state.js";
30
+ import K from "./components/empty-state/empty-state.js";
31
+ import '../../styles/metadata-view.css';const Q = "_container_1o9go_5", W = "_contentContainer_1o9go_15", T = {
32
+ container: Q,
33
+ contentContainer: W
34
34
  };
35
35
  function _o({
36
- actionBarProps: m,
37
- columns: d,
38
- tableProps: n,
36
+ actionBarProps: r,
37
+ columns: s,
38
+ tableProps: i,
39
39
  hasError: V,
40
40
  onRefresh: L,
41
41
  initialViewMode: _ = t.LIST,
42
42
  paginationProps: l,
43
- isLoading: C,
43
+ isLoading: d,
44
44
  isSelectAllEnabled: y = !0,
45
- isSelectionEnabled: f,
45
+ isSelectionEnabled: C,
46
46
  areSelectionCheckboxesDisabled: h,
47
- ...c
47
+ ...m
48
48
  }) {
49
- const [r, u] = s(_), [M, S] = s(void 0), [a, D] = s(0), g = H(null), R = () => {
50
- r === t.LIST ? u(t.GRID) : u(t.LIST);
51
- }, E = !C && c.items.length === 0, G = m && m.sortDropdownProps && d.filter((e) => e.type !== "multiSelect" && e.type !== "enum"), {
52
- iconColumnVariant: I
53
- } = n || {}, N = I && I === k.COLUMN, i = n == null ? void 0 : n.onSortChange, j = J(({
49
+ const [n, f] = p(_), [u, S] = p(void 0), [a, D] = p(0), M = U(null), R = () => {
50
+ n === t.LIST ? f(t.GRID) : f(t.LIST);
51
+ }, x = !d && m.items.length === 0, E = r && r.sortDropdownProps && s.filter((e) => e.type !== "multiSelect" && e.type !== "enum"), {
52
+ iconColumnVariant: g
53
+ } = i || {}, G = g && g === O.COLUMN, I = i?.onSortChange, N = q(({
54
54
  column: e,
55
55
  direction: v
56
56
  }) => {
57
57
  S({
58
58
  column: e,
59
59
  direction: v
60
- }), i == null || i({
60
+ }), I?.({
61
61
  column: e,
62
62
  direction: v
63
63
  });
64
- }, [i]), Z = {
65
- ...n,
66
- sortDescriptor: M,
67
- onSortChange: j
64
+ }, [I]), j = {
65
+ ...i,
66
+ sortDescriptor: u,
67
+ onSortChange: N
68
68
  };
69
- return /* @__PURE__ */ o(q, {
69
+ return /* @__PURE__ */ o(F, {
70
70
  children: /* @__PURE__ */ o("div", {
71
- ref: g,
71
+ ref: M,
72
72
  className: T.container,
73
- children: V ? /* @__PURE__ */ o(O, {
73
+ children: V ? /* @__PURE__ */ o(J, {
74
74
  onRefresh: L
75
- }) : /* @__PURE__ */ w(K, {
76
- children: [/* @__PURE__ */ o(x, {
77
- ...m,
78
- containerRef: g,
79
- isIconColumnEnabled: N,
75
+ }) : /* @__PURE__ */ w(H, {
76
+ children: [/* @__PURE__ */ o(Z, {
77
+ ...r,
78
+ containerRef: M,
79
+ isIconColumnEnabled: G,
80
80
  onSortDescriptorChange: S,
81
81
  onViewModeClick: R,
82
82
  onZoomLevelChange: D,
83
- sortableColumns: G,
84
- sortDescriptor: M,
85
- viewMode: r,
83
+ sortableColumns: E,
84
+ sortDescriptor: u,
85
+ viewMode: n,
86
86
  zoomLevel: a
87
87
  }), /* @__PURE__ */ o("div", {
88
88
  className: T.contentContainer,
89
- children: /* @__PURE__ */ w(U, {
90
- children: [/* @__PURE__ */ o(p, {
91
- condition: E,
92
- children: /* @__PURE__ */ o(Q, {})
93
- }), /* @__PURE__ */ o(p, {
94
- condition: r === t.LIST,
95
- children: /* @__PURE__ */ o(A, {
89
+ children: /* @__PURE__ */ w(A, {
90
+ children: [/* @__PURE__ */ o(c, {
91
+ condition: x,
92
+ children: /* @__PURE__ */ o(K, {})
93
+ }), /* @__PURE__ */ o(c, {
94
+ condition: n === t.LIST,
95
+ children: /* @__PURE__ */ o(k, {
96
96
  areSelectionCheckboxesDisabled: h,
97
- columns: d,
98
- isLoading: C,
97
+ columns: s,
98
+ isLoading: d,
99
99
  isSelectAllEnabled: y,
100
- selectionMode: f ? "multiple" : "none",
100
+ selectionMode: C ? "multiple" : "none",
101
101
  zoomLevel: a,
102
- ...c,
103
- ...Z
102
+ ...m,
103
+ ...j
104
104
  })
105
- }), /* @__PURE__ */ o(p, {
106
- condition: r === t.GRID,
107
- children: /* @__PURE__ */ o(z, {
105
+ }), /* @__PURE__ */ o(c, {
106
+ condition: n === t.GRID,
107
+ children: /* @__PURE__ */ o(b, {
108
108
  areSelectionCheckboxesDisabled: h,
109
- selectionMode: f ? "multiple" : "none",
109
+ selectionMode: C ? "multiple" : "none",
110
110
  zoomLevel: a,
111
- ...c
111
+ ...m
112
112
  })
113
113
  })]
114
114
  })
115
- }), l && /* @__PURE__ */ o(F, {
115
+ }), l && /* @__PURE__ */ o(z, {
116
116
  ...l
117
117
  })]
118
118
  })
@@ -1,35 +1,35 @@
1
1
  export default {
2
- "groupSharedFeatures.emptyState.body": "⟦萬萬萬萬萬萬萬萬萬萬萬 Τяŷ âďĵûѕţĭņġ ýŏŭѓ ƒĭĺţёяŝ оŕ κéУώöяďş. 國國國國國國國國國國國⟧",
3
- "groupSharedFeatures.emptyState.heading": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śòяѓỳ, ẁе сóúĺďп'τ ƒιήď ẁнáτ ўōù'ѓê ļóõķĭήĝ ƒöř. 國國國國國國國國國國國國國國⟧",
4
- "groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize": "⟦萬萬 Ðę¢яеąşє 國國⟧",
5
- "groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize": "⟦萬萬 Ìп¢яēåѕê 國國⟧",
6
- "groupSharedFeatures.metadataView.actionBar.sliderLabel": "⟦萬 Śĺїďėŕ 國⟧",
7
- "groupSharedFeatures.metadataView.actionBar.switchToGridView": "⟦萬萬萬萬萬 Ŝшįτçн ťó Ĝŕíď Vїεẁ 國國國國國⟧",
8
- "groupSharedFeatures.metadataView.actionBar.switchToListView": "⟦萬萬萬萬萬 Ѕẁїťсн τō Ļїŝτ Vīęŵ 國國國國國⟧",
9
- "groupSharedFeatures.metadataView.filterRow.AllFilters": "⟦萬萬萬 Ãĺļ ₣іľţĕŕś 國國國⟧",
10
- "groupSharedFeatures.metadataView.filterRow.applyButton": "⟦萬 ĀΡΡľў 國⟧",
2
+ "groupSharedFeatures.emptyState.body": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ŧяÿ ăďĵμşťíňğ γóūя ƒíļťěŗѕ őř ĸέŷωõřďś. 國國國國國國國國國國國⟧",
3
+ "groupSharedFeatures.emptyState.heading": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Şøгѓγ, ŵę ĉőûľďŋ'ŧ ƒίńď ωнäţ γоμ'яè ļöοкìňġ ƒοг. 國國國國國國國國國國國國國國⟧",
4
+ "groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize": "⟦萬萬 Ðέ¢řęâśё 國國⟧",
5
+ "groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize": "⟦萬萬 Ĭπсřèαŝё 國國⟧",
6
+ "groupSharedFeatures.metadataView.actionBar.sliderLabel": "⟦萬 Şĺĩďęѓ 國⟧",
7
+ "groupSharedFeatures.metadataView.actionBar.switchToGridView": "⟦萬萬萬萬萬 Śώíţčħ ťõ Ĝŗίď Vієώ 國國國國國⟧",
8
+ "groupSharedFeatures.metadataView.actionBar.switchToListView": "⟦萬萬萬萬萬 Ŝωίτčĥ το Ĺїŝŧ Vîέщ 國國國國國⟧",
9
+ "groupSharedFeatures.metadataView.filterRow.AllFilters": "⟦萬萬萬 Αĺĺ ₣íľţęґŝ 國國國⟧",
10
+ "groupSharedFeatures.metadataView.filterRow.applyButton": "⟦萬 ÀΡΡľў 國⟧",
11
11
  "groupSharedFeatures.metadataView.filterRow.chipNameWithCount": "⟦萬萬萬 {name} ({count}) 國國國⟧",
12
- "groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Čĺεάг 國⟧",
13
- "groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣îļē ŦỳΡё 國國⟧",
14
- "groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Εŋťëŕ кĕŷẁôѓďś 國國國國⟧",
15
- "groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ŀőĉáŧїøʼn 國國⟧",
16
- "groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Śëŧ Vāĺùε 國國⟧",
17
- "groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Ċĺεäř Αļľ 國國⟧",
18
- "groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Ċĺóŝє 國⟧",
19
- "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣ĭľţέřѕ 國國⟧",
20
- "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Ŝèäґсĥ 國⟧",
21
- "groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ġяίď Vįėω 國國⟧",
12
+ "groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Ćĺĕāѓ 國⟧",
13
+ "groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣îĺё ΤŷΡє 國國⟧",
14
+ "groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Ĕŋţεг κёÿẃõгďś 國國國國⟧",
15
+ "groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ĺõçãŧíσń 國國⟧",
16
+ "groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Ѕĕτ Vâľűē 國國⟧",
17
+ "groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Çĺєåя Åĺļ 國國⟧",
18
+ "groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Čļσŝě 國⟧",
19
+ "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣īļτēŕѕ 國國⟧",
20
+ "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Śεǻŕĉĥ 國⟧",
21
+ "groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ĝѓíď Vîéω 國國⟧",
22
22
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "⟦ -- ⟧",
23
- "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Àċţïόή męňú 國國國⟧",
24
- "groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ѕômĕτніņĝ ωеňŧ ŵŗόʼnĝ. Pļēāѕė ѓєƒгεśĥ τĥїѕ Ρãğё. 國國國國國國國國國國國國國國⟧",
25
- "groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ļίśţ νīέш 國國⟧",
26
- "groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Řеƒяєśн 國國⟧",
27
- "groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Ѕëĺéċť άļľ 國國⟧",
28
- "groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Śєĺĕçť á ƒόĺďеř 國國國國⟧",
29
- "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Şěâѓçĥ 國⟧",
30
- "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Çľεάг 國⟧",
31
- "groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Ŋє×ť 國⟧",
32
- "groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħöώιʼnĝ {startEntryIndex} ŧô {endEntryIndex} οƒ {totalCount} εńŧґīёŝ 國國國國國國國國國國國⟧",
33
- "groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Päğĩйāŧϊöи ňανїğâťιóń ćσпŧгôľŝ āиď çµяŕèйŧ Ραĝє іиƒōяmǻţιŏπ 國國國國國國國國國國國國國國國國國⟧",
34
- "groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pŗëνїŏûş 國國⟧"
23
+ "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Āсŧїōπ mєʼnц 國國國⟧",
24
+ "groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śοmęτħίηġ ώепτ ŵřõпĝ. Pļėäŝë řèƒгέŝĥ ťħĩѕ Ρàġе. 國國國國國國國國國國國國國國⟧",
25
+ "groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ľīśť νïеώ 國國⟧",
26
+ "groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Ѓéƒřεѕĥ 國國⟧",
27
+ "groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Ŝέľėċţ âľĺ 國國⟧",
28
+ "groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Ŝéļêĉτ à ƒõļďéŕ 國國國國⟧",
29
+ "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Şèǻřćħ 國⟧",
30
+ "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Čľєåŕ 國⟧",
31
+ "groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Νє×ŧ 國⟧",
32
+ "groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕĥőшіήġ {startEntryIndex} ţó {endEntryIndex} οƒ {totalCount} ёπţŗіéŝ 國國國國國國國國國國國⟧",
33
+ "groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pǻğίпăťĭõη ήǻνíġåτïοй çõπτґōľş àńď čųŕгёлţ Ρāğę іηƒσгmǻŧіόʼn 國國國國國國國國國國國國國國國國國⟧",
34
+ "groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pяēνіόũś 國國⟧"
35
35
  }
@@ -1,66 +1,66 @@
1
1
  # Body text for the empty state when no items are found
2
- groupSharedFeatures.emptyState.body = ⟦萬萬萬萬萬萬萬萬萬萬萬 Τяŷ âďĵûѕţĭņġ ýŏŭѓ ƒĭĺţёяŝ оŕ κéУώöяďş. 國國國國國國國國國國國⟧
2
+ groupSharedFeatures.emptyState.body = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ŧяÿ ăďĵμşťíňğ γóūя ƒíļťěŗѕ őř ĸέŷωõřďś. 國國國國國國國國國國國⟧
3
3
  # Heading for the empty state when no items are found
4
- groupSharedFeatures.emptyState.heading = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śòяѓỳ, ẁе сóúĺďп'τ ƒιήď ẁнáτ ўōù'ѓê ļóõķĭήĝ ƒöř. 國國國國國國國國國國國國國國⟧
4
+ groupSharedFeatures.emptyState.heading = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Şøгѓγ, ŵę ĉőûľďŋ'ŧ ƒίńď ωнäţ γоμ'яè ļöοкìňġ ƒοг. 國國國國國國國國國國國國國國⟧
5
5
  # Label for decreasing the size of column.
6
- groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize = ⟦萬萬 Ðę¢яеąşє 國國⟧
6
+ groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize = ⟦萬萬 Ðέ¢řęâśё 國國⟧
7
7
  # Label for increasing the size of column.
8
- groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize = ⟦萬萬 Ìп¢яēåѕê 國國⟧
8
+ groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize = ⟦萬萬 Ĭπсřèαŝё 國國⟧
9
9
  # Label for the slider that controls the size of column.
10
- groupSharedFeatures.metadataView.actionBar.sliderLabel = ⟦萬 Śĺїďėŕ 國⟧
10
+ groupSharedFeatures.metadataView.actionBar.sliderLabel = ⟦萬 Şĺĩďęѓ 國⟧
11
11
  # Label to switch to grid view
12
- groupSharedFeatures.metadataView.actionBar.switchToGridView = ⟦萬萬萬萬萬 Ŝшįτçн ťó Ĝŕíď Vїεẁ 國國國國國⟧
12
+ groupSharedFeatures.metadataView.actionBar.switchToGridView = ⟦萬萬萬萬萬 Śώíţčħ ťõ Ĝŗίď Vієώ 國國國國國⟧
13
13
  # Label to switch to list view
14
- groupSharedFeatures.metadataView.actionBar.switchToListView = ⟦萬萬萬萬萬 Ѕẁїťсн τō Ļїŝτ Vīęŵ 國國國國國⟧
14
+ groupSharedFeatures.metadataView.actionBar.switchToListView = ⟦萬萬萬萬萬 Ŝωίτčĥ το Ĺїŝŧ Vîέщ 國國國國國⟧
15
15
  # Button label to open the sidepanel with all filters
16
- groupSharedFeatures.metadataView.filterRow.AllFilters = ⟦萬萬萬 Ãĺļ ₣іľţĕŕś 國國國⟧
16
+ groupSharedFeatures.metadataView.filterRow.AllFilters = ⟦萬萬萬 Αĺĺ ₣íľţęґŝ 國國國⟧
17
17
  # Button label to apply the current input as a filter to the metadata table
18
- groupSharedFeatures.metadataView.filterRow.applyButton = ⟦萬 ĀΡΡľў 國⟧
18
+ groupSharedFeatures.metadataView.filterRow.applyButton = ⟦萬 ÀΡΡľў 國⟧
19
19
  # Label for a filter chip that includes the name and count of selected options
20
20
  groupSharedFeatures.metadataView.filterRow.chipNameWithCount = ⟦萬萬萬 {name} ({count}) 國國國⟧
21
21
  # Button label to clear the current input in a textarea
22
- groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Čĺεάг 國⟧
22
+ groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Ćĺĕāѓ 國⟧
23
23
  # Title for the file type filter group
24
- groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣îļē ŦỳΡё 國國⟧
24
+ groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣îĺё ΤŷΡє 國國⟧
25
25
  # Placeholder text for the keyword search filter
26
- groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Εŋťëŕ кĕŷẁôѓďś 國國國國⟧
26
+ groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Ĕŋţεг κёÿẃõгďś 國國國國⟧
27
27
  # Title for the location filter group
28
- groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ŀőĉáŧїøʼn 國國⟧
28
+ groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ĺõçãŧíσń 國國⟧
29
29
  # Placeholder text for the input field in the filter row
30
- groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Śëŧ Vāĺùε 國國⟧
30
+ groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Ѕĕτ Vâľűē 國國⟧
31
31
  # Button label to clear all filters in the sidepanel
32
- groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Ċĺεäř Αļľ 國國⟧
32
+ groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Çĺєåя Åĺļ 國國⟧
33
33
  # Aria label for the close button in the filter sidepanel
34
- groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Ċĺóŝє 國⟧
34
+ groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Čļσŝě 國⟧
35
35
  # Header for the filter sidepanel
36
- groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣ĭľţέřѕ 國國⟧
36
+ groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣īļτēŕѕ 國國⟧
37
37
  # Button label to apply filters and show results
38
- groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Ŝèäґсĥ 國⟧
38
+ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Śεǻŕĉĥ 國⟧
39
39
  # Label for the grid view of files and folders
40
- groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ġяίď Vįėω 國國⟧
40
+ groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ĝѓíď Vîéω 國國⟧
41
41
  # Label for the default unselected option in inline editing dropdowns
42
42
  groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel = ⟦ -- ⟧
43
43
  # Label for the action menu for an item in the metadata view list
44
- groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Àċţïόή męňú 國國國⟧
44
+ groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Āсŧїōπ mєʼnц 國國國⟧
45
45
  # Error message displayed when metadata fails to load
46
- groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ѕômĕτніņĝ ωеňŧ ŵŗόʼnĝ. Pļēāѕė ѓєƒгεśĥ τĥїѕ Ρãğё. 國國國國國國國國國國國國國國⟧
46
+ groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śοmęτħίηġ ώепτ ŵřõпĝ. Pļėäŝë řèƒгέŝĥ ťħĩѕ Ρàġе. 國國國國國國國國國國國國國國⟧
47
47
  # Label for the list of files and folders displayed in a list view
48
- groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ļίśţ νīέш 國國⟧
48
+ groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ľīśť νïеώ 國國⟧
49
49
  # Label for the refresh button in error state
50
- groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Řеƒяєśн 國國⟧
50
+ groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Ѓéƒřεѕĥ 國國⟧
51
51
  # Label for the select all checkbox in the metadata table
52
- groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Ѕëĺéċť άļľ 國國⟧
52
+ groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Ŝέľėċţ âľĺ 國國⟧
53
53
  # Placeholder for select folder trigger
54
- groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Śєĺĕçť á ƒόĺďеř 國國國國⟧
54
+ groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Ŝéļêĉτ à ƒõļďéŕ 國國國國⟧
55
55
  # Aria label for the search input
56
- groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Şěâѓçĥ 國⟧
56
+ groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Şèǻřćħ 國⟧
57
57
  # Aria label for the clear button in the search input
58
- groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Çľεάг 國⟧
58
+ groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Čľєåŕ 國⟧
59
59
  # Label for the next page button
60
- groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Ŋє×ť 國⟧
60
+ groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Νє×ŧ 國⟧
61
61
  # Pagination menu status with the range of entries shown
62
- groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħöώιʼnĝ {startEntryIndex} ŧô {endEntryIndex} οƒ {totalCount} εńŧґīёŝ 國國國國國國國國國國國⟧
62
+ groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕĥőшіήġ {startEntryIndex} ţó {endEntryIndex} οƒ {totalCount} ёπţŗіéŝ 國國國國國國國國國國國⟧
63
63
  # Aria label for the pagination component, which includes entry status and previous/next page controls
64
- groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Päğĩйāŧϊöи ňανїğâťιóń ćσпŧгôľŝ āиď çµяŕèйŧ Ραĝє іиƒōяmǻţιŏπ 國國國國國國國國國國國國國國國國國⟧
64
+ groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pǻğίпăťĭõη ήǻνíġåτïοй çõπτґōľş àńď čųŕгёлţ Ρāğę іηƒσгmǻŧіόʼn 國國國國國國國國國國國國國國國國國⟧
65
65
  # Label for the previous page button
66
- groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pŗëνїŏûş 國國⟧
66
+ groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pяēνіόũś 國國⟧
@@ -1 +1 @@
1
- ._actionBar_bbxsv_1{display:flex;justify-content:space-between;padding:var(--space-4) 0}@media (width <= 374px){._filterRow_bbxsv_8{display:none}}._additionalActions_bbxsv_13{display:flex;height:var(--size-8)}@media (width <= 374px){._additionalActions_bbxsv_13{flex-grow:1;justify-content:space-between}}._viewModeButtonContainer_bbxsv_24{display:flex;align-items:center}
1
+ ._actionBar_bbxsv_1{display:flex;justify-content:space-between;padding:var(--space-4) 0}@media(max-width:374px){._filterRow_bbxsv_8{display:none}}._additionalActions_bbxsv_13{display:flex;height:var(--size-8)}@media(max-width:374px){._additionalActions_bbxsv_13{flex-grow:1;justify-content:space-between}}._viewModeButtonContainer_bbxsv_24{display:flex;align-items:center}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@box/metadata-view",
3
- "version": "1.26.1",
3
+ "version": "1.27.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@box/blueprint-web": "^12.76.2",
7
- "@box/blueprint-web-assets": "^4.68.0",
8
- "@box/box-item-type-selector": "^0.73.1",
9
- "@box/item-icon": "^0.27.1",
10
- "@box/metadata-filter": "^1.30.1",
6
+ "@box/blueprint-web": "^12.103.3",
7
+ "@box/blueprint-web-assets": "^4.86.3",
8
+ "@box/box-item-type-selector": "^1.15.0",
9
+ "@box/item-icon": "^2.6.0",
10
+ "@box/metadata-filter": "^1.53.0",
11
11
  "@box/types": "0.2.1",
12
12
  "@tanstack/react-virtual": "^3.10.8",
13
13
  "formik": "^2.4.5",
@@ -18,13 +18,13 @@
18
18
  "react-intl": "^6.4.2"
19
19
  },
20
20
  "devDependencies": {
21
- "@box/blueprint-web": "^12.103.2",
22
- "@box/blueprint-web-assets": "^4.86.0",
23
- "@box/box-item-type-selector": "^1.14.4",
21
+ "@box/blueprint-web": "^12.103.3",
22
+ "@box/blueprint-web-assets": "^4.86.3",
23
+ "@box/box-item-type-selector": "^1.15.0",
24
24
  "@box/eslint-plugin-blueprint": "1.0.5",
25
- "@box/item-icon": "^2.5.4",
26
- "@box/metadata-filter": "^1.52.4",
27
- "@box/storybook-utils": "0.14.23",
25
+ "@box/item-icon": "^2.6.0",
26
+ "@box/metadata-filter": "^1.53.0",
27
+ "@box/storybook-utils": "0.14.24",
28
28
  "@box/types": "2.0.0",
29
29
  "@tanstack/react-virtual": "^3.10.8",
30
30
  "react-intl": "^6.4.2"