@box/metadata-editor 0.46.1 → 0.47.1

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 (56) hide show
  1. package/esm/lib/components/interactive-text/interactive-text.js +21 -17
  2. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form.js +25 -23
  3. package/esm/lib/components/metadata-instance-list/subcomponents/metadata-instance-entry/metadata-instance-entry.js +7 -6
  4. package/i18n/bn-IN.js +2 -3
  5. package/i18n/bn-IN.properties +18 -2
  6. package/i18n/da-DK.js +6 -7
  7. package/i18n/da-DK.properties +18 -2
  8. package/i18n/de-DE.js +6 -7
  9. package/i18n/de-DE.properties +18 -2
  10. package/i18n/en-AU.js +1 -2
  11. package/i18n/en-AU.properties +18 -2
  12. package/i18n/en-CA.js +1 -2
  13. package/i18n/en-CA.properties +18 -2
  14. package/i18n/en-GB.js +1 -2
  15. package/i18n/en-GB.properties +18 -2
  16. package/i18n/en-x-pseudo.js +90 -91
  17. package/i18n/en-x-pseudo.properties +99 -83
  18. package/i18n/es-419.js +5 -6
  19. package/i18n/es-419.properties +18 -2
  20. package/i18n/es-ES.js +5 -6
  21. package/i18n/es-ES.properties +18 -2
  22. package/i18n/fi-FI.js +6 -7
  23. package/i18n/fi-FI.properties +18 -2
  24. package/i18n/fr-CA.js +6 -7
  25. package/i18n/fr-CA.properties +18 -2
  26. package/i18n/fr-FR.js +6 -7
  27. package/i18n/fr-FR.properties +18 -2
  28. package/i18n/hi-IN.js +6 -7
  29. package/i18n/hi-IN.properties +18 -2
  30. package/i18n/it-IT.js +6 -7
  31. package/i18n/it-IT.properties +18 -2
  32. package/i18n/ja-JP.js +7 -8
  33. package/i18n/ja-JP.properties +19 -3
  34. package/i18n/ko-KR.js +6 -7
  35. package/i18n/ko-KR.properties +18 -2
  36. package/i18n/nb-NO.js +6 -7
  37. package/i18n/nb-NO.properties +18 -2
  38. package/i18n/nl-NL.js +6 -7
  39. package/i18n/nl-NL.properties +18 -2
  40. package/i18n/pl-PL.js +6 -7
  41. package/i18n/pl-PL.properties +18 -2
  42. package/i18n/pt-BR.js +6 -7
  43. package/i18n/pt-BR.properties +18 -2
  44. package/i18n/ru-RU.js +6 -7
  45. package/i18n/ru-RU.properties +18 -2
  46. package/i18n/sv-SE.js +6 -7
  47. package/i18n/sv-SE.properties +18 -2
  48. package/i18n/tr-TR.js +6 -7
  49. package/i18n/tr-TR.properties +18 -2
  50. package/i18n/zh-CN.js +6 -7
  51. package/i18n/zh-CN.properties +18 -2
  52. package/i18n/zh-TW.js +6 -7
  53. package/i18n/zh-TW.properties +18 -2
  54. package/package.json +5 -5
  55. package/types/lib/components/interactive-text/interactive-text.d.ts +2 -3
  56. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/types.d.ts +2 -0
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Kon geen resultaten laden. Klik om het opnieuw te proberen.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Invoer en selectie wissen
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Opnieuw laden
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Fout
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Kan opties niet laden
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Laden...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Aangepaste metagegevens
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Sjablonen zoeken
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Sjabloon toevoegen
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Toevoegen
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Weet u zeker dat u de metagegevenssjabloon ‘{templateName}’ en al zijn waarden uit dit bestand wilt verwijderen?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/pl-PL.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Wyczyść dane wejściowe i wybór",
3
+ "comboboxWithApiPagination.errorAction": "Wczytaj ponownie",
4
+ "comboboxWithApiPagination.errorIconLabel": "Błąd",
5
+ "comboboxWithApiPagination.errorMessage": "Nie udało się wczytać opcji",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Trwa wczytywanie...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Wczytywanie więcej...",
8
8
  "comboboxWithApiPagination.noResults": "Nie znaleziono wyników",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Dodaj szablon",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Dołącz",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Czy na pewno chcesz usunąć szablon metadanych „{templateName}” i wszystkie jego wartości z tego pliku?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Zapisz i kontynuuj",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Ukryj puste wartości",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Pokaż puste wartości",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Niestandardowe metadane",
