@atlaskit/editor-core 220.4.5 → 221.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 CHANGED
@@ -1,5 +1,41 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 221.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
8
+ Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
9
+
10
+ Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
11
+
12
+ Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
13
+
14
+ ```diff
15
+ - "typesVersions": {
16
+ - ">=4.5 <4.9": {
17
+ - "*": [
18
+ - "dist/types-ts4.5/*",
19
+ - "dist/types-ts4.5/index.d.ts"
20
+ - ]
21
+ - }
22
+ - },
23
+ ```
24
+
25
+ ### Minor Changes
26
+
27
+ - [`458ee17c2c8ee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/458ee17c2c8ee) -
28
+ Register layout column vertical alignment rendering experiment and gate renderer layout column
29
+ vertical alignment styles behind it
30
+
31
+ ### Patch Changes
32
+
33
+ - [`958a665fe8917`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/958a665fe8917) -
34
+ Clean up feature gate `platform_editor_breakout_in_universal_preset`
35
+ - [`1110ff714933a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1110ff714933a) -
36
+ [ux] Updated markdown mode theme to match spec and also added full-width mode to the markdown view
37
+ - Updated dependencies
38
+
3
39
  ## 220.4.5
4
40
 
5
41
  ### Patch Changes
@@ -128,7 +128,7 @@ function createUniversalPresetInternal(_ref) {
128
128
  }], Boolean((_initialPluginConfigu1 = initialPluginConfiguration === null || initialPluginConfiguration === void 0 || (_initialPluginConfigu10 = initialPluginConfiguration.blockControlsPlugin) === null || _initialPluginConfigu10 === void 0 ? void 0 : _initialPluginConfigu10.enabled) !== null && _initialPluginConfigu1 !== void 0 ? _initialPluginConfigu1 : false)).maybeAdd([_breakout.breakoutPlugin, {
129
129
  allowBreakoutButton: appearance === 'full-page',
130
130
  appearance: appearance
131
- }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('confluence_max_width_content_appearance', 'isEnabled', true)) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_in_universal_preset')))).maybeAdd(_alignment.alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([_textColor.textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(_list.listPlugin).maybeAdd(_rule.rulePlugin, Boolean(props.allowRule)).maybeAdd([_expand.expandPlugin, {
131
+ }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('confluence_max_width_content_appearance', 'isEnabled', true))))).maybeAdd(_alignment.alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([_textColor.textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(_list.listPlugin).maybeAdd(_rule.rulePlugin, Boolean(props.allowRule)).maybeAdd([_expand.expandPlugin, {
132
132
  allowInsertion: isExpandInsertionEnabled(props),
133
133
  useLongPressSelection: false,
134
134
  appearance: appearance,
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "220.4.4";
9
+ var version = exports.version = "220.4.5";
@@ -121,7 +121,7 @@ export default function createUniversalPresetInternal({
121
121
  }], Boolean((_initialPluginConfigu1 = initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : (_initialPluginConfigu10 = initialPluginConfiguration.blockControlsPlugin) === null || _initialPluginConfigu10 === void 0 ? void 0 : _initialPluginConfigu10.enabled) !== null && _initialPluginConfigu1 !== void 0 ? _initialPluginConfigu1 : false)).maybeAdd([breakoutPlugin, {
122
122
  allowBreakoutButton: appearance === 'full-page',
123
123
  appearance: appearance
124
- }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && (expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEqualsNoExposure('confluence_max_width_content_appearance', 'isEnabled', true)) && fg('platform_editor_breakout_in_universal_preset')))).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
124
+ }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && (expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEqualsNoExposure('confluence_max_width_content_appearance', 'isEnabled', true))))).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
125
125
  allowInsertion: isExpandInsertionEnabled(props),
126
126
  useLongPressSelection: false,
127
127
  appearance: appearance,
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "220.4.4";
3
+ export const version = "220.4.5";
@@ -121,7 +121,7 @@ export default function createUniversalPresetInternal(_ref) {
121
121
  }], Boolean((_initialPluginConfigu1 = initialPluginConfiguration === null || initialPluginConfiguration === void 0 || (_initialPluginConfigu10 = initialPluginConfiguration.blockControlsPlugin) === null || _initialPluginConfigu10 === void 0 ? void 0 : _initialPluginConfigu10.enabled) !== null && _initialPluginConfigu1 !== void 0 ? _initialPluginConfigu1 : false)).maybeAdd([breakoutPlugin, {
122
122
  allowBreakoutButton: appearance === 'full-page',
123
123
  appearance: appearance
124
- }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && (expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEqualsNoExposure('confluence_max_width_content_appearance', 'isEnabled', true)) && fg('platform_editor_breakout_in_universal_preset')))).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
124
+ }], Boolean(props.allowBreakout && (isFullPage || appearance === 'max' && (expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEqualsNoExposure('confluence_max_width_content_appearance', 'isEnabled', true))))).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
125
125
  allowInsertion: isExpandInsertionEnabled(props),
126
126
  useLongPressSelection: false,
