@box/metadata-view 1.53.11 → 1.53.13

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 (54) hide show
  1. package/dist/esm/lib/components/header/header.js +51 -48
  2. package/dist/i18n/bn-IN.js +3 -3
  3. package/dist/i18n/bn-IN.properties +4 -4
  4. package/dist/i18n/da-DK.js +3 -3
  5. package/dist/i18n/da-DK.properties +4 -4
  6. package/dist/i18n/de-DE.js +3 -3
  7. package/dist/i18n/de-DE.properties +4 -4
  8. package/dist/i18n/en-AU.js +2 -2
  9. package/dist/i18n/en-AU.properties +3 -3
  10. package/dist/i18n/en-CA.js +2 -2
  11. package/dist/i18n/en-CA.properties +3 -3
  12. package/dist/i18n/en-GB.js +2 -2
  13. package/dist/i18n/en-GB.properties +3 -3
  14. package/dist/i18n/en-x-pseudo.js +34 -34
  15. package/dist/i18n/en-x-pseudo.properties +35 -35
  16. package/dist/i18n/es-419.js +3 -3
  17. package/dist/i18n/es-419.properties +4 -4
  18. package/dist/i18n/es-ES.js +3 -3
  19. package/dist/i18n/es-ES.properties +4 -4
  20. package/dist/i18n/fi-FI.js +3 -3
  21. package/dist/i18n/fi-FI.properties +4 -4
  22. package/dist/i18n/fr-CA.js +3 -3
  23. package/dist/i18n/fr-CA.properties +4 -4
  24. package/dist/i18n/fr-FR.js +3 -3
  25. package/dist/i18n/fr-FR.properties +4 -4
  26. package/dist/i18n/hi-IN.js +3 -3
  27. package/dist/i18n/hi-IN.properties +4 -4
  28. package/dist/i18n/it-IT.js +3 -3
  29. package/dist/i18n/it-IT.properties +4 -4
  30. package/dist/i18n/ja-JP.js +3 -3
  31. package/dist/i18n/ja-JP.properties +4 -4
  32. package/dist/i18n/ko-KR.js +3 -3
  33. package/dist/i18n/ko-KR.properties +4 -4
  34. package/dist/i18n/nb-NO.js +3 -3
  35. package/dist/i18n/nb-NO.properties +4 -4
  36. package/dist/i18n/nl-NL.js +3 -3
  37. package/dist/i18n/nl-NL.properties +4 -4
  38. package/dist/i18n/pl-PL.js +3 -3
  39. package/dist/i18n/pl-PL.properties +4 -4
  40. package/dist/i18n/pt-BR.js +3 -3
  41. package/dist/i18n/pt-BR.properties +4 -4
  42. package/dist/i18n/ru-RU.js +3 -3
  43. package/dist/i18n/ru-RU.properties +4 -4
  44. package/dist/i18n/sv-SE.js +3 -3
  45. package/dist/i18n/sv-SE.properties +4 -4
  46. package/dist/i18n/tr-TR.js +3 -3
  47. package/dist/i18n/tr-TR.properties +4 -4
  48. package/dist/i18n/zh-CN.js +3 -3
  49. package/dist/i18n/zh-CN.properties +4 -4
  50. package/dist/i18n/zh-TW.js +3 -3
  51. package/dist/i18n/zh-TW.properties +4 -4
  52. package/dist/types/lib/components/header/header.d.ts +1 -1
  53. package/dist/types/lib/types.d.ts +18 -6
  54. package/package.json +12 -12
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Suodattimet",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Hae",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Ruudukkonäkymä",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Tyhjennä valinta",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>kohdetta</b> on valittu",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} on valittu",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Toimintovalikko",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Jokin meni vikaan. Päivitä tämä sivu.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Hae
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Ruudukkonäkymä
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Tyhjennä valinta
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>kohdetta</b> on valittu
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} on valittu
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtres",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Rechercher",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Affichage Grille",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Effacer la sélection",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>éléments</b> sont sélectionnés",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} est sélectionné",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Menu des actions",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Une erreur s'est produite. Veuillez actualiser cette page.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Rechercher
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Affichage Grille
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Effacer la sélection
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>éléments</b> sont sélectionnés
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} est sélectionné
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtres",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Rechercher",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Affichage Grille",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Effacer la sélection",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>éléments</b> sont sélectionnés",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} est sélectionné",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Menu des actions",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Une erreur s'est produite. Veuillez actualiser cette page.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Rechercher
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Affichage Grille
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Effacer la sélection
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>éléments</b> sont sélectionnés
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} est sélectionné
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "फ़िल्टर्स",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "खोजें",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "ग्रिड दृश्य",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "चयन साफ़ करें",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>आइटम्स</b> को चुना गया है",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} को चुना गया है",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "कार्र्यवाही मेनू",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "कुछ गड़बड़ हो गयी। कृपया इस पेज को रिफ्रेश करें।",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = खोज
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = ग्रिड दृश्य
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = चयन साफ़ करें
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>आइटम्स</b> को चुना गया है
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} को चुना गया है
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtri",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Cerca",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Vista griglia",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Cancella selezione",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>elementi</b> sono selezionati",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} è selezionato",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Menu azioni",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Si è verificato un errore. Per favore, aggiorna questa pagina.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Cerca
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Vista griglia
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Cancella selezione
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>elementi</b> sono selezionati
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} è selezionato
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "フィルタ",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "検索",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "グリッドビュー",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "選択をクリア",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount}項目を選択中<b></b>",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName}を選択中",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "アクションメニュー",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "問題が発生しました。このページを更新してください。",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = 検索
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = グリッドビュー
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = 選択をクリア
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount}項目を選択中<b></b>
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName}を選択中
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "필터",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "검색",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "격자 보기",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "선택 지우기",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>항목</b>이 선택되었습니다",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} 선택됨",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "작업 메뉴",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "문제가 발생했습니다. 이 페이지를 새로 고침해 주세요.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = 검색
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = 격자 보기
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = 선택 지우기
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>항목</b>이 선택되었습니다
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} 선택됨
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtre",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Søk",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Rutenettvisning",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Nullstill utvalg",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>elementer</b> valgt",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} valgt",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Handlingsvalg",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Noe gikk galt. Oppdater denne siden.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Søk
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Rutenettvisning
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Nullstill utvalg
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>elementer</b> valgt
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} valgt
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filters",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Zoeken",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Rasterweergave",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Selectie wissen",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>items</b> zijn geselecteerd",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} is geselecteerd",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Actiemenu",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Er is iets misgegaan. Gelieve deze pagina te vernieuwen.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Zoeken
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Rasterweergave
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Selectie wissen
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>items</b> zijn geselecteerd
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} is geselecteerd
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtry",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Wyszukaj",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Widok siatki",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Wyczyść wybór",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} Liczba wybranych <b>elementów</b>",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "Wybrano {boldName}",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Menu operacji",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Wystąpił błąd. Odśwież tę stronę.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Wyszukaj
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Widok siatki
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Wyczyść wybór
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} Liczba wybranych <b>elementów</b>
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = Wybrano {boldName}
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtros",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Pesquisar",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Visualização em grade",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Limpar seleção",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>itens</b> estão selecionados",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} está selecionado",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Menu de ação",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Algo saiu errado. Recarregue esta página.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Pesquisar
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Visualização em grade
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Limpar seleção
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>itens</b> estão selecionados
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} está selecionado
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Фильтры",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Поиск",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Сетка",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Отменить выбор",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "Выбрано <b>элементов</b>: {boldCount}",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "Выбран {boldName}",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Меню действий",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Что-то пошло не так. Обновите эту страницу.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Поиск
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Сетка
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Отменить выбор
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = Выбрано <b>элементов</b>: {boldCount}
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = Выбран {boldName}
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filter",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Sök",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Rutnätsvy",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Rensa urvalet",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>objekt</b> har valts",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} har valts",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "Åtgärdsmeny",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Något gick fel. Uppdatera den här sidan.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Sök
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Rutnätsvy
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Rensa urvalet
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>objekt</b> har valts
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} har valts
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "Filtreler",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "Ara",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "Kılavuz Görünümü",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Seçimi temizle",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>öğe</b> seçildi",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "{boldName} seçildi",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "İşlem menüsü",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "Bir hata oluştu. Lütfen bu sayfayı yenileyin.",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = Ara
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = Kılavuz Görünümü
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Seçimi temizle
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>öğe</b> seçildi
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = {boldName} seçildi
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "筛选",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "搜索",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "网格视图",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "清除选择",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "已选定 {boldCount} 个<b>项目</b>",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "已选定 {boldName}",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "操作菜单",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "发生错误。请刷新此页面。",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = 搜索
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = 网格视图
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = 清除选择
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = 已选定 {boldCount} 个<b>项目</b>
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = 已选定 {boldName}
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
@@ -20,9 +20,9 @@ export default {
20
20
  "groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "篩選",
21
21
  "groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "搜尋",
22
22
  "groupSharedFeatures.metadataView.gridList.gridView": "方格檢視",
23
- "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "Clear selection",
24
- "groupSharedFeatures.metadataView.header.itemsSelected": "{count, plural, one {<b># item</b> is selected} other {<b># items</b> are selected}}",
25
- "groupSharedFeatures.metadataView.header.singleItemSelected": "<b>{name}</b> is selected",
23
+ "groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "清除選擇",
24
+ "groupSharedFeatures.metadataView.header.itemsSelected": "{boldCount} <b>個項目</b>已選取",
25
+ "groupSharedFeatures.metadataView.header.singleItemSelected": "已選取 {boldName}",
26
26
  "groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "--",
27
27
  "groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "動作選單",
28
28
  "groupSharedFeatures.metadataView.itemList.errorMessage": "出了點問題。請重新整理此頁面。",
@@ -41,11 +41,11 @@ groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = 搜尋
41
41
  # Label for the grid view of files and folders
42
42
  groupSharedFeatures.metadataView.gridList.gridView = 方格檢視
43
43
  # Aria label for the clear selection button
44
- groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = Clear selection
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 {<b># item</b> is selected} other {<b># items</b> are selected}}
44
+ groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = 清除選擇
45
+ # Selection count text in the header when items are selected or item name is unavailable
46
+ groupSharedFeatures.metadataView.header.itemsSelected = {boldCount} <b>個項目</b>已選取
47
47
  # Selection text in the header when a single item is selected, showing the item name
48
- groupSharedFeatures.metadataView.header.singleItemSelected = <b>{name}</b> is selected
48
+ groupSharedFeatures.metadataView.header.singleItemSelected = 已選取 {boldName}
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
@@ -1,2 +1,2 @@
1
1
  import { HeaderProps } from '../../types';
2
- export declare function Header({ title, itemCount, isItemCountVisible, onClearSelection, selectionCount, isSelectionCountVisible, selectedItemName, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Header({ title, itemCount, isItemCountVisible, onClearSelection, selectionCount, isSelectionCountVisible, selectedItemName, rightSlot, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -22,23 +22,34 @@ export declare enum IconColumnVariant {
22
22
  COLUMN = "column",
23
23
  INLINE_SUBTITLE = "inline-subtitle"
24
24
  }
25
- /** Props for the optional header (title row + selection bar). */
26
- export interface HeaderProps {
25
+ /** Shared header props for both selection-enabled and selection-disabled variants. */
26
+ interface BaseHeaderProps {
27
27
  /** Custom title content rendered when no items are selected. */
28
28
  title?: React.ReactNode;
29
- /** Total item count displayed as a badge next to the title, and used as the selection count when all items are selected. */
30
- itemCount: number;
31
29
  /** Whether to show the item count badge next to the title. Defaults to true. */
32
30
  isItemCountVisible?: boolean;
33
- /** Whether to show selection bar when rows are selected. Only applicable when isSelectionEnabled is true. Defaults to true. */
34
- isSelectionCountVisible?: boolean;
35
31
  /** Called when selection is cleared (e.g. clear control in the header), in addition to internal state being reset. */
36
32
  onClearSelection?: () => void;
37
33
  /** The number of items selected. */
38
34
  selectionCount?: number;
39
35
  /** Name of the selected item, shown instead of the count when exactly one item is selected. */
40
36
  selectedItemName?: string;
37
+ /** Slot for custom content rendered on the right side of the header (e.g. an edit metadata button). */
38
+ rightSlot?: React.ReactNode;
39
+ }
40
+ /** "Select all" returns all items' keys, so `itemCount` is needed to provide the total number of selected items and display the count properly. */
41
+ interface SelectionCountEnabled {
42
+ /** Whether to show selection bar when rows are selected. Only applicable when isSelectionEnabled is true. Defaults to true. */
43
+ isSelectionCountVisible?: true;
44
+ /** Total item count displayed as a badge next to the title, and used as the selection count when all items are selected. */
45
+ itemCount: number;
46
+ }
47
+ interface SelectionCountDisabled {
48
+ isSelectionCountVisible: false;
49
+ itemCount?: number;
41
50
  }
51
+ /** Discriminated union ensures `itemCount` is provided when the selection bar is active. */
52
+ export type HeaderProps = BaseHeaderProps & (SelectionCountEnabled | SelectionCountDisabled);
42
53
  export interface MetadataProps {
43
54
  isLoading?: boolean;
44
55
  items: Item[];
@@ -63,3 +74,4 @@ export interface MetadataViewProps extends MetadataProps {
63
74
  paginationProps?: PaginationProps;
64
75
  headerProps?: HeaderProps;
65
76
  }
77
+ export {};