@atlaskit/editor-common 60.2.0 → 62.0.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 (244) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/card/package.json +7 -0
  3. package/dist/cjs/card/cardOptions.js +5 -0
  4. package/dist/cjs/emoji.js +23 -0
  5. package/dist/cjs/extensions/extension-fields-helpers.js +1 -1
  6. package/dist/cjs/extensions/index.js +46 -40
  7. package/dist/cjs/extensions/manifest-helpers.js +3 -1
  8. package/dist/cjs/extensions/module-helpers.js +3 -1
  9. package/dist/cjs/extensions/types/field-definitions.js +7 -1
  10. package/dist/cjs/extensions/types/index.js +14 -8
  11. package/dist/cjs/extensions.js +38 -32
  12. package/dist/cjs/i18n/cs.js +1 -0
  13. package/dist/cjs/i18n/da.js +1 -0
  14. package/dist/cjs/i18n/de.js +1 -0
  15. package/dist/cjs/i18n/es.js +1 -0
  16. package/dist/cjs/i18n/fi.js +1 -0
  17. package/dist/cjs/i18n/fr.js +1 -0
  18. package/dist/cjs/i18n/hu.js +1 -0
  19. package/dist/cjs/i18n/index.js +26 -26
  20. package/dist/cjs/i18n/it.js +1 -0
  21. package/dist/cjs/i18n/ja.js +1 -0
  22. package/dist/cjs/i18n/ko.js +1 -0
  23. package/dist/cjs/i18n/nb.js +1 -0
  24. package/dist/cjs/i18n/nl.js +1 -0
  25. package/dist/cjs/i18n/pl.js +1 -0
  26. package/dist/cjs/i18n/pt_BR.js +1 -0
  27. package/dist/cjs/i18n/ru.js +1 -0
  28. package/dist/cjs/i18n/sv.js +1 -0
  29. package/dist/cjs/i18n/th.js +1 -0
  30. package/dist/cjs/i18n/tr.js +1 -0
  31. package/dist/cjs/i18n/uk.js +1 -0
  32. package/dist/cjs/i18n/vi.js +1 -0
  33. package/dist/cjs/i18n/zh.js +1 -1
  34. package/dist/cjs/i18n/zh_TW.js +1 -0
  35. package/dist/cjs/in-product.js +14 -14
  36. package/dist/cjs/index.js +330 -300
  37. package/dist/cjs/mention.js +23 -0
  38. package/dist/cjs/messages/codeBidiWarning.js +21 -0
  39. package/dist/cjs/messages/index.js +8 -0
  40. package/dist/cjs/messages/link.js +2 -2
  41. package/dist/cjs/messages/unsupportedContent.js +2 -2
  42. package/dist/cjs/provider-factory/context.js +1 -1
  43. package/dist/cjs/provider-factory.js +6 -6
  44. package/dist/cjs/provider-helpers/promise-helpers.js +1 -1
  45. package/dist/cjs/styles/index.js +86 -80
  46. package/dist/cjs/styles/shared/annotation.js +1 -1
  47. package/dist/cjs/styles/shared/media-single.js +1 -1
  48. package/dist/cjs/styles/shared/panel.js +90 -37
  49. package/dist/cjs/styles/shared/table.js +2 -2
  50. package/dist/cjs/type-ahead/index.js +1 -1
  51. package/dist/cjs/types/annotation/emitter.js +1 -1
  52. package/dist/cjs/ufo/experience-store.js +3 -2
  53. package/dist/cjs/ufo/index.js +4 -4
  54. package/dist/cjs/ui/BaseTheme/index.js +2 -2
  55. package/dist/cjs/ui/Caption/index.js +2 -2
  56. package/dist/cjs/ui/Caption/messages.js +2 -2
  57. package/dist/cjs/ui/Expand/index.js +3 -3
  58. package/dist/cjs/ui/IntlLegacyFallbackProvider/index.js +60 -0
  59. package/dist/cjs/ui/IntlNextErrorBoundary/index.js +90 -0
  60. package/dist/cjs/ui/LegacyToNextIntlProvider/index.js +67 -0
  61. package/dist/cjs/ui/MediaSingle/grid.js +2 -2
  62. package/dist/cjs/ui/MediaSingle/index.js +2 -1
  63. package/dist/cjs/ui/MediaSingle/styled.js +1 -1
  64. package/dist/cjs/ui/Messages/index.js +1 -1
  65. package/dist/cjs/ui/Popup/index.js +1 -1
  66. package/dist/cjs/ui/Popup/utils.js +5 -5
  67. package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
  68. package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
  69. package/dist/cjs/ui/WidthProvider/index.js +2 -2
  70. package/dist/cjs/ui/index.js +92 -62
  71. package/dist/cjs/utils/analytics.js +6 -5
  72. package/dist/cjs/utils/breakout.js +1 -1
  73. package/dist/cjs/utils/compareNodes.js +6 -0
  74. package/dist/cjs/utils/date.js +3 -4
  75. package/dist/cjs/utils/index.js +123 -109
  76. package/dist/cjs/utils/performance/measure-tti.js +2 -2
  77. package/dist/cjs/utils/performance/measure.js +1 -1
  78. package/dist/cjs/utils/table.js +1 -1
  79. package/dist/cjs/utils/validate-using-spec.js +1 -1
  80. package/dist/cjs/utils/validator.js +13 -16
  81. package/dist/cjs/version.json +1 -1
  82. package/dist/es2019/card/cardOptions.js +1 -0
  83. package/dist/es2019/emoji.js +2 -0
  84. package/dist/es2019/extensions/index.js +1 -1
  85. package/dist/es2019/extensions/types/field-definitions.js +3 -0
  86. package/dist/es2019/extensions/types/index.js +1 -1
  87. package/dist/es2019/extensions.js +1 -1
  88. package/dist/es2019/i18n/cs.js +1 -0
  89. package/dist/es2019/i18n/da.js +1 -0
  90. package/dist/es2019/i18n/de.js +1 -0
  91. package/dist/es2019/i18n/es.js +1 -0
  92. package/dist/es2019/i18n/fi.js +1 -0
  93. package/dist/es2019/i18n/fr.js +1 -0
  94. package/dist/es2019/i18n/hu.js +1 -0
  95. package/dist/es2019/i18n/it.js +1 -0
  96. package/dist/es2019/i18n/ja.js +1 -0
  97. package/dist/es2019/i18n/ko.js +1 -0
  98. package/dist/es2019/i18n/nb.js +1 -0
  99. package/dist/es2019/i18n/nl.js +1 -0
  100. package/dist/es2019/i18n/pl.js +1 -0
  101. package/dist/es2019/i18n/pt_BR.js +1 -0
  102. package/dist/es2019/i18n/ru.js +1 -0
  103. package/dist/es2019/i18n/sv.js +1 -0
  104. package/dist/es2019/i18n/th.js +1 -0
  105. package/dist/es2019/i18n/tr.js +1 -0
  106. package/dist/es2019/i18n/uk.js +1 -0
  107. package/dist/es2019/i18n/vi.js +1 -0
  108. package/dist/es2019/i18n/zh.js +1 -1
  109. package/dist/es2019/i18n/zh_TW.js +1 -0
  110. package/dist/es2019/index.js +26 -8
  111. package/dist/es2019/mention.js +2 -0
  112. package/dist/es2019/messages/codeBidiWarning.js +12 -0
  113. package/dist/es2019/messages/index.js +1 -0
  114. package/dist/es2019/messages/link.js +1 -1
  115. package/dist/es2019/messages/unsupportedContent.js +1 -1
  116. package/dist/es2019/styles/index.js +4 -2
  117. package/dist/es2019/styles/shared/media-single.js +10 -0
  118. package/dist/es2019/styles/shared/panel.js +97 -38
  119. package/dist/es2019/styles/shared/table.js +1 -0
  120. package/dist/es2019/ufo/experience-store.js +2 -1
  121. package/dist/es2019/ui/Caption/index.js +1 -1
  122. package/dist/es2019/ui/Caption/messages.js +1 -1
  123. package/dist/es2019/ui/Expand/index.js +1 -1
  124. package/dist/es2019/ui/IntlLegacyFallbackProvider/index.js +21 -0
  125. package/dist/es2019/ui/IntlNextErrorBoundary/index.js +43 -0
  126. package/dist/es2019/ui/LegacyToNextIntlProvider/index.js +24 -0
  127. package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
  128. package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
  129. package/dist/es2019/ui/index.js +12 -4
  130. package/dist/es2019/utils/compareNodes.js +6 -0
  131. package/dist/es2019/utils/date.js +2 -3
  132. package/dist/es2019/utils/index.js +2 -1
  133. package/dist/es2019/utils/validator.js +11 -13
  134. package/dist/es2019/version.json +1 -1
  135. package/dist/esm/card/cardOptions.js +1 -0
  136. package/dist/esm/emoji.js +2 -0
  137. package/dist/esm/extensions/index.js +1 -1
  138. package/dist/esm/extensions/types/field-definitions.js +3 -0
  139. package/dist/esm/extensions/types/index.js +1 -1
  140. package/dist/esm/extensions.js +1 -1
  141. package/dist/esm/i18n/cs.js +1 -0
  142. package/dist/esm/i18n/da.js +1 -0
  143. package/dist/esm/i18n/de.js +1 -0
  144. package/dist/esm/i18n/es.js +1 -0
  145. package/dist/esm/i18n/fi.js +1 -0
  146. package/dist/esm/i18n/fr.js +1 -0
  147. package/dist/esm/i18n/hu.js +1 -0
  148. package/dist/esm/i18n/it.js +1 -0
  149. package/dist/esm/i18n/ja.js +1 -0
  150. package/dist/esm/i18n/ko.js +1 -0
  151. package/dist/esm/i18n/nb.js +1 -0
  152. package/dist/esm/i18n/nl.js +1 -0
  153. package/dist/esm/i18n/pl.js +1 -0
  154. package/dist/esm/i18n/pt_BR.js +1 -0
  155. package/dist/esm/i18n/ru.js +1 -0
  156. package/dist/esm/i18n/sv.js +1 -0
  157. package/dist/esm/i18n/th.js +1 -0
  158. package/dist/esm/i18n/tr.js +1 -0
  159. package/dist/esm/i18n/uk.js +1 -0
  160. package/dist/esm/i18n/vi.js +1 -0
  161. package/dist/esm/i18n/zh.js +1 -1
  162. package/dist/esm/i18n/zh_TW.js +1 -0
  163. package/dist/esm/index.js +26 -8
  164. package/dist/esm/mention.js +2 -0
  165. package/dist/esm/messages/codeBidiWarning.js +12 -0
  166. package/dist/esm/messages/index.js +1 -0
  167. package/dist/esm/messages/link.js +1 -1
  168. package/dist/esm/messages/unsupportedContent.js +1 -1
  169. package/dist/esm/styles/index.js +4 -2
  170. package/dist/esm/styles/shared/media-single.js +1 -1
  171. package/dist/esm/styles/shared/panel.js +84 -37
  172. package/dist/esm/styles/shared/table.js +1 -1
  173. package/dist/esm/ufo/experience-store.js +2 -1
  174. package/dist/esm/ui/Caption/index.js +1 -1
  175. package/dist/esm/ui/Caption/messages.js +1 -1
  176. package/dist/esm/ui/Expand/index.js +1 -1
  177. package/dist/esm/ui/IntlLegacyFallbackProvider/index.js +45 -0
  178. package/dist/esm/ui/IntlNextErrorBoundary/index.js +73 -0
  179. package/dist/esm/ui/LegacyToNextIntlProvider/index.js +51 -0
  180. package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
  181. package/dist/esm/ui/UnsupportedInline/index.js +1 -1
  182. package/dist/esm/ui/index.js +12 -4
  183. package/dist/esm/utils/compareNodes.js +6 -0
  184. package/dist/esm/utils/date.js +2 -3
  185. package/dist/esm/utils/index.js +2 -1
  186. package/dist/esm/utils/validator.js +12 -15
  187. package/dist/esm/version.json +1 -1
  188. package/dist/types/card/cardOptions.d.ts +9 -0
  189. package/dist/types/card/index.d.ts +1 -9
  190. package/dist/types/collab.d.ts +1 -1
  191. package/dist/types/emoji.d.ts +3 -0
  192. package/dist/types/extensions/index.d.ts +1 -1
  193. package/dist/types/extensions/types/extension-handler.d.ts +7 -2
  194. package/dist/types/extensions/types/extension-parameters.d.ts +1 -0
  195. package/dist/types/extensions/types/field-definitions.d.ts +2 -0
  196. package/dist/types/extensions/types/index.d.ts +1 -1
  197. package/dist/types/extensions.d.ts +1 -1
  198. package/dist/types/i18n/cs.d.ts +1 -0
  199. package/dist/types/i18n/da.d.ts +1 -0
  200. package/dist/types/i18n/de.d.ts +1 -0
  201. package/dist/types/i18n/es.d.ts +1 -0
  202. package/dist/types/i18n/fi.d.ts +1 -0
  203. package/dist/types/i18n/fr.d.ts +1 -0
  204. package/dist/types/i18n/hu.d.ts +1 -0
  205. package/dist/types/i18n/it.d.ts +1 -0
  206. package/dist/types/i18n/ja.d.ts +1 -0
  207. package/dist/types/i18n/ko.d.ts +1 -0
  208. package/dist/types/i18n/nb.d.ts +1 -0
  209. package/dist/types/i18n/nl.d.ts +1 -0
  210. package/dist/types/i18n/pl.d.ts +1 -0
  211. package/dist/types/i18n/pt_BR.d.ts +1 -0
  212. package/dist/types/i18n/ru.d.ts +1 -0
  213. package/dist/types/i18n/sv.d.ts +1 -0
  214. package/dist/types/i18n/th.d.ts +1 -0
  215. package/dist/types/i18n/tr.d.ts +1 -0
  216. package/dist/types/i18n/uk.d.ts +1 -0
  217. package/dist/types/i18n/vi.d.ts +1 -0
  218. package/dist/types/i18n/zh.d.ts +1 -0
  219. package/dist/types/i18n/zh_TW.d.ts +1 -0
  220. package/dist/types/index.d.ts +6 -2
  221. package/dist/types/mention.d.ts +2 -0
  222. package/dist/types/messages/codeBidiWarning.d.ts +11 -0
  223. package/dist/types/messages/index.d.ts +1 -0
  224. package/dist/types/provider-factory.d.ts +1 -0
  225. package/dist/types/styles/index.d.ts +1 -1
  226. package/dist/types/styles/shared/panel.d.ts +2 -0
  227. package/dist/types/ufo/experience-store.d.ts +3 -2
  228. package/dist/types/ui/Caption/index.d.ts +4 -4
  229. package/dist/types/ui/IntlLegacyFallbackProvider/index.d.ts +8 -0
  230. package/dist/types/ui/IntlNextErrorBoundary/index.d.ts +15 -0
  231. package/dist/types/ui/LegacyToNextIntlProvider/index.d.ts +8 -0
  232. package/dist/types/ui/UnsupportedBlock/index.d.ts +3 -3
  233. package/dist/types/ui/UnsupportedInline/index.d.ts +3 -3
  234. package/dist/types/ui/index.d.ts +3 -0
  235. package/dist/types/ui/unsupported-content-helper.d.ts +2 -2
  236. package/dist/types/utils/date.d.ts +3 -3
  237. package/dist/types/utils/index.d.ts +1 -0
  238. package/emoji/package.json +7 -0
  239. package/mention/package.json +7 -0
  240. package/package.json +30 -19
  241. package/provider-helpers/package.json +7 -0
  242. package/types/package.json +7 -0
  243. package/ui/package.json +7 -0
  244. package/utils/package.json +7 -0
