@atlaskit/tmp-editor-statsig 120.1.0 → 120.2.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 +32 -0
- package/dist/cjs/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +9 -0
- package/dist/types/experiments-config.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 120.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bbf34983a5daf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bbf34983a5daf) -
|
|
8
|
+
Add an opt-in `--ak-editor-extension-block-spacing` CSS custom property hook that controls the
|
|
9
|
+
vertical margin between editor block elements (paragraphs, lists, panels, code blocks,
|
|
10
|
+
blockquotes, smart cards and extension wrappers).
|
|
11
|
+
|
|
12
|
+
`@atlaskit/editor-common` declares and exports `EXTENSION_BLOCK_SPACING_VAR` from the
|
|
13
|
+
`@atlaskit/editor-common/extensibility` entry point. When the new
|
|
14
|
+
`platform_editor_extension_block_spacing` editor experiment is enabled, the block-margin rules in
|
|
15
|
+
`@atlaskit/editor-core` (both the Compiled and Emotion `EditorContentContainer` paths) and the
|
|
16
|
+
extension wrappers in `editor-common` read from this variable, falling back to their original
|
|
17
|
+
values (e.g. `var(--ak-editor-extension-block-spacing, 0.75rem)`).
|
|
18
|
+
|
|
19
|
+
The change is gated behind the experiment so it can be disabled centrally and its SSR/layout
|
|
20
|
+
performance impact tracked. When the experiment is off — the default for every consumer — the
|
|
21
|
+
original margin values are used and there is no visual change.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
27
|
+
## 120.1.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- [`ec37e1d233675`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec37e1d233675) -
|
|
32
|
+
[EDITOR-5943] Remove flag platform_editor_diff_plugin_extended override for VR tests
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
3
35
|
## 120.1.0
|
|
4
36
|
|
|
5
37
|
### Minor Changes
|
|
@@ -51,7 +51,6 @@ var testBooleanOverrides = exports.testBooleanOverrides = {
|
|
|
51
51
|
platform_editor_find_and_replace_improvements: false,
|
|
52
52
|
platform_editor_reduce_noisy_steps_ncs: false,
|
|
53
53
|
platform_editor_paste_actions_menu: false,
|
|
54
|
-
platform_editor_diff_plugin_extended: false,
|
|
55
54
|
platform_editor_table_fit_to_content_on_demand: false,
|
|
56
55
|
platform_editor_table_fit_to_content_auto_convert: false,
|
|
57
56
|
platform_editor_table_q4_loveability: false,
|
|
@@ -2311,6 +2311,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2311
2311
|
param: 'useCcSmarts',
|
|
2312
2312
|
defaultValue: false
|
|
2313
2313
|
}),
|
|
2314
|
+
// Added 2026-06-24 — HUBS-850 — gates the --ak-editor-extension-block-spacing block-margin hook
|
|
2315
|
+
platform_editor_extension_block_spacing: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2316
|
+
productKeys: {
|
|
2317
|
+
confluence: 'platform_editor_extension_block_spacing',
|
|
2318
|
+
jira: 'platform_editor_extension_block_spacing'
|
|
2319
|
+
},
|
|
2320
|
+
param: 'isEnabled',
|
|
2321
|
+
defaultValue: false
|
|
2322
|
+
}),
|
|
2314
2323
|
// Added 2026-06-19
|
|
2315
2324
|
platform_editor_lovability_resize_dividers_panels: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2316
2325
|
productKeys: {
|
|
@@ -45,7 +45,6 @@ export const testBooleanOverrides = {
|
|
|
45
45
|
platform_editor_find_and_replace_improvements: false,
|
|
46
46
|
platform_editor_reduce_noisy_steps_ncs: false,
|
|
47
47
|
platform_editor_paste_actions_menu: false,
|
|
48
|
-
platform_editor_diff_plugin_extended: false,
|
|
49
48
|
platform_editor_table_fit_to_content_on_demand: false,
|
|
50
49
|
platform_editor_table_fit_to_content_auto_convert: false,
|
|
51
50
|
platform_editor_table_q4_loveability: false,
|
|
@@ -2305,6 +2305,15 @@ export const editorExperimentsConfig = {
|
|
|
2305
2305
|
param: 'useCcSmarts',
|
|
2306
2306
|
defaultValue: false
|
|
2307
2307
|
}),
|
|
2308
|
+
// Added 2026-06-24 — HUBS-850 — gates the --ak-editor-extension-block-spacing block-margin hook
|
|
2309
|
+
platform_editor_extension_block_spacing: createBooleanExperiment({
|
|
2310
|
+
productKeys: {
|
|
2311
|
+
confluence: 'platform_editor_extension_block_spacing',
|
|
2312
|
+
jira: 'platform_editor_extension_block_spacing'
|
|
2313
|
+
},
|
|
2314
|
+
param: 'isEnabled',
|
|
2315
|
+
defaultValue: false
|
|
2316
|
+
}),
|
|
2308
2317
|
// Added 2026-06-19
|
|
2309
2318
|
platform_editor_lovability_resize_dividers_panels: createBooleanExperiment({
|
|
2310
2319
|
productKeys: {
|
|
@@ -45,7 +45,6 @@ export var testBooleanOverrides = {
|
|
|
45
45
|
platform_editor_find_and_replace_improvements: false,
|
|
46
46
|
platform_editor_reduce_noisy_steps_ncs: false,
|
|
47
47
|
platform_editor_paste_actions_menu: false,
|
|
48
|
-
platform_editor_diff_plugin_extended: false,
|
|
49
48
|
platform_editor_table_fit_to_content_on_demand: false,
|
|
50
49
|
platform_editor_table_fit_to_content_auto_convert: false,
|
|
51
50
|
platform_editor_table_q4_loveability: false,
|
|
@@ -2305,6 +2305,15 @@ export var editorExperimentsConfig = {
|
|
|
2305
2305
|
param: 'useCcSmarts',
|
|
2306
2306
|
defaultValue: false
|
|
2307
2307
|
}),
|
|
2308
|
+
// Added 2026-06-24 — HUBS-850 — gates the --ak-editor-extension-block-spacing block-margin hook
|
|
2309
|
+
platform_editor_extension_block_spacing: createBooleanExperiment({
|
|
2310
|
+
productKeys: {
|
|
2311
|
+
confluence: 'platform_editor_extension_block_spacing',
|
|
2312
|
+
jira: 'platform_editor_extension_block_spacing'
|
|
2313
|
+
},
|
|
2314
|
+
param: 'isEnabled',
|
|
2315
|
+
defaultValue: false
|
|
2316
|
+
}),
|
|
2308
2317
|
// Added 2026-06-19
|
|
2309
2318
|
platform_editor_lovability_resize_dividers_panels: createBooleanExperiment({
|
|
2310
2319
|
productKeys: {
|
|
@@ -1683,6 +1683,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1683
1683
|
productKeys?: ProductKeys;
|
|
1684
1684
|
typeGuard: IsBooleanType;
|
|
1685
1685
|
};
|
|
1686
|
+
platform_editor_extension_block_spacing: {
|
|
1687
|
+
defaultValue: boolean;
|
|
1688
|
+
param: string;
|
|
1689
|
+
productKeys?: ProductKeys;
|
|
1690
|
+
typeGuard: IsBooleanType;
|
|
1691
|
+
};
|
|
1686
1692
|
platform_editor_lovability_resize_dividers_panels: {
|
|
1687
1693
|
defaultValue: boolean;
|
|
1688
1694
|
param: string;
|
package/package.json
CHANGED