92
- "comboboxWithApiPagination.apiError": "Nie można wczytać wyników. Kliknij, aby spróbować ponownie."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Niestandardowe metadane"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Nie można wczytać wyników. Kliknij, aby spróbować ponownie.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Wyczyść dane wejściowe i wybór
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Wczytaj ponownie
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Błąd
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Nie udało się wczytać opcji
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Trwa wczytywanie...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Niestandardowe metadane
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Szablony wyszukiwania
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Dodaj szablon
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Dołącz
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Czy na pewno chcesz usunąć szablon metadanych „{templateName}” i wszystkie jego wartości z tego pliku?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/pt-BR.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Limpar entrada e seleção",
3
+ "comboboxWithApiPagination.errorAction": "Recarregar",
4
+ "comboboxWithApiPagination.errorIconLabel": "Erro",
5
+ "comboboxWithApiPagination.errorMessage": "Falha ao carregar opções",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Carregando...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Carregando mais...",
8
8
  "comboboxWithApiPagination.noResults": "Nenhum resultado encontrado",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Adicionar modelo",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Acrescentar",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Tem certeza de que deseja excluir o modelo de metadados \"{templateName}\" e todos os seus valores deste arquivo?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Salvar e continuar",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Ocultar valores vazios",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Mostrar valores vazios",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Metadados personalizados",
92
- "comboboxWithApiPagination.apiError": "Não foi possível carregar os resultados. Clique para tentar novamente."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Metadados personalizados"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Não foi possível carregar os resultados. Clique para tentar novamente.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Limpar entrada e seleção
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Recarregar
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Erro
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Falha ao carregar opções
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Carregando...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Metadados personalizados
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Modelos de pesquisa
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Adicionar modelo
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Acrescentar
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Tem certeza de que deseja excluir o modelo de metadados "{templateName}" e todos os seus valores deste arquivo?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/ru-RU.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Очистить ввод и выбор",
3
+ "comboboxWithApiPagination.errorAction": "Перезагрузить",
4
+ "comboboxWithApiPagination.errorIconLabel": "Ошибка",
5
+ "comboboxWithApiPagination.errorMessage": "Не удалось загрузить параметры",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Загрузка...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Загрузка больше...",
8
8
  "comboboxWithApiPagination.noResults": "Результаты не найдены",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Добавить шаблон",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Добавить",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Удалить шаблон метаданных „{templateName}“ и все его значения из этого файла?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Сохранить и продолжить",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Скрыть пустые значения",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Показать пустые значения",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Настраиваемые метаданные",
92
- "comboboxWithApiPagination.apiError": "Не удалось загрузить результаты. Нажмите, чтобы повторить попытку."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Настраиваемые метаданные"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Не удалось загрузить результаты. Нажмите, чтобы повторить попытку.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Очистить ввод и выбор
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Перезагрузить
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Ошибка
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Не удалось загрузить параметры
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Загрузка...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Настраиваемы
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Шаблоны для поиска
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Добавить шаблон
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Добавить
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Удалить шаблон метаданных „{templateName}“ и все его значения из этого файла?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/sv-SE.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Rensa indata och val",
3
+ "comboboxWithApiPagination.errorAction": "Ladda om",
4
+ "comboboxWithApiPagination.errorIconLabel": "Fel",
5
+ "comboboxWithApiPagination.errorMessage": "Det gick inte att läsa in alternativ",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Läser in...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Läser in mer...",
8
8
  "comboboxWithApiPagination.noResults": "Inga träffar hittades",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Lägg till mall",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Lägg till",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Är du säker på att du vill radera metadatamallen \"{templateName}\" och alla dess värden från den här filen?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Spara och fortsätt",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Dölj tomma värden",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Visa tomma värden",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Anpassade metadata",
