@box/metadata-view 1.58.1 → 1.59.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.
@@ -12,33 +12,37 @@ import '../styles/action-bar.css';var u = {
12
12
  filterRow: "_filterRow_bbxsv_8",
13
13
  additionalActions: "_additionalActions_bbxsv_13",
14
14
  viewModeButtonContainer: "_viewModeButtonContainer_bbxsv_24"
15
- }, d = ({ isIconColumnEnabled: d, isViewModeButtonDisabled: f, onSortDescriptorChange: p, onViewModeClick: m, onZoomLevelChange: h, sortableColumns: g, sortDescriptor: _, sortDropdownProps: v, viewMode: y, zoomLevel: b, ...x }) => {
16
- let { formatMessage: S } = s();
15
+ }, d = ({ dataTargetPrefix: d, isIconColumnEnabled: f, isViewModeButtonDisabled: p, onSortDescriptorChange: m, onViewModeClick: h, onZoomLevelChange: g, sortableColumns: _, sortDescriptor: v, sortDropdownProps: y, viewMode: b, zoomLevel: x, ...S }) => {
16
+ let { formatMessage: C } = s(), w = y?.triggerButtonDataTargetId ?? (d ? `${d}-sortButton` : void 0);
17
17
  return /* @__PURE__ */ l("div", {
18
18
  className: u.actionBar,
19
19
  children: [/* @__PURE__ */ c("div", {
20
20
  className: u.filterRow,
21
- children: /* @__PURE__ */ c(t, { ...x })
21
+ children: /* @__PURE__ */ c(t, {
22
+ ...S,
23
+ dataTargetPrefix: d
24
+ })
22
25
  }), /* @__PURE__ */ l("div", {
23
26
  className: u.additionalActions,
24
27
  children: [
25
- v && /* @__PURE__ */ c(n, {
26
- ...v,
27
- onSortDescriptorChange: p,
28
- sortableColumns: g,
29
- sortDescriptor: _
28
+ y && /* @__PURE__ */ c(n, {
29
+ ...y,
30
+ onSortDescriptorChange: m,
31
+ sortableColumns: _,
32
+ sortDescriptor: v,
33
+ triggerButtonDataTargetId: w
30
34
  }),
31
- (d || y === e.GRID) && /* @__PURE__ */ c(r, {
32
- onZoomLevelChange: h,
33
- zoomLevel: b
35
+ (f || b === e.GRID) && /* @__PURE__ */ c(r, {
36
+ onZoomLevelChange: g,
37
+ zoomLevel: x
34
38
  }),
35
- !f && /* @__PURE__ */ c("div", {
39
+ !p && /* @__PURE__ */ c("div", {
36
40
  className: u.viewModeButtonContainer,
37
41
  children: /* @__PURE__ */ c(a, {
38
- "aria-label": y === e.GRID ? S(i.switchToListView) : S(i.switchToGridView),
42
+ "aria-label": b === e.GRID ? C(i.switchToListView) : C(i.switchToGridView),
39
43
  endIcon: o,
40
- onClick: m,
41
- variant: y === e.GRID ? "primary" : "tertiary"
44
+ onClick: h,
45
+ variant: b === e.GRID ? "primary" : "tertiary"
42
46
  })
43
47
  })
44
48
  ]
@@ -2,33 +2,34 @@ import { DropdownMenu as e, TriggerButton as t } from "@box/blueprint-web";
2
2
  import { useState as n } from "react";
3
3
  import { ArrowDown as r, ArrowUp as i } from "@box/blueprint-web-assets/icons/Fill";
4
4
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
- var s = ({ onSortDescriptorChange: s, sortableColumns: c, sortDescriptor: l, initialSortByColumnId: u = c[0].id, initialSortDirection: d = "ascending", onSortChange: f }) => {
6
- let p = new Map(c.map((e) => [e.id, e.textValue])), [m, h] = n(u), [g, _] = n(d), v = l?.column == null ? m : String(l.column), y = l?.direction ?? g;
5
+ var s = ({ onSortDescriptorChange: s, sortableColumns: c, sortDescriptor: l, initialSortByColumnId: u = c[0].id, initialSortDirection: d = "ascending", triggerButtonDataTargetId: f, onSortChange: p }) => {
6
+ let m = new Map(c.map((e) => [e.id, e.textValue])), [h, g] = n(u), [_, v] = n(d), y = l?.column == null ? h : String(l.column), b = l?.direction ?? _;
7
7
  return /* @__PURE__ */ o(e.Root, { children: [/* @__PURE__ */ a(e.Trigger, { children: /* @__PURE__ */ a(t, {
8
- caretDirection: y === "ascending" ? "up" : "down",
9
- label: p.get(v),
10
- startIcon: y === "ascending" ? i : r,
8
+ caretDirection: b === "ascending" ? "up" : "down",
9
+ "data-target-id": f,
10
+ label: m.get(y),
11
+ startIcon: b === "ascending" ? i : r,
11
12
  variant: "tertiary"
12
13
  }) }), /* @__PURE__ */ a(e.Content, { children: /* @__PURE__ */ a(e.RadioGroup, {
13
14
  onValueChange: (e) => {
14
- if (e === v) {
15
- let t = y === "ascending" ? "descending" : "ascending";
16
- _(t), s({
15
+ if (e === y) {
16
+ let t = b === "ascending" ? "descending" : "ascending";
17
+ v(t), s({
17
18
  column: e,
18
19
  direction: t
19
- }), f({
20
+ }), p({
20
21
  column: e,
21
22
  direction: t
22
23
  });
23
- } else h(e), _("ascending"), s({
24
+ } else g(e), v("ascending"), s({
24
25
  column: e,
25
26
  direction: "ascending"
26
- }), f({
27
+ }), p({
27
28
  column: e,
28
29
  direction: "ascending"
29
30
  });
30
31
  },
31
- value: v,
32
+ value: y,
32
33
  children: c.map(({ id: t, textValue: n }) => /* @__PURE__ */ a(e.RadioSelectItem, {
33
34
  value: t,
34
35
  children: n
@@ -1,39 +1,39 @@
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
12
  "groupSharedFeatures.metadataView.filterRow.chipNameWithFilterOption": "⟦萬萬萬 {name} - {optionLabel} 國國國⟧",
13
- "groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Ċľèãѓ 國⟧",
14
- "groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣ιĺĕ ŤŷΡε 國國⟧",
15
- "groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Éπτεґ ĸëўŵŏѓďś 國國國國⟧",
16
- "groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ĺõçâŧïοń 國國⟧",
17
- "groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Śέτ Văĺµè 國國⟧",
18
- "groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Čļêåѓ Ąľļ 國國⟧",
19
- "groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Ĉļŏѕè 國⟧",
20
- "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣ίļťęŕŝ 國國⟧",
21
- "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Ŝέāřĉн 國⟧",
22
- "groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ġѓϊď Vїēẃ 國國⟧",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "⟦萬萬萬萬 Çļėαѓ şěļĕčţίőŋ 國國國國⟧",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># їŧεm</ь> ϊś ŝéļєсŧéď} other {<ь># їτēmś</в> âŗë şēľèċŧéď}} 國國國國國國國國國國國國國國國國國國國⟧",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "⟦萬萬萬萬萬萬萬 <в>{name}</в> їŝ şěľēćťëď 國國國國國國國⟧",
13
+ "groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Ċļēãř 國⟧",
14
+ "groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣іĺе ŦУΡě 國國⟧",
15
+ "groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Ёηţëѓ кέýŵőŕďś 國國國國⟧",
16
+ "groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ļőćãťιóπ 國國⟧",
17
+ "groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Ŝеť Vàĺûє 國國⟧",
18
+ "groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Ćļёáѓ Ăĺļ 國國⟧",
19
+ "groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Çľòŝę 國⟧",
20
+ "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣ĩĺτεřŝ 國國⟧",
21
+ "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Ѕεáгċħ 國⟧",
22
+ "groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ġřϊď Vιёщ 國國⟧",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "⟦萬萬萬萬 Ćļεαŗ ѕěĺε¢ťįõи 國國國國⟧",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># îŧëm</в> íŝ ŝєĺēċţëď} other {<в># ϊŧėmś</ь> ãŗë śēĺèсτêď}} 國國國國國國國國國國國國國國國國國國國⟧",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "⟦萬萬萬萬萬萬萬 <ь>{name}</в> ĩś ŝēĺěсťėď 國國國國國國國⟧",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "⟦ -- ⟧",
27
- "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Άćτϊôń mèиù 國國國⟧",
28
- "groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ѕômëťĥĩйġ ẃéπŧ щŗôηğ. Pĺеąŝе ŗĕƒгēѕн ţħįŝ Ρáĝė. 國國國國國國國國國國國國國國⟧",
29
- "groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ļīѕτ νĩєŵ 國國⟧",
30
- "groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Яěƒгěŝн 國國⟧",
31
- "groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Ŝĕļêćť āľĺ 國國⟧",
32
- "groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Şėĺεсŧ α ƒőļďęґ 國國國國⟧",
33
- "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Ŝεäг¢н 國⟧",
34
- "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Čľέãѓ 國⟧",
35
- "groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Ńĕם 國⟧",
36
- "groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Şĥŏщĩпġ {startEntryIndex} ťō {endEntryIndex} σƒ {totalCount} ěŋŧяįėѕ 國國國國國國國國國國國⟧",
37
- "groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pąĝĩŋāţìоʼn ʼnãνìġǻťĩôń сőńťŗоĺş άňď сŭгґėńţ Ρáğέ іʼnƒôгmăŧіόπ 國國國國國國國國國國國國國國國國國⟧",
38
- "groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pŕėνίõμŝ 國國⟧"
27
+ "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Ãĉŧĩσŋ mέήů 國國國⟧",
28
+ "groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śόmέţĥιиġ ŵėпτ ẁŗőйġ. Pĺéàśέ ґèƒяεśн ţħĩś Ρǻĝε. 國國國國國國國國國國國國國國⟧",
29
+ "groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ļĭşτ νīėώ 國國⟧",
30
+ "groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Ŕёƒŗεѕĥ 國國⟧",
31
+ "groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Şєľέ¢ť àľļ 國國⟧",
32
+ "groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Śёļêĉŧ â ƒóļďěя 國國國國⟧",
33
+ "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Ѕëāяċн 國⟧",
34
+ "groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Ċļέăг 國⟧",
35
+ "groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Ņě×τ 國⟧",
36
+ "groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħòŵïŋĝ {startEntryIndex} ŧо {endEntryIndex} ôƒ {totalCount} ēήţґįέѕ 國國國國國國國國國國國⟧",
37
+ "groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pαğϊйάτïòπ ŋăνíġăţįôņ ĉōńŧŗόľş ąńď ĉůŕгëήτ Ρǻĝε ĩńƒōŕmąτïöʼn 國國國國國國國國國國國國國國國國國⟧",
38
+ "groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pѓєνîôŭş 國國⟧"
39
39
  }
@@ -1,74 +1,74 @@
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
  # Label for a filter chip showing the field name and active filter option, e.g. "Modified - Is blank"
22
22
  groupSharedFeatures.metadataView.filterRow.chipNameWithFilterOption = ⟦萬萬萬 {name} - {optionLabel} 國國國⟧
23
23
  # Button label to clear the current input in a textarea
24
- groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Ċľèãѓ 國⟧
24
+ groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Ċļēãř 國⟧
25
25
  # Title for the file type filter group
26
- groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣ιĺĕ ŤŷΡε 國國⟧
26
+ groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣іĺе ŦУΡě 國國⟧
27
27
  # Placeholder text for the keyword search filter
28
- groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Éπτεґ ĸëўŵŏѓďś 國國國國⟧
28
+ groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Ёηţëѓ кέýŵőŕďś 國國國國⟧
29
29
  # Title for the location filter group
30
- groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ĺõçâŧïοń 國國⟧
30
+ groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ļőćãťιóπ 國國⟧
31
31
  # Placeholder text for the input field in the filter row
32
- groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Śέτ Văĺµè 國國⟧
32
+ groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Ŝеť Vàĺûє 國國⟧
33
33
  # Button label to clear all filters in the sidepanel
34
- groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Čļêåѓ Ąľļ 國國⟧
34
+ groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Ćļёáѓ Ăĺļ 國國⟧
35
35
  # Aria label for the close button in the filter sidepanel
36
- groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Ĉļŏѕè 國⟧
36
+ groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Çľòŝę 國⟧
37
37
  # Header for the filter sidepanel
38
- groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣ίļťęŕŝ 國國⟧
38
+ groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣ĩĺτεřŝ 國國⟧
39
39
  # Button label to apply filters and show results
40
- groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Ŝέāřĉн 國⟧
40
+ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Ѕεáгċħ 國⟧
41
41
  # Label for the grid view of files and folders
42
- groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ġѓϊď Vїēẃ 國國⟧
42
+ groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ġřϊď Vιёщ 國國⟧
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = ⟦萬萬萬萬 Çļėαѓ şěļĕčţίőŋ 國國國國⟧
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = ⟦萬萬萬萬 Ćļεαŗ ѕěĺε¢ťįõи 國國國國⟧
45
45
  # Selection count text in the header when multiple items are selected or item name is unavailable
46
- groupSharedFeatures.metadataView.header.itemsSelected = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># їŧεm</ь> ϊś ŝéļєсŧéď} other {<ь># їτēmś</в> âŗë şēľèċŧéď}} 國國國國國國國國國國國國國國國國國國國⟧
46
+ groupSharedFeatures.metadataView.header.itemsSelected = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># îŧëm</в> íŝ ŝєĺēċţëď} other {<в># ϊŧėmś</ь> ãŗë śēĺèсτêď}} 國國國國國國國國國國國國國國國國國國國⟧
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = ⟦萬萬萬萬萬萬萬 <в>{name}</в> їŝ şěľēćťëď 國國國國國國國⟧
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = ⟦萬萬萬萬萬萬萬 <ь>{name}</в> ĩś ŝēĺěсťėď 國國國國國國國⟧
49
49
  # Label for the default unselected option in inline editing dropdowns
50
50
  groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel = ⟦ -- ⟧
51
51
  # Label for the action menu for an item in the metadata view list
52
- groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Άćτϊôń mèиù 國國國⟧
52
+ groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Ãĉŧĩσŋ mέήů 國國國⟧
53
53
  # Error message displayed when metadata fails to load
54
- groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ѕômëťĥĩйġ ẃéπŧ щŗôηğ. Pĺеąŝе ŗĕƒгēѕн ţħįŝ Ρáĝė. 國國國國國國國國國國國國國國⟧
54
+ groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śόmέţĥιиġ ŵėпτ ẁŗőйġ. Pĺéàśέ ґèƒяεśн ţħĩś Ρǻĝε. 國國國國國國國國國國國國國國⟧
55
55
  # Label for the list of files and folders displayed in a list view
56
- groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ļīѕτ νĩєŵ 國國⟧
56
+ groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ļĭşτ νīėώ 國國⟧
57
57
  # Label for the refresh button in error state
58
- groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Яěƒгěŝн 國國⟧
58
+ groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Ŕёƒŗεѕĥ 國國⟧
59
59
  # Label for the select all checkbox in the metadata table
60
- groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Ŝĕļêćť āľĺ 國國⟧
60
+ groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Şєľέ¢ť àľļ 國國⟧
61
61
  # Placeholder for select folder trigger
62
- groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Şėĺεсŧ α ƒőļďęґ 國國國國⟧
62
+ groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Śёļêĉŧ â ƒóļďěя 國國國國⟧
63
63
  # Aria label for the search input
64
- groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Ŝεäг¢н 國⟧
64
+ groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Ѕëāяċн 國⟧
65
65
  # Aria label for the clear button in the search input
66
- groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Čľέãѓ 國⟧
66
+ groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Ċļέăг 國⟧
67
67
  # Label for the next page button
68
- groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Ńĕם 國⟧
68
+ groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Ņě×τ 國⟧
69
69
  # Pagination menu status with the range of entries shown
70
- groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Şĥŏщĩпġ {startEntryIndex} ťō {endEntryIndex} σƒ {totalCount} ěŋŧяįėѕ 國國國國國國國國國國國⟧
70
+ groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħòŵïŋĝ {startEntryIndex} ŧо {endEntryIndex} ôƒ {totalCount} ēήţґįέѕ 國國國國國國國國國國國⟧
71
71
  # Aria label for the pagination component, which includes entry status and previous/next page controls
72
- groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pąĝĩŋāţìоʼn ʼnãνìġǻťĩôń сőńťŗоĺş άňď сŭгґėńţ Ρáğέ іʼnƒôгmăŧіόπ 國國國國國國國國國國國國國國國國國⟧
72
+ groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pαğϊйάτïòπ ŋăνíġăţįôņ ĉōńŧŗόľş ąńď ĉůŕгëήτ Ρǻĝε ĩńƒōŕmąτïöʼn 國國國國國國國國國國國國國國國國國⟧
73
73
  # Label for the previous page button
74
- groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pŕėνίõμŝ 國國⟧
74
+ groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pѓєνîôŭş 國國⟧
@@ -18,5 +18,5 @@ interface ActionBarInternalProps extends ActionBarProps {
18
18
  sortableColumns: Column[];
19
19
  sortDescriptor: SortDescriptor;
20
20
  }
21
- export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const ActionBar: ({ dataTargetPrefix, isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -3,6 +3,7 @@ import { Column } from '../../types';
3
3
  export interface SortDropdownProps {
4
4
  initialSortByColumnId?: string;
5
5
  initialSortDirection?: SortDirection;
6
+ triggerButtonDataTargetId?: string;
6
7
  onSortChange: (sortDescriptor: SortDescriptor) => void;
7
8
  }
8
9
  interface SortDropdownInternalProps extends SortDropdownProps {
@@ -10,5 +11,5 @@ interface SortDropdownInternalProps extends SortDropdownProps {
10
11
  sortableColumns: Column[];
11
12
  sortDescriptor: SortDescriptor;
12
13
  }
13
- export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, triggerButtonDataTargetId, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
14
15
  export {};
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@box/metadata-view",
3
- "version": "1.58.1",
3
+ "version": "1.59.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@box/blueprint-web": "^14.31.0",
7
7
  "@box/blueprint-web-assets": "^4.118.3",
8
- "@box/box-item-type-selector": "^1.41.9",
9
- "@box/content-field": "^1.42.9",
10
- "@box/item-icon": "^2.35.9",
11
- "@box/metadata-filter": "^1.83.9",
8
+ "@box/box-item-type-selector": "^1.41.10",
9
+ "@box/content-field": "^1.42.10",
10
+ "@box/item-icon": "^2.35.10",
11
+ "@box/metadata-filter": "^1.83.10",
12
12
  "@box/types": "2.2.1",
13
13
  "@tanstack/react-virtual": "^3.10.8",
14
14
  "formik": "^2.4.5",
@@ -21,11 +21,11 @@
21
21
  "devDependencies": {
22
22
  "@box/blueprint-web": "^14.31.0",
23
23
  "@box/blueprint-web-assets": "^4.118.3",
24
- "@box/box-item-type-selector": "^1.41.9",
25
- "@box/content-field": "^1.42.9",
24
+ "@box/box-item-type-selector": "^1.41.10",
25
+ "@box/content-field": "^1.42.10",
26
26
  "@box/eslint-plugin-blueprint": "1.2.1",
27
- "@box/item-icon": "^2.35.9",
28
- "@box/metadata-filter": "^1.83.9",
27
+ "@box/item-icon": "^2.35.10",
28
+ "@box/metadata-filter": "^1.83.10",
29
29
  "@box/storybook-utils": "0.19.7",
30
30
  "@box/types": "2.2.1",
31
31
  "@tanstack/react-virtual": "^3.10.8",