@box/unified-share-modal 1.31.2 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/esm/lib/components/unified-share-form-modal/collaboration-section/collaboration-section.js +106 -97
  2. package/dist/esm/lib/components/unified-share-form-modal/collaboration-section/messages.js +4 -0
  3. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/messages.js +12 -0
  4. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/shared-link-section.js +127 -112
  5. package/dist/i18n/bn-IN.js +4 -0
  6. package/dist/i18n/da-DK.js +4 -0
  7. package/dist/i18n/de-DE.js +4 -0
  8. package/dist/i18n/en-AU.js +4 -0
  9. package/dist/i18n/en-CA.js +4 -0
  10. package/dist/i18n/en-GB.js +4 -0
  11. package/dist/i18n/en-US.js +4 -0
  12. package/dist/i18n/en-US.properties +8 -0
  13. package/dist/i18n/en-x-pseudo.js +4 -0
  14. package/dist/i18n/es-419.js +4 -0
  15. package/dist/i18n/es-ES.js +4 -0
  16. package/dist/i18n/fi-FI.js +4 -0
  17. package/dist/i18n/fr-CA.js +4 -0
  18. package/dist/i18n/fr-FR.js +4 -0
  19. package/dist/i18n/hi-IN.js +4 -0
  20. package/dist/i18n/it-IT.js +4 -0
  21. package/dist/i18n/ja-JP.js +4 -0
  22. package/dist/i18n/json/src/lib/components/unified-share-form-modal/collaboration-section/messages.json +1 -1
  23. package/dist/i18n/json/src/lib/components/unified-share-form-modal/shared-link-section/messages.json +1 -1
  24. package/dist/i18n/ko-KR.js +4 -0
  25. package/dist/i18n/nb-NO.js +4 -0
  26. package/dist/i18n/nl-NL.js +4 -0
  27. package/dist/i18n/pl-PL.js +4 -0
  28. package/dist/i18n/pt-BR.js +4 -0
  29. package/dist/i18n/ru-RU.js +4 -0
  30. package/dist/i18n/sv-SE.js +4 -0
  31. package/dist/i18n/tr-TR.js +4 -0
  32. package/dist/i18n/zh-CN.js +4 -0
  33. package/dist/i18n/zh-TW.js +4 -0
  34. package/dist/styles/collaboration-section.css +1 -1
  35. package/dist/styles/shared-link-section.css +1 -1
  36. package/dist/types/lib/components/unified-share-form-modal/collaboration-section/messages.d.ts +5 -0
  37. package/dist/types/lib/components/unified-share-form-modal/shared-link-section/messages.d.ts +15 -0
  38. package/package.json +2 -2
@@ -73,6 +73,7 @@ export default {
73
73
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionInformationBarrierNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy. {removeLink}",
74
74
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy. {removeLink}",
75
75
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionRemoveButtonLabel": "Remove to continue",
76
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contentSharedWithExternalCollaborators": "This content will be shared with external collaborators.",
76
77
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorDescription": "Ladda upp, hämta, förhandsgranska, dela och redigera",
77
78
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorFolderDescription": "Ladda upp, hämta, förhandsgranska, dela, redigera och radera",
78
79
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.emailSharedLinkLabel": "Skicka e-post med delad länk",
@@ -135,7 +136,10 @@ export default {
135
136
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personer med länken",
136
137
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Du har inte behörighet att ta bort länken",
137
138
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Dela länk",
139
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicly available for anyone to view and download. Any logged in users with the link can edit.",
140
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkElevatedEditableCompanyAvailable": "People who have access to this link can edit.",
138
141
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEmailLabel": "Skicka delad länk",
142
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkPubliclyAvailable": "This content is publicly available to anyone with the link.",
139
143
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkSettingsLabel": "Länkinställningar",
140
144
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleLabel": "Delad länk",
141
145
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleTooltip": "Skapa och kopiera länk",
@@ -73,6 +73,7 @@ export default {
73
73
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionInformationBarrierNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy. {removeLink}",
74
74
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy. {removeLink}",
75
75
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionRemoveButtonLabel": "Remove to continue",
76
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contentSharedWithExternalCollaborators": "This content will be shared with external collaborators.",
76
77
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorDescription": "Yükleme, indirme, önizleme, paylaşma ve düzenleme",
77
78
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorFolderDescription": "Yükleme, indirme, önizleme, paylaşma, düzenleme ve silme",
78
79
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.emailSharedLinkLabel": "Paylaşılan Bağlantıyı E-posta ile Gönder",
@@ -135,7 +136,10 @@ export default {
135
136
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Bağlantıya sahip herkes",
136
137
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Bağlantıyı kaldırma izniniz yok",
137
138
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Paylaşım Bağlantısı",
139
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicly available for anyone to view and download. Any logged in users with the link can edit.",
140
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkElevatedEditableCompanyAvailable": "People who have access to this link can edit.",
138
141
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEmailLabel": "Paylaşılmış Bağlantıyı Gönder",
142
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkPubliclyAvailable": "This content is publicly available to anyone with the link.",
139
143
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkSettingsLabel": "Bağlantı Ayarları",
140
144
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleLabel": "Paylaşılan bağlantı",
141
145
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleTooltip": "Bağlantı oluşturun ve kopyalayın",
@@ -73,6 +73,7 @@ export default {
73
73
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionInformationBarrierNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy. {removeLink}",
74
74
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy. {removeLink}",
75
75
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionRemoveButtonLabel": "Remove to continue",
76
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contentSharedWithExternalCollaborators": "This content will be shared with external collaborators.",
76
77
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorDescription": "上传、下载、预览、共享和编辑",
77
78
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorFolderDescription": "上传、下载、预览、共享、编辑和删除",
78
79
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.emailSharedLinkLabel": "以电子邮件形式发送共享链接",
@@ -135,7 +136,10 @@ export default {
135
136
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "拥有链接的人员",
136
137
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "您无权删除链接",
137
138
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "分享链接",
139
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicly available for anyone to view and download. Any logged in users with the link can edit.",
140
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkElevatedEditableCompanyAvailable": "People who have access to this link can edit.",
138
141
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEmailLabel": "发送共享链接",
142
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkPubliclyAvailable": "This content is publicly available to anyone with the link.",
139
143
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkSettingsLabel": "链接设置",
140
144
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleLabel": "共享链接",
141
145
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleTooltip": "创建并复制链接",
@@ -73,6 +73,7 @@ export default {
73
73
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionInformationBarrierNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy. {removeLink}",
74
74
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionNotice": "{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy. {removeLink}",
75
75
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contactRestrictionRemoveButtonLabel": "Remove to continue",
76
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.contentSharedWithExternalCollaborators": "This content will be shared with external collaborators.",
76
77
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorDescription": "上傳、下載、預覽、共用和編輯",
77
78
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorFolderDescription": "上傳、下載、預覽、共用、編輯和刪除",
78
79
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.emailSharedLinkLabel": "透過電子郵件傳送共用的連結",
@@ -135,7 +136,10 @@ export default {
135
136
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "擁有連結的人員",
136
137
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "您沒有移除連結的權限",
137
138
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "共用連結",
139
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicly available for anyone to view and download. Any logged in users with the link can edit.",
140
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkElevatedEditableCompanyAvailable": "People who have access to this link can edit.",
138
141
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEmailLabel": "傳送共用的連結",
142
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkPubliclyAvailable": "This content is publicly available to anyone with the link.",
139
143
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkSettingsLabel": "連結設定",
140
144
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleLabel": "共用的連結",
141
145
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleTooltip": "建立與複製連結",
@@ -1 +1 @@
1
- ._container_1o05j_2{display:flex;flex-direction:column;gap:var(--space-4)}._label_1o05j_8{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);text-decoration:var(--body-default-bold-text-decoration);display:block;margin-block-end:var(--space-2);padding:var(--space-1) 0;color:var(--text-text-on-light);overflow-wrap:break-word}
1
+ ._container_1ixpu_2{display:flex;flex-direction:column;gap:var(--space-4)}._label_1ixpu_8{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);text-decoration:var(--body-default-bold-text-decoration);display:block;margin-block-end:var(--space-2);padding:var(--space-1) 0;color:var(--text-text-on-light);overflow-wrap:break-word}._securityIndicator_1ixpu_23>svg{display:inline-block;margin-bottom:-3px;padding-right:var(--space-1)}
@@ -1 +1 @@
1
- ._container_q90iz_1{display:flex;flex-direction:column;gap:var(--space-3)}._toggle_q90iz_7{display:flex;gap:var(--space-2);align-items:center}._settings_q90iz_13{margin-left:auto;cursor:pointer}._settings_q90iz_13[aria-disabled=true]{opacity:.3;pointer-events:none}._copy_q90iz_22{display:flex;gap:var(--space-2)}._copy_q90iz_22>div:first-child{flex-grow:1}._access_q90iz_30{display:flex;flex-wrap:wrap;gap:var(--space-6)}
1
+ ._container_1w9vi_1{display:flex;flex-direction:column;gap:var(--space-3)}._toggle_1w9vi_7{display:flex;gap:var(--space-2);align-items:center}._settings_1w9vi_13{margin-left:auto;cursor:pointer}._settings_1w9vi_13[aria-disabled=true]{opacity:.3;pointer-events:none}._copy_1w9vi_22{display:flex;gap:var(--space-2)}._copy_1w9vi_22>div:first-child{flex-grow:1}._access_1w9vi_30{display:flex;flex-wrap:wrap;gap:var(--space-6)}._securityIndicator_1w9vi_36>svg{display:inline-block;margin-bottom:-3px;padding-right:var(--space-1)}
@@ -14,6 +14,11 @@ declare const messages: {
14
14
  description: string;
15
15
  id: string;
16
16
  };
17
+ contentSharedWithExternalCollaborators: {
18
+ defaultMessage: string;
19
+ description: string;
20
+ id: string;
21
+ };
17
22
  sendButton: {
18
23
  defaultMessage: string;
19
24
  description: string;
@@ -39,6 +39,21 @@ declare const messages: {
39
39
  description: string;
40
40
  id: string;
41
41
  };
42
+ sharedLinkPubliclyAvailable: {
43
+ defaultMessage: string;
44
+ description: string;
45
+ id: string;
46
+ };
47
+ sharedLinkEditablePubliclyAvailable: {
48
+ defaultMessage: string;
49
+ description: string;
50
+ id: string;
51
+ };
52
+ sharedLinkElevatedEditableCompanyAvailable: {
53
+ defaultMessage: string;
54
+ description: string;
55
+ id: string;
56
+ };
42
57
  expirationIconLabel: {
43
58
  defaultMessage: string;
44
59
  description: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@box/unified-share-modal",
3
- "version": "1.31.2",
3
+ "version": "1.32.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@box/blueprint-web": "^12.111.1",
7
7
  "@box/blueprint-web-assets": "^4.90.0",
8
8
  "@box/copy-input": "^1.21.6",
9
- "@box/user-selector": "^1.54.2",
9
+ "@box/user-selector": "^1.54.3",
10
10
  "lodash": "^4.17.15",
11
11
  "react": "^18.0.0",
12
12
  "react-dom": "^18.0.0",