@atlaskit/editor-plugin-help-dialog 8.0.14 → 8.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,19 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 8.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.15
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
14
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
15
+ - Updated dependencies
16
+
3
17
  ## 8.0.14
4
18
 
5
19
  ### Patch Changes
@@ -26,7 +26,7 @@ var toolbarFocusStyles = (0, _react.css)({
26
26
  // Hence we manually force it
27
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
28
28
  'button:focus:not(:focus-visible)': {
29
- outline: "2px solid ".concat("var(--ds-border-focused, #4688EC)"),
29
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
30
30
  outlineOffset: "var(--ds-space-025, 2px)"
31
31
  }
32
32
  });
@@ -1,20 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _typeof = require("@babel/runtime/helpers/typeof");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.toolbarButton = exports.shortcutsArray = exports.row = exports.line = exports.header = exports.footer = exports.dialogHeader = exports.contentWrapper = exports.content = exports.componentFromKeymapWrapperStyles = exports.column = void 0;
8
7
  var _react = require("@emotion/react");
9
8
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
10
- var _colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
11
- var colors = _colors;
12
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
10
 
15
- // Ignored via go/ees005
16
- // eslint-disable-next-line import/no-namespace
17
-
18
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
19
12
  var header = exports.header = (0, _react.css)({
20
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -27,9 +20,9 @@ var header = exports.header = (0, _react.css)({
27
20
  boxShadow: "'none'",
28
21
  font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
29
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
30
- color: "var(--ds-text, ".concat(colors.N400, ")"),
23
+ color: "var(--ds-text, #292A2E)",
31
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
32
- backgroundColor: "var(--ds-background-neutral-subtle, ".concat(colors.N0, ")"),
25
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
33
26
  borderRadius: "var(--ds-radius-small, 3px)"
34
27
  });
35
28
 
@@ -51,14 +44,14 @@ var contentWrapper = exports.contentWrapper = (0, _react.css)({
51
44
  overflow: 'auto',
52
45
  position: 'relative',
53
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
54
- color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
47
+ color: "var(--ds-text-subtle, #505258)",
55
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
56
- backgroundColor: "var(--ds-background-neutral-subtle, ".concat(colors.N0, ")")
49
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)"
57
50
  });
58
51
 
59
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
60
53
  var line = exports.line = (0, _react.css)({
61
- background: "var(--ds-background-neutral-subtle, #fff)",
54
+ background: "var(--ds-background-neutral-subtle, #00000000)",
62
55
  content: "''",
63
56
  display: 'block',
64
57
  height: "var(--ds-space-025, 2px)",
@@ -95,7 +88,7 @@ var dialogHeader = exports.dialogHeader = {
95
88
  '&': {
96
89
  fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(24),
97
90
  fontWeight: "var(--ds-font-weight-regular, 400)",
98
- color: "var(--ds-text-subtle, ".concat(_colors.N400, ")"),
91
+ color: "var(--ds-text-subtle, #505258)",
99
92
  letterSpacing: 'normal',
100
93
  lineHeight: 1.42857142857143
101
94
  }
@@ -118,7 +111,7 @@ var componentFromKeymapWrapperStyles = exports.componentFromKeymapWrapperStyles
118
111
  var toolbarButton = exports.toolbarButton = (0, _react.css)({
119
112
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
120
113
  '&:focus:not(:focus-visible)': {
121
- outline: "2px solid ".concat("var(--ds-border-focused, ".concat(_colors.B300, ")")),
114
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
122
115
  outlineOffset: "var(--ds-space-025, 2px)"
123
116
  }
124
117
  });
@@ -18,7 +18,7 @@ const toolbarFocusStyles = css({
18
18
  // Hence we manually force it
19
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
20
20
  'button:focus:not(:focus-visible)': {
21
- outline: `2px solid ${"var(--ds-border-focused, #4688EC)"}`,
21
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
22
22
  outlineOffset: "var(--ds-space-025, 2px)"
23
23
  }
24
24
  });
@@ -1,10 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
4
- // Ignored via go/ees005
5
- // eslint-disable-next-line import/no-namespace
6
- import * as colors from '@atlaskit/theme/colors';
7
- import { B300, N400 } from '@atlaskit/theme/colors';
8
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
9
5
  export const header = css({
10
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -17,9 +13,9 @@ export const header = css({
17
13
  boxShadow: "'none'",
18
14
  font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
19
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
20
- color: `var(--ds-text, ${colors.N400})`,
16
+ color: "var(--ds-text, #292A2E)",
21
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
22
- backgroundColor: `var(--ds-background-neutral-subtle, ${colors.N0})`,
18
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
23
19
  borderRadius: "var(--ds-radius-small, 3px)"
24
20
  });
25
21
 
@@ -41,14 +37,14 @@ export const contentWrapper = css({
41
37
  overflow: 'auto',
42
38
  position: 'relative',
43
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
44
- color: `var(--ds-text-subtle, ${colors.N400})`,
40
+ color: "var(--ds-text-subtle, #505258)",
45
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
- backgroundColor: `var(--ds-background-neutral-subtle, ${colors.N0})`
42
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)"
47
43
  });
48
44
 
49
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
50
46
  export const line = css({
51
- background: "var(--ds-background-neutral-subtle, #fff)",
47
+ background: "var(--ds-background-neutral-subtle, #00000000)",
52
48
  content: "''",
53
49
  display: 'block',
54
50
  height: "var(--ds-space-025, 2px)",
@@ -85,7 +81,7 @@ export const dialogHeader = {
85
81
  '&': {
86
82
  fontSize: relativeFontSizeToBase16(24),
87
83
  fontWeight: "var(--ds-font-weight-regular, 400)",
88
- color: `var(--ds-text-subtle, ${N400})`,
84
+ color: "var(--ds-text-subtle, #505258)",
89
85
  letterSpacing: 'normal',
90
86
  lineHeight: 1.42857142857143
91
87
  }
@@ -108,7 +104,7 @@ export const componentFromKeymapWrapperStyles = css({
108
104
  export const toolbarButton = css({
109
105
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
110
106
  '&:focus:not(:focus-visible)': {
111
- outline: `2px solid ${`var(--ds-border-focused, ${B300})`}`,
107
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
112
108
  outlineOffset: "var(--ds-space-025, 2px)"
113
109
  }
114
110
  });
@@ -18,7 +18,7 @@ var toolbarFocusStyles = css({
18
18
  // Hence we manually force it
19
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
20
20
  'button:focus:not(:focus-visible)': {
21
- outline: "2px solid ".concat("var(--ds-border-focused, #4688EC)"),
21
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
22
22
  outlineOffset: "var(--ds-space-025, 2px)"
23
23
  }
24
24
  });
@@ -1,10 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
4
- // Ignored via go/ees005
5
- // eslint-disable-next-line import/no-namespace
6
- import * as colors from '@atlaskit/theme/colors';
7
- import { B300, N400 } from '@atlaskit/theme/colors';
8
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
9
5
  export var header = css({
10
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -17,9 +13,9 @@ export var header = css({
17
13
  boxShadow: "'none'",
18
14
  font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
19
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
20
- color: "var(--ds-text, ".concat(colors.N400, ")"),
16
+ color: "var(--ds-text, #292A2E)",
21
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
22
- backgroundColor: "var(--ds-background-neutral-subtle, ".concat(colors.N0, ")"),
18
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
23
19
  borderRadius: "var(--ds-radius-small, 3px)"
24
20
  });
25
21
 
@@ -41,14 +37,14 @@ export var contentWrapper = css({
41
37
  overflow: 'auto',
42
38
  position: 'relative',
43
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
44
- color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
40
+ color: "var(--ds-text-subtle, #505258)",
45
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
- backgroundColor: "var(--ds-background-neutral-subtle, ".concat(colors.N0, ")")
42
+ backgroundColor: "var(--ds-background-neutral-subtle, #00000000)"
47
43
  });
48
44
 
49
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
50
46
  export var line = css({
51
- background: "var(--ds-background-neutral-subtle, #fff)",
47
+ background: "var(--ds-background-neutral-subtle, #00000000)",
52
48
  content: "''",
53
49
  display: 'block',
54
50
  height: "var(--ds-space-025, 2px)",
@@ -85,7 +81,7 @@ export var dialogHeader = {
85
81
  '&': {
86
82
  fontSize: relativeFontSizeToBase16(24),
87
83
  fontWeight: "var(--ds-font-weight-regular, 400)",
88
- color: "var(--ds-text-subtle, ".concat(N400, ")"),
84
+ color: "var(--ds-text-subtle, #505258)",
89
85
  letterSpacing: 'normal',
90
86
  lineHeight: 1.42857142857143
91
87
  }
@@ -108,7 +104,7 @@ export var componentFromKeymapWrapperStyles = css({
108
104
  export var toolbarButton = css({
109
105
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
110
106
  '&:focus:not(:focus-visible)': {
111
- outline: "2px solid ".concat("var(--ds-border-focused, ".concat(B300, ")")),
107
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
112
108
  outlineOffset: "var(--ds-space-025, 2px)"
113
109
  }
114
110
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "8.0.14",
3
+ "version": "8.0.16",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,13 +34,12 @@
34
34
  "@atlaskit/editor-prosemirror": "^7.3.0",
35
35
  "@atlaskit/editor-shared-styles": "^3.10.0",
36
36
  "@atlaskit/heading": "^5.3.0",
37
- "@atlaskit/icon": "^33.0.0",
37
+ "@atlaskit/icon": "^33.1.0",
38
38
  "@atlaskit/modal-dialog": "^14.12.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^18.1.0",
41
- "@atlaskit/theme": "^22.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^46.0.0",
43
- "@atlaskit/tokens": "^11.2.0",
41
+ "@atlaskit/tmp-editor-statsig": "^47.0.0",
42
+ "@atlaskit/tokens": "^11.3.0",
44
43
  "@atlaskit/tooltip": "^21.0.0",
45
44
  "@babel/runtime": "^7.0.0",
46
45
  "@emotion/react": "^11.7.1",
@@ -51,7 +50,7 @@
51
50
  "@testing-library/react": "^16.3.0"
52
51
  },
53
52
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^112.9.0",
53
+ "@atlaskit/editor-common": "^112.10.0",
55
54
  "react": "^18.2.0"
56
55
  },
57
56
  "techstack": {