@atlaskit/editor-common 78.11.2 → 78.11.4

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 (176) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/dist/cjs/doc-utils/editor-use-only.js +33 -0
  4. package/dist/cjs/doc-utils/index.js +12 -0
  5. package/dist/cjs/element-browser/messages.js +2 -2
  6. package/dist/cjs/extensibility/Extension/Extension/index.js +5 -1
  7. package/dist/cjs/extensibility/Extension/Extension/styles.js +36 -7
  8. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -10
  9. package/dist/cjs/extensibility/ExtensionNodeWrapper.js +2 -19
  10. package/dist/cjs/extensibility/MultiBodiedExtension/action-api.js +8 -3
  11. package/dist/cjs/extensibility/MultiBodiedExtension/index.js +9 -3
  12. package/dist/cjs/extensibility/extensionNodeView.js +1 -2
  13. package/dist/cjs/i18n/cs.js +8 -5
  14. package/dist/cjs/i18n/da.js +12 -8
  15. package/dist/cjs/i18n/de.js +13 -8
  16. package/dist/cjs/i18n/en.js +14 -10
  17. package/dist/cjs/i18n/en_GB.js +14 -10
  18. package/dist/cjs/i18n/en_ZZ.js +15 -11
  19. package/dist/cjs/i18n/es.js +12 -8
  20. package/dist/cjs/i18n/fi.js +12 -8
  21. package/dist/cjs/i18n/fr.js +12 -8
  22. package/dist/cjs/i18n/hu.js +12 -8
  23. package/dist/cjs/i18n/it.js +12 -8
  24. package/dist/cjs/i18n/ja.js +12 -8
  25. package/dist/cjs/i18n/ko.js +12 -8
  26. package/dist/cjs/i18n/nb.js +12 -8
  27. package/dist/cjs/i18n/nl.js +12 -8
  28. package/dist/cjs/i18n/pl.js +12 -8
  29. package/dist/cjs/i18n/pt_BR.js +14 -6
  30. package/dist/cjs/i18n/ru.js +12 -8
  31. package/dist/cjs/i18n/sv.js +12 -8
  32. package/dist/cjs/i18n/th.js +12 -8
  33. package/dist/cjs/i18n/tr.js +14 -9
  34. package/dist/cjs/i18n/uk.js +12 -8
  35. package/dist/cjs/i18n/vi.js +59 -5
  36. package/dist/cjs/i18n/zh.js +59 -5
  37. package/dist/cjs/i18n/zh_TW.js +59 -5
  38. package/dist/cjs/monitoring/error.js +1 -1
  39. package/dist/cjs/ui/DropList/index.js +1 -1
  40. package/dist/cjs/ui/MultiBodiedExtension/index.js +13 -2
  41. package/dist/es2019/doc-utils/editor-use-only.js +25 -0
  42. package/dist/es2019/doc-utils/index.js +1 -0
  43. package/dist/es2019/element-browser/messages.js +2 -2
  44. package/dist/es2019/extensibility/Extension/Extension/index.js +5 -1
  45. package/dist/es2019/extensibility/Extension/Extension/styles.js +33 -35
  46. package/dist/es2019/extensibility/Extension/InlineExtension/index.js +3 -7
  47. package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -20
  48. package/dist/es2019/extensibility/MultiBodiedExtension/action-api.js +8 -3
  49. package/dist/es2019/extensibility/MultiBodiedExtension/index.js +10 -4
  50. package/dist/es2019/extensibility/extensionNodeView.js +1 -2
  51. package/dist/es2019/i18n/cs.js +8 -5
  52. package/dist/es2019/i18n/da.js +12 -8
  53. package/dist/es2019/i18n/de.js +13 -8
  54. package/dist/es2019/i18n/en.js +14 -10
  55. package/dist/es2019/i18n/en_GB.js +14 -10
  56. package/dist/es2019/i18n/en_ZZ.js +15 -11
  57. package/dist/es2019/i18n/es.js +12 -8
  58. package/dist/es2019/i18n/fi.js +12 -8
  59. package/dist/es2019/i18n/fr.js +12 -8
  60. package/dist/es2019/i18n/hu.js +12 -8
  61. package/dist/es2019/i18n/it.js +12 -8
  62. package/dist/es2019/i18n/ja.js +12 -8
  63. package/dist/es2019/i18n/ko.js +12 -8
  64. package/dist/es2019/i18n/nb.js +12 -8
  65. package/dist/es2019/i18n/nl.js +12 -8
  66. package/dist/es2019/i18n/pl.js +12 -8
  67. package/dist/es2019/i18n/pt_BR.js +14 -6
  68. package/dist/es2019/i18n/ru.js +12 -8
  69. package/dist/es2019/i18n/sv.js +12 -8
  70. package/dist/es2019/i18n/th.js +12 -8
  71. package/dist/es2019/i18n/tr.js +14 -9
  72. package/dist/es2019/i18n/uk.js +12 -8
  73. package/dist/es2019/i18n/vi.js +59 -5
  74. package/dist/es2019/i18n/zh.js +59 -5
  75. package/dist/es2019/i18n/zh_TW.js +59 -5
  76. package/dist/es2019/monitoring/error.js +1 -1
  77. package/dist/es2019/ui/DropList/index.js +1 -1
  78. package/dist/es2019/ui/MultiBodiedExtension/index.js +12 -1
  79. package/dist/esm/doc-utils/editor-use-only.js +26 -0
  80. package/dist/esm/doc-utils/index.js +1 -0
  81. package/dist/esm/element-browser/messages.js +2 -2
  82. package/dist/esm/extensibility/Extension/Extension/index.js +5 -1
  83. package/dist/esm/extensibility/Extension/Extension/styles.js +36 -6
  84. package/dist/esm/extensibility/Extension/InlineExtension/index.js +3 -7
  85. package/dist/esm/extensibility/ExtensionNodeWrapper.js +2 -18
  86. package/dist/esm/extensibility/MultiBodiedExtension/action-api.js +8 -3
  87. package/dist/esm/extensibility/MultiBodiedExtension/index.js +10 -4
  88. package/dist/esm/extensibility/extensionNodeView.js +1 -2
  89. package/dist/esm/i18n/cs.js +8 -5
  90. package/dist/esm/i18n/da.js +12 -8
  91. package/dist/esm/i18n/de.js +13 -8
  92. package/dist/esm/i18n/en.js +14 -10
  93. package/dist/esm/i18n/en_GB.js +14 -10
  94. package/dist/esm/i18n/en_ZZ.js +15 -11
  95. package/dist/esm/i18n/es.js +12 -8
  96. package/dist/esm/i18n/fi.js +12 -8
  97. package/dist/esm/i18n/fr.js +12 -8
  98. package/dist/esm/i18n/hu.js +12 -8
  99. package/dist/esm/i18n/it.js +12 -8
  100. package/dist/esm/i18n/ja.js +12 -8
  101. package/dist/esm/i18n/ko.js +12 -8
  102. package/dist/esm/i18n/nb.js +12 -8
  103. package/dist/esm/i18n/nl.js +12 -8
  104. package/dist/esm/i18n/pl.js +12 -8
  105. package/dist/esm/i18n/pt_BR.js +14 -6
  106. package/dist/esm/i18n/ru.js +12 -8
  107. package/dist/esm/i18n/sv.js +12 -8
  108. package/dist/esm/i18n/th.js +12 -8
  109. package/dist/esm/i18n/tr.js +14 -9
  110. package/dist/esm/i18n/uk.js +12 -8
  111. package/dist/esm/i18n/vi.js +59 -5
  112. package/dist/esm/i18n/zh.js +59 -5
  113. package/dist/esm/i18n/zh_TW.js +59 -5
  114. package/dist/esm/monitoring/error.js +1 -1
  115. package/dist/esm/ui/DropList/index.js +1 -1
  116. package/dist/esm/ui/MultiBodiedExtension/index.js +12 -1
  117. package/dist/types/doc-utils/editor-use-only.d.ts +5 -0
  118. package/dist/types/doc-utils/index.d.ts +1 -0
  119. package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +1 -5
  120. package/dist/types/i18n/cs.d.ts +8 -5
  121. package/dist/types/i18n/da.d.ts +9 -5
  122. package/dist/types/i18n/de.d.ts +10 -5
  123. package/dist/types/i18n/en.d.ts +10 -6
  124. package/dist/types/i18n/en_GB.d.ts +10 -6
  125. package/dist/types/i18n/en_ZZ.d.ts +10 -6
  126. package/dist/types/i18n/es.d.ts +9 -5
  127. package/dist/types/i18n/fi.d.ts +9 -5
  128. package/dist/types/i18n/fr.d.ts +9 -5
  129. package/dist/types/i18n/hu.d.ts +9 -5
  130. package/dist/types/i18n/it.d.ts +9 -5
  131. package/dist/types/i18n/ja.d.ts +9 -5
  132. package/dist/types/i18n/ko.d.ts +9 -5
  133. package/dist/types/i18n/nb.d.ts +9 -5
  134. package/dist/types/i18n/nl.d.ts +9 -5
  135. package/dist/types/i18n/pl.d.ts +9 -5
  136. package/dist/types/i18n/pt_BR.d.ts +11 -3
  137. package/dist/types/i18n/ru.d.ts +9 -5
  138. package/dist/types/i18n/sv.d.ts +9 -5
  139. package/dist/types/i18n/th.d.ts +9 -5
  140. package/dist/types/i18n/tr.d.ts +10 -5
  141. package/dist/types/i18n/uk.d.ts +9 -5
  142. package/dist/types/i18n/vi.d.ts +57 -3
  143. package/dist/types/i18n/zh.d.ts +57 -3
  144. package/dist/types/i18n/zh_TW.d.ts +57 -3
  145. package/dist/types/ui/MultiBodiedExtension/index.d.ts +1 -0
  146. package/dist/types-ts4.5/doc-utils/editor-use-only.d.ts +5 -0
  147. package/dist/types-ts4.5/doc-utils/index.d.ts +1 -0
  148. package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +1 -5
  149. package/dist/types-ts4.5/i18n/cs.d.ts +8 -5
  150. package/dist/types-ts4.5/i18n/da.d.ts +9 -5
  151. package/dist/types-ts4.5/i18n/de.d.ts +10 -5
  152. package/dist/types-ts4.5/i18n/en.d.ts +10 -6
  153. package/dist/types-ts4.5/i18n/en_GB.d.ts +10 -6
  154. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +10 -6
  155. package/dist/types-ts4.5/i18n/es.d.ts +9 -5
  156. package/dist/types-ts4.5/i18n/fi.d.ts +9 -5
  157. package/dist/types-ts4.5/i18n/fr.d.ts +9 -5
  158. package/dist/types-ts4.5/i18n/hu.d.ts +9 -5
  159. package/dist/types-ts4.5/i18n/it.d.ts +9 -5
  160. package/dist/types-ts4.5/i18n/ja.d.ts +9 -5
  161. package/dist/types-ts4.5/i18n/ko.d.ts +9 -5
  162. package/dist/types-ts4.5/i18n/nb.d.ts +9 -5
  163. package/dist/types-ts4.5/i18n/nl.d.ts +9 -5
  164. package/dist/types-ts4.5/i18n/pl.d.ts +9 -5
  165. package/dist/types-ts4.5/i18n/pt_BR.d.ts +11 -3
  166. package/dist/types-ts4.5/i18n/ru.d.ts +9 -5
  167. package/dist/types-ts4.5/i18n/sv.d.ts +9 -5
  168. package/dist/types-ts4.5/i18n/th.d.ts +9 -5
  169. package/dist/types-ts4.5/i18n/tr.d.ts +10 -5
  170. package/dist/types-ts4.5/i18n/uk.d.ts +9 -5
  171. package/dist/types-ts4.5/i18n/vi.d.ts +57 -3
  172. package/dist/types-ts4.5/i18n/zh.d.ts +57 -3
  173. package/dist/types-ts4.5/i18n/zh_TW.d.ts +57 -3
  174. package/dist/types-ts4.5/ui/MultiBodiedExtension/index.d.ts +1 -0
  175. package/doc-utils/package.json +15 -0
  176. package/package.json +6 -4
