@atlaskit/editor-common 80.5.2 → 81.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.
- package/CHANGELOG.md +15 -0
- package/afm-cc/tsconfig.json +0 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/avatar.d.ts +2 -2
- package/dist/types/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types/analytics/types/date-events.d.ts +2 -2
- package/dist/types/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types/analytics/types/experimental-events.d.ts +2 -2
- package/dist/types/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +2 -2
- package/dist/types/link/LinkSearch/index.d.ts +2 -2
- package/dist/types/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types/link/LinkSearch/types.d.ts +3 -3
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types/link/types.d.ts +2 -2
- package/dist/types/provider-factory/context.d.ts +1 -1
- package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types/provider-factory/with-providers.d.ts +3 -3
- package/dist/types/transforms/layout.d.ts +1 -1
- package/dist/types/types/copy-button.d.ts +1 -1
- package/dist/types/types/resizable-media-single.d.ts +1 -1
- package/dist/types/types/type-ahead.d.ts +1 -1
- package/dist/types/ufo/experience-store.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types/ui/Layer/index.d.ts +2 -2
- package/dist/types/ui/Mention/index.d.ts +2 -2
- package/dist/types/ui/Mention/types.d.ts +1 -1
- package/dist/types/ui/ResizerLegacy/styled.d.ts +1 -1
- package/dist/types/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +1 -1
- package/dist/types/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types/utils/analytics.d.ts +1 -1
- package/dist/types/utils/commands.d.ts +3 -3
- package/dist/types/utils/compareNodes.d.ts +2 -2
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types/utils/imageLoader.d.ts +1 -1
- package/dist/types/utils/macro.d.ts +1 -1
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types/utils/slice.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/avatar.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/experimental-events.d.ts +2 -2
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +3 -3
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types-ts4.5/link/types.d.ts +2 -2
- package/dist/types-ts4.5/provider-factory/context.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/with-providers.d.ts +3 -3
- package/dist/types-ts4.5/transforms/layout.d.ts +1 -1
- package/dist/types-ts4.5/types/copy-button.d.ts +1 -1
- package/dist/types-ts4.5/types/resizable-media-single.d.ts +1 -1
- package/dist/types-ts4.5/types/type-ahead.d.ts +1 -1
- package/dist/types-ts4.5/ufo/experience-store.d.ts +1 -1
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Layer/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Mention/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Mention/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types-ts4.5/utils/analytics.d.ts +1 -1
- package/dist/types-ts4.5/utils/commands.d.ts +3 -3
- package/dist/types-ts4.5/utils/compareNodes.d.ts +2 -2
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/imageLoader.d.ts +1 -1
- package/dist/types-ts4.5/utils/macro.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types-ts4.5/utils/slice.d.ts +1 -1
- package/package.json +3 -5
- package/tsconfig.json +0 -1
- package/dist/cjs/__tests_external__/cases/fundamentals/collection.js +0 -15
- package/dist/cjs/__tests_external__/cases/fundamentals/test-cases/editor-is-present.js +0 -20
- package/dist/cjs/__tests_external__/cases/fundamentals/test-cases/editor-typing.js +0 -28
- package/dist/cjs/__tests_external__/cases/smart-links/index.js +0 -33
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/block/delete.js +0 -35
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/block/edit.js +0 -65
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/block/index.js +0 -16
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/block/insert.js +0 -34
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/embed/delete.js +0 -35
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/embed/edit.js +0 -65
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/embed/index.js +0 -16
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/embed/insert.js +0 -34
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/inline/delete.js +0 -34
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/inline/edit.js +0 -63
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/inline/index.js +0 -17
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/inline/insert.js +0 -33
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/inline/unlink.js +0 -36
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/types.js +0 -5
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/url/index.js +0 -14
- package/dist/cjs/__tests_external__/cases/smart-links/test-cases/url/insert.js +0 -31
- package/dist/cjs/__tests_external__/cases/types.js +0 -5
- package/dist/cjs/__tests_external__/index.js +0 -44
- package/dist/cjs/__tests_external__/page-objects/Editor.js +0 -47
- package/dist/cjs/__tests_external__/page-objects/EditorSmartLink.js +0 -208
- package/dist/cjs/__tests_external__/page-objects/Renderer.js +0 -35
- package/dist/cjs/in-product.js +0 -42
- package/dist/es2019/__tests_external__/cases/fundamentals/collection.js +0 -7
- package/dist/es2019/__tests_external__/cases/fundamentals/test-cases/editor-is-present.js +0 -12
- package/dist/es2019/__tests_external__/cases/fundamentals/test-cases/editor-typing.js +0 -22
- package/dist/es2019/__tests_external__/cases/smart-links/index.js +0 -4
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/block/delete.js +0 -28
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/block/edit.js +0 -57
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/block/index.js +0 -8
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/block/insert.js +0 -27
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/embed/delete.js +0 -28
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/embed/edit.js +0 -57
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/embed/index.js +0 -8
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/embed/insert.js +0 -27
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/inline/delete.js +0 -27
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/inline/edit.js +0 -55
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/inline/index.js +0 -9
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/inline/insert.js +0 -26
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/inline/unlink.js +0 -29
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/types.js +0 -1
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/url/index.js +0 -6
- package/dist/es2019/__tests_external__/cases/smart-links/test-cases/url/insert.js +0 -24
- package/dist/es2019/__tests_external__/cases/types.js +0 -1
- package/dist/es2019/__tests_external__/index.js +0 -3
- package/dist/es2019/__tests_external__/page-objects/Editor.js +0 -19
- package/dist/es2019/__tests_external__/page-objects/EditorSmartLink.js +0 -143
- package/dist/es2019/__tests_external__/page-objects/Renderer.js +0 -9
- package/dist/es2019/in-product.js +0 -1
- package/dist/esm/__tests_external__/cases/fundamentals/collection.js +0 -9
- package/dist/esm/__tests_external__/cases/fundamentals/test-cases/editor-is-present.js +0 -14
- package/dist/esm/__tests_external__/cases/fundamentals/test-cases/editor-typing.js +0 -22
- package/dist/esm/__tests_external__/cases/smart-links/index.js +0 -4
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/block/delete.js +0 -29
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/block/edit.js +0 -59
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/block/index.js +0 -10
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/block/insert.js +0 -28
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/embed/delete.js +0 -29
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/embed/edit.js +0 -59
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/embed/index.js +0 -10
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/embed/insert.js +0 -28
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/inline/delete.js +0 -28
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/inline/edit.js +0 -57
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/inline/index.js +0 -11
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/inline/insert.js +0 -27
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/inline/unlink.js +0 -30
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/types.js +0 -1
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/url/index.js +0 -8
- package/dist/esm/__tests_external__/cases/smart-links/test-cases/url/insert.js +0 -25
- package/dist/esm/__tests_external__/cases/types.js +0 -1
- package/dist/esm/__tests_external__/index.js +0 -3
- package/dist/esm/__tests_external__/page-objects/Editor.js +0 -40
- package/dist/esm/__tests_external__/page-objects/EditorSmartLink.js +0 -201
- package/dist/esm/__tests_external__/page-objects/Renderer.js +0 -28
- package/dist/esm/in-product.js +0 -1
- package/dist/types/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
- package/dist/types/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
- package/dist/types/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/index.d.ts +0 -4
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
- package/dist/types/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
- package/dist/types/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
- package/dist/types/__tests_external__/cases/types.d.ts +0 -7
- package/dist/types/__tests_external__/index.d.ts +0 -3
- package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -11
- package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -43
- package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -8
- package/dist/types/in-product.d.ts +0 -1
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/index.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/types.d.ts +0 -7
- package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/page-objects/Editor.d.ts +0 -9
- package/dist/types-ts4.5/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -41
- package/dist/types-ts4.5/__tests_external__/page-objects/Renderer.d.ts +0 -6
- package/dist/types-ts4.5/in-product.d.ts +0 -1
- package/in-product/package.json +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 81.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#102675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102675)
|
|
8
|
+
[`5a358ae041de`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5a358ae041de) -
|
|
9
|
+
Removing @atlaskit/in-product-testing and its usages. Entry point removals require a major bump.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
14
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
15
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 80.5.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -66,9 +66,6 @@
|
|
|
66
66
|
{
|
|
67
67
|
"path": "../../../design-system/icon-object/afm-cc/tsconfig.json"
|
|
68
68
|
},
|
|
69
|
-
{
|
|
70
|
-
"path": "../../../in-product-testing/in-product-testing/afm-cc/tsconfig.json"
|
|
71
|
-
},
|
|
72
69
|
{
|
|
73
70
|
"path": "../../../linking-platform/link-datasource/afm-cc/tsconfig.json"
|
|
74
71
|
},
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
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 = "
|
|
19
|
+
var packageVersion = "81.0.0";
|
|
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
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
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); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "
|
|
23
|
+
var packageVersion = "81.0.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "
|
|
3
|
+
const packageVersion = "81.0.0";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "
|
|
10
|
+
const packageVersion = "81.0.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "
|
|
9
|
+
var packageVersion = "81.0.0";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "
|
|
18
|
+
var packageVersion = "81.0.0";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import { type UIAEP } from './utils';
|
|
3
3
|
type AvatarButtonViewedAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AVATAR_GROUP_PLUGIN, {}, undefined>;
|
|
4
4
|
export type AvatarEventPayload = AvatarButtonViewedAEP;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT } from './enums';
|
|
2
|
+
import { type UIAEP } from './utils';
|
|
3
3
|
type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
4
4
|
type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
5
5
|
type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID, type INPUT_METHOD } from './enums';
|
|
2
|
+
import { type TrackAEP } from './utils';
|
|
3
3
|
type TypeDateStartedAEP = TrackAEP<ACTION.TYPING_STARTED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
4
4
|
type TypeDateFinishedAEP = TrackAEP<ACTION.TYPING_FINISHED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
5
5
|
type IncrementDateSegmentAEP = TrackAEP<ACTION.INCREMENTED, ACTION_SUBJECT.DATE_SEGMENT, undefined, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsEventPayload } from './events';
|
|
1
|
+
import { type AnalyticsEventPayload } from './events';
|
|
2
2
|
export type DispatchAnalyticsEvent = (payload: AnalyticsEventPayload) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import { type TrackAEP } from './utils';
|
|
3
3
|
type ExperimentalAEP<Action, ActionSubject, ActionSubjectId, Attributes> = TrackAEP<Action, ActionSubject, ActionSubjectId, Attributes & {
|
|
4
4
|
experiment: string;
|
|
5
5
|
experimentGroup: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldResolver, Deserializer, ExtensionManifest, Serializer, UserFieldContextProvider } from './types/extension-manifest';
|
|
2
|
-
import { FieldHandlerLink } from './types/field-definitions';
|
|
1
|
+
import { type CustomFieldResolver, type Deserializer, type ExtensionManifest, type Serializer, type UserFieldContextProvider } from './types/extension-manifest';
|
|
2
|
+
import { type FieldHandlerLink } from './types/field-definitions';
|
|
3
3
|
/** attempt to get the custom resolver for this field, or throw */
|
|
4
4
|
export declare function getCustomFieldResolver(manifest: ExtensionManifest, handlerLink: FieldHandlerLink): Promise<CustomFieldResolver>;
|
|
5
5
|
/** attempt to get the serializer for this field, or throw */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtensionAutoConvertHandler, ExtensionKey, ExtensionManifest, ExtensionType } from './extension-manifest';
|
|
2
|
-
import { Parameters } from './extension-parameters';
|
|
1
|
+
import { type ExtensionAutoConvertHandler, type ExtensionKey, type ExtensionManifest, type ExtensionType } from './extension-manifest';
|
|
2
|
+
import { type Parameters } from './extension-parameters';
|
|
3
3
|
export interface ExtensionProvider<T extends Parameters = any> {
|
|
4
4
|
getExtensions(): Promise<ExtensionManifest<T>[]>;
|
|
5
5
|
getExtension(type: ExtensionType, key: ExtensionKey): Promise<ExtensionManifest<T> | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import { LinkPickerProps } from '@atlaskit/link-picker';
|
|
2
|
+
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
import { type LinkPickerProps } from '@atlaskit/link-picker';
|
|
4
4
|
import type { Command, EditorAppearance } from '../../../types';
|
|
5
5
|
/**
|
|
6
6
|
* Returns a type that matches T but where keys (K) are now optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RecentSearchProps } from './types';
|
|
3
|
-
import { WithActivityProviderProps } from './withActivityProvider';
|
|
2
|
+
import { type RecentSearchProps } from './types';
|
|
3
|
+
import { type WithActivityProviderProps } from './withActivityProvider';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
6
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { KeyboardEvent } from 'react';
|
|
2
|
-
import { ActivityItem, ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
-
import { INPUT_METHOD } from '../../analytics';
|
|
1
|
+
import { type KeyboardEvent } from 'react';
|
|
2
|
+
import { type ActivityItem, type ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
+
import { type INPUT_METHOD } from '../../analytics';
|
|
4
4
|
export type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
|
|
5
5
|
export interface ChildProps {
|
|
6
6
|
activityProvider: ActivityProvider | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
-
import { ProviderFactory } from '../../provider-factory';
|
|
2
|
+
import { type ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
+
import { type ProviderFactory } from '../../provider-factory';
|
|
4
4
|
import type { Providers } from '../../provider-factory';
|
|
5
5
|
import type { Diff } from '../../utils';
|
|
6
6
|
export interface ExpandedActivityProviderProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { INPUT_METHOD } from '../analytics';
|
|
1
|
+
import { type Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { type INPUT_METHOD } from '../analytics';
|
|
3
3
|
import type { EditorAppearance } from '../types';
|
|
4
4
|
export declare enum LinkAction {
|
|
5
5
|
SHOW_INSERT_TOOLBAR = "SHOW_INSERT_TOOLBAR",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ProviderFactory from './provider-factory';
|
|
3
|
-
import { ProviderType } from './types';
|
|
3
|
+
import { type ProviderType } from './types';
|
|
4
4
|
export declare const ProviderFactoryProvider: React.Provider<ProviderFactory>;
|
|
5
5
|
export declare const useProviderFactory: () => ProviderFactory;
|
|
6
6
|
export declare const useProvider: <T extends string>(name: T) => ProviderType<T> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PureComponent, ReactNode } from 'react';
|
|
2
|
-
import ProviderFactory from './provider-factory';
|
|
3
|
-
import { ProviderName, Providers } from './types';
|
|
1
|
+
import { PureComponent, type ReactNode } from 'react';
|
|
2
|
+
import type ProviderFactory from './provider-factory';
|
|
3
|
+
import { type ProviderName, type Providers } from './types';
|
|
4
4
|
export interface Props {
|
|
5
5
|
providerFactory: ProviderFactory;
|
|
6
6
|
providers: ProviderName[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment, Node, Schema, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import { Fragment, type Node, type Schema, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
export declare function unwrapContentFromLayout(maybeLayoutSection: Node): Node | Node[];
|
|
3
3
|
export declare function removeLayoutFromFirstChild(node: Node, i: number): Node | Node[];
|
|
4
4
|
export declare function removeLayoutFromLastChild(node: Node, i: number, fragment: Fragment): Node | Node[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { MarkType, NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import { Command } from './command';
|
|
4
|
+
import { type Command } from './command';
|
|
5
5
|
export type MarkOptions = {
|
|
6
6
|
state: EditorState;
|
|
7
7
|
formatMessage: IntlShape['formatMessage'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import { Fragment, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { type Fragment, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { TypeAheadPayload } from '../analytics/types/type-ahead';
|
|
5
5
|
import type { SelectItemMode, TypeAheadAvailableNodes } from '../type-ahead';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
1
|
+
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
2
|
import { UFOExperience } from '@atlaskit/ufo';
|
|
3
3
|
import type { CustomData, ExperienceConfig } from '@atlaskit/ufo/types';
|
|
4
4
|
export declare const experienceConfig: ExperienceConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
2
|
import { ProviderFactory } from '../../provider-factory';
|
|
3
|
-
import { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
|
-
import { MentionEventHandlers } from '../EventHandlers';
|
|
3
|
+
import { type ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
|
+
import { type MentionEventHandlers } from '../EventHandlers';
|
|
5
5
|
export interface MentionProps {
|
|
6
6
|
id: string;
|
|
7
7
|
providers?: ProviderFactory;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ProfileCardAction } from '@atlaskit/profilecard';
|
|
1
|
+
import { type ProfileCardAction } from '@atlaskit/profilecard';
|
|
2
2
|
export type { ProfileCardAction };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from '../MediaSingle/styled';
|
|
1
|
+
import { type MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from '../MediaSingle/styled';
|
|
2
2
|
export declare const wrapperStyle: (props: MediaSingleDimensionHelperProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import { MediaClientConfig } from '@atlaskit/media-core';
|
|
1
|
+
import { type RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
|
+
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
import { type MediaClientConfig } from '@atlaskit/media-core';
|
|
4
4
|
import type { DispatchAnalyticsEvent } from '../../analytics';
|
|
5
5
|
import type { getPosHandler } from '../../react-node-view';
|
|
6
6
|
import type { GridType } from '../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
export type Props = {
|
|
4
4
|
render: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => React.ReactNode;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IntlShape } from 'react-intl-next';
|
|
2
|
-
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import { type IntlShape } from 'react-intl-next';
|
|
2
|
+
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: IntlShape): any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MessageDescriptor } from 'react-intl-next';
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl-next';
|
|
2
2
|
export default function getColorMessage(messages: Record<string | number, MessageDescriptor>, color: string): MessageDescriptor | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaletteColor } from './type';
|
|
1
|
+
import { type PaletteColor } from './type';
|
|
2
2
|
/** this is not new usage - old code extracted from editor-core */
|
|
3
3
|
export declare const panelBackgroundPalette: PaletteColor[];
|
|
4
4
|
export declare const panelDarkModeBackgroundPalette: PaletteColor[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ButtonProps } from '@atlaskit/button/standard-button';
|
|
2
|
+
import { type ButtonProps } from '@atlaskit/button/standard-button';
|
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
4
4
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
+
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
type ReactEditorViewContextProps = {
|
|
4
4
|
editorView?: EditorView;
|
|
5
5
|
editorRef?: React.RefObject<HTMLDivElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EDITOR_APPEARANCE_CONTEXT } from '@atlaskit/analytics-namespaced-context';
|
|
2
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../analytics';
|
|
2
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID, type EVENT_TYPE } from '../analytics';
|
|
3
3
|
export declare const getAnalyticsAppearance: (appearance?: string) => EDITOR_APPEARANCE_CONTEXT | undefined;
|
|
4
4
|
export declare const getAnalyticsEditorAppearance: (editorAppearance?: string) => string;
|
|
5
5
|
export declare const getAnalyticsEventSeverity: (duration: number, normalThreshold: number, degradedThreshold: number) => SEVERITY;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fragment, Node as PMNode, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import { EditorAnalyticsAPI } from '../analytics';
|
|
1
|
+
import { Fragment, type Node as PMNode, type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { type EditorState, type Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import { type EditorAnalyticsAPI } from '../analytics';
|
|
4
4
|
import type { Command, Predicate } from '../types';
|
|
5
5
|
export type WalkNode = {
|
|
6
6
|
$pos: ResolvedPos;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardAttributes } from '@atlaskit/adf-schema';
|
|
2
|
-
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import { type CardAttributes } from '@atlaskit/adf-schema';
|
|
2
|
+
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { SortOrder } from '../types';
|
|
4
4
|
export declare enum ContentType {
|
|
5
5
|
NUMBER = 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import { AnalyticsEventPayload } from '../analytics';
|
|
2
|
+
import { type AnalyticsEventPayload } from '../analytics';
|
|
3
3
|
export declare function getPerformanceOptions(view: EditorView): {
|
|
4
4
|
trackingEnabled: boolean;
|
|
5
5
|
samplingRate: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsDifference, ShallowPropsDifference } from '../../../compare-props';
|
|
1
|
+
import { type PropsDifference, type ShallowPropsDifference } from '../../../compare-props';
|
|
2
2
|
type PropsDiff<Props> = ShallowPropsDifference<Props> | PropsDifference<Props>;
|
|
3
3
|
type OnRenderCb<Props = undefined> = ({ renderCount, propsDifference, }: {
|
|
4
4
|
renderCount: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorState, PluginKey, ReadonlyTransaction, SafeStateField, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { Dispatch } from '../event-dispatcher';
|
|
3
|
-
import { Command } from '../types';
|
|
2
|
+
import { type Dispatch } from '../event-dispatcher';
|
|
3
|
+
import { type Command } from '../types';
|
|
4
4
|
export type Reducer<PluginState, Action> = (state: PluginState, action: Action) => PluginState;
|
|
5
5
|
type MapState<PluginState> = (tr: ReadonlyTransaction, pluginState: PluginState, editorState: EditorState) => PluginState;
|
|
6
6
|
type SafePlugin<PluginState, Action, InitialState extends PluginState> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import { type UIAEP } from './utils';
|
|
3
3
|
type AvatarButtonViewedAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AVATAR_GROUP_PLUGIN, {}, undefined>;
|
|
4
4
|
export type AvatarEventPayload = AvatarButtonViewedAEP;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT } from './enums';
|
|
2
|
+
import { type UIAEP } from './utils';
|
|
3
3
|
type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
4
4
|
type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
5
5
|
type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID, type INPUT_METHOD } from './enums';
|
|
2
|
+
import { type TrackAEP } from './utils';
|
|
3
3
|
type TypeDateStartedAEP = TrackAEP<ACTION.TYPING_STARTED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
4
4
|
type TypeDateFinishedAEP = TrackAEP<ACTION.TYPING_FINISHED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
5
5
|
type IncrementDateSegmentAEP = TrackAEP<ACTION.INCREMENTED, ACTION_SUBJECT.DATE_SEGMENT, undefined, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsEventPayload } from './events';
|
|
1
|
+
import { type AnalyticsEventPayload } from './events';
|
|
2
2
|
export type DispatchAnalyticsEvent = (payload: AnalyticsEventPayload) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
1
|
+
import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import { type TrackAEP } from './utils';
|
|
3
3
|
type ExperimentalAEP<Action, ActionSubject, ActionSubjectId, Attributes> = TrackAEP<Action, ActionSubject, ActionSubjectId, Attributes & {
|
|
4
4
|
experiment: string;
|
|
5
5
|
experimentGroup: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomFieldResolver, Deserializer, ExtensionManifest, Serializer, UserFieldContextProvider } from './types/extension-manifest';
|
|
2
|
-
import { FieldHandlerLink } from './types/field-definitions';
|
|
1
|
+
import { type CustomFieldResolver, type Deserializer, type ExtensionManifest, type Serializer, type UserFieldContextProvider } from './types/extension-manifest';
|
|
2
|
+
import { type FieldHandlerLink } from './types/field-definitions';
|
|
3
3
|
/** attempt to get the custom resolver for this field, or throw */
|
|
4
4
|
export declare function getCustomFieldResolver(manifest: ExtensionManifest, handlerLink: FieldHandlerLink): Promise<CustomFieldResolver>;
|
|
5
5
|
/** attempt to get the serializer for this field, or throw */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtensionAutoConvertHandler, ExtensionKey, ExtensionManifest, ExtensionType } from './extension-manifest';
|
|
2
|
-
import { Parameters } from './extension-parameters';
|
|
1
|
+
import { type ExtensionAutoConvertHandler, type ExtensionKey, type ExtensionManifest, type ExtensionType } from './extension-manifest';
|
|
2
|
+
import { type Parameters } from './extension-parameters';
|
|
3
3
|
export interface ExtensionProvider<T extends Parameters = any> {
|
|
4
4
|
getExtensions(): Promise<ExtensionManifest<T>[]>;
|
|
5
5
|
getExtension(type: ExtensionType, key: ExtensionKey): Promise<ExtensionManifest<T> | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import { LinkPickerProps } from '@atlaskit/link-picker';
|
|
2
|
+
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
import { type LinkPickerProps } from '@atlaskit/link-picker';
|
|
4
4
|
import type { Command, EditorAppearance } from '../../../types';
|
|
5
5
|
/**
|
|
6
6
|
* Returns a type that matches T but where keys (K) are now optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RecentSearchProps } from './types';
|
|
3
|
-
import { WithActivityProviderProps } from './withActivityProvider';
|
|
2
|
+
import { type RecentSearchProps } from './types';
|
|
3
|
+
import { type WithActivityProviderProps } from './withActivityProvider';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
6
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|