@atlaskit/editor-core 193.1.0 → 193.1.2

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,19 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805) [`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) - [ux] update border with from 2px to 1px with darker color to meet 3:1 color contrast for accessibility improvement
8
+ - Updated dependencies
9
+
10
+ ## 193.1.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [#79509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79509) [`111e580bb58a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/111e580bb58a) - update preserve table width changes to only appear on full width pages
15
+ - Updated dependencies
16
+
3
17
  ## 193.1.0
4
18
 
5
19
  ### Minor Changes
@@ -128,6 +128,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
128
128
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
129
129
  tableResizingEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
130
130
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
131
+ isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
131
132
  breakoutEnabled: appearance === 'full-page',
132
133
  allowContextualMenu: !isMobile,
133
134
  fullWidthEnabled: appearance === 'full-width',
@@ -51,7 +51,7 @@ var commentEditorStyle = (0, _react2.css)({
51
51
  minWidth: '272px',
52
52
  height: 'auto',
53
53
  backgroundColor: "var(--ds-background-input, white)",
54
- border: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40, ")")),
54
+ border: "1px solid ".concat("var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")")),
55
55
  boxSizing: 'border-box',
56
56
  borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
57
57
  maxWidth: 'inherit',
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "193.1.0";
8
+ var version = exports.version = "193.1.2";
@@ -117,6 +117,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
117
117
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
118
118
  tableResizingEnabled: getBooleanFF('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
119
119
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
120
+ isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
120
121
  breakoutEnabled: appearance === 'full-page',
121
122
  allowContextualMenu: !isMobile,
122
123
  fullWidthEnabled: appearance === 'full-width',
@@ -13,7 +13,7 @@ import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-me
13
13
  import { tableCommentEditorStyles } from '@atlaskit/editor-plugins/table/ui/common-styles';
14
14
  import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
15
15
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
16
- import { N40 } from '@atlaskit/theme/colors';
16
+ import { N100, N40 } from '@atlaskit/theme/colors';
17
17
  import { borderRadius } from '@atlaskit/theme/constants';
18
18
  import messages from '../../../messages';
19
19
  import { usePresetContext } from '../../../presets/context';
@@ -33,7 +33,7 @@ const commentEditorStyle = css({
33
33
  minWidth: '272px',
34
34
  height: 'auto',
35
35
  backgroundColor: "var(--ds-background-input, white)",
36
- border: `1px solid ${`var(--ds-border, ${N40})`}`,
36
+ border: `1px solid ${`var(--ds-border-input, ${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40})`}`,
37
37
  boxSizing: 'border-box',
38
38
  borderRadius: `${borderRadius()}px`,
39
39
  maxWidth: 'inherit',
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.1.0";
2
+ export const version = "193.1.2";
@@ -120,6 +120,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
120
120
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
121
121
  tableResizingEnabled: getBooleanFF('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
122
122
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
123
+ isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
123
124
  breakoutEnabled: appearance === 'full-page',
124
125
  allowContextualMenu: !isMobile,
125
126
  fullWidthEnabled: appearance === 'full-width',
@@ -22,7 +22,7 @@ import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-me
22
22
  import { tableCommentEditorStyles } from '@atlaskit/editor-plugins/table/ui/common-styles';
23
23
  import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
24
24
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
25
- import { N40 } from '@atlaskit/theme/colors';
25
+ import { N100, N40 } from '@atlaskit/theme/colors';
26
26
  import { borderRadius } from '@atlaskit/theme/constants';
27
27
  import messages from '../../../messages';
28
28
  import { usePresetContext } from '../../../presets/context';
@@ -42,7 +42,7 @@ var commentEditorStyle = css({
42
42
  minWidth: '272px',
43
43
  height: 'auto',
44
44
  backgroundColor: "var(--ds-background-input, white)",
45
- border: "1px solid ".concat("var(--ds-border, ".concat(N40, ")")),
45
+ border: "1px solid ".concat("var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40, ")")),
46
46
  boxSizing: 'border-box',
47
47
  borderRadius: "".concat(borderRadius(), "px"),
48
48
  maxWidth: 'inherit',
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.1.0";
2
+ export var version = "193.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.1.0",
3
+ "version": "193.1.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/spinner": "^16.0.0",
59
59
  "@atlaskit/task-decision": "^17.9.0",
60
60
  "@atlaskit/theme": "^12.6.0",
61
- "@atlaskit/tokens": "^1.39.0",
61
+ "@atlaskit/tokens": "^1.41.0",
62
62
  "@atlaskit/tooltip": "^18.1.0",
63
63
  "@atlaskit/ufo": "^0.2.0",
64
64
  "@atlaskit/width-detector": "^4.1.0",
@@ -86,9 +86,9 @@
86
86
  "@af/visual-regression": "*",
87
87
  "@atlaskit/adf-utils": "^19.0.0",
88
88
  "@atlaskit/analytics-listeners": "^8.9.1",
89
- "@atlaskit/checkbox": "^13.0.0",
89
+ "@atlaskit/checkbox": "^13.1.0",
90
90
  "@atlaskit/collab-provider": "9.25.7",
91
- "@atlaskit/dropdown-menu": "^12.7.0",
91
+ "@atlaskit/dropdown-menu": "^12.8.0",
92
92
  "@atlaskit/editor-plugin-annotation": "1.2.2",
93
93
  "@atlaskit/editor-plugin-card": "^1.1.0",
94
94
  "@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
@@ -105,7 +105,7 @@
105
105
  "@atlaskit/modal-dialog": "^12.10.0",
106
106
  "@atlaskit/primitives": "^4.0.0",
107
107
  "@atlaskit/renderer": "^109.7.0",
108
- "@atlaskit/select": "^17.2.0",
108
+ "@atlaskit/select": "^17.3.0",
109
109
  "@atlaskit/smart-card": "^26.49.0",
110
110
  "@atlaskit/synchrony-test-helpers": "^2.3.0",
111
111
  "@atlaskit/util-data-test": "^17.9.0",
@@ -114,7 +114,7 @@
114
114
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
115
115
  "@atlassian/feature-flags-test-utils": "^0.2.0",
116
116
  "@atlassian/link-picker-plugins": "^24.0.0",
117
- "@atlassian/search-provider": "2.4.31",
117
+ "@atlassian/search-provider": "2.4.32",
118
118
  "@atlassian/ufo": "^0.2.0",
119
119
  "@emotion/jest": "^11.8.0",
120
120
  "@storybook/addon-knobs": "^5.3.18",
@@ -187,17 +187,12 @@
187
187
  "referenceOnly": "true"
188
188
  },
189
189
  "platform.design-system-team.border-checkbox_nyoiu": {
190
- "type": "boolean",
191
- "referenceOnly": "true"
190
+ "type": "boolean"
192
191
  },
193
192
  "platform.design-system-team.editor-new-button_jjjdo": {
194
193
  "type": "boolean",
195
194
  "referenceOnly": "true"
196
195
  },
197
- "platform.design-system-team.update-border-radio-checkbox_7askv": {
198
- "type": "boolean",
199
- "referenceOnly": "true"
200
- },
201
196
  "platform.media-experience.cardv2_7zann": {
202
197
  "type": "boolean",
203
198
  "referenceOnly": "true"