@@ -147,10 +147,12 @@ export interface Fieldset extends BaseFieldDefinition {
147
147
  export declare type FieldDefinition = NestedFieldDefinition | Fieldset | GroupingField;
148
148
  export declare const isFieldset: (field: FieldDefinition) => field is Fieldset;
149
149
  export declare const isTabGroup: (field: FieldDefinition) => field is TabGroupField;
150
+ export declare const isTabField: (field: any) => field is TabField;
150
151
  export declare const isExpand: (field: FieldDefinition) => field is ExpandField;
151
152
  export declare const isDateRange: (value: any) => value is DateRangeResult;
152
153
  export interface GroupedField extends BaseFieldDefinition {
153
154
  fields: NestedFieldDefinition[];
155
+ hasGroupedValues?: boolean;
154
156
  }
155
157
  export interface ExpandField extends GroupedField {
156
158
  type: 'expand';
@@ -4,5 +4,5 @@ export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionKey
4
4
  export type { ContextualToolbar, ToolbarItem, ExtensionToolbarButton, } from './extension-manifest-toolbar-item';
5
5
  export type { Parameters, ParametersWithDuplicateFields, } from './extension-parameters';
6
6
  export type { MenuItem, MenuItemMap } from './utils';
7
- export { isFieldset, isTabGroup, isExpand, isDateRange, } from './field-definitions';
7
+ export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange, } from './field-definitions';
8
8
  export type { BooleanField, CustomField, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, UserField, UserFieldContext, FieldHandlerLink, } from './field-definitions';
@@ -1,2 +1,2 @@
1
- export { DefaultExtensionProvider, combineExtensionProviders, createAutoConverterRunner, getExtensionAutoConvertersFromProvider, getExtensionKeyAndNodeKey, getExtensionModuleNode, getQuickInsertItemsFromModule, getNodeRenderer, getExtensionModuleNodePrivateProps, getContextualToolbarItemsFromModule, resolveImport, getCustomFieldResolver, getFieldSerializer, getFieldDeserializer, isFieldset, isTabGroup, isExpand, isDateRange, getUserFieldContextProvider, buildMenuItem, } from './extensions/index';
1
+ export { DefaultExtensionProvider, combineExtensionProviders, createAutoConverterRunner, getExtensionAutoConvertersFromProvider, getExtensionKeyAndNodeKey, getExtensionModuleNode, getQuickInsertItemsFromModule, getNodeRenderer, getExtensionModuleNodePrivateProps, getContextualToolbarItemsFromModule, resolveImport, getCustomFieldResolver, getFieldSerializer, getFieldDeserializer, isFieldset, isTabGroup, isTabField, isExpand, isDateRange, getUserFieldContextProvider, buildMenuItem, } from './extensions/index';
2
2
  export type { ExtensionAutoConvertHandler, Extension, ExtensionComponentProps, ExtensionHandler, ExtensionHandlers, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionQuickInsertModule, ExtensionModules, ExtensionParams, ExtensionProvider, ExtensionType, ExtensionToolbarButton, ToolbarItem, ContextualToolbar, Icon, MaybeADFEntity, MenuItem, MenuItemMap, UpdateExtension, Parameters, ParametersWithDuplicateFields, BooleanField, CustomField, CustomFieldResolver, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, DynamicFieldDefinitions, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, UserField, UserFieldContext, UserFieldContextProvider, FieldHandlerLink, OnSaveCallback, ExtensionAPI, TransformBefore, TransformAfter, ReferenceEntity, ParametersGetter, AsyncParametersGetter, } from './extensions/index';
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -10,8 +10,12 @@ export type { ContextIdentifierProvider } from './provider-factory/context-ident
10
10
  export { ProviderFactory, WithProviders } from './provider-factory';
11
11
  export type { Providers, MediaProvider, SearchProvider, LinkContentType, QuickSearchResult, } from './provider-factory';
12
12
  export { combineProviders } from './provider-helpers';
13
- export { TableSharedCssClassName, blockMarksSharedStyles, blockquoteSharedStyles, calcTableWidth, codeMarkSharedStyles, columnLayoutSharedStyle, dateSharedStyle, DateSharedCssClassName, annotationSharedStyles, AnnotationSharedCSSByState, AnnotationSharedClassNames, headingsSharedStyles, indentationSharedStyles, inlineNodeSharedStyle, linkSharedStyle, listsSharedStyles, richMediaClassName, mediaSingleSharedStyle, getPanelTypeBackground, panelSharedStyles, PanelSharedCssClassName, PanelSharedSelectors, paragraphSharedStyles, ruleSharedStyles, shadowSharedStyle, tableCellBorderWidth, tableCellMinWidth, tableCellPadding, tableMarginBottom, tableMarginSides, tableMarginTop, tableNewColumnMinWidth, tableResizeHandleWidth, tableSharedStyle, tasksAndDecisionsStyles, TaskDecisionSharedCssClassName, whitespaceSharedStyles, MentionSharedCssClassName, EmojiSharedCssClassName, StatusSharedCssClassName, smartCardSharedStyles, SmartCardSharedCssClassName, } from './styles';
14
- export { BaseTheme, Caption, ClearNextSiblingMarginTop, DEFAULT_IMAGE_HEIGHT, DEFAULT_IMAGE_WIDTH, Emoji, ErrorMessage, ExpandIconWrapper, ExpandLayoutWrapper, HelperMessage, MediaSingle, MediaSingleDimensionHelper, Mention, Popup, UnsupportedBlock, UnsupportedInline, ValidMessage, WidthConsumer, WidthProvider, WithCreateAnalyticsEvent, calcColumnsFromPx, calcPctFromPx, calcPxFromColumns, calcPxFromPct, expandMessages, findOverflowScrollParent, getBreakpoint, layoutSupportsWidth, mapBreakpointToLayoutMaxWidth, overflowShadow, shadowClassNames, sharedExpandStyles, snapToGrid, withOuterListeners, MediaLink, wrappedLayouts, shouldAddDefaultWrappedWidth, } from './ui';
13
+ export { TableSharedCssClassName, blockMarksSharedStyles, blockquoteSharedStyles, calcTableWidth, codeMarkSharedStyles, columnLayoutSharedStyle, dateSharedStyle, DateSharedCssClassName, annotationSharedStyles, AnnotationSharedCSSByState, AnnotationSharedClassNames, headingsSharedStyles, indentationSharedStyles, inlineNodeSharedStyle, linkSharedStyle, listsSharedStyles, richMediaClassName, mediaSingleSharedStyle, getPanelTypeBackground, getPanelBackgroundDarkModeColors, panelSharedStyles, PanelSharedCssClassName, PanelSharedSelectors, paragraphSharedStyles, ruleSharedStyles, shadowSharedStyle, tableCellBorderWidth, tableCellMinWidth, tableCellPadding, tableMarginBottom, tableMarginSides, tableMarginTop, tableNewColumnMinWidth, tableResizeHandleWidth, tableSharedStyle, tasksAndDecisionsStyles, TaskDecisionSharedCssClassName, whitespaceSharedStyles, MentionSharedCssClassName, //exported from ./src/mention.ts
14
+ EmojiSharedCssClassName, //exported from ./src/emoji.ts
15
+ StatusSharedCssClassName, smartCardSharedStyles, SmartCardSharedCssClassName, } from './styles';
16
+ export { BaseTheme, Caption, ClearNextSiblingMarginTop, DEFAULT_IMAGE_HEIGHT, DEFAULT_IMAGE_WIDTH, Emoji, //exported from ./src/emoji.ts
17
+ ErrorMessage, ExpandIconWrapper, ExpandLayoutWrapper, HelperMessage, MediaSingle, MediaSingleDimensionHelper, Mention, //exported from ./src/mention.ts
18
+ Popup, UnsupportedBlock, UnsupportedInline, ValidMessage, WidthConsumer, WidthProvider, WithCreateAnalyticsEvent, calcColumnsFromPx, calcPctFromPx, calcPxFromColumns, calcPxFromPct, expandMessages, findOverflowScrollParent, getBreakpoint, layoutSupportsWidth, mapBreakpointToLayoutMaxWidth, overflowShadow, shadowClassNames, sharedExpandStyles, snapToGrid, withOuterListeners, MediaLink, wrappedLayouts, shouldAddDefaultWrappedWidth, IntlNextErrorBoundary, REACT_INTL_ERROR_MESSAGE, IntlLegacyFallbackProvider, LegacyToNextIntlProvider, } from './ui';
15
19
  export type { CardEventClickHandler, CardSurroundings, EmojiProps, EventHandlers, LinkEventClickHandler, MediaSingleDimensionHelperProps, MediaSingleProps, MentionEventHandler, MentionEventHandlers, OverflowShadowOptions, OverflowShadowProps, OverflowShadowState, PopupPosition, PopupProps, SmartCardEventClickHandler, WidthConsumerContext, ExpandStyleProps, } from './ui';
16
20
  export { linkMessages } from './messages/link';
17
21
  export { validateADFEntity, validationErrorHandler, } from './utils/validate-using-spec';
@@ -0,0 +1,2 @@
1
+ export { default as Mention } from './ui/Mention';
2
+ export { MentionSharedCssClassName } from './styles/shared/mention';
@@ -0,0 +1,11 @@
1
+ export declare const codeBidiWarningMessages: {
2
+ /**
3
+ * Message taken from
4
+ * https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
5
+ */
6
+ label: {
7
+ id: string;
8
+ defaultMessage: string;
9
+ description: string;
10
+ };
11
+ };
@@ -1,2 +1,3 @@
1
+ export { codeBidiWarningMessages } from './codeBidiWarning';
1
2
  export { linkMessages } from './link';
2
3
  export { unsupportedContentMessages } from './unsupportedContent';
@@ -10,3 +10,4 @@ export type { CardProvider, CardAppearance, CardAdf, } from './provider-factory/
10
10
  export type { QuickInsertItem, QuickInsertItemId, QuickInsertActionInsert, QuickInsertProvider, } from './provider-factory/quick-insert-provider';
11
11
  export type { TypeAheadItem, TypeAheadItemRenderProps, } from './types/type-ahead';
12
12
  export type { AutoformatReplacement, AutoformattingProvider, AutoformatHandler, AutoformatRuleset, } from './provider-factory/autoformatting-provider';
13
+ export type { ContextIdentifierProvider } from './provider-factory/context-identifier-provider';
@@ -4,7 +4,7 @@ export { columnLayoutSharedStyle } from './shared/column-layout';
4
4
  export { mediaSingleSharedStyle, richMediaClassName, } from './shared/media-single';
5
5
  export { blockquoteSharedStyles } from './shared/blockquote';
6
6
  export { headingsSharedStyles } from './shared/headings';
7
- export { getPanelTypeBackground, panelSharedStyles, PanelSharedCssClassName, PanelSharedSelectors, } from './shared/panel';
7
+ export { getPanelTypeBackground, panelSharedStyles, PanelSharedCssClassName, PanelSharedSelectors, getPanelBackgroundDarkModeColors, } from './shared/panel';
8
8
  export { ruleSharedStyles } from './shared/rule';
9
9
  export { whitespaceSharedStyles } from './shared/whitespace';
10
10
  export { paragraphSharedStyles } from './shared/paragraph';
@@ -1,5 +1,7 @@
1
1
  import { PanelType } from '@atlaskit/adf-schema';
2
2
  import { ThemeProps } from '@atlaskit/theme/types';
3
+ export declare const getPanelBackgroundDarkModeColors: string;
4
+ export declare function getPanelDarkModeCSS(colorName: string, colorValue: string): string;
3
5
  export declare const PanelSharedCssClassName: {
4
6
  prefix: string;
5
7
  content: string;
@@ -5,7 +5,8 @@ export declare const experienceConfig: ExperienceConfig;
5
5
  export declare enum EditorExperience {
6
6
  loadEditor = "load",
7
7
  typing = "type",
8
- interaction = "interact"
8
+ interaction = "interact",
9
+ editSession = "editSession"
9
10
  }
10
11
  export declare const RELIABILITY_INTERVAL = 30000;
11
12
  declare type TypeOfEditorExperience = typeof EditorExperience;
@@ -23,7 +24,7 @@ export declare class ExperienceStore {
23
24
  start(experienceId: ValueOfEditorExperience, startTime?: number): void;
24
25
  addMetadata(experienceId: string, metadata: CustomData): void;
25
26
  mark(experienceId: string, mark: string, value: number): void;
26
- success(experienceId: string, metadata?: CustomData): void;
27
+ success(experienceId: string, metadata?: CustomData): Promise<boolean | null> | undefined;
27
28
  fail(experienceId: string, metadata?: CustomData): void;
28
29
  abort(experienceId: string, metadata?: CustomData): void;
29
30
  abortAll(metadata?: CustomData): void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  declare type Props = {
4
4
  selected?: boolean;
5
5
  hasContent?: boolean;
@@ -8,10 +8,10 @@ declare type Props = {
8
8
  'data-renderer-start-pos': number;
9
9
  };
10
10
  };
11
- export declare class CaptionComponent extends React.Component<Props & InjectedIntlProps> {
11
+ export declare class CaptionComponent extends React.Component<Props & WrappedComponentProps> {
12
12
  render(): JSX.Element;
13
13
  }
14
- declare const _default: React.ComponentClass<Props, any> & {
15
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
14
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
15
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
16
16
  };
17
17
  export default _default;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react-intl" />
2
+ import React from 'react';
3
+ export declare class IntlLegacyFallbackProvider extends React.Component {
4
+ static contextTypes: {
5
+ intl: ReactIntl.IntlShape;
6
+ };
7
+ render(): {} | null | undefined;
8
+ }
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface ErrorBoundaryProps {
3
+ }
4
+ interface ErrorBoundaryState {
5
+ missingIntlProviderInAncestry: boolean;
6
+ }
7
+ export declare const REACT_INTL_ERROR_MESSAGE = "<IntlProvider> needs to exist in the component ancestry";
8
+ export declare class IntlNextErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
9
+ state: {
10
+ missingIntlProviderInAncestry: boolean;
11
+ };
12
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
13
+ render(): {} | null | undefined;
14
+ }
15
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react-intl" />
2
+ import React from 'react';
3
+ export declare class LegacyToNextIntlProvider extends React.Component {
4
+ static contextTypes: {
5
+ intl: ReactIntl.IntlShape;
6
+ };
7
+ render(): {} | null | undefined;
8
+ }
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Node as PMNode } from 'prosemirror-model';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import { UnsupportedContentTooltipPayload } from '../../utils';
5
5
  export interface Props {
6
6
  node?: PMNode;
7
7
  children?: React.ReactNode;
8
8
  dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
9
9
  }
10
- declare const _default: React.ComponentClass<Props, any> & {
11
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
10
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
11
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
12
12
  };
13
13
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Node as PMNode } from 'prosemirror-model';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import { UnsupportedContentTooltipPayload } from '../../utils';
5
5
  export interface Props {
6
6
  node?: PMNode;
7
7
  children?: React.ReactNode;
8
8
  dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
9
9
  }
10
- declare const _default: React.ComponentClass<Props, any> & {
11
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
10
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
11
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
12
12
  };
13
13
  export default _default;
@@ -24,3 +24,6 @@ export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, Expa
24
24
  export type { StyleProps as ExpandStyleProps } from './Expand';
25
25
  export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
26
26
  export { ClearNextSiblingMarginTop } from './clear-next-sibling-margin-top';
27
+ export { IntlNextErrorBoundary, REACT_INTL_ERROR_MESSAGE, } from './IntlNextErrorBoundary';
28
+ export { IntlLegacyFallbackProvider } from './IntlLegacyFallbackProvider';
29
+ export { LegacyToNextIntlProvider } from './LegacyToNextIntlProvider';
@@ -1,3 +1,3 @@
1
1
  import { Node as PMNode } from 'prosemirror-model';
2
- import { InjectedIntl } from 'react-intl';
3
- export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: InjectedIntl): any;
2
+ import { IntlShape } from 'react-intl-next';
3
+ export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: IntlShape): any;
@@ -1,4 +1,4 @@
1
- import { InjectedIntl } from 'react-intl';
1
+ import { IntlShape } from 'react-intl-next';
2
2
  declare enum FORMATS {
3
3
  ISO_FORMAT = "YYYY-MM-DD",
4
4
  CURRENT_YEAR_FORMAT_WITHOUT_YEAR = "CURRENT_YEAR_FORMAT_WITHOUT_YEAR",
@@ -11,8 +11,8 @@ export interface Date {
11
11
  }
12
12
  export declare const timestampToUTCDate: (timestamp: string | number) => Date;
13
13
  export declare const todayTimestampInUTC: () => string;
14
- export declare const timestampToString: (timestamp: string | number, intl: InjectedIntl | null, pattern?: FORMATS | undefined) => string;
14
+ export declare const timestampToString: (timestamp: string | number, intl: IntlShape | null, pattern?: FORMATS | undefined) => string;
15
15
  export declare const timestampToIsoFormat: (timestamp: string | number) => string;
16
16
  export declare const isPastDate: (timestamp: string | number) => boolean;
17
- export declare const timestampToTaskContext: (timestamp: string | number, intl: InjectedIntl) => string;
17
+ export declare const timestampToTaskContext: (timestamp: string | number, intl: IntlShape) => string;
18
18
  export {};
@@ -31,3 +31,4 @@ export { getModeFromTheme } from './getModeFromTheme';
31
31
  export type { UserBrowserExtensionResults } from './browser-extensions';
32
32
  export { sniffUserBrowserExtensions } from './browser-extensions';
33
33
  export { RenderCountProfiler } from './profiler/render-count';
34
+ export { validateADFEntity, validationErrorHandler, } from './validate-using-spec';
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/emoji",
3
+ "main": "../dist/cjs/emoji.js",
4
+ "module": "../dist/esm/emoji.js",
5
+ "module:es2019": "../dist/es2019/emoji.js",
6
+ "types": "../dist/types/emoji.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/mention",
3
+ "main": "../dist/cjs/mention.js",
4
+ "module": "../dist/esm/mention.js",
5
+ "module:es2019": "../dist/es2019/mention.js",
6
+ "types": "../dist/types/mention.d.ts"
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "60.2.0",
3
+ "version": "62.0.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,31 +31,38 @@
31
31
  "./in-product": "./src/in-product.ts",
32
32
  "./cypress-config": "./src/cypress-config.ts",
33
33
  "./type-ahead": "./src/type-ahead/index.ts",
34
- "./ufo": "./src/ufo/index.ts"
34
+ "./ufo": "./src/ufo/index.ts",
35
+ "./types": "./src/types/index.ts",
36
+ "./ui": "./src/ui/index.tsx",
37
+ "./utils": "./src/utils/index.ts",
38
+ "./card": "./src/card/index.ts",
39
+ "./emoji": "./src/emoji.ts",
40
+ "./mention": "./src/mention.ts",
41
+ "./provider-helpers": "./src/provider-helpers/index.ts"
35
42
  },
