@box/metadata-view 0.51.0 → 0.52.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,52 +1,56 @@
1
- import { Button as v } from "@box/blueprint-web";
2
- import { Grid as B } from "@box/blueprint-web-assets/icons/Fill";
3
- import { useIntl as p } from "react-intl";
1
+ import { Button as p } from "@box/blueprint-web";
2
+ import { Grid as b } from "@box/blueprint-web-assets/icons/Fill";
3
+ import { useIntl as u } from "react-intl";
4
4
  import { V as r } from "../../../../chunks/types.js";
5
- import { ZoomButton as b } from "./zoom-button.js";
5
+ import { ZoomButton as R } from "./zoom-button.js";
6
6
  import s from "./messages.js";
7
7
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
8
- import { FilterRow as u } from "../filter-row/filter-row.js";
9
- import { SortDropdown as R } from "../sort-dropdown/sort-dropdown.js";
10
- import '../../../../styles/action-bar.css';const x = "_actionBar_bbxsv_1", h = "_filterRow_bbxsv_8", A = "_additionalActions_bbxsv_13", C = "_viewModeButtonContainer_bbxsv_24", t = {
11
- actionBar: x,
12
- filterRow: h,
13
- additionalActions: A,
14
- viewModeButtonContainer: C
15
- }, T = ({
8
+ import { FilterRow as x } from "../filter-row/filter-row.js";
9
+ import { SortDropdown as h } from "../sort-dropdown/sort-dropdown.js";
10
+ import '../../../../styles/action-bar.css';const A = "_actionBar_bbxsv_1", C = "_filterRow_bbxsv_8", G = "_additionalActions_bbxsv_13", I = "_viewModeButtonContainer_bbxsv_24", t = {
11
+ actionBar: A,
12
+ filterRow: C,
13
+ additionalActions: G,
14
+ viewModeButtonContainer: I
15
+ }, F = ({
16
16
  isIconColumnEnabled: c,
17
17
  isViewModeButtonDisabled: m,
18
- onViewModeClick: l,
19
- onZoomLevelChange: d,
20
- sortableColumns: f,
18
+ onSortDescriptorChange: l,
19
+ onViewModeClick: d,
20
+ onZoomLevelChange: f,
21
+ sortableColumns: w,
22
+ sortDescriptor: _,
21
23
  sortDropdownProps: n,
22
24
  viewMode: i,
23
- zoomLevel: w,
24
- ..._
25
+ zoomLevel: v,
26
+ ...B
25
27
  }) => {
26
28
  const {
27
29
  formatMessage: a
28
- } = p();
30
+ } = u();
29
31
  return /* @__PURE__ */ e("div", {
30
32
  className: t.actionBar,
31
33
  children: [/* @__PURE__ */ o("div", {
32
34
  className: t.filterRow,
33
- children: /* @__PURE__ */ o(u, {
34
- ..._
35
+ children: /* @__PURE__ */ o(x, {
36
+ ...B
35
37
  })
36
38
  }), /* @__PURE__ */ e("div", {
37
39
  className: t.additionalActions,
38
- children: [n && /* @__PURE__ */ o(R, {
40
+ children: [n && /* @__PURE__ */ o(h, {
39
41
  ...n,
40
- sortableColumns: f
41
- }), (c || i === r.GRID) && /* @__PURE__ */ o(b, {
42
- onZoomLevelChange: d,
43
- zoomLevel: w
42
+ onSortDescriptorChange: l,
43
+ sortableColumns: w,
44
+ sortDescriptor: _
45
+ }), (c || i === r.GRID) && /* @__PURE__ */ o(R, {
46
+ onZoomLevelChange: f,
47
+ zoomLevel: v
44
48
  }), !m && /* @__PURE__ */ o("div", {
45
49
  className: t.viewModeButtonContainer,
46
- children: /* @__PURE__ */ o(v, {
50
+ children: /* @__PURE__ */ o(p, {
47
51
  "aria-label": i === r.GRID ? a(s.switchToListView) : a(s.switchToGridView),
48
- icon: B,
49
- onClick: l,
52
+ icon: b,
53
+ onClick: d,
50
54
  variant: i === r.GRID ? "primary" : "tertiary"
51
55
  })
52
56
  })]
@@ -54,5 +58,5 @@ import '../../../../styles/action-bar.css';const x = "_actionBar_bbxsv_1", h = "
54
58
  });
55
59
  };
56
60
  export {
57
- T as ActionBar
61
+ F as ActionBar
58
62
  };
@@ -1,17 +1,17 @@
1
- import { useRef as E } from "react";
2
- import { useIntl as k } from "react-intl";
3
- import { Text as B, ListCheckbox as O, TableHeader as P, Column as U } from "@box/blueprint-web";
4
- import { useInfiniteScrollTableItems as j } from "./hooks/useInfiniteScrollTableItems.js";
5
- import { TableRenderer as T } from "./table-renderer.js";
6
- import { I as F } from "../../../../chunks/types.js";
7
- import { THUMBNAIL_WIDTHS as G } from "../constants.js";
1
+ import { useRef as M } from "react";
2
+ import { useIntl as E } from "react-intl";
3
+ import { Text as k, ListCheckbox as B, TableHeader as O, Column as P } from "@box/blueprint-web";
4
+ import { useInfiniteScrollTableItems as U } from "./hooks/useInfiniteScrollTableItems.js";
5
+ import { TableRenderer as I } from "./table-renderer.js";
6
+ import { I as j } from "../../../../chunks/types.js";
7
+ import { THUMBNAIL_WIDTHS as F } from "../constants.js";
8
8
  import { s } from "../../../../chunks/index.js";
9
- import L from "./messages.js";
9
+ import G from "./messages.js";
10
10
  import { jsx as e } from "react/jsx-runtime";
11
11
  import "./table-body/inline-editing-cell/inline-editing-cell.js";
12
- const V = 40, ae = ({
12
+ const L = 40, te = ({
13
13
  columns: o,
14
- isLoading: i = !1,
14
+ isLoading: l = !1,
15
15
  iconColumnVariant: n,
16
16
  isSelectAllEnabled: m,
17
17
  items: d,
@@ -27,20 +27,20 @@ const V = 40, ae = ({
27
27
  var u;
28
28
  const {
29
29
  formatMessage: c
30
- } = k(), f = E(null), {
30
+ } = E(), f = M(null), {
31
31
  virtualItemsToDisplay: p,
32
32
  getTableHeight: A
33
- } = j({
33
+ } = U({
34
34
  items: d,
35
35
  hasNextPage: w,
36
- isLoading: i,
36
+ isLoading: l,
37
37
  parentRef: f,
38
38
  onGetNextPage: y,
39
39
  placeholderRowsCount: C
40
40
  }), a = [], N = 0;
41
- if (n === F.COLUMN) {
41
+ if (n === j.COLUMN) {
42
42
  r = r || N;
43
- const t = parseInt(G[r], 10) + 24;
43
+ const t = parseInt(F[r], 10) + 24;
44
44
  a.push({
45
45
  id: "item-type-icon",
46
46
  isRowHeader: !1,
@@ -52,23 +52,22 @@ const V = 40, ae = ({
52
52
  const D = o.map((t) => {
53
53
  const {
54
54
  id: H,
55
- isItemMetadata: S,
56
55
  isRowHeader: _,
57
56
  headerRenderer: b,
58
- textValue: l,
59
- type: I,
57
+ textValue: i,
58
+ type: T,
60
59
  ...v
61
60
  } = t;
62
61
  return {
63
62
  ...v,
64
- children: b ? b(l, t) : /* @__PURE__ */ e(B, {
63
+ children: b ? b(i, t) : /* @__PURE__ */ e(k, {
65
64
  as: "span",
66
- children: l
65
+ children: i
67
66
  }),
68
67
  isRowHeader: H === "name" || _,
69
- id: S ? "item.{id}" : H,
70
- textValue: l,
71
- allowsSorting: I !== "multiSelect" && I !== "enum"
68
+ id: H,
69
+ textValue: i,
70
+ allowsSorting: T !== "multiSelect" && T !== "enum"
72
71
  };
73
72
  });
74
73
  a.push(...D), m && a.push({
@@ -76,19 +75,19 @@ const V = 40, ae = ({
76
75
  className: s.tableHeaderActions,
77
76
  children: /* @__PURE__ */ e("div", {
78
77
  className: s.tableHeaderActionsWrapper,
79
- children: /* @__PURE__ */ e(O, {
80
- "aria-label": c(L.selectAll),
78
+ children: /* @__PURE__ */ e(B, {
79
+ "aria-label": c(G.selectAll),
81
80
  className: s.selectAllCheckbox,
82
- isDisabled: i
81
+ isDisabled: l
83
82
  })
84
83
  }),
85
84
  isRowHeader: !1,
86
85
  hideHeader: !1,
87
86
  allowsSorting: !1
88
87
  });
89
- const M = /* @__PURE__ */ e(P, {
88
+ const S = /* @__PURE__ */ e(O, {
90
89
  columns: a,
91
- children: (t) => /* @__PURE__ */ e(U, {
90
+ children: (t) => /* @__PURE__ */ e(P, {
92
91
  ...t
93
92
  })
94
93
  }), h = {
@@ -96,12 +95,12 @@ const V = 40, ae = ({
96
95
  columns: o,
97
96
  formatMessage: c,
98
97
  iconColumnVariant: n,
99
- isLoading: i,
98
+ isLoading: l,
100
99
  isSelectAllEnabled: m,
101
100
  itemActionMenuProps: R,
102
101
  items: d,
103
102
  onInlineEditChange: g,
104
- tableHeader: M,
103
+ tableHeader: S,
105
104
  tableProps: W,
106
105
  zoomLevel: r
107
106
  };
@@ -112,9 +111,9 @@ const V = 40, ae = ({
112
111
  style: {
113
112
  position: "relative",
114
113
  width: "100%",
115
- height: A() + V
114
+ height: A() + L
116
115
  },
117
- children: /* @__PURE__ */ e(T, {
116
+ children: /* @__PURE__ */ e(I, {
118
117
  ...h,
119
118
  style: {
120
119
  position: "absolute",
@@ -127,10 +126,10 @@ const V = 40, ae = ({
127
126
  virtualItems: p
128
127
  })
129
128
  })
130
- }) : /* @__PURE__ */ e(T, {
129
+ }) : /* @__PURE__ */ e(I, {
131
130
  ...h
132
131
  });
133
132
  };
134
133
  export {
135
- ae as MetadataTable
134
+ te as MetadataTable
136
135
  };
@@ -1,49 +1,57 @@
1
- import { DropdownMenu as e, TriggerButton as w } from "@box/blueprint-web";
2
- import { ArrowUp as h, ArrowDown as D } from "@box/blueprint-web-assets/icons/Fill";
3
- import { useState as s } from "react";
4
- import { jsxs as f, jsx as r } from "react/jsx-runtime";
5
- const S = ({
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,
6
7
  sortableColumns: o,
7
- initialSortByColumnId: p = o[0].id,
8
- initialSortDirection: m = "ascending",
9
- onSortChange: a
8
+ sortDescriptor: i,
9
+ initialSortByColumnId: l = o[0].id,
10
+ initialSortDirection: w = "ascending",
11
+ onSortChange: g
10
12
  }) => {
11
- const d = new Map(o.map((n) => [n.id, n.textValue])), [t, g] = s(m), [c, u] = s(p), l = (n) => {
12
- if (n === c) {
13
- const i = t === "ascending" ? "descending" : "ascending";
14
- g(i), a({
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({
15
17
  column: n,
16
- direction: i
18
+ direction: c
19
+ }), g({
20
+ column: n,
21
+ direction: c
17
22
  });
18
23
  } else
19
- u(n), g("ascending"), a({
24
+ x(n), m("ascending"), u({
25
+ column: n,
26
+ direction: "ascending"
27
+ }), g({
20
28
  column: n,
21
29
  direction: "ascending"
22
30
  });
23
31
  };
24
- return /* @__PURE__ */ f(e.Root, {
25
- children: [/* @__PURE__ */ r(e.Trigger, {
26
- children: /* @__PURE__ */ r(w, {
32
+ return /* @__PURE__ */ j(e.Root, {
33
+ children: [/* @__PURE__ */ a(e.Trigger, {
34
+ children: /* @__PURE__ */ a(M, {
27
35
  caretDirection: t === "ascending" ? "up" : "down",
28
- label: d.get(c),
29
- startIcon: t === "ascending" ? h : D,
36
+ label: h.get(d),
37
+ startIcon: t === "ascending" ? R : S,
30
38
  variant: "tertiary"
31
39
  })
32
- }), /* @__PURE__ */ r(e.Content, {
33
- children: /* @__PURE__ */ r(e.RadioGroup, {
34
- onValueChange: l,
35
- value: d.get(c),
40
+ }), /* @__PURE__ */ a(e.Content, {
41
+ children: /* @__PURE__ */ a(e.RadioGroup, {
42
+ onValueChange: v,
43
+ value: d,
36
44
  children: o.map(({
37
45
  id: n,
38
- textValue: i
39
- }) => /* @__PURE__ */ r(e.RadioSelectItem, {
46
+ textValue: c
47
+ }) => /* @__PURE__ */ a(e.RadioSelectItem, {
40
48
  value: n,
41
- children: i
49
+ children: c
42
50
  }, n))
43
51
  })
44
52
  })]
45
53
  });
46
54
  };
47
55
  export {
48
- S as SortDropdown
56
+ B as SortDropdown
49
57
  };
@@ -1,5 +1,5 @@
1
- import { I as R, V as t } from "../../chunks/types.js";
2
- import { ActionBar as g } from "./components/action-bar/action-bar.js";
1
+ import { I as N, V as t } from "../../chunks/types.js";
2
+ import { ActionBar as j } 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 k } from "./components/metadata-grid/metadata-grid.js";
12
- import { MetadataTable as x } from "./components/metadata-table/metadata-table.js";
11
+ import { MetadataGrid as x } from "./components/metadata-grid/metadata-grid.js";
12
+ import { MetadataTable as A } 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,88 +17,105 @@ 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 D } 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 E, Case as a } from "./components/switch-case/switch-case.js";
26
- import { TooltipProvider as G } from "@box/blueprint-web";
27
- import { useState as u, useRef as N } from "react";
28
- import { jsx as o, jsxs as M, Fragment as b } from "react/jsx-runtime";
29
- import { ErrorState as j } from "./components/error-state/error-state.js";
30
- import A from "./components/empty-state/empty-state.js";
31
- import '../../styles/metadata-view.css';const Z = "_container_nykl3_5", z = "_contentContainer_nykl3_14", I = {
32
- container: Z,
33
- contentContainer: z
25
+ import { SwitchCase as z, Case as s } from "./components/switch-case/switch-case.js";
26
+ import { TooltipProvider as F } from "@box/blueprint-web";
27
+ import { useState as l, 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 O = "_container_nykl3_5", Q = "_contentContainer_nykl3_14", T = {
32
+ container: O,
33
+ contentContainer: Q
34
34
  };
35
- function Mo({
36
- actionBarProps: n,
37
- columns: c,
38
- tableProps: l,
39
- hasError: w,
40
- onRefresh: S,
41
- initialViewMode: V = t.LIST,
42
- paginationProps: p,
43
- isLoading: s,
44
- isSelectionEnabled: i,
45
- ...r
35
+ function go({
36
+ actionBarProps: m,
37
+ columns: d,
38
+ tableProps: e,
39
+ hasError: V,
40
+ onRefresh: g,
41
+ initialViewMode: y = t.LIST,
42
+ paginationProps: C,
43
+ isLoading: f,
44
+ isSelectionEnabled: c,
45
+ ...a
46
46
  }) {
47
- const [e, d] = u(V), [m, v] = u(0), f = N(null), y = () => {
48
- e === t.LIST ? d(t.GRID) : d(t.LIST);
49
- }, L = !s && r.items.length === 0, T = n && n.sortDropdownProps && c.filter((h) => h.type !== "multiSelect" && h.type !== "enum"), {
50
- iconColumnVariant: C
51
- } = l || {}, _ = C && C === R.COLUMN;
52
- return /* @__PURE__ */ o(G, {
47
+ const [i, h] = l(y), [u, M] = l(void 0), [p, L] = l(0), S = U(null), D = () => {
48
+ i === t.LIST ? h(t.GRID) : h(t.LIST);
49
+ }, _ = !f && a.items.length === 0, k = m && m.sortDropdownProps && d.filter((n) => n.type !== "multiSelect" && n.type !== "enum"), {
50
+ iconColumnVariant: I
51
+ } = e || {}, R = I && I === N.COLUMN, r = e == null ? void 0 : e.onSortChange, E = q(({
52
+ column: n,
53
+ direction: v
54
+ }) => {
55
+ M({
56
+ column: n,
57
+ direction: v
58
+ }), r == null || r({
59
+ column: n,
60
+ direction: v
61
+ });
62
+ }, [r]), G = {
63
+ ...e,
64
+ sortDescriptor: u,
65
+ onSortChange: E
66
+ };
67
+ return /* @__PURE__ */ o(F, {
53
68
  children: /* @__PURE__ */ o("div", {
54
- ref: f,
55
- className: I.container,
56
- children: w ? /* @__PURE__ */ o(j, {
57
- onRefresh: S
58
- }) : /* @__PURE__ */ M(b, {
59
- children: [/* @__PURE__ */ o(g, {
60
- ...n,
61
- containerRef: f,
62
- isIconColumnEnabled: _,
63
- onViewModeClick: y,
64
- onZoomLevelChange: v,
65
- sortableColumns: T,
66
- viewMode: e,
67
- zoomLevel: m
69
+ ref: S,
70
+ className: T.container,
71
+ children: V ? /* @__PURE__ */ o(J, {
72
+ onRefresh: g
73
+ }) : /* @__PURE__ */ w(H, {
74
+ children: [/* @__PURE__ */ o(j, {
75
+ ...m,
76
+ containerRef: S,
77
+ isIconColumnEnabled: R,
78
+ onSortDescriptorChange: M,
79
+ onViewModeClick: D,
80
+ onZoomLevelChange: L,
81
+ sortableColumns: k,
82
+ sortDescriptor: u,
83
+ viewMode: i,
84
+ zoomLevel: p
68
85
  }), /* @__PURE__ */ o("div", {
69
- className: I.contentContainer,
70
- children: /* @__PURE__ */ M(E, {
71
- children: [/* @__PURE__ */ o(a, {
72
- condition: L,
73
- children: /* @__PURE__ */ o(A, {})
74
- }), /* @__PURE__ */ o(a, {
75
- condition: e === t.LIST,
76
- children: /* @__PURE__ */ o(x, {
77
- columns: c,
78
- isLoading: s,
79
- isSelectAllEnabled: i,
80
- selectionMode: i ? "multiple" : "none",
81
- zoomLevel: m,
82
- ...r,
83
- ...l
86
+ className: T.contentContainer,
87
+ children: /* @__PURE__ */ w(z, {
88
+ children: [/* @__PURE__ */ o(s, {
89
+ condition: _,
90
+ children: /* @__PURE__ */ o(K, {})
91
+ }), /* @__PURE__ */ o(s, {
92
+ condition: i === t.LIST,
93
+ children: /* @__PURE__ */ o(A, {
94
+ columns: d,
95
+ isLoading: f,
96
+ isSelectAllEnabled: c,
97
+ selectionMode: c ? "multiple" : "none",
98
+ zoomLevel: p,
99
+ ...a,
100
+ ...G
84
101
  })
85
- }), /* @__PURE__ */ o(a, {
86
- condition: e === t.GRID,
87
- children: /* @__PURE__ */ o(k, {
88
- selectionMode: i ? "multiple" : "none",
89
- zoomLevel: m,
90
- ...r
102
+ }), /* @__PURE__ */ o(s, {
103
+ condition: i === t.GRID,
104
+ children: /* @__PURE__ */ o(x, {
105
+ selectionMode: c ? "multiple" : "none",
106
+ zoomLevel: p,
107
+ ...a
91
108
  })
92
109
  })]
93
110
  })
94
- }), p && /* @__PURE__ */ o(D, {
95
- ...p
111
+ }), C && /* @__PURE__ */ o(Z, {
112
+ ...C
96
113
  })]
97
114
  })
98
115
  })
99
116
  });
100
117
  }
101
118
  export {
102
- Mo as MetadataView,
103
- Mo as default
119
+ go as MetadataView,
120
+ go as default
104
121
  };
@@ -1,35 +1,35 @@
1
1
  export default {
2
- "groupSharedFeatures.emptyState.body": "⟦萬萬萬萬萬萬萬萬萬萬萬 Τŕγ ąďĵũŝŧĩʼnġ Уóμŗ ƒїľťëřѕ σŕ κέŷшōяďś. 國國國國國國國國國國國⟧",
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": "⟦萬萬 Ĺôсăţιôŋ 國國⟧",
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ęʼnù 國國國⟧",
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": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕнοŵїήğ {startEntryIndex} ŧо {endEntryIndex} őƒ {totalCount} èлťѓіéѕ 國國國國國國國國國國國⟧",
33
- "groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pǻġϊиãťíσŋ пâνìġãťϊόň ĉòлťŕõļş ãпď çцŗřėʼnŧ Ρǻğê ĩπƒόг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άťĩóń 國國國國國國國國國國國國國國國國國⟧",
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 = ⟦萬萬萬萬萬萬萬萬萬萬萬 Τŕγ ąďĵũŝŧĩʼnġ Уóμŗ ƒїľťëřѕ σŕ κέŷшōяďś. 國國國國國國國國國國國⟧
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 = ⟦萬萬 Ĺôсăţιôŋ 國國⟧
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ęʼnù 國國國⟧
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 = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕнοŵїήğ {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ǻġϊиãťíσŋ пâνìġãťϊόň ĉòлťŕõļş ãпď çцŗřėʼnŧ Ρǻğê ĩπƒόгmατîóй 國國國國國國國國國國國國國國國國國⟧
64
+ groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pāğĩиàŧιòň ήàνîġáŧìőπ сοήτяóľŝ âлď ćūґŕěŋτ Ράġε íйƒσřmάťĩóń 國國國國國國國國國國國國國國國國國⟧
65
65
  # Label for the previous page button
66
- groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pяēνїσųş 國國⟧
66
+ groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pѓєνįöũŝ 國國⟧
@@ -1,3 +1,4 @@
1
+ import { SortDescriptor } from 'react-aria-components';
1
2
  import { Column, ViewMode } from '../../types';
2
3
  import { FilterRowProps } from '../filter-row';
3
4
  import { SortDropdownProps } from '../sort-dropdown';
@@ -13,7 +14,9 @@ export interface ActionBarProps extends Omit<FilterRowProps, 'filterGroups'> {
13
14
  zoomLevel?: number;
14
15
  }
15
16
  interface ActionBarInternalProps extends ActionBarProps {
17
+ onSortDescriptorChange: (sortDescriptor: SortDescriptor) => void;
16
18
  sortableColumns: Column[];
19
+ sortDescriptor: SortDescriptor;
17
20
  }
18
- export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onViewModeClick, onZoomLevelChange, sortableColumns, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
19
22
  export {};
@@ -6,7 +6,9 @@ export interface SortDropdownProps {
6
6
  onSortChange: (sortDescriptor: SortDescriptor) => void;
7
7
  }
8
8
  interface SortDropdownInternalProps extends SortDropdownProps {
9
+ onSortDescriptorChange: (sortDescriptor: SortDescriptor) => void;
9
10
  sortableColumns: Column[];
11
+ sortDescriptor: SortDescriptor;
10
12
  }
11
- export declare const SortDropdown: ({ sortableColumns, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
12
14
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-view",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@box/blueprint-web": "^12.66.0",
@@ -20,10 +20,10 @@
20
20
  "devDependencies": {
21
21
  "@box/blueprint-web": "^12.76.0",
22
22
  "@box/blueprint-web-assets": "^4.68.0",
23
- "@box/box-item-type-selector": "^0.71.0",
23
+ "@box/box-item-type-selector": "^0.72.0",
24
24
  "@box/eslint-plugin-blueprint": "1.0.4",
25
- "@box/item-icon": "^0.25.0",
26
- "@box/metadata-filter": "^1.28.0",
25
+ "@box/item-icon": "^0.26.0",
26
+ "@box/metadata-filter": "^1.29.0",
27
27
  "@box/storybook-utils": "0.14.4",
28
28
  "@box/types": "0.2.1",
29
29
  "@tanstack/react-virtual": "^3.10.8",