@atlaskit/editor-presets 10.0.9 → 10.0.10

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,18 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 10.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`08bf773f7599a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08bf773f7599a) -
8
+ Migrate experiments to use the new platform experiment API. This major release removes the
9
+ migrated experiment entries from `@atlaskit/tmp-editor-statsig`'s `editorExperimentsConfig` and
10
+ test overrides. Consumers must replace legacy `expVal`/`expValEquals` calls with
11
+ `@atlaskit/platform-feature-experiments` APIs, using `isExperimentEnabled` for boolean `isEnabled`
12
+ experiments and `expVal` for parameterized experiments; use `mockExpEnabled`/`mockExpDisabled` in
13
+ tests.
14
+ - Updated dependencies
15
+
3
16
  ## 10.0.9
4
17
 
5
18
  ### Patch Changes
@@ -270,7 +270,7 @@ function confluenceFullPageBasePreset(props) {
270
270
  options: pluginOptions.extension
271
271
  })]).maybeAdd([_editorPluginAgentManagedExtension.agentManagedExtensionPlugin, (0, _agentManagedExtensionPluginOptions.agentManagedExtensionPluginOptions)({
272
272
  options: pluginOptions.agentManagedExtension
273
- })], (0, _expValEqualsNoExposure.expValEqualsNoExposure)('agent-managed_blocks_mvp', 'isEnabled', true)).add([_editorPluginDate.datePlugin, (0, _datePluginOptions.datePluginOptions)({
273
+ })], (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('agent-managed_blocks_mvp', 'isEnabled', false)).add([_editorPluginDate.datePlugin, (0, _datePluginOptions.datePluginOptions)({
274
274
  options: pluginOptions.date
275
275
  })]).add([_editorPluginPlaceholderText.placeholderTextPlugin, (0, _placeholderTextPluginOptions.placeholderTextPluginOptions)({
276
276
  options: pluginOptions.placeholderText
@@ -266,7 +266,7 @@ export function confluenceFullPageBasePreset(props) {
266
266
  options: pluginOptions.extension
267
267
  })]).maybeAdd([agentManagedExtensionPlugin, agentManagedExtensionPluginOptions({
268
268
  options: pluginOptions.agentManagedExtension
269
- })], expValEqualsNoExposure('agent-managed_blocks_mvp', 'isEnabled', true)).add([datePlugin, datePluginOptions({
269
+ })], UNSAFE_expValNoExposure('agent-managed_blocks_mvp', 'isEnabled', false)).add([datePlugin, datePluginOptions({
270
270
  options: pluginOptions.date
271
271
  })]).add([placeholderTextPlugin, placeholderTextPluginOptions({
272
272
  options: pluginOptions.placeholderText
@@ -264,7 +264,7 @@ export function confluenceFullPageBasePreset(props) {
264
264
  options: pluginOptions.extension
265
265
  })]).maybeAdd([agentManagedExtensionPlugin, agentManagedExtensionPluginOptions({
266
266
  options: pluginOptions.agentManagedExtension
267
- })], expValEqualsNoExposure('agent-managed_blocks_mvp', 'isEnabled', true)).add([datePlugin, datePluginOptions({
267
+ })], UNSAFE_expValNoExposure('agent-managed_blocks_mvp', 'isEnabled', false)).add([datePlugin, datePluginOptions({
268
268
  options: pluginOptions.date
269
269
  })]).add([placeholderTextPlugin, placeholderTextPluginOptions({
270
270
  options: pluginOptions.placeholderText
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "10.0.9",
3
+ "version": "10.0.10",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -23,106 +23,106 @@
23
23
  "@atlaskit/adf-schema": "^57.2.0",
24
24
  "@atlaskit/editor-plugin-accessibility-utils": "^16.0.0",
25
25
  "@atlaskit/editor-plugin-alignment": "^17.0.0",
26
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
27
27
  "@atlaskit/editor-plugin-annotation": "^16.0.0",
28
28
  "@atlaskit/editor-plugin-avatar-group": "^17.1.0",
29
- "@atlaskit/editor-plugin-base": "^17.0.0",
29
+ "@atlaskit/editor-plugin-base": "^17.1.0",
30
30
  "@atlaskit/editor-plugin-batch-attribute-updates": "^16.0.0",
31
- "@atlaskit/editor-plugin-better-type-history": "^16.0.0",
32
- "@atlaskit/editor-plugin-block-controls": "^17.2.0",
31
+ "@atlaskit/editor-plugin-better-type-history": "^16.1.0",
32
+ "@atlaskit/editor-plugin-block-controls": "^17.3.0",
33
33
  "@atlaskit/editor-plugin-block-menu": "^15.0.0",
34
- "@atlaskit/editor-plugin-block-type": "^20.0.0",
35
- "@atlaskit/editor-plugin-border": "^16.0.0",
34
+ "@atlaskit/editor-plugin-block-type": "^20.1.0",
35
+ "@atlaskit/editor-plugin-border": "^16.1.0",
36
36
  "@atlaskit/editor-plugin-breakout": "^16.0.0",
37
- "@atlaskit/editor-plugin-caption": "^16.0.0",
38
- "@atlaskit/editor-plugin-card": "^22.0.0",
37
+ "@atlaskit/editor-plugin-caption": "^16.1.0",
38
+ "@atlaskit/editor-plugin-card": "^22.1.0",
39
39
  "@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^16.0.0",
40
- "@atlaskit/editor-plugin-clipboard": "^16.0.0",
41
- "@atlaskit/editor-plugin-code-block": "^18.0.0",
40
+ "@atlaskit/editor-plugin-clipboard": "^16.1.0",
41
+ "@atlaskit/editor-plugin-code-block": "^18.1.0",
42
42
  "@atlaskit/editor-plugin-code-block-advanced": "^16.0.0",
43
43
  "@atlaskit/editor-plugin-collab-edit": "^17.0.0",
44
- "@atlaskit/editor-plugin-composition": "^15.0.0",
44
+ "@atlaskit/editor-plugin-composition": "^15.1.0",
45
45
  "@atlaskit/editor-plugin-connectivity": "^16.0.0",
46
46
  "@atlaskit/editor-plugin-content-format": "^10.0.0",
47
- "@atlaskit/editor-plugin-content-insertion": "^16.0.0",
47
+ "@atlaskit/editor-plugin-content-insertion": "^16.1.0",
48
48
  "@atlaskit/editor-plugin-context-identifier": "^16.0.0",
49
- "@atlaskit/editor-plugin-context-panel": "^18.0.0",
50
- "@atlaskit/editor-plugin-copy-button": "^16.0.0",
49
+ "@atlaskit/editor-plugin-context-panel": "^18.1.0",
50
+ "@atlaskit/editor-plugin-copy-button": "^16.1.0",
51
51
  "@atlaskit/editor-plugin-custom-autoformat": "^16.0.0",
52
52
  "@atlaskit/editor-plugin-data-consumer": "^16.0.0",
53
- "@atlaskit/editor-plugin-date": "^18.0.0",
54
- "@atlaskit/editor-plugin-decorations": "^16.0.0",
55
- "@atlaskit/editor-plugin-editor-disabled": "^16.0.0",
53
+ "@atlaskit/editor-plugin-date": "^18.1.0",
54
+ "@atlaskit/editor-plugin-decorations": "^16.1.0",
55
+ "@atlaskit/editor-plugin-editor-disabled": "^16.1.0",
56
56
  "@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
57
57
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^16.0.0",
58
- "@atlaskit/editor-plugin-emoji": "^17.0.0",
59
- "@atlaskit/editor-plugin-expand": "^17.0.0",
60
- "@atlaskit/editor-plugin-extension": "^19.0.0",
61
- "@atlaskit/editor-plugin-feature-flags": "^15.0.0",
58
+ "@atlaskit/editor-plugin-emoji": "^17.1.0",
59
+ "@atlaskit/editor-plugin-expand": "^17.1.0",
60
+ "@atlaskit/editor-plugin-extension": "^19.1.0",
61
+ "@atlaskit/editor-plugin-feature-flags": "^15.1.0",
62
62
  "@atlaskit/editor-plugin-find-replace": "^16.0.0",
63
- "@atlaskit/editor-plugin-floating-toolbar": "^18.0.0",
64
- "@atlaskit/editor-plugin-focus": "^15.0.0",
65
- "@atlaskit/editor-plugin-fragment": "^16.0.0",
66
- "@atlaskit/editor-plugin-grid": "^16.0.0",
67
- "@atlaskit/editor-plugin-guideline": "^16.0.0",
68
- "@atlaskit/editor-plugin-help-dialog": "^16.0.0",
63
+ "@atlaskit/editor-plugin-floating-toolbar": "^18.1.0",
64
+ "@atlaskit/editor-plugin-focus": "^15.1.0",
65
+ "@atlaskit/editor-plugin-fragment": "^16.1.0",
66
+ "@atlaskit/editor-plugin-grid": "^16.1.0",
67
+ "@atlaskit/editor-plugin-guideline": "^16.1.0",
68
+ "@atlaskit/editor-plugin-help-dialog": "^16.1.0",
69
69
  "@atlaskit/editor-plugin-highlight": "^16.0.0",
70
- "@atlaskit/editor-plugin-history": "^16.0.0",
71
- "@atlaskit/editor-plugin-hyperlink": "^18.0.0",
72
- "@atlaskit/editor-plugin-indentation": "^16.0.0",
73
- "@atlaskit/editor-plugin-insert-block": "^17.0.0",
70
+ "@atlaskit/editor-plugin-history": "^16.1.0",
71
+ "@atlaskit/editor-plugin-hyperlink": "^18.1.0",
72
+ "@atlaskit/editor-plugin-indentation": "^16.1.0",
73
+ "@atlaskit/editor-plugin-insert-block": "^17.1.0",
74
74
  "@atlaskit/editor-plugin-interaction": "^27.0.0",
75
- "@atlaskit/editor-plugin-interactivity": "^1.1.0",
76
- "@atlaskit/editor-plugin-layout": "^17.1.0",
75
+ "@atlaskit/editor-plugin-interactivity": "^1.2.0",
76
+ "@atlaskit/editor-plugin-layout": "^17.2.0",
77
77
  "@atlaskit/editor-plugin-limited-mode": "^13.0.0",
78
- "@atlaskit/editor-plugin-list": "^18.0.0",
78
+ "@atlaskit/editor-plugin-list": "^18.1.0",
79
79
  "@atlaskit/editor-plugin-local-id": "^14.0.0",
80
80
  "@atlaskit/editor-plugin-loom": "^18.0.0",
81
- "@atlaskit/editor-plugin-media": "^18.0.0",
81
+ "@atlaskit/editor-plugin-media": "^18.1.0",
82
82
  "@atlaskit/editor-plugin-media-insert": "^31.1.0",
83
- "@atlaskit/editor-plugin-mentions": "^18.1.0",
83
+ "@atlaskit/editor-plugin-mentions": "^18.2.0",
84
84
  "@atlaskit/editor-plugin-metrics": "^17.0.0",
85
- "@atlaskit/editor-plugin-panel": "^18.1.0",
86
- "@atlaskit/editor-plugin-paste": "^17.0.0",
87
- "@atlaskit/editor-plugin-paste-options-toolbar": "^17.0.0",
88
- "@atlaskit/editor-plugin-placeholder": "^16.0.0",
89
- "@atlaskit/editor-plugin-placeholder-text": "^17.0.0",
85
+ "@atlaskit/editor-plugin-panel": "^18.2.0",
86
+ "@atlaskit/editor-plugin-paste": "^17.1.0",
87
+ "@atlaskit/editor-plugin-paste-options-toolbar": "^17.1.0",
88
+ "@atlaskit/editor-plugin-placeholder": "^16.1.0",
89
+ "@atlaskit/editor-plugin-placeholder-text": "^17.1.0",
90
90
  "@atlaskit/editor-plugin-primary-toolbar": "^17.0.0",
91
- "@atlaskit/editor-plugin-quick-insert": "^16.1.0",
92
- "@atlaskit/editor-plugin-rule": "^16.0.0",
93
- "@atlaskit/editor-plugin-scroll-into-view": "^16.0.0",
94
- "@atlaskit/editor-plugin-selection": "^16.0.0",
95
- "@atlaskit/editor-plugin-selection-extension": "^19.0.0",
91
+ "@atlaskit/editor-plugin-quick-insert": "^16.2.0",
92
+ "@atlaskit/editor-plugin-rule": "^16.2.0",
93
+ "@atlaskit/editor-plugin-scroll-into-view": "^16.1.0",
94
+ "@atlaskit/editor-plugin-selection": "^16.1.0",
95
+ "@atlaskit/editor-plugin-selection-extension": "^19.1.0",
96
96
  "@atlaskit/editor-plugin-selection-marker": "^16.0.0",
97
- "@atlaskit/editor-plugin-selection-toolbar": "^17.0.0",
97
+ "@atlaskit/editor-plugin-selection-toolbar": "^17.1.0",
98
98
  "@atlaskit/editor-plugin-show-diff": "^14.2.0",
99
- "@atlaskit/editor-plugin-status": "^17.1.0",
100
- "@atlaskit/editor-plugin-submit-editor": "^16.0.0",
99
+ "@atlaskit/editor-plugin-status": "^17.2.0",
100
+ "@atlaskit/editor-plugin-submit-editor": "^16.1.0",
101
101
  "@atlaskit/editor-plugin-synced-block": "^14.0.0",
102
- "@atlaskit/editor-plugin-table": "^28.0.0",
103
- "@atlaskit/editor-plugin-tasks-and-decisions": "^19.0.0",
104
- "@atlaskit/editor-plugin-text-color": "^16.0.0",
105
- "@atlaskit/editor-plugin-text-formatting": "^16.0.0",
102
+ "@atlaskit/editor-plugin-table": "^28.1.0",
103
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^19.1.0",
104
+ "@atlaskit/editor-plugin-text-color": "^16.1.0",
105
+ "@atlaskit/editor-plugin-text-formatting": "^16.1.0",
106
106
  "@atlaskit/editor-plugin-toolbar": "^13.0.0",
107
- "@atlaskit/editor-plugin-toolbar-lists-indentation": "^17.0.0",
107
+ "@atlaskit/editor-plugin-toolbar-lists-indentation": "^17.1.0",
108
108
  "@atlaskit/editor-plugin-track-changes": "^15.0.0",
109
- "@atlaskit/editor-plugin-type-ahead": "^17.0.0",
109
+ "@atlaskit/editor-plugin-type-ahead": "^17.1.0",
110
110
  "@atlaskit/editor-plugin-ufo": "^16.0.0",
111
111
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
112
112
  "@atlaskit/editor-plugin-undo-redo": "^16.0.0",
113
- "@atlaskit/editor-plugin-unsupported-content": "^16.0.0",
113
+ "@atlaskit/editor-plugin-unsupported-content": "^16.1.0",
114
114
  "@atlaskit/editor-plugin-user-intent": "^14.0.0",
115
115
  "@atlaskit/editor-plugin-user-preferences": "^14.0.0",
116
- "@atlaskit/editor-plugin-width": "^17.0.0",
116
+ "@atlaskit/editor-plugin-width": "^17.1.0",
117
117
  "@atlaskit/platform-feature-experiments": "^0.3.0",
118
- "@atlaskit/platform-feature-flags": "^2.1.0",
119
- "@atlaskit/tmp-editor-statsig": "^168.0.0",
118
+ "@atlaskit/platform-feature-flags": "^2.2.0",
119
+ "@atlaskit/tmp-editor-statsig": "^169.0.0",
120
120
  "@atlassian/ari": "^2.596.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^6.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^120.7.0",
125
+ "@atlaskit/editor-common": "^120.10.0",
126
126
  "react": "^18.2.0 || ^19.2.0",
127
127
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
128
128
  },