92
- "comboboxWithApiPagination.apiError": "Det gick inte att läsa in resultat. Klicka för att försöka igen."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Anpassade metadata"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Det gick inte att läsa in resultat. Klicka för att försöka igen.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Rensa indata och val
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Ladda om
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Fel
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Det gick inte att läsa in alternativ
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Läser in...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Anpassade metadata
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Sökmallar
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Lägg till mall
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Lägg till
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Är du säker på att du vill radera metadatamallen "{templateName}" och alla dess värden från den här filen?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/tr-TR.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "Girdi ve seçimi temizle",
3
+ "comboboxWithApiPagination.errorAction": "Yeniden yükle",
4
+ "comboboxWithApiPagination.errorIconLabel": "Hata",
5
+ "comboboxWithApiPagination.errorMessage": "Seçenekler yüklenemedi",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "Yükleniyor...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "Daha fazla yükleniyor...",
8
8
  "comboboxWithApiPagination.noResults": "Sonuç bulunamadı",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "Şablon ekle",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "Ekle",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "\"{templateName}\" Meta Veri şablonunu ve tüm değerlerini bu dosyadan silmek istediğinizden emin misiniz?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "Kaydet ve Devam Et",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Boş değerleri gizle",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Boş değerleri göster",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Özel Meta Veri",
92
- "comboboxWithApiPagination.apiError": "Sonuçlar yüklenemedi. Tekrar denemek için tıklayın."
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Özel Meta Veri"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = Sonuçlar yüklenemedi. Tekrar denemek için tıklayın.
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = Girdi ve seçimi temizle
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = Yeniden yükle
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = Hata
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = Seçenekler yüklenemedi
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = Yükleniyor...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Özel Meta Veri
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = Şablonları ara
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = Şablon ekle
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = Ekle
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = "{templateName}" Meta Veri şablonunu ve tüm değerlerini bu dosyadan silmek istediğinizden emin misiniz?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/zh-CN.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "清除输入和选择",
3
+ "comboboxWithApiPagination.errorAction": "重新加载",
4
+ "comboboxWithApiPagination.errorIconLabel": "错误",
5
+ "comboboxWithApiPagination.errorMessage": "加载选项失败",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "正在加载......",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "正在加载更多……",
8
8
  "comboboxWithApiPagination.noResults": "未找到结果",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "添加模板",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "追加",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "是否确定要删除 “{templateName}” 元数据模板及其此文件中的所有值?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "保存并继续",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "隐藏空值",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "显示空值",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "自定义元数据",
92
- "comboboxWithApiPagination.apiError": "无法加载结果。单击以重试。"
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "自定义元数据"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = 无法加载结果。单击以重试。
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = 清除输入和选择
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = 重新加载
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = 错误
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = 加载选项失败
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = 正在加载......
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = 自定义元数据
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = 搜索模板
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = 添加模板
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = 追加
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = 是否确定要删除 “{templateName}” 元数据模板及其此文件中的所有值?
73
89
  # Label informing how to confirm deletion of the template
package/i18n/zh-TW.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export default {
2
- "comboboxWithApiPagination.clearButtonAriaLabel": "Clear input and selection",
3
- "comboboxWithApiPagination.errorAction": "Reload",
4
- "comboboxWithApiPagination.errorIconLabel": "Error",
5
- "comboboxWithApiPagination.errorMessage": "Failed to load options",
2
+ "comboboxWithApiPagination.clearButtonAriaLabel": "清除輸入和選擇",
3
+ "comboboxWithApiPagination.errorAction": "重新載入",
4
+ "comboboxWithApiPagination.errorIconLabel": "錯誤",
5
+ "comboboxWithApiPagination.errorMessage": "載入選項失敗",
6
6
  "comboboxWithApiPagination.loadingAriaLabel": "正在載入...",
7
7
  "comboboxWithApiPagination.loadingMoreAriaLabel": "正在載入更多...",
8
8
  "comboboxWithApiPagination.noResults": "未找到結果",
@@ -39,7 +39,7 @@ export default {
39
39
  "metadataEditor.addMetadataTemplate.trigger.label": "新增範本",
40
40
  "metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
41
41
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
42
- "metadataEditor.aiSuggestionField.appendLabel": "Append",
42
+ "metadataEditor.aiSuggestionField.appendLabel": "附加",
43
43
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
44
44
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
45
45
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?",
@@ -88,6 +88,5 @@ export default {
88
88
  "metadataEditor.unsavedChangesModal.saveAndContinueCTA": "儲存並繼續",
89
89
  "metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "隱藏空值",
90
90
  "metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "顯示空值",
91
- "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "自訂中繼資料",
92
- "comboboxWithApiPagination.apiError": "無法載入結果。按一下以重試。"
91
+ "metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "自訂中繼資料"
93
92
  }
@@ -1,5 +1,11 @@
1
- # Error message displayed as combobox item when an API failed and the suggestions could not load
2
- comboboxWithApiPagination.apiError = 無法載入結果。按一下以重試。
1
+ # Aria label for the clear button visible at the end of the combobox. When clicked, it will clear all text in the input, as well as the current selection.
2
+ comboboxWithApiPagination.clearButtonAriaLabel = 清除輸入和選擇
3
+ # Error message displayed resembling button that calls to action to reload the results
4
+ comboboxWithApiPagination.errorAction = 重新載入
5
+ # Aria-label text for the error icon in the loading results error message
6
+ comboboxWithApiPagination.errorIconLabel = 錯誤
7
+ # Error message displayed as inline notice that informs the user that the options failed to load
8
+ comboboxWithApiPagination.errorMessage = 載入選項失敗
3
9
  # Visually hidden aria-label text for the loading spinner
4
10
  comboboxWithApiPagination.loadingAriaLabel = 正在載入...
5
11
  # Visually hidden aria-label text for the loading spinner show when loading more results from infinite scrolling list
@@ -68,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = 自訂中繼資料
68
74
  metadataEditor.addMetadataTemplate.search.placeholder = 搜尋範本
69
75
  # Call to encourage user to add metadata templates
70
76
  metadataEditor.addMetadataTemplate.trigger.label = 新增範本
77
+ # Label for value suggested by Box AI
78
+ metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
79
+ # Aria-label for AI suggestion options
80
+ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
81
+ # Label for appending the AI suggestion
82
+ metadataEditor.aiSuggestionField.appendLabel = 附加
83
+ # Label for clearing the current value and applying the AI suggestion
84
+ metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
85
+ # Label for ignoring the AI suggestion
86
+ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
71
87
  # Paragraph asking user are they sure that they want to delete the template
72
88
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = 確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?
73
89
  # Label informing how to confirm deletion of the template
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.46.1",
3
+ "version": "0.47.1",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.5",
6
6
  "@box/blueprint-web": "^7.20.0",
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@ariakit/react": "0.4.5",
16
- "@box/blueprint-web": "^7.24.0",
17
- "@box/blueprint-web-assets": "^4.21.4",
18
- "@box/storybook-utils": "^0.6.0",
16
+ "@box/blueprint-web": "^7.24.1",
17
+ "@box/blueprint-web-assets": "^4.21.5",
18
+ "@box/storybook-utils": "^0.6.1",
19
19
  "react": "^18.3.0",
20
20
  "react-dom": "^18.3.0",
21
21
  "react-intl": "6.4.2"
@@ -51,5 +51,5 @@
51
51
  "**/*.css"
52
52
  ],
53
53
  "license": "SEE LICENSE IN LICENSE",
54
- "gitHead": "c45d13964d3b60b860c3606a0eb55fb86bc2e057"
54
+ "gitHead": "bb2a831c3e3b11c1af207a693263069f26f7076a"
55
55
  }
@@ -1,10 +1,9 @@
1
1
  import { type TextProps } from '@box/blueprint-web';
2
- export type InteractiveTextProps = Omit<TextProps, 'as'> & {
3
- as?: TextProps['as'];
2
+ export type InteractiveTextProps = TextProps & {
4
3
  tooltipText: string;
5
4
  };
6
5
  /**
7
6
  * Wrapper component for displaying tooltip content on focusing text nodes
8
7
  */
9
- declare const InteractiveText: ({ tooltipText, children, as, ...props }: InteractiveTextProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const InteractiveText: ({ tooltipText, children, ...props }: InteractiveTextProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default InteractiveText;
@@ -2,11 +2,13 @@ import { type MetadataTemplate, type MetadataTemplateInstance } from '../../../.
2
2
  export type MetadataInstanceFormProps = {
3
3
  isAiSuggestionsFeatureEnabled: boolean;
4
4
  isLoading: boolean;
5
+ isUnsavedChangesModalOpen: boolean;
5
6
  /** The MetadataTemplate is used when creating a new instance, while MetadataTemplateInstance is applied when editing an existing one. */
6
7
  selectedTemplateInstance: MetadataTemplateInstance | MetadataTemplate;
7
8
  onCancel: () => void;
8
9
  onDelete: (id: string) => void;
9
10
  onSubmit: (id: string, operations: JSONPatchOperations) => void;
11
+ setIsUnsavedChangesModalOpen: (isUnsavedChangesModalOpen: boolean) => void;
10
12
  };
11
13
  export declare const JSONPatchOp: {
12
14
  readonly ADD: "add";