@atlaskit/editor-shared-styles 3.4.1 → 3.4.3
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/dist/cjs/consts/consts.js +4 -1
- package/dist/cjs/scrollbar-styles.js +0 -1
- package/dist/es2019/consts/consts.js +3 -1
- package/dist/es2019/scrollbar-styles.js +0 -1
- package/dist/esm/consts/consts.js +4 -1
- package/dist/esm/scrollbar-styles.js +0 -1
- package/dist/types/consts/consts.d.ts +1 -1
- package/dist/types-ts4.5/consts/consts.d.ts +1 -1
- package/package.json +4 -4
- package/src/consts/consts.ts +5 -1
- package/src/scrollbar-styles.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 3.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#137211](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137211)
|
|
8
|
+
[`d00cb55d6fa4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d00cb55d6fa4b) -
|
|
9
|
+
[ux] ED27118 Increase pull page editor gutter to allow more space for new floating insert button -
|
|
10
|
+
https://hello.atlassian.net/wiki/spaces/EDITOR/pages/5120694962/Editor+DACI+New+insert+button+and+full-width+screens+2.0
|
|
11
|
+
|
|
12
|
+
## 3.4.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.4.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -65,7 +65,10 @@ var akEditorTableNumberColumnWidth = exports.akEditorTableNumberColumnWidth = 42
|
|
|
65
65
|
var akEditorBreakoutPadding = exports.akEditorBreakoutPadding = 96;
|
|
66
66
|
var akEditorGutterPadding = exports.akEditorGutterPadding = 32;
|
|
67
67
|
var akEditorGutterPaddingDynamic = exports.akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
|
|
68
|
-
return (
|
|
68
|
+
return (
|
|
69
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
70
|
+
(0, _platformFeatureFlags.fg)('platform_editor_controls_increase_full_page_gutter') && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? 72 : 52
|
|
71
|
+
);
|
|
69
72
|
};
|
|
70
73
|
var akEditorMobileBreakoutPoint = exports.akEditorMobileBreakoutPoint = 720;
|
|
71
74
|
var akEditorTableCellMinWidth = exports.akEditorTableCellMinWidth = 48;
|
|
@@ -7,5 +7,4 @@ exports.scrollbarStyles = void 0;
|
|
|
7
7
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
8
|
// Entry file in package.json
|
|
9
9
|
|
|
10
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4494
|
|
11
10
|
var scrollbarStyles = exports.scrollbarStyles = "\n -ms-overflow-style: -ms-autohiding-scrollbar;\n\n &::-webkit-scrollbar {\n overflow: hidden,\n }\n\n &::-webkit-scrollbar-corner {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ".concat("var(--ds-background-neutral-subtle, #00000000)", ";\n }\n\n &:hover::-webkit-scrollbar-thumb {\n background-color: ", "var(--ds-background-neutral-bold, #44546F)", ";\n border-radius: 8px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background-color: ", "var(--ds-background-neutral-bold-hovered, #2C3E5D)", ";\n }\n");
|
|
@@ -54,7 +54,9 @@ export const akEditorFullWidthLayoutLineLength = 1792;
|
|
|
54
54
|
export const akEditorTableNumberColumnWidth = 42;
|
|
55
55
|
export const akEditorBreakoutPadding = 96;
|
|
56
56
|
export const akEditorGutterPadding = 32;
|
|
57
|
-
export const akEditorGutterPaddingDynamic = () =>
|
|
57
|
+
export const akEditorGutterPaddingDynamic = () =>
|
|
58
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
59
|
+
fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') ? 72 : 52;
|
|
58
60
|
export const akEditorMobileBreakoutPoint = 720;
|
|
59
61
|
export const akEditorTableCellMinWidth = 48;
|
|
60
62
|
export const akEditorTableLegacyCellMinWidth = 128;
|
|
@@ -56,7 +56,10 @@ export var akEditorTableNumberColumnWidth = 42;
|
|
|
56
56
|
export var akEditorBreakoutPadding = 96;
|
|
57
57
|
export var akEditorGutterPadding = 32;
|
|
58
58
|
export var akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
|
|
59
|
-
return
|
|
59
|
+
return (
|
|
60
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
61
|
+
fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') ? 72 : 52
|
|
62
|
+
);
|
|
60
63
|
};
|
|
61
64
|
export var akEditorMobileBreakoutPoint = 720;
|
|
62
65
|
export var akEditorTableCellMinWidth = 48;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
2
2
|
// Entry file in package.json
|
|
3
3
|
|
|
4
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4494
|
|
5
4
|
export var scrollbarStyles = "\n -ms-overflow-style: -ms-autohiding-scrollbar;\n\n &::-webkit-scrollbar {\n overflow: hidden,\n }\n\n &::-webkit-scrollbar-corner {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ".concat("var(--ds-background-neutral-subtle, #00000000)", ";\n }\n\n &:hover::-webkit-scrollbar-thumb {\n background-color: ", "var(--ds-background-neutral-bold, #44546F)", ";\n border-radius: 8px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background-color: ", "var(--ds-background-neutral-bold-hovered, #2C3E5D)", ";\n }\n");
|
|
@@ -44,7 +44,7 @@ export declare const akEditorFullWidthLayoutLineLength = 1792;
|
|
|
44
44
|
export declare const akEditorTableNumberColumnWidth = 42;
|
|
45
45
|
export declare const akEditorBreakoutPadding = 96;
|
|
46
46
|
export declare const akEditorGutterPadding = 32;
|
|
47
|
-
export declare const akEditorGutterPaddingDynamic: () =>
|
|
47
|
+
export declare const akEditorGutterPaddingDynamic: () => 72 | 52;
|
|
48
48
|
export declare const akEditorMobileBreakoutPoint = 720;
|
|
49
49
|
export declare const akEditorTableCellMinWidth = 48;
|
|
50
50
|
export declare const akEditorTableLegacyCellMinWidth = 128;
|
|
@@ -44,7 +44,7 @@ export declare const akEditorFullWidthLayoutLineLength = 1792;
|
|
|
44
44
|
export declare const akEditorTableNumberColumnWidth = 42;
|
|
45
45
|
export declare const akEditorBreakoutPadding = 96;
|
|
46
46
|
export declare const akEditorGutterPadding = 32;
|
|
47
|
-
export declare const akEditorGutterPaddingDynamic: () =>
|
|
47
|
+
export declare const akEditorGutterPaddingDynamic: () => 72 | 52;
|
|
48
48
|
export declare const akEditorMobileBreakoutPoint = 720;
|
|
49
49
|
export declare const akEditorTableCellMinWidth = 48;
|
|
50
50
|
export declare const akEditorTableLegacyCellMinWidth = 128;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-shared-styles",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"description": "Style values used in the editor/renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"team": "Editor: Lego"
|
|
29
29
|
},
|
|
30
30
|
"platform-feature-flags": {
|
|
31
|
-
"
|
|
31
|
+
"platform_editor_controls_increase_full_page_gutter": {
|
|
32
32
|
"type": "boolean"
|
|
33
33
|
},
|
|
34
34
|
"live_pages_content_jump_mitigation": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
-
"@atlaskit/tokens": "^4.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^4.6.0",
|
|
48
|
+
"@atlaskit/tokens": "^4.7.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
package/src/consts/consts.ts
CHANGED
|
@@ -64,7 +64,11 @@ export const akEditorTableNumberColumnWidth = 42;
|
|
|
64
64
|
export const akEditorBreakoutPadding = 96;
|
|
65
65
|
export const akEditorGutterPadding = 32;
|
|
66
66
|
export const akEditorGutterPaddingDynamic = () =>
|
|
67
|
-
|
|
67
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
68
|
+
fg('platform_editor_controls_increase_full_page_gutter') &&
|
|
69
|
+
editorExperiment('platform_editor_controls', 'variant1')
|
|
70
|
+
? 72
|
|
71
|
+
: 52;
|
|
68
72
|
export const akEditorMobileBreakoutPoint = 720;
|
|
69
73
|
export const akEditorTableCellMinWidth = 48;
|
|
70
74
|
export const akEditorTableLegacyCellMinWidth = 128;
|