@atlaskit/editor-core 216.7.11 → 216.7.12

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,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 216.7.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e2542bcabe129`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2542bcabe129) -
8
+ [ux] EDITOR-4753 fix sync block label styles and border styles when it is in error state
9
+ - Updated dependencies
10
+
3
11
  ## 216.7.11
4
12
 
5
13
  ### Patch Changes
@@ -78,17 +78,9 @@ var syncBlockStyles = exports.syncBlockStyles = (0, _react.css)((0, _definePrope
78
78
  '&::before': {
79
79
  border: 'none'
80
80
  }
81
- })), ":has(.".concat(_syncBlock.SyncBlockSharedCssClassName.error, ")"), (0, _defineProperty2.default)({
82
- backgroundColor: "var(--ds-background-disabled, #17171708)",
83
- boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)")
84
- }, ".".concat(_syncBlock.SyncBlockLabelSharedCssClassName.labelClassName), {
85
- opacity: 1,
86
- visibility: 'visible',
87
- backgroundColor: "var(--ds-surface, #FFFFFF)",
88
- '&::before': {
89
- border: 'none'
90
- }
91
- })), ":has(.".concat(_syncBlock.SyncBlockSharedCssClassName.loading, ")"), (0, _defineProperty2.default)({
81
+ })), ":has(.".concat(_syncBlock.SyncBlockSharedCssClassName.error, ")"), {
82
+ backgroundColor: "var(--ds-background-disabled, #17171708)"
83
+ }), ":has(.".concat(_syncBlock.SyncBlockSharedCssClassName.loading, ")"), (0, _defineProperty2.default)({
92
84
  boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)")
93
85
  }, ".".concat(_syncBlock.SyncBlockLabelSharedCssClassName.labelClassName), {
94
86
  opacity: 0,
@@ -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 = "216.7.10";
8
+ var version = exports.version = "216.7.11";
@@ -94,20 +94,10 @@ export const syncBlockStyles = css({
94
94
  }
95
95
  },
96
96
  /* Error state */
97
- /* In error state sync block should not have hover styles or show the label */
97
+ /* In error state sync block should have disabled background colour */
98
98
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
99
99
  [`:has(.${SyncBlockSharedCssClassName.error})`]: {
100
- backgroundColor: "var(--ds-background-disabled, #17171708)",
101
- boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
102
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
103
- [`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
104
- opacity: 1,
105
- visibility: 'visible',
106
- backgroundColor: "var(--ds-surface, #FFFFFF)",
107
- '&::before': {
108
- border: 'none'
109
- }
110
- }
100
+ backgroundColor: "var(--ds-background-disabled, #17171708)"
111
101
  },
112
102
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
113
103
  [`:has(.${SyncBlockSharedCssClassName.loading})`]: {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "216.7.10";
2
+ export const version = "216.7.11";
@@ -70,17 +70,9 @@ export var syncBlockStyles = css(_defineProperty({
70
70
  '&::before': {
71
71
  border: 'none'
72
72
  }
73
- })), ":has(.".concat(SyncBlockSharedCssClassName.error, ")"), _defineProperty({
74
- backgroundColor: "var(--ds-background-disabled, #17171708)",
75
- boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)")
76
- }, ".".concat(SyncBlockLabelSharedCssClassName.labelClassName), {
77
- opacity: 1,
78
- visibility: 'visible',
79
- backgroundColor: "var(--ds-surface, #FFFFFF)",
80
- '&::before': {
81
- border: 'none'
82
- }
83
- })), ":has(.".concat(SyncBlockSharedCssClassName.loading, ")"), _defineProperty({
73
+ })), ":has(.".concat(SyncBlockSharedCssClassName.error, ")"), {
74
+ backgroundColor: "var(--ds-background-disabled, #17171708)"
75
+ }), ":has(.".concat(SyncBlockSharedCssClassName.loading, ")"), _defineProperty({
84
76
  boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)")
85
77
  }, ".".concat(SyncBlockLabelSharedCssClassName.labelClassName), {
86
78
  opacity: 0,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "216.7.10";
2
+ export var version = "216.7.11";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "216.7.11",
3
+ "version": "216.7.12",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
67
67
  "@atlaskit/react-ufo": "^5.0.0",
68
68
  "@atlaskit/task-decision": "^19.2.0",
69
- "@atlaskit/tmp-editor-statsig": "^16.35.0",
69
+ "@atlaskit/tmp-editor-statsig": "^16.36.0",
70
70
  "@atlaskit/tokens": "^10.1.0",
71
71
  "@atlaskit/tooltip": "^20.14.0",
72
72
  "@atlaskit/width-detector": "^5.0.0",
@@ -96,7 +96,7 @@
96
96
  "@af/visual-regression": "workspace:^",
97
97
  "@atlaskit/adf-utils": "^19.27.0",
98
98
  "@atlaskit/analytics-listeners": "^9.3.0",
99
- "@atlaskit/collab-provider": "^15.0.0",
99
+ "@atlaskit/collab-provider": "^15.1.0",
100
100
  "@atlaskit/editor-plugin-annotation": "^7.1.0",
101
101
  "@atlaskit/editor-plugin-card": "^12.1.0",
102
102
  "@atlaskit/editor-plugin-list": "^9.0.0",