127
127
  appearance: appearance,
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "220.4.4";
3
+ export var version = "220.4.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "220.4.5",
3
+ "version": "221.0.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,14 +12,6 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
15
  "sideEffects": [
24
16
  "*.compiled.css"
25
17
  ],
@@ -45,39 +37,39 @@
45
37
  }
46
38
  },
47
39
  "dependencies": {
48
- "@atlaskit/activity-provider": "^2.6.0",
49
- "@atlaskit/adf-schema": "^54.0.0",
40
+ "@atlaskit/activity-provider": "^3.0.0",
41
+ "@atlaskit/adf-schema": "^55.0.0",
50
42
  "@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
51
- "@atlaskit/analytics-namespaced-context": "^7.3.0",
52
- "@atlaskit/analytics-next": "^11.3.0",
43
+ "@atlaskit/analytics-namespaced-context": "^8.0.0",
44
+ "@atlaskit/analytics-next": "^12.0.0",
53
45
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
54
- "@atlaskit/button": "^23.11.0",
55
- "@atlaskit/css": "^0.19.0",
56
- "@atlaskit/editor-json-transformer": "^8.33.0",
57
- "@atlaskit/editor-performance-metrics": "^2.2.0",
58
- "@atlaskit/editor-plugin-connectivity": "^11.0.0",
59
- "@atlaskit/editor-plugin-quick-insert": "^11.1.0",
60
- "@atlaskit/editor-plugin-user-preferences": "^9.0.0",
61
- "@atlaskit/editor-plugins": "^13.1.0",
62
- "@atlaskit/editor-prosemirror": "^7.3.0",
63
- "@atlaskit/editor-shared-styles": "^3.11.0",
64
- "@atlaskit/editor-ssr-renderer": "^6.1.0",
65
- "@atlaskit/editor-toolbar": "^1.10.0",
66
- "@atlaskit/editor-toolbar-model": "^0.5.0",
67
- "@atlaskit/emoji": "^70.17.0",
68
- "@atlaskit/feature-gate-js-client": "^5.8.0",
69
- "@atlaskit/icon": "^35.4.0",
70
- "@atlaskit/link": "^3.4.0",
71
- "@atlaskit/media-card": "^80.8.0",
72
- "@atlaskit/mention": "^26.2.0",
73
- "@atlaskit/platform-feature-flags": "^1.1.0",
74
- "@atlaskit/platform-feature-flags-react": "^0.5.0",
75
- "@atlaskit/react-ufo": "^6.7.0",
76
- "@atlaskit/task-decision": "^20.2.0",
77
- "@atlaskit/tmp-editor-statsig": "^103.0.0",
78
- "@atlaskit/tokens": "^13.4.0",
79
- "@atlaskit/tooltip": "^22.6.0",
80
- "@atlaskit/width-detector": "^5.1.0",
46
+ "@atlaskit/button": "^24.0.0",
47
+ "@atlaskit/css": "^1.0.0",
48
+ "@atlaskit/editor-json-transformer": "^9.0.0",
49
+ "@atlaskit/editor-performance-metrics": "^3.0.0",
50
+ "@atlaskit/editor-plugin-connectivity": "^12.0.0",
51
+ "@atlaskit/editor-plugin-quick-insert": "^12.0.0",
52
+ "@atlaskit/editor-plugin-user-preferences": "^10.0.0",
53
+ "@atlaskit/editor-plugins": "^14.0.0",
54
+ "@atlaskit/editor-prosemirror": "^8.0.0",
55
+ "@atlaskit/editor-shared-styles": "^4.0.0",
56
+ "@atlaskit/editor-ssr-renderer": "^7.0.0",
57
+ "@atlaskit/editor-toolbar": "^2.0.0",
58
+ "@atlaskit/editor-toolbar-model": "^1.0.0",
59
+ "@atlaskit/emoji": "^71.0.0",
60
+ "@atlaskit/feature-gate-js-client": "^6.0.0",
61
+ "@atlaskit/icon": "^36.0.0",
62
+ "@atlaskit/link": "^4.0.0",
63
+ "@atlaskit/media-card": "^81.0.0",
64
+ "@atlaskit/mention": "^27.0.0",
65
+ "@atlaskit/platform-feature-flags": "^2.0.0",
66
+ "@atlaskit/platform-feature-flags-react": "^1.0.0",
67
+ "@atlaskit/react-ufo": "^7.0.0",
68
+ "@atlaskit/task-decision": "^21.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^104.0.0",
70
+ "@atlaskit/tokens": "^14.0.0",
71
+ "@atlaskit/tooltip": "^23.0.0",
72
+ "@atlaskit/width-detector": "^6.0.0",
81
73
  "@babel/runtime": "^7.0.0",
82
74
  "@compiled/react": "^0.20.0",
83
75
  "@emotion/react": "^11.7.1",
@@ -92,9 +84,9 @@
92
84
  "uuid": "^3.1.0"
93
85
  },