36
43
  "dependencies": {
37
44
  "@atlaskit/activity-provider": "^2.3.0",
38
- "@atlaskit/adf-schema": "^19.3.0",
39
- "@atlaskit/adf-utils": "^14.3.0",
45
+ "@atlaskit/adf-schema": "^20.0.0",
46
+ "@atlaskit/adf-utils": "^14.4.0",
40
47
  "@atlaskit/analytics-namespaced-context": "^6.3.0",
41
48
  "@atlaskit/analytics-next": "^8.2.0",
42
- "@atlaskit/code": "^14.1.0",
43
- "@atlaskit/editor-json-transformer": "^8.6.0",
49
+ "@atlaskit/code": "^14.3.0",
50
+ "@atlaskit/editor-json-transformer": "^8.7.0",
44
51
  "@atlaskit/editor-shared-styles": "^1.6.0",
45
- "@atlaskit/emoji": "^63.1.0",
52
+ "@atlaskit/emoji": "^64.0.0",
46
53
  "@atlaskit/icon": "^21.9.0",
47
54
  "@atlaskit/in-product-testing": "^0.1.0",
48
- "@atlaskit/media-card": "^72.0.0",
55
+ "@atlaskit/media-card": "^73.0.0",
49
56
  "@atlaskit/media-client": "^14.3.0",
50
- "@atlaskit/media-picker": "^58.1.0",
57
+ "@atlaskit/media-picker": "^59.0.0",
51
58
  "@atlaskit/mention": "^19.7.0",
52
- "@atlaskit/profilecard": "^15.8.0",
53
- "@atlaskit/smart-card": "^16.2.0",
59
+ "@atlaskit/profilecard": "^16.0.0",
60
+ "@atlaskit/smart-card": "^17.0.0",
54
61
  "@atlaskit/task-decision": "^17.2.0",
55
62
  "@atlaskit/theme": "^12.0.0",
56
63
  "@atlaskit/tooltip": "^17.5.0",
57
64
  "@atlaskit/ufo": "^0.0.6",
58
- "@atlaskit/user-picker": "^7.3.0",
65
+ "@atlaskit/user-picker": "^8.0.0",
59
66
  "@atlaskit/width-detector": "^3.0.0",
60
67
  "@babel/runtime": "^7.0.0",
61
68
  "@types/prosemirror-model": "^1.11.0",
@@ -66,10 +73,10 @@
66
73
  "cypress-file-upload": "^5.0.2",
67
74
  "date-fns": "^2.17.0",
68
75
  "lodash": "^4.17.15",
69
- "prosemirror-model": "1.11.0",
70
- "prosemirror-state": "1.3.3",
71
- "prosemirror-transform": "1.2.8",
72
- "prosemirror-view": "1.15.4",
76
+ "prosemirror-model": "1.14.3",
77
+ "prosemirror-state": "1.3.4",
78
+ "prosemirror-transform": "1.3.2",
79
+ "prosemirror-view": "1.23.1",
73
80
  "raf-schd": "^2.1.0",
74
81
  "react-loadable": "^5.1.0"
75
82
  },
