@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 +14 -0
- package/dist/cjs/ui/ModalHeader.js +1 -1
- package/dist/cjs/ui/styles.js +7 -14
- package/dist/es2019/ui/ModalHeader.js +1 -1
- package/dist/es2019/ui/styles.js +7 -11
- package/dist/esm/ui/ModalHeader.js +1 -1
- package/dist/esm/ui/styles.js +7 -11
- package/package.json +5 -6
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
|
|
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
|
});
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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, #
|
|
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,
|
|
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: "
|
|
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:
|
|
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
|
});
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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, #
|
|
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:
|
|
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:
|
|
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
|
|
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
|
});
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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, #
|
|
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,
|
|
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: "
|
|
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.
|
|
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.
|
|
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/
|
|
42
|
-
"@atlaskit/
|
|
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.
|
|
53
|
+
"@atlaskit/editor-common": "^112.10.0",
|
|
55
54
|
"react": "^18.2.0"
|
|
56
55
|
},
|
|
57
56
|
"techstack": {
|