94
86
  "peerDependencies": {
95
- "@atlaskit/editor-common": "^115.16.0",
96
- "@atlaskit/link-provider": "^4.7.0",
97
- "@atlaskit/media-core": "^37.1.0",
87
+ "@atlaskit/editor-common": "^116.0.0",
88
+ "@atlaskit/link-provider": "^5.0.0",
89
+ "@atlaskit/media-core": "^38.0.0",
98
90
  "react": "^18.2.0",
99
91
  "react-dom": "^18.2.0",
100
92
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -103,39 +95,39 @@
103
95
  "@af/editor-libra": "workspace:^",
104
96
  "@af/suppress-react-warnings": "workspace:^",
105
97
  "@af/visual-regression": "workspace:^",
106
- "@atlaskit/adf-utils": "^19.33.0",
107
- "@atlaskit/analytics-listeners": "^10.1.0",
108
- "@atlaskit/code": "^17.5.0",
109
- "@atlaskit/collab-provider": "^20.0.0",
110
- "@atlaskit/editor-plugin-annotation": "^11.0.0",
111
- "@atlaskit/editor-plugin-card": "^17.4.0",
112
- "@atlaskit/editor-plugin-list": "^13.0.0",
113
- "@atlaskit/editor-plugin-paste": "^12.1.0",
98
+ "@atlaskit/adf-utils": "^20.0.0",
99
+ "@atlaskit/analytics-listeners": "^11.0.0",
100
+ "@atlaskit/code": "^18.0.0",
101
+ "@atlaskit/collab-provider": "^21.0.0",
102
+ "@atlaskit/editor-plugin-annotation": "^12.0.0",
103
+ "@atlaskit/editor-plugin-card": "^18.0.0",
104
+ "@atlaskit/editor-plugin-list": "^14.0.0",
105
+ "@atlaskit/editor-plugin-paste": "^13.0.0",
114
106
  "@atlaskit/editor-test-helpers": "workspace:^",
115
- "@atlaskit/link-provider": "^4.7.0",
116
- "@atlaskit/linking-common": "^9.13.0",
117
- "@atlaskit/logo": "^20.2.0",
118
- "@atlaskit/media-core": "^37.1.0",
107
+ "@atlaskit/link-provider": "^5.0.0",
108
+ "@atlaskit/linking-common": "^10.0.0",
109
+ "@atlaskit/logo": "^21.0.0",
110
+ "@atlaskit/media-core": "^38.0.0",
119
111
  "@atlaskit/media-integration-test-helpers": "workspace:^",
120
- "@atlaskit/media-test-helpers": "^41.2.0",
121
- "@atlaskit/modal-dialog": "^15.3.0",
122
- "@atlaskit/popper": "^7.2.0",
123
- "@atlaskit/portal": "^5.5.0",
124
- "@atlaskit/renderer": "^132.6.0",
125
- "@atlaskit/section-message": "^8.13.0",
112
+ "@atlaskit/media-test-helpers": "^42.0.0",
113
+ "@atlaskit/modal-dialog": "^16.0.0",
114
+ "@atlaskit/popper": "^8.0.0",
115
+ "@atlaskit/portal": "^6.0.0",
116
+ "@atlaskit/renderer": "^133.0.0",
117
+ "@atlaskit/section-message": "^9.0.0",
126
118
  "@atlaskit/synchrony-test-helpers": "workspace:^",
127
- "@atlaskit/toggle": "^16.1.0",
128
- "@atlaskit/util-data-test": "^18.6.0",
119
+ "@atlaskit/toggle": "^17.0.0",
120
+ "@atlaskit/util-data-test": "^19.0.0",
129
121
  "@atlassian/a11y-jest-testing": "^0.12.0",
130
122
  "@atlassian/a11y-playwright-testing": "^0.10.0",
131
123
  "@atlassian/adf-schema-json": "^1.33.0",
132
- "@atlassian/editor-rovo-bridge": "^9.9.0",
124
+ "@atlassian/editor-rovo-bridge": "^10.0.0",
133
125
  "@atlassian/feature-flags-test-utils": "^1.1.0",
134
126
  "@atlassian/react-compiler-gating": "workspace:^",
135
127
  "@atlassian/search-client": "^1.13.0",
136
- "@atlassian/search-provider": "^12.0.0",
128
+ "@atlassian/search-provider": "^13.0.0",
137
129
  "@atlassian/structured-docs-types": "workspace:^",
138
- "@atlassian/user-profile-card": "^1.13.0",
130
+ "@atlassian/user-profile-card": "^1.14.0",
139
131
  "@emotion/jest": "^11.8.0",
140
132
  "@testing-library/react": "^16.3.0",
141
133
  "@types/diff": "^5.0.2",
@@ -324,9 +316,6 @@
324
316
  "platform_editor_table_fixed_column_width_prop": {
325
317
  "type": "boolean"
326
318
  },
327
- "platform_editor_breakout_in_universal_preset": {
328
- "type": "boolean"
329
- },
330
319
  "platform-dst-lozenge-tag-badge-visual-uplifts": {
331
320
  "type": "boolean"
332
321
  },