@@ -78,13 +85,14 @@
78
85
  "react": "^16.8.0",
79
86
  "react-dom": "^16.8.0",
80
87
  "react-intl": "^2.6.0",
88
+ "react-intl-next": "npm:react-intl@^5.18.1",
81
89
  "styled-components": "^3.2.6"
82
90
  },
83
91
  "devDependencies": {
84
- "@atlaskit/editor-json-transformer": "^8.6.0",
85
- "@atlaskit/editor-test-helpers": "^15.5.0",
92
+ "@atlaskit/editor-json-transformer": "^8.7.0",
93
+ "@atlaskit/editor-test-helpers": "^16.0.0",
86
94
  "@atlaskit/media-core": "^32.2.0",
87
- "@atlaskit/util-data-test": "^16.0.0",
95
+ "@atlaskit/util-data-test": "^17.0.0",
88
96
  "@atlaskit/visual-regression": "*",
89
97
  "@atlaskit/webdriver-runner": "*",
90
98
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -104,6 +112,9 @@
104
112
  "file-level"
105
113
  ],
106
114
  "import-structure": "atlassian-conventions"
115
+ },
116
+ "@repo/internal": {
117
+ "deprecation": "no-deprecated-imports"
107
118
  }
108
119
  },
109
120
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/provider-helpers",
3
+ "main": "../dist/cjs/provider-helpers/index.js",
4
+ "module": "../dist/esm/provider-helpers/index.js",
5
+ "module:es2019": "../dist/es2019/provider-helpers/index.js",
6
+ "types": "../dist/types/provider-helpers/index.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/types",
3
+ "main": "../dist/cjs/types/index.js",
4
+ "module": "../dist/esm/types/index.js",
5
+ "module:es2019": "../dist/es2019/types/index.js",
6
+ "types": "../dist/types/types/index.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/ui",
3
+ "main": "../dist/cjs/ui/index.js",
4
+ "module": "../dist/esm/ui/index.js",
5
+ "module:es2019": "../dist/es2019/ui/index.js",
6
+ "types": "../dist/types/ui/index.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/utils",
3
+ "main": "../dist/cjs/utils/index.js",
4
+ "module": "../dist/esm/utils/index.js",
5
+ "module:es2019": "../dist/es2019/utils/index.js",
6
+ "types": "../dist/types/utils/index.d.ts"
7
+ }