@@ -18,6 +18,7 @@ var _default = exports.default = {
18
18
  'fabric.editor.addAltText': '替代文字',
19
19
  'fabric.editor.addColumnLeft': '新增左側欄',
20
20
  'fabric.editor.addColumnRight': '新增右欄',
21
+ 'fabric.editor.addCommentOnMedia': '新增留言',
21
22
  'fabric.editor.addImageBorder': '新增邊框',
22
23
  'fabric.editor.addMediaFiles': '新增圖片、影片或檔案',
23
24
  'fabric.editor.addRowAbove': '在上方新增列',
@@ -32,6 +33,7 @@ var _default = exports.default = {
32
33
  'fabric.editor.altText': '替代文字',
33
34
  'fabric.editor.alttext.validation': '請移除替代文字中的所有特殊字元。',
34
35
  'fabric.editor.annotationToolbar': '註解工具列',
36
+ 'fabric.editor.backLink': '返回',
35
37
  'fabric.editor.backgroundColor': '背景顏色',
36
38
  'fabric.editor.blockCardUnavailable': '內嵌連結位於 {node} 內,無法變更其檢視',
37
39
  'fabric.editor.blockDescription': '顯示有關連結的更多資訊,包括摘要和動作',
@@ -53,6 +55,8 @@ var _default = exports.default = {
53
55
  'fabric.editor.clearFormatting': '清除格式設定',
54
56
  'fabric.editor.clearLink': '清除連結',
55
57
  'fabric.editor.clearLinkText': '清除文字',
58
+ 'fabric.editor.closeAltTextEdit': '返回',
59
+ 'fabric.editor.closeFindReplaceDialog': '關閉',
56
60
  'fabric.editor.closeHelpDialog': '關閉說明對話方塊',
57
61
  'fabric.editor.code': '程式碼',
58
62
  'fabric.editor.code.on': '{textFormattingOff},程式碼開啟',
@@ -69,7 +73,16 @@ var _default = exports.default = {
69
73
  'fabric.editor.columns': '版面配置',
70
74
  'fabric.editor.columns.description': '使用區段建立頁面的結構',
71
75
  'fabric.editor.configFailedToLoad': '無法載入',
76
+ 'fabric.editor.configPanel.cancel': '取消',
77
+ 'fabric.editor.configPanel.close': '關閉',
78
+ 'fabric.editor.configPanel.customSelect.createOption': '建立',
79
+ 'fabric.editor.configPanel.dateRange.custom.from': '從',
80
+ 'fabric.editor.configPanel.dateRange.custom.to': '至',
81
+ 'fabric.editor.configPanel.dateRange.grouping.collapse': '摺疊',
82
+ 'fabric.editor.configPanel.dateRange.grouping.expand': '展開',
83
+ 'fabric.editor.configPanel.dateRange.option.custom': '自訂',
72
84
  'fabric.editor.configPanel.documentation': '說明文件',
85
+ 'fabric.editor.configPanel.errorBoundary.note': '我們已經告訴團隊了。您仍然可以編輯和發布此頁面,或查看錯誤主控台以取得更多資訊。',
73
86
  'fabric.editor.configPanel.errorBoundary.title': '發生錯誤。',
74
87
  'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '無法結合 isMultiple 與 radio 風格',
75
88
  'fabric.editor.configPanel.formType.addField': '新增欄位',
@@ -89,13 +102,15 @@ var _default = exports.default = {
89
102
  'fabric.editor.datasource.assetsObjects.description': '透過搜尋和篩選,從 Jira Service Management 中的 Assets 插入物件',
90
103
  'fabric.editor.datasource.jiraIssue': 'Jira 議題',
91
104
  'fabric.editor.datasource.jiraIssue.description': '透過增強的搜尋、篩選和組態,從 Jira Cloud 插入 Jira 議題。',
105
+ 'fabric.editor.datasourceAppearanceTitle': '表格',
92
106
  'fabric.editor.datasourceTitle': '編輯搜尋查詢',
93
107
  'fabric.editor.date': '日期',
94
108
  'fabric.editor.date.description': '使用日曆新增日期',
95
109
  'fabric.editor.decision': '決定',
96
110
  'fabric.editor.decision.description': '擷取決定以便追蹤',
97
111
  'fabric.editor.decisionPlaceholder': '新增決定…',
98
- 'fabric.editor.defaultAltText': '清單項目',
112
+ 'fabric.editor.decreaseSize': '縮減大小',
113
+ 'fabric.editor.defaultAltText': '文件',
99
114
  'fabric.editor.description': '描述',
100
115
  'fabric.editor.displayBlock': '顯示卡片',
101
116
  'fabric.editor.displayEmbed': '顯示嵌入',
@@ -108,6 +123,7 @@ var _default = exports.default = {
108
123
  'fabric.editor.ecombedDescription': '顯示連結的互動式預覽',
109
124
  'fabric.editor.edit': '編輯',
110
125
  'fabric.editor.edit.datasource': '編輯搜尋查詢',
126
+ 'fabric.editor.edit.searchInput': '新增連結',
111
127
  'fabric.editor.editAltText': '編輯替代文字',
112
128
  'fabric.editor.editDateText': '編輯日期',
113
129
  'fabric.editor.editLink': '編輯連結',
@@ -119,6 +135,7 @@ var _default = exports.default = {
119
135
  'fabric.editor.editors': '編輯者',
120
136
  'fabric.editor.elementBrowser.help': '說明',
121
137
  'fabric.editor.elementbrowser.categorylist.category-admin': '管理',
138
+ 'fabric.editor.elementbrowser.categorylist.category-ai': 'Atlassian Intelligence',
122
139
  'fabric.editor.elementbrowser.categorylist.category-all': '全部',
123
140
  'fabric.editor.elementbrowser.categorylist.category-communication': '通訊',
124
141
  'fabric.editor.elementbrowser.categorylist.category-confluence-content': 'Confluence 內容',
@@ -132,9 +149,7 @@ var _default = exports.default = {
132
149
  'fabric.editor.elementbrowser.search.empty-state.heading': '沒有任何項目符合您的搜尋內容',
133
150
  'fabric.editor.elementbrowser.search.empty-state.sub-heading': '請試著使用不同的詞彙搜尋,或探索 Atlassian 產品的新應用程式。',
134
151
  'fabric.editor.elementbrowser.search.empty-state.sub-heading.link': '探索 Atlassian Marketplace',
135
- 'fabric.editor.elementbrowser.searchbar.assistive.text.nothing': '沒有任何項目符合您的搜尋內容',
136
- 'fabric.editor.elementbrowser.searchbar.assistive.text.suggestion': '輸入文字的建議。',
137
- 'fabric.editor.elementbrowser.searchbar.assistive.text.suggestions': '輸入文字的建議。',
152
+ 'fabric.editor.elementbrowser.searchbar.assistive.text.result': '{count, plural, =0 {沒有任何項目符合您的搜尋內容} other {適用於輸入文字的 {count} 個建議。}}',
138
153
  'fabric.editor.elementbrowser.searchbar.elementAfterInput': 'Enter',
139
154
  'fabric.editor.elementbrowser.searchbar.placeholder': '搜尋',
140
155
  'fabric.editor.elementbrowser.sidebar.heading': '瀏覽',
@@ -153,15 +168,18 @@ var _default = exports.default = {
153
168
  'fabric.editor.expandPlaceholder': '為此展開設定標題...',
154
169
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
155
170
  'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': '正在刪除',
171
+ 'fabric.editor.extension.confirmDeleteLinkedModalOKButton': '刪除',
156
172
  'fabric.editor.extension.deleteElementTitle': '刪除元素',
157
173
  'fabric.editor.extension.sourceNoTitledName': '這個元素',
158
174
  'fabric.editor.extensions.config-panel.save-indicator': '系統會隨時自動儲存所有變更',
159
175
  'fabric.editor.failed_to_upload': '無法上傳',
160
176
  'fabric.editor.feedbackDialog': '提供意見回饋',
161
177
  'fabric.editor.feedbackDialog.description': '請說明您對於新編輯器的使用體驗',
178
+ 'fabric.editor.find': '尋找',
162
179
  'fabric.editor.findNext': '尋找下一個',
163
180
  'fabric.editor.findPrevious': '尋找上一個',
164
181
  'fabric.editor.findReplaceToolbarButton': '尋找與取代',
182
+ 'fabric.editor.floatingToolbar.confirmModalCancel': '取消',
165
183
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': '同時刪除已連結的元素',
166
184
  'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{amount, plural, =0 {{name}} other {{name} (+{amount,number} 個連結的元素)}}',
167
185
  'fabric.editor.floatingToolbar.confirmModalHeading': '您確定嗎?',
@@ -170,6 +188,7 @@ var _default = exports.default = {
170
188
  'fabric.editor.floatingToolbar.floatingToolbarAriaLabel': '浮動工具列',
171
189
  'fabric.editor.floatingToolbar.scrollLeft': '向左捲動',
172
190
  'fabric.editor.floatingToolbar.scrollRight': '向右捲動',
191
+ 'fabric.editor.focusTableResizeHandle': '聚焦於表格調整大小控點',
173
192
  'fabric.editor.headerColumn': '標題欄',
174
193
  'fabric.editor.headerRow': '標題列',
175
194
  'fabric.editor.heading1': '標題 1',
@@ -202,9 +221,16 @@ var _default = exports.default = {
202
221
  'fabric.editor.hyperlinkToolbarPlaceholder': '貼上或搜尋連結',
203
222
  'fabric.editor.image': '影像',
204
223
  'fabric.editor.image.fullWidthLabel': '全寬',
224
+ 'fabric.editor.imageBorderBold': '粗體',
225
+ 'fabric.editor.imageBorderColor': '顏色',
226
+ 'fabric.editor.imageBorderMedium': '普通',
205
227
  'fabric.editor.imageBorderOptions': '邊框選項',
228
+ 'fabric.editor.imageBorderSize': '大小',
229
+ 'fabric.editor.imageBorderSubtle': '不明顯的',
206
230
  'fabric.editor.improvement': '改善',
231
+ 'fabric.editor.increaseSize': '增加大小',
207
232
  'fabric.editor.indent': '增加縮排',
233
+ 'fabric.editor.info': '資訊',
208
234
  'fabric.editor.infoPanel': '資訊面板',
209
235
  'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
210
236
  'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
@@ -230,16 +256,25 @@ var _default = exports.default = {
230
256
  'fabric.editor.linkAddress': '連結位址',
231
257
  'fabric.editor.linkPlaceholder': '貼上連結',
232
258
  'fabric.editor.lists': '清單',
259
+ 'fabric.editor.listsFormat': '列表格式設定',
233
260
  'fabric.editor.markdown': 'Markdown',
234
261
  'fabric.editor.matchCase': '大小寫須相符',
262
+ 'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, other {媒體寬度已降低至 {newMediaWidth,number} 像素。}}',
263
+ 'fabric.editor.media.DefaultMediaWidthIncreased': '{newMediaWidth, plural, other {媒體寬度已提升至 {newMediaWidth,number} 像素。}}',
264
+ 'fabric.editor.media.MediaWidthIsMin': '媒體已縮減至最小',
265
+ 'fabric.editor.media.pixelEntry.MediaWidthIsMax': '媒體已增加至最大',
235
266
  'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度輸入',
267
+ 'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
236
268
  'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '最大寬度 {maxWidth}px',
269
+ 'fabric.editor.media.pixelEntry.inputWidthTooltip': '最大寬度 {maxWidth}px',
237
270
  'fabric.editor.media.pixelEntry.migrationButtonText': '轉換為像素',
238
271
  'fabric.editor.media.pixelEntry.migrationButtonTooltip': '從百分比移轉為固定像素大小',
272
+ 'fabric.editor.media.pixelEntry.submitButtonText': '提交',
239
273
  'fabric.editor.media.pixelEntry.validationFailedMessage': '寬度驗證失敗',
240
274
  'fabric.editor.mediaAddLink': '新增連結',
241
275
  'fabric.editor.mediaFiles': '圖片、影片或檔案',
242
276
  'fabric.editor.mediaFiles.description': '將影像和其他檔案新增至頁面',
277
+ 'fabric.editor.mediaGroupDeleteLabel': '刪除',
243
278
  'fabric.editor.media_change_mediainline_caption_warn': '內嵌 (標題將會移除)',
244
279
  'fabric.editor.media_change_mediainline_default': '內嵌',
245
280
  'fabric.editor.media_change_mediasingle': '原始尺寸',
@@ -247,6 +282,7 @@ var _default = exports.default = {
247
282
  'fabric.editor.mention.description': '提及他人以傳送通知',
248
283
  'fabric.editor.mentionNode.label': '已標記使用者',
249
284
  'fabric.editor.mentionsAddLabel': '新增圖示',
285
+ 'fabric.editor.mentionsIconLabel': '提及',
250
286
  'fabric.editor.mergeCells': '合併儲存格',
251
287
  'fabric.editor.moreFormatting': '更多格式設定',
252
288
  'fabric.editor.moveColumnLeft': '{0, plural, other {將欄向左移動}}',
@@ -258,6 +294,7 @@ var _default = exports.default = {
258
294
  'fabric.editor.noResultsFound': '沒有結果',
259
295
  'fabric.editor.noSearchResults': '沒有搜尋結果',
260
296
  'fabric.editor.normal': '一般文字',
297
+ 'fabric.editor.note': '附註',
261
298
  'fabric.editor.notePanel': '附註面板',
262
299
  'fabric.editor.notePanel.description': '以彩色面板新增附註',
263
300
  'fabric.editor.numberedColumn': '編號直欄',
@@ -270,11 +307,15 @@ var _default = exports.default = {
270
307
  'fabric.editor.outdent': '減少縮排',
271
308
  'fabric.editor.pageActionsLabel': '頁面動作',
272
309
  'fabric.editor.panel.backgroundColor': '背景顏色',
310
+ 'fabric.editor.panel.emoji': '新增表情符號',
311
+ 'fabric.editor.pasteOptions': '貼上選項',
273
312
  'fabric.editor.pastePlainText': '貼上純文字',
274
313
  'fabric.editor.placeholderAltText': '使用替代文字描述這張圖片',
275
314
  'fabric.editor.placeholderText': '預留位置文字',
276
315
  'fabric.editor.placeholderText.description': '在頁面中插入文字預留位置',
277
316
  'fabric.editor.placeholderTextPlaceholder': '新增預留位置文字',
317
+ 'fabric.editor.plainText': '使用純文字',
318
+ 'fabric.editor.quickInsert': '快速插入',
278
319
  'fabric.editor.recordVideo': '錄製影片',
279
320
  'fabric.editor.recordVideo.description': '使用 Loom 錄製影片',
280
321
  'fabric.editor.redo': '重做',
@@ -283,12 +324,20 @@ var _default = exports.default = {
283
324
  'fabric.editor.removeEmoji': '移除表情符號',
284
325
  'fabric.editor.removeImageBorder': '移除邊框',
285
326
  'fabric.editor.removeRows': '{0, plural, other {刪除列}}',
327
+ 'fabric.editor.replace': '取代',
328
+ 'fabric.editor.replaceAll': '全部取代',
329
+ 'fabric.editor.replaceSuccess': '{numberOfMatches, plural, other {已替換 {numberOfMatches,number} 個相符項目}}',
330
+ 'fabric.editor.replaceWith': '取代為',
286
331
  'fabric.editor.resultsCount': '第 {selectedMatchPosition} 個,共 {totalResultsCount} 個',
332
+ 'fabric.editor.richText': '使用 RTF',
287
333
  'fabric.editor.rightSidebar': '右側資訊看板',
288
334
  'fabric.editor.rowControl': '醒目提示列',
289
335
  'fabric.editor.rowDragHandle': '列選項',
290
336
  'fabric.editor.saveButton': '儲存',
337
+ 'fabric.editor.searchResults': '{itemsLength, plural, other {有 {itemsLength,number} 個搜尋結果。請使用向上鍵和向下鍵導覽選項。按 Enter 鍵可選取選項。}}',
291
338
  'fabric.editor.selectLanguage': '選取語言',
339
+ 'fabric.editor.selectTableColumn': '選取表格欄',
340
+ 'fabric.editor.selectTableRow': '選取表格列',
292
341
  'fabric.editor.settingsLinks': '前往連結偏好設定',
293
342
  'fabric.editor.shortcut': '文字快顯',
294
343
  'fabric.editor.single': '單欄',
@@ -305,6 +354,7 @@ var _default = exports.default = {
305
354
  'fabric.editor.subTask': '子任務',
306
355
  'fabric.editor.subscript': '下標',
307
356
  'fabric.editor.subscript.off.superscript.on': '下標關閉,上標開啟',
357
+ 'fabric.editor.success': '成功',
308
358
  'fabric.editor.successPanel': '成功面板',
309
359
  'fabric.editor.successPanel.description': '以彩色面板新增提示',
310
360
  'fabric.editor.superscript': '上標',
@@ -317,7 +367,7 @@ var _default = exports.default = {
317
367
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': '{newWidth, plural, other {表格寬度已提升至 {newWidth,number} 像素。}}',
318
368
  'fabric.editor.tableSelector': '表格尺寸',
319
369
  'fabric.editor.tableSelector.description': '使用彈出視窗新增表格,以選取自訂大小',
320
- 'fabric.editor.tableSizeSelectorButton': '建立特定大小的表格',
370
+ 'fabric.editor.tableSizeSelectorButton': '{numberOfColumns} 乘以 {numberOfRows}',
321
371
  'fabric.editor.tableSizeSelectorPopup': '表格大小選取器',
322
372
  'fabric.editor.tables.adjustColumn': '調整欄',
323
373
  'fabric.editor.tables.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
@@ -327,6 +377,7 @@ var _default = exports.default = {
327
377
  'fabric.editor.taskPlaceholder': '輸入動作,使用「@」以指派給他人。',
328
378
  'fabric.editor.text.formatting.off': '文字格式設定關閉',
329
379
  'fabric.editor.textColor': '文字顏色',
380
+ 'fabric.editor.textFormatting': '文字格式設定',
330
381
  'fabric.editor.textStyles': '文字樣式',
331
382
  'fabric.editor.threeColumns': '三欄',
332
383
  'fabric.editor.threeColumnsWithSidebars': '三個包含資訊看板的直欄',
@@ -364,12 +415,15 @@ var _default = exports.default = {
364
415
  'fabric.editor.url': '顯示 URL',
365
416
  'fabric.editor.urlDescription': '將連結顯示為 URL',
366
417
  'fabric.editor.urlTitle': 'URL',
418
+ 'fabric.editor.useMarkdown': '使用 Markdown',
367
419
  'fabric.editor.viewMore': '檢視更多',
368
420
  'fabric.editor.visit': '在新視窗中開啟連結',
421
+ 'fabric.editor.warning': '警告',
369
422
  'fabric.editor.warningPanel': '警告面板',
370
423
  'fabric.editor.warningPanel.description': '以彩色面板新增注意附註',
371
424
  'fabric.editor.wrapLeft': '靠左圍繞',
372
425
  'fabric.editor.wrapRight': '靠右圍繞',
426
+ 'fabric.emoji.label': '表情符號',
373
427
  'fabric.theme.blue': '藍色',
374
428
  'fabric.theme.bold-blue': '個性藍',
375
429
  'fabric.theme.bold-gray': '個性灰',
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "78.11.2";
19
+ var packageVersion = "78.11.4";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // TODO: Sanitise the URL instead of just removing it
@@ -22,7 +22,7 @@ var _templateObject, _templateObject2, _templateObject3;
22
22
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
23
23
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
24
24
  var packageName = "@atlaskit/editor-common";
25
- var packageVersion = "78.11.2";
25
+ var packageVersion = "78.11.4";
26
26
  var halfFocusRing = 1;
27
27
  var dropOffset = '0, 8';
28
28
  var DropList = /*#__PURE__*/function (_Component) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.sharedMultiBodiedExtensionStyles = void 0;
6
+ exports.sharedMultiBodiedExtensionStyles = exports.removeMargins = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
9
  var _styles = require("../../styles");
@@ -17,6 +17,9 @@ var mbeExtensionContainer = (0, _react.css)({
17
17
  right: "var(--ds-space-100, 8px)".concat(" !important")
18
18
  },
19
19
  paddingBottom: "var(--ds-space-100, 8px)",
20
+ '&.remove-padding': {
21
+ paddingBottom: 0
22
+ },
20
23
  position: 'relative',
21
24
  verticalAlign: 'middle',
22
25
  cursor: 'pointer',
@@ -42,7 +45,11 @@ var mbeNavigation = (0, _react.css)({
42
45
  borderBottom: 'none !important',
43
46
  background: "var(--ds-surface, white)",
44
47
  marginLeft: "var(--ds-space-100, 8px)",
45
- marginRight: "var(--ds-space-100, 8px)"
48
+ marginRight: "var(--ds-space-100, 8px)",
49
+ '&.remove-margins': {
50
+ marginLeft: 0,
51
+ marginRight: 0
52
+ }
46
53
  });
47
54
  var extensionFrameContent = (0, _react.css)({
48
55
  padding: "var(--ds-space-100, 8px)".concat(" !important"),
@@ -66,6 +73,10 @@ var extensionFrameContent = (0, _react.css)({
66
73
  marginTop: "var(--ds-space-100, 8px)".concat(" !important")
67
74
  }
68
75
  });
76
+ var removeMargins = exports.removeMargins = (0, _react.css)({
77
+ marginLeft: 0,
78
+ marginRight: 0
79
+ });
69
80
  var sharedMultiBodiedExtensionStyles = exports.sharedMultiBodiedExtensionStyles = {
70
81
  mbeExtensionContainer: mbeExtensionContainer,
71
82
  mbeNavigation: mbeNavigation,
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import SectionMessage from '@atlaskit/section-message';
3
+ function AlternativePackagesMessage({
4
+ alternatePackages
5
+ }) {
6
+ if (!alternatePackages) {
7
+ return null;
8
+ }
9
+ if (alternatePackages.length === 1) {
10
+ return /*#__PURE__*/React.createElement("p", null, "Consider using", ' ', /*#__PURE__*/React.createElement("a", {
11
+ href: alternatePackages[0].link
12
+ }, alternatePackages[0].name), ' ', "instead.");
13
+ }
14
+ return /*#__PURE__*/React.createElement("p", null, "Consider using one of these packages instead:", /*#__PURE__*/React.createElement("ul", null, alternatePackages.map(p => /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement("a", {
15
+ href: p.link
16
+ }, p.name)))));
17
+ }
18
+ export function createEditorUseOnlyNotice(componentName, alternatePackages) {
19
+ return /*#__PURE__*/React.createElement(SectionMessage, {
20
+ title: "Internal Editor Use Only",
21
+ appearance: "error"
22
+ }, /*#__PURE__*/React.createElement("p", null, componentName, " is intended for internal use by the Editor Platform as a plugin dependency of the Editor within your product."), /*#__PURE__*/React.createElement("p", null, "Direct use of this component is not supported."), /*#__PURE__*/React.createElement(AlternativePackagesMessage, {
23
+ alternatePackages: alternatePackages
24
+ }));
25
+ }
@@ -0,0 +1 @@
1
+ export { createEditorUseOnlyNotice } from './editor-use-only';
@@ -12,12 +12,12 @@ export default defineMessages({
12
12
  },
13
13
  assistiveTextDefault: {
14
14
  id: 'fabric.editor.elementbrowser.searchbar.assistive.text.default',
15
- defaultMessage: '{count} suggestions available by default.',
15
+ defaultMessage: '{count, plural, =0 {Nothing matches your search.} one {{count} suggestion available by default.} other {{count} suggestions available by default.}}',
16
16
  description: 'Assistive text to describe the default list of suggestions'
17
17
  },
18
18
  assistiveTextResult: {
19
19
  id: 'fabric.editor.elementbrowser.searchbar.assistive.text.result',
20
- defaultMessage: '{count, plural, =0 {Nothing matches your search} one {{count} suggestion available for typed text.} other {{count} suggestions available for typed text.}}',
20
+ defaultMessage: '{count, plural, =0 {Nothing matches your search.} one {{count} suggestion available for typed text.} other {{count} suggestions available for typed text.}}',
21
21
  description: 'Assistive text to describe the list of suggestions filtered by typed user input'
22
22
  }
23
23
  });
@@ -55,6 +55,9 @@ function ExtensionWithPluginState(props) {
55
55
  'with-children': hasChildren,
56
56
  'without-frame': removeBorder
57
57
  });
58
+ const contentClassNames = classnames({
59
+ 'remove-padding': showMacroInteractionDesignUpdates
60
+ });
58
61
  let customContainerStyles = {
59
62
  width: '100%'
60
63
  };
@@ -102,7 +105,8 @@ function ExtensionWithPluginState(props) {
102
105
  node: node,
103
106
  showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
104
107
  }), children), hasBody && jsx("div", {
105
- css: newContentStyles
108
+ css: newContentStyles,
109
+ className: contentClassNames
106
110
  }, jsx("div", {
107
111
  css: content,
108
112
  ref: handleContentDOMRef,
@@ -2,41 +2,39 @@ import { css } from '@emotion/react';
2
2
  import { N30 } from '@atlaskit/theme/colors';
3
3
  import { padding, wrapperDefault } from '../styles';
4
4
  export const widerLayoutClassName = 'wider-layout';
5
- export const wrapperStyle = css`
6
- ${wrapperDefault}
7
-
8
- &.without-frame {
9
- background: transparent;
5
+ export const wrapperStyle = css(wrapperDefault, {
6
+ '&.without-frame': {
7
+ background: 'transparent'
8
+ },
9
+ cursor: 'pointer',
10
+ width: '100%',
11
+ '.extension-overflow-wrapper:not(.with-body)': {
12
+ overflowX: 'auto'
10
13
  }
11
- cursor: pointer;
12
- width: 100%;
13
-
14
- .extension-overflow-wrapper:not(.with-body) {
15
- overflow-x: auto;
14
+ });
15
+ export const header = css({
16
+ padding: `${padding / 2}px ${padding / 2}px 0px`,
17
+ verticalAlign: 'middle',
18
+ '&.with-children:not(.without-frame)': {
19
+ padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}`
20
+ },
21
+ '&.without-frame': {
22
+ padding: 0
16
23
  }
17
- `;
18
- export const header = css`
19
- padding: ${padding / 2}px ${padding / 2}px 0px;
20
- vertical-align: middle;
21
-
22
- &.with-children:not(.without-frame) {
23
- padding: ${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"}
24
- ${"var(--ds-space-100, 8px)"};
24
+ });
25
+ export const content = css({
26
+ padding: `${padding}px`,
27
+ background: "var(--ds-surface, white)",
28
+ border: `1px solid ${`var(--ds-border, ${N30})`}`,
29
+ borderRadius: "var(--ds-border-radius, 3px)",
30
+ cursor: 'initial',
31
+ width: '100%'
32
+ });
33
+ export const contentWrapper = css({
34
+ padding: `0 ${padding}px ${padding}px`,
35
+ display: 'flex',
36
+ justifyContent: 'center',
37
+ '&.remove-padding': {
38
+ padding: 0
25
39
  }
26
- &.without-frame {
27
- padding: 0;
28
- }
29
- `;
30
- export const content = css`
31
- padding: ${padding}px;
32
- background: ${"var(--ds-surface, white)"};
33
- border: 1px solid ${`var(--ds-border, ${N30})`};
34
- border-radius: ${"var(--ds-border-radius, 3px)"};
35
- cursor: initial;
36
- width: 100%;
37
- `;
38
- export const contentWrapper = css`
39
- padding: 0 ${padding}px ${padding}px;
40
- display: flex;
41
- justify-content: center;
42
- `;
40
+ });
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React, { Fragment } from 'react';
2
+ import React from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  import { akEditorGutterPadding } from '@atlaskit/editor-shared-styles';
5
5
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
@@ -23,11 +23,7 @@ const InlineExtension = props => {
23
23
  const className = hasChildren ? 'with-overlay with-children' : 'with-overlay';
24
24
  const rendererContainerWidth = widthState ? widthState.width - akEditorGutterPadding * 2 : 0;
25
25
  const extendedInlineExtension = getBooleanFF('platform.editor.inline_extension.extended_lcqdn') || false;
26
- const inlineExtensionInternal = jsx(Fragment, null, showMacroInteractionDesignUpdates && jsx(ExtensionLozenge, {
27
- node: node,
28
- isNodeSelected: isNodeSelected,
29
- showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
30
- }), jsx("div", {
26
+ const inlineExtensionInternal = jsx("div", {
31
27
  css: [wrapperStyle, extendedInlineExtension && inlineWrapperStyels],
32
28
  className: `extension-container inline ${className}`
33
29
  }, jsx("div", {
@@ -37,7 +33,7 @@ const InlineExtension = props => {
37
33
  node: node,
38
34
  isNodeSelected: isNodeSelected,
39
35
  showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
40
- })));
36
+ }));
41
37
  if (extendedInlineExtension) {
42
38
  return jsx(WidthContext.Provider, {
43
39
  value: createWidthContext(rendererContainerWidth)
@@ -1,16 +1,7 @@
1
- /** @jsx jsx */
2
1
  import React from 'react';
3
- import { css, jsx } from '@emotion/react';
4
- import classnames from 'classnames';
5
2
  import { ZERO_WIDTH_SPACE } from '../utils';
6
- const styles = css({
7
- '&.inline-extension': {
8
- display: 'inline-block'
9
- }
10
- });
11
3
  /**
12
4
  * If inlineExtension, add zero width space to the end of the nodes and wrap with span;
13
- * Also if showMacroInteractionDesignUpdates is true, then add the inline-block style to account for the lozenge.
14
5
  * else wrap with a div (for multi bodied extensions)
15
6
  *
16
7
  * @param param0
@@ -18,14 +9,5 @@ const styles = css({
18
9
  */
19
10
  export const ExtensionNodeWrapper = ({
20
11
  children,
21
- nodeType,
22
- showMacroInteractionDesignUpdates
23
- }) => {
24
- const wrapperClassNames = classnames({
25
- 'inline-extension': nodeType === 'inlineExtension' && showMacroInteractionDesignUpdates
26
- });
27
- return jsx("span", {
28
- className: wrapperClassNames,
29
- css: styles
30
- }, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
31
- };
12
+ nodeType
13
+ }) => /*#__PURE__*/React.createElement("span", null, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
@@ -29,9 +29,14 @@ export const useMultiBodiedExtensionActions = ({
29
29
  const possiblyMbeNode = state.doc.nodeAt(pos);
30
30
  let desiredPos = pos;
31
31
  if (possiblyMbeNode && (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$type = possiblyMbeNode.type) === null || _possiblyMbeNode$type === void 0 ? void 0 : _possiblyMbeNode$type.name) === 'multiBodiedExtension' && possiblyMbeNode !== null && possiblyMbeNode !== void 0 && possiblyMbeNode.content) {
32
- for (let i = 0; i <= index && i < (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont = possiblyMbeNode.content) === null || _possiblyMbeNode$cont === void 0 ? void 0 : _possiblyMbeNode$cont.childCount); i++) {
33
- var _possiblyMbeNode$cont, _possiblyMbeNode$cont2, _possiblyMbeNode$cont3;
34
- desiredPos += (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont2 = possiblyMbeNode.content) === null || _possiblyMbeNode$cont2 === void 0 ? void 0 : (_possiblyMbeNode$cont3 = _possiblyMbeNode$cont2.child(i)) === null || _possiblyMbeNode$cont3 === void 0 ? void 0 : _possiblyMbeNode$cont3.nodeSize) || 0;
32
+ var _possiblyMbeNode$cont;
33
+ if (index < 0 || index >= (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont = possiblyMbeNode.content) === null || _possiblyMbeNode$cont === void 0 ? void 0 : _possiblyMbeNode$cont.childCount)) {
34
+ var _possiblyMbeNode$cont2;
35
+ throw new Error(`Index out of bounds: valid range is 0-${(possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont2 = possiblyMbeNode.content) === null || _possiblyMbeNode$cont2 === void 0 ? void 0 : _possiblyMbeNode$cont2.childCount) - 1} inclusive`);
36
+ }
37
+ for (let i = 0; i <= index && i < (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont3 = possiblyMbeNode.content) === null || _possiblyMbeNode$cont3 === void 0 ? void 0 : _possiblyMbeNode$cont3.childCount); i++) {
38
+ var _possiblyMbeNode$cont3, _possiblyMbeNode$cont4, _possiblyMbeNode$cont5;
39
+ desiredPos += (possiblyMbeNode === null || possiblyMbeNode === void 0 ? void 0 : (_possiblyMbeNode$cont4 = possiblyMbeNode.content) === null || _possiblyMbeNode$cont4 === void 0 ? void 0 : (_possiblyMbeNode$cont5 = _possiblyMbeNode$cont4.child(i)) === null || _possiblyMbeNode$cont5 === void 0 ? void 0 : _possiblyMbeNode$cont5.nodeSize) || 0;
35
40
  }
36
41
  /* desiredPos gives the cursor at the end of last child of the current frame, in case of paragraph nodes, this will be the end of the paragraph
37
42
  * Performing -1 brings the cursor inside the paragraph, similar to a user click, so any pasted text will be inside the last paragraph rather than a new line
@@ -7,7 +7,7 @@ import { css, jsx } from '@emotion/react';
7
7
  import classnames from 'classnames';
8
8
  import EditorFileIcon from '@atlaskit/icon/glyph/editor/file';
9
9
  import { useSharedPluginState } from '../../hooks';
10
- import { sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
10
+ import { removeMargins, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
11
11
  import { calculateBreakoutStyles, getExtensionLozengeData } from '../../utils';
12
12
  import { WithPluginState } from '../../with-plugin-state';
13
13
  import ExtensionLozenge from '../Extension/Lozenge';
@@ -87,7 +87,7 @@ const MultiBodiedExtensionWithWidth = ({
87
87
  return handleContentDOMRef(node);
88
88
  }, [handleContentDOMRef]);
89
89
  const containerCssExtended = css(sharedMultiBodiedExtensionStyles.mbeExtensionContainer, {
90
- [`.multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1})`]: sharedMultiBodiedExtensionStyles.extensionFrameContent
90
+ [`.multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1})`]: css(sharedMultiBodiedExtensionStyles.extensionFrameContent, showMacroInteractionDesignUpdates && removeMargins)
91
91
  });
92
92
  const shouldBreakout =
93
93
  // Extension should breakout when the layout is set to 'full-width' or 'wide'.
@@ -108,6 +108,12 @@ const MultiBodiedExtensionWithWidth = ({
108
108
  const wrapperClassNames = classnames('multiBodiedExtension--wrapper', 'extension-container', 'block', {
109
109
  'remove-margin-top': showMacroInteractionDesignUpdates
110
110
  });
111
+ const containerClassNames = classnames('multiBodiedExtension--container', {
112
+ 'remove-padding': showMacroInteractionDesignUpdates
113
+ });
114
+ const navigationClassNames = classnames('multiBodiedExtension--navigation', {
115
+ 'remove-margins': showMacroInteractionDesignUpdates
116
+ });
111
117
  return jsx(Fragment, null, showMacroInteractionDesignUpdates && jsx(ExtensionLozenge, {
112
118
  isNodeSelected: isNodeSelected,
113
119
  node: node,
@@ -119,12 +125,12 @@ const MultiBodiedExtensionWithWidth = ({
119
125
  "data-testid": "multiBodiedExtension--wrapper",
120
126
  style: mbeWrapperStyles
121
127
  }, getWrapperTitleContent(imageData, title, showMacroInteractionDesignUpdates), jsx("div", {
122
- className: "multiBodiedExtension--container",
128
+ className: containerClassNames,
123
129
  css: containerCssExtended,
124
130
  "data-testid": "multiBodiedExtension--container",
125
131
  "data-active-child-index": activeChildIndex
126
132
  }, jsx("nav", {
127
- className: "multiBodiedExtension-navigation",
133
+ className: navigationClassNames,
128
134
  css: sharedMultiBodiedExtensionStyles.mbeNavigation,
129
135
  "data-testid": "multiBodiedExtension-navigation"
130
136
  }, extensionHandlerResult), jsx("article", {
@@ -28,8 +28,7 @@ export class ExtensionNode extends ReactNodeView {
28
28
  render(props, forwardRef) {
29
29
  var _props$extensionNodeV;
30
30
  return /*#__PURE__*/React.createElement(ExtensionNodeWrapper, {
31
- nodeType: this.node.type.name,
32
- showMacroInteractionDesignUpdates: props.showMacroInteractionDesignUpdates
31
+ nodeType: this.node.type.name
33
32
  }, /*#__PURE__*/React.createElement(Extension, {
34
33
  editorView: this.view,
35
34
  node: this.node,