@atlaskit/editor-presets 5.0.14 → 5.0.16

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,20 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [`46ee61dd53e91`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/46ee61dd53e91) -
8
+ Remove stale experiment confluence_compact_text_format (FFCLEANUP-85812): inline final values
9
+ (flag enabled), simplify conditions, remove experiment config entries.
10
+ - Updated dependencies
11
+
12
+ ## 5.0.15
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 5.0.14
4
19
 
5
20
  ### Patch Changes
package/compass.yml ADDED
@@ -0,0 +1,38 @@
1
+ configVersion: 1
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/f4e52704-9c0b-4a19-a50a-cf456e47fc1a
3
+ name: '@atlaskit/editor-presets'
4
+ ownerId: ari:cloud:identity::team/ce353f56-2a90-491b-b272-b90dca4fffa2 # Editor FE Platform
5
+ labels:
6
+ - platform-code
7
+ - platform-afm
8
+ typeId: OTHER
9
+ fields:
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ links:
14
+ - name: Root Repository
15
+ type: REPOSITORY
16
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
+ - name: Slack Channel
18
+ type: CHAT_CHANNEL
19
+ url: https://atlassian.enterprise.slack.com/archives/C03SD6QJWPP # #cc-editor-lego
20
+ - name: Editor Presets
21
+ type: REPOSITORY
22
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-presets
23
+ customFields:
24
+ - name: Department
25
+ type: text
26
+ value: Eng - Editor Frontend Platform
27
+ - name: Technical Owner
28
+ type: user
29
+ value: ari:cloud:identity::user/5ea93c14a4c57d0b8bd65a16 # Anand Raj
30
+ - name: Required Reviewers Opt In
31
+ type: boolean
32
+ value: true
33
+ - name: Reviewer Selection Mechanism
34
+ type: text
35
+ value: random(2)
36
+ - name: Required Reviewer Approvals
37
+ type: number
38
+ value: 1
@@ -315,9 +315,9 @@ function confluenceFullPageBasePreset(props) {
315
315
  rightSideControlsEnabled: (0, _platformFeatureFlags.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
316
316
  }]).add(_editorPluginHighlight.highlightPlugin).maybeAdd(_editorPluginConnectivity.connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([_editorPluginMetrics.metricsPlugin, (0, _metricsPluginOptions.metricsPluginOptions)({
317
317
  options: pluginOptions.metrics
318
- })], enabledOptionalPlugins.metrics).maybeAdd([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
318
+ })], enabledOptionalPlugins.metrics).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
319
319
  options: pluginOptions.contentFormat
320
- })], (0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true)).maybeAdd([_editorPluginCodeBlockAdvanced.codeBlockAdvancedPlugin, (0, _codeBlockAdvancedPluginOptions.codeBlockAdvancedPluginOptions)({
320
+ })]).maybeAdd([_editorPluginCodeBlockAdvanced.codeBlockAdvancedPlugin, (0, _codeBlockAdvancedPluginOptions.codeBlockAdvancedPluginOptions)({
321
321
  options: pluginOptions.codeBlockAdvanced
322
322
  })], enabledOptionalPlugins.codeBlockAdvanced).maybeAdd([_editorPluginSelectionExtension.selectionExtensionPlugin, (0, _selectionExtensionPluginOptions.selectionExtensionPluginOptions)({
323
323
  options: pluginOptions.selectionExtension
@@ -311,9 +311,9 @@ export function confluenceFullPageBasePreset(props) {
311
311
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
312
312
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
313
313
  options: pluginOptions.metrics
314
- })], enabledOptionalPlugins.metrics).maybeAdd([contentFormatPlugin, contentFormatPluginOptions({
314
+ })], enabledOptionalPlugins.metrics).add([contentFormatPlugin, contentFormatPluginOptions({
315
315
  options: pluginOptions.contentFormat
316
- })], expValEquals('confluence_compact_text_format', 'isEnabled', true)).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
316
+ })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
317
317
  options: pluginOptions.codeBlockAdvanced
318
318
  })], enabledOptionalPlugins.codeBlockAdvanced).maybeAdd([selectionExtensionPlugin, selectionExtensionPluginOptions({
319
319
  options: pluginOptions.selectionExtension
@@ -309,9 +309,9 @@ export function confluenceFullPageBasePreset(props) {
309
309
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
310
310
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
311
311
  options: pluginOptions.metrics
312
- })], enabledOptionalPlugins.metrics).maybeAdd([contentFormatPlugin, contentFormatPluginOptions({
312
+ })], enabledOptionalPlugins.metrics).add([contentFormatPlugin, contentFormatPluginOptions({
313
313
  options: pluginOptions.contentFormat
314
- })], expValEquals('confluence_compact_text_format', 'isEnabled', true)).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
314
+ })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
315
315
  options: pluginOptions.codeBlockAdvanced
316
316
  })], enabledOptionalPlugins.codeBlockAdvanced).maybeAdd([selectionExtensionPlugin, selectionExtensionPluginOptions({
317
317
  options: pluginOptions.selectionExtension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.0.14",
3
+ "version": "5.0.16",
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": {
@@ -115,13 +115,13 @@
115
115
  "@atlaskit/editor-plugin-user-preferences": "^10.0.0",
116
116
  "@atlaskit/editor-plugin-width": "^13.0.0",
117
117
  "@atlaskit/platform-feature-flags": "^2.0.0",
118
- "@atlaskit/tmp-editor-statsig": "^116.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^118.0.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
120
  "@atlassian/editor-plugin-agent-managed-extension": "^2.10.0",
121
121
  "@babel/runtime": "^7.0.0"
122
122
  },
123
123
  "peerDependencies": {
124
- "@atlaskit/editor-common": "^116.17.0",
124
+ "@atlaskit/editor-common": "^116.18.0",
125
125
  "react": "^18.2.0",
126
126
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
127
127
  },