box-ui-elements 23.3.0-beta.5 → 23.3.0-beta.7
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.
- package/dist/explorer.css +1 -1
- package/dist/explorer.js +1 -1
- package/dist/openwith.js +1 -1
- package/dist/picker.js +1 -1
- package/dist/preview.css +1 -1
- package/dist/preview.js +1 -1
- package/dist/sharing.js +1 -1
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/uploader.js +1 -1
- package/es/features/metadata-instance-editor/CascadePolicy.js +60 -2
- package/es/features/metadata-instance-editor/CascadePolicy.js.flow +72 -1
- package/es/features/metadata-instance-editor/CascadePolicy.js.map +1 -1
- package/es/features/metadata-instance-editor/CascadePolicy.scss +15 -1
- package/es/features/metadata-instance-editor/CascadePolicy.stories.js +24 -0
- package/es/features/metadata-instance-editor/CascadePolicy.stories.js.flow +31 -0
- package/es/features/metadata-instance-editor/CascadePolicy.stories.js.map +1 -0
- package/es/features/metadata-instance-editor/Instance.js +14 -2
- package/es/features/metadata-instance-editor/Instance.js.flow +23 -3
- package/es/features/metadata-instance-editor/Instance.js.map +1 -1
- package/es/features/metadata-instance-editor/Instances.js +2 -0
- package/es/features/metadata-instance-editor/Instances.js.flow +3 -0
- package/es/features/metadata-instance-editor/Instances.js.map +1 -1
- package/es/features/metadata-instance-editor/MetadataInstanceEditor.js +2 -0
- package/es/features/metadata-instance-editor/MetadataInstanceEditor.js.flow +3 -0
- package/es/features/metadata-instance-editor/MetadataInstanceEditor.js.map +1 -1
- package/es/features/metadata-instance-editor/messages.js +20 -0
- package/es/features/metadata-instance-editor/messages.js.flow +26 -0
- package/es/features/metadata-instance-editor/messages.js.map +1 -1
- package/i18n/bn-IN.js +5 -0
- package/i18n/bn-IN.properties +10 -0
- package/i18n/da-DK.js +5 -0
- package/i18n/da-DK.properties +10 -0
- package/i18n/de-DE.js +5 -0
- package/i18n/de-DE.properties +10 -0
- package/i18n/en-AU.js +5 -0
- package/i18n/en-AU.properties +10 -0
- package/i18n/en-CA.js +5 -0
- package/i18n/en-CA.properties +10 -0
- package/i18n/en-GB.js +5 -0
- package/i18n/en-GB.properties +10 -0
- package/i18n/en-US.js +5 -0
- package/i18n/en-US.properties +10 -0
- package/i18n/en-x-pseudo.js +1016 -1011
- package/i18n/en-x-pseudo.properties +1021 -1011
- package/i18n/es-419.js +5 -0
- package/i18n/es-419.properties +10 -0
- package/i18n/es-ES.js +5 -0
- package/i18n/es-ES.properties +10 -0
- package/i18n/fi-FI.js +5 -0
- package/i18n/fi-FI.properties +10 -0
- package/i18n/fr-CA.js +5 -0
- package/i18n/fr-CA.properties +10 -0
- package/i18n/fr-FR.js +5 -0
- package/i18n/fr-FR.properties +10 -0
- package/i18n/hi-IN.js +5 -0
- package/i18n/hi-IN.properties +10 -0
- package/i18n/it-IT.js +5 -0
- package/i18n/it-IT.properties +10 -0
- package/i18n/ja-JP.js +5 -0
- package/i18n/ja-JP.properties +10 -0
- package/i18n/ko-KR.js +5 -0
- package/i18n/ko-KR.properties +10 -0
- package/i18n/nb-NO.js +5 -0
- package/i18n/nb-NO.properties +10 -0
- package/i18n/nl-NL.js +5 -0
- package/i18n/nl-NL.properties +10 -0
- package/i18n/pl-PL.js +5 -0
- package/i18n/pl-PL.properties +10 -0
- package/i18n/pt-BR.js +5 -0
- package/i18n/pt-BR.properties +10 -0
- package/i18n/ru-RU.js +5 -0
- package/i18n/ru-RU.properties +10 -0
- package/i18n/sv-SE.js +5 -0
- package/i18n/sv-SE.properties +10 -0
- package/i18n/tr-TR.js +5 -0
- package/i18n/tr-TR.properties +10 -0
- package/i18n/zh-CN.js +5 -0
- package/i18n/zh-CN.properties +10 -0
- package/i18n/zh-TW.js +5 -0
- package/i18n/zh-TW.properties +10 -0
- package/package.json +2 -2
- package/src/features/metadata-instance-editor/CascadePolicy.js +72 -1
- package/src/features/metadata-instance-editor/CascadePolicy.scss +15 -1
- package/src/features/metadata-instance-editor/CascadePolicy.stories.js +31 -0
- package/src/features/metadata-instance-editor/Instance.js +23 -3
- package/src/features/metadata-instance-editor/Instances.js +3 -0
- package/src/features/metadata-instance-editor/MetadataInstanceEditor.js +3 -0
- package/src/features/metadata-instance-editor/__tests__/CascadePolicy.test.js +51 -0
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/CascadePolicy.test.js.snap +9 -9
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +4 -1
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instances.test.js.snap +2 -0
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/MetadataInstanceEditor.test.js.snap +1 -0
- package/src/features/metadata-instance-editor/messages.js +26 -0
package/i18n/en-AU.js
CHANGED
|
@@ -605,6 +605,10 @@ export default {
|
|
|
605
605
|
"boxui.itemDetails.url": "URL",
|
|
606
606
|
"boxui.itemDetails.urlPlaceholder": "Enter a valid URL",
|
|
607
607
|
"boxui.media.menuButtonArialLabel": "Options",
|
|
608
|
+
"boxui.metadataInstanceEditor.aiAutofillDescription": "Use Box AI to automatically extract metadata values.",
|
|
609
|
+
"boxui.metadataInstanceEditor.aiAutofillLearnMore": "Learn more",
|
|
610
|
+
"boxui.metadataInstanceEditor.aiAutofillNotice": "Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.",
|
|
611
|
+
"boxui.metadataInstanceEditor.aiAutofillPricingDetails": "pricing details",
|
|
608
612
|
"boxui.metadataInstanceEditor.allAttributesAreHidden": "All attributes in this template have been hidden.",
|
|
609
613
|
"boxui.metadataInstanceEditor.applyCascadePolicyText": "Apply template and its values to all new and existing items in this folder and its subfolders.",
|
|
610
614
|
"boxui.metadataInstanceEditor.cannotApplyCascadePolicyText": "Cascade policy cannot be applied to custom metadata at this time.",
|
|
@@ -625,6 +629,7 @@ export default {
|
|
|
625
629
|
"boxui.metadataInstanceEditor.customValue": "Value",
|
|
626
630
|
"boxui.metadataInstanceEditor.customValuePlaceholder": "e.g. 42",
|
|
627
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit metadata",
|
|
632
|
+
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
628
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
629
634
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
630
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
package/i18n/en-AU.properties
CHANGED
|
@@ -1210,6 +1210,14 @@ boxui.itemDetails.url = URL
|
|
|
1210
1210
|
boxui.itemDetails.urlPlaceholder = Enter a valid URL
|
|
1211
1211
|
# Label for comment options menu
|
|
1212
1212
|
boxui.media.menuButtonArialLabel = Options
|
|
1213
|
+
# Description for AI autofill toggle switch
|
|
1214
|
+
boxui.metadataInstanceEditor.aiAutofillDescription = Use Box AI to automatically extract metadata values.
|
|
1215
|
+
# Learn more link for AI autofill
|
|
1216
|
+
boxui.metadataInstanceEditor.aiAutofillLearnMore = Learn more
|
|
1217
|
+
# Notice for AI autofill toggle switch
|
|
1218
|
+
boxui.metadataInstanceEditor.aiAutofillNotice = Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.
|
|
1219
|
+
# Pricing details link for AI autofill
|
|
1220
|
+
boxui.metadataInstanceEditor.aiAutofillPricingDetails = pricing details
|
|
1213
1221
|
# Informational text below collapsible header indicating that all fields for this template are hidden
|
|
1214
1222
|
boxui.metadataInstanceEditor.allAttributesAreHidden = All attributes in this template have been hidden.
|
|
1215
1223
|
# Informational text below enable cascade policy toggle switch
|
|
@@ -1250,6 +1258,8 @@ boxui.metadataInstanceEditor.customValue = Value
|
|
|
1250
1258
|
boxui.metadataInstanceEditor.customValuePlaceholder = e.g. 42
|
|
1251
1259
|
# Text that shows in a tooltip above the edit pencil button.
|
|
1252
1260
|
boxui.metadataInstanceEditor.editTooltip = Edit metadata
|
|
1261
|
+
# Label for enable AI autofill toggle switch
|
|
1262
|
+
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1253
1263
|
# Label for enable cascade policy toggle switch
|
|
1254
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1255
1265
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
package/i18n/en-CA.js
CHANGED
|
@@ -605,6 +605,10 @@ export default {
|
|
|
605
605
|
"boxui.itemDetails.url": "URL",
|
|
606
606
|
"boxui.itemDetails.urlPlaceholder": "Enter a valid url",
|
|
607
607
|
"boxui.media.menuButtonArialLabel": "Options",
|
|
608
|
+
"boxui.metadataInstanceEditor.aiAutofillDescription": "Use Box AI to automatically extract metadata values.",
|
|
609
|
+
"boxui.metadataInstanceEditor.aiAutofillLearnMore": "Learn more",
|
|
610
|
+
"boxui.metadataInstanceEditor.aiAutofillNotice": "Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.",
|
|
611
|
+
"boxui.metadataInstanceEditor.aiAutofillPricingDetails": "pricing details",
|
|
608
612
|
"boxui.metadataInstanceEditor.allAttributesAreHidden": "All attributes in this template have been hidden.",
|
|
609
613
|
"boxui.metadataInstanceEditor.applyCascadePolicyText": "Apply template and its values to all new and existing items in this folder and its subfolders.",
|
|
610
614
|
"boxui.metadataInstanceEditor.cannotApplyCascadePolicyText": "Cascade policy cannot be applied to custom metadata at this time.",
|
|
@@ -625,6 +629,7 @@ export default {
|
|
|
625
629
|
"boxui.metadataInstanceEditor.customValue": "Value",
|
|
626
630
|
"boxui.metadataInstanceEditor.customValuePlaceholder": "e.g. 42",
|
|
627
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit Metadata",
|
|
632
|
+
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
628
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
629
634
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
630
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
package/i18n/en-CA.properties
CHANGED
|
@@ -1210,6 +1210,14 @@ boxui.itemDetails.url = URL
|
|
|
1210
1210
|
boxui.itemDetails.urlPlaceholder = Enter a valid url
|
|
1211
1211
|
# Label for comment options menu
|
|
1212
1212
|
boxui.media.menuButtonArialLabel = Options
|
|
1213
|
+
# Description for AI autofill toggle switch
|
|
1214
|
+
boxui.metadataInstanceEditor.aiAutofillDescription = Use Box AI to automatically extract metadata values.
|
|
1215
|
+
# Learn more link for AI autofill
|
|
1216
|
+
boxui.metadataInstanceEditor.aiAutofillLearnMore = Learn more
|
|
1217
|
+
# Notice for AI autofill toggle switch
|
|
1218
|
+
boxui.metadataInstanceEditor.aiAutofillNotice = Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.
|
|
1219
|
+
# Pricing details link for AI autofill
|
|
1220
|
+
boxui.metadataInstanceEditor.aiAutofillPricingDetails = pricing details
|
|
1213
1221
|
# Informational text below collapsible header indicating that all fields for this template are hidden
|
|
1214
1222
|
boxui.metadataInstanceEditor.allAttributesAreHidden = All attributes in this template have been hidden.
|
|
1215
1223
|
# Informational text below enable cascade policy toggle switch
|
|
@@ -1250,6 +1258,8 @@ boxui.metadataInstanceEditor.customValue = Value
|
|
|
1250
1258
|
boxui.metadataInstanceEditor.customValuePlaceholder = e.g. 42
|
|
1251
1259
|
# Text that shows in a tooltip above the edit pencil button.
|
|
1252
1260
|
boxui.metadataInstanceEditor.editTooltip = Edit Metadata
|
|
1261
|
+
# Label for enable AI autofill toggle switch
|
|
1262
|
+
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1253
1263
|
# Label for enable cascade policy toggle switch
|
|
1254
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1255
1265
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
package/i18n/en-GB.js
CHANGED
|
@@ -605,6 +605,10 @@ export default {
|
|
|
605
605
|
"boxui.itemDetails.url": "URL",
|
|
606
606
|
"boxui.itemDetails.urlPlaceholder": "Enter a valid URL",
|
|
607
607
|
"boxui.media.menuButtonArialLabel": "Options",
|
|
608
|
+
"boxui.metadataInstanceEditor.aiAutofillDescription": "Use Box AI to automatically extract metadata values.",
|
|
609
|
+
"boxui.metadataInstanceEditor.aiAutofillLearnMore": "Learn more",
|
|
610
|
+
"boxui.metadataInstanceEditor.aiAutofillNotice": "Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.",
|
|
611
|
+
"boxui.metadataInstanceEditor.aiAutofillPricingDetails": "pricing details",
|
|
608
612
|
"boxui.metadataInstanceEditor.allAttributesAreHidden": "All attributes in this template have been hidden.",
|
|
609
613
|
"boxui.metadataInstanceEditor.applyCascadePolicyText": "Apply template and its values to all new and existing items in this folder and its subfolders.",
|
|
610
614
|
"boxui.metadataInstanceEditor.cannotApplyCascadePolicyText": "Cascade policy cannot be applied to custom metadata at this time.",
|
|
@@ -625,6 +629,7 @@ export default {
|
|
|
625
629
|
"boxui.metadataInstanceEditor.customValue": "Value",
|
|
626
630
|
"boxui.metadataInstanceEditor.customValuePlaceholder": "e.g. 42",
|
|
627
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit metadata",
|
|
632
|
+
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
628
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
629
634
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
630
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
package/i18n/en-GB.properties
CHANGED
|
@@ -1210,6 +1210,14 @@ boxui.itemDetails.url = URL
|
|
|
1210
1210
|
boxui.itemDetails.urlPlaceholder = Enter a valid URL
|
|
1211
1211
|
# Label for comment options menu
|
|
1212
1212
|
boxui.media.menuButtonArialLabel = Options
|
|
1213
|
+
# Description for AI autofill toggle switch
|
|
1214
|
+
boxui.metadataInstanceEditor.aiAutofillDescription = Use Box AI to automatically extract metadata values.
|
|
1215
|
+
# Learn more link for AI autofill
|
|
1216
|
+
boxui.metadataInstanceEditor.aiAutofillLearnMore = Learn more
|
|
1217
|
+
# Notice for AI autofill toggle switch
|
|
1218
|
+
boxui.metadataInstanceEditor.aiAutofillNotice = Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.
|
|
1219
|
+
# Pricing details link for AI autofill
|
|
1220
|
+
boxui.metadataInstanceEditor.aiAutofillPricingDetails = pricing details
|
|
1213
1221
|
# Informational text below collapsible header indicating that all fields for this template are hidden
|
|
1214
1222
|
boxui.metadataInstanceEditor.allAttributesAreHidden = All attributes in this template have been hidden.
|
|
1215
1223
|
# Informational text below enable cascade policy toggle switch
|
|
@@ -1250,6 +1258,8 @@ boxui.metadataInstanceEditor.customValue = Value
|
|
|
1250
1258
|
boxui.metadataInstanceEditor.customValuePlaceholder = e.g. 42
|
|
1251
1259
|
# Text that shows in a tooltip above the edit pencil button.
|
|
1252
1260
|
boxui.metadataInstanceEditor.editTooltip = Edit metadata
|
|
1261
|
+
# Label for enable AI autofill toggle switch
|
|
1262
|
+
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1253
1263
|
# Label for enable cascade policy toggle switch
|
|
1254
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1255
1265
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
package/i18n/en-US.js
CHANGED
|
@@ -605,6 +605,10 @@ export default {
|
|
|
605
605
|
"boxui.itemDetails.url": "URL",
|
|
606
606
|
"boxui.itemDetails.urlPlaceholder": "Enter a valid url",
|
|
607
607
|
"boxui.media.menuButtonArialLabel": "Options",
|
|
608
|
+
"boxui.metadataInstanceEditor.aiAutofillDescription": "Use Box AI to automatically extract metadata values.",
|
|
609
|
+
"boxui.metadataInstanceEditor.aiAutofillLearnMore": "Learn more",
|
|
610
|
+
"boxui.metadataInstanceEditor.aiAutofillNotice": "Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.",
|
|
611
|
+
"boxui.metadataInstanceEditor.aiAutofillPricingDetails": "pricing details",
|
|
608
612
|
"boxui.metadataInstanceEditor.allAttributesAreHidden": "All attributes in this template have been hidden.",
|
|
609
613
|
"boxui.metadataInstanceEditor.applyCascadePolicyText": "Apply template and its values to all new and existing items in this folder and its subfolders.",
|
|
610
614
|
"boxui.metadataInstanceEditor.cannotApplyCascadePolicyText": "Cascade policy cannot be applied to custom metadata at this time.",
|
|
@@ -625,6 +629,7 @@ export default {
|
|
|
625
629
|
"boxui.metadataInstanceEditor.customValue": "Value",
|
|
626
630
|
"boxui.metadataInstanceEditor.customValuePlaceholder": "e.g. 42",
|
|
627
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit Metadata",
|
|
632
|
+
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
628
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
629
634
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
630
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
package/i18n/en-US.properties
CHANGED
|
@@ -1210,6 +1210,14 @@ boxui.itemDetails.url = URL
|
|
|
1210
1210
|
boxui.itemDetails.urlPlaceholder = Enter a valid url
|
|
1211
1211
|
# Label for comment options menu
|
|
1212
1212
|
boxui.media.menuButtonArialLabel = Options
|
|
1213
|
+
# Description for AI autofill toggle switch
|
|
1214
|
+
boxui.metadataInstanceEditor.aiAutofillDescription = Use Box AI to automatically extract metadata values.
|
|
1215
|
+
# Learn more link for AI autofill
|
|
1216
|
+
boxui.metadataInstanceEditor.aiAutofillLearnMore = Learn more
|
|
1217
|
+
# Notice for AI autofill toggle switch
|
|
1218
|
+
boxui.metadataInstanceEditor.aiAutofillNotice = Enabling this feature may involve additional charges. Please review our {pricingLink} for more information.
|
|
1219
|
+
# Pricing details link for AI autofill
|
|
1220
|
+
boxui.metadataInstanceEditor.aiAutofillPricingDetails = pricing details
|
|
1213
1221
|
# Informational text below collapsible header indicating that all fields for this template are hidden
|
|
1214
1222
|
boxui.metadataInstanceEditor.allAttributesAreHidden = All attributes in this template have been hidden.
|
|
1215
1223
|
# Informational text below enable cascade policy toggle switch
|
|
@@ -1250,6 +1258,8 @@ boxui.metadataInstanceEditor.customValue = Value
|
|
|
1250
1258
|
boxui.metadataInstanceEditor.customValuePlaceholder = e.g. 42
|
|
1251
1259
|
# Text that shows in a tooltip above the edit pencil button.
|
|
1252
1260
|
boxui.metadataInstanceEditor.editTooltip = Edit Metadata
|
|
1261
|
+
# Label for enable AI autofill toggle switch
|
|
1262
|
+
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1253
1263
|
# Label for enable cascade policy toggle switch
|
|
1254
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1255
1265
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|