@atlaskit/editor-plugin-help-dialog 7.1.0 → 7.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 +14 -0
- package/dist/cjs/ui/ModalFooter.js +1 -2
- package/dist/cjs/ui/styles.js +3 -15
- package/dist/es2019/ui/ModalFooter.js +2 -3
- package/dist/es2019/ui/styles.js +2 -14
- package/dist/esm/ui/ModalFooter.js +2 -3
- package/dist/esm/ui/styles.js +2 -14
- package/dist/types/ui/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/styles.d.ts +0 -1
- package/package.json +8 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 7.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`18a2414ac34f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18a2414ac34f8) -
|
|
8
|
+
Clean up fg platform_editor_fix_help_dialog_color_contrast
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.1.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 7.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -10,7 +10,6 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
13
|
var _styles = require("./styles");
|
|
15
14
|
var _utils = require("./utils");
|
|
16
15
|
/**
|
|
@@ -23,7 +22,7 @@ var ModalFooter = function ModalFooter() {
|
|
|
23
22
|
return (
|
|
24
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
25
24
|
(0, _react.jsx)("div", {
|
|
26
|
-
css:
|
|
25
|
+
css: _styles.footer
|
|
27
26
|
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage
|
|
28
27
|
// Ignored via go/ees005
|
|
29
28
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -4,7 +4,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.toolbarButton = exports.shortcutsArray = exports.row = exports.line = exports.header = exports.
|
|
7
|
+
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
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
10
10
|
var _colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
@@ -25,7 +25,7 @@ var header = exports.header = (0, _react.css)({
|
|
|
25
25
|
justifyContent: 'space-between',
|
|
26
26
|
alignItems: 'center',
|
|
27
27
|
boxShadow: "'none'",
|
|
28
|
-
font: "var(--ds-font-heading-large, normal
|
|
28
|
+
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
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
30
30
|
color: "var(--ds-text, ".concat(colors.N400, ")"),
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -35,22 +35,10 @@ var header = exports.header = (0, _react.css)({
|
|
|
35
35
|
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
37
|
var footer = exports.footer = (0, _react.css)({
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
|
-
zIndex: _editorSharedStyles.akEditorUnitZIndex,
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
41
|
-
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
42
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
43
|
-
padding: "var(--ds-space-300, 24px)",
|
|
44
|
-
textAlign: 'right',
|
|
45
|
-
boxShadow: "'none'"
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
49
|
-
var footerNew = exports.footerNew = (0, _react.css)({
|
|
50
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
51
39
|
zIndex: _editorSharedStyles.akEditorUnitZIndex,
|
|
52
40
|
color: "var(--ds-text-subtle, #505258)",
|
|
53
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
41
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
54
42
|
padding: "var(--ds-space-300, 24px)",
|
|
55
43
|
textAlign: 'right',
|
|
56
44
|
boxShadow: "'none'"
|
|
@@ -8,13 +8,12 @@ import { jsx } from '@emotion/react';
|
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
|
-
import {
|
|
12
|
-
import { footer, footerNew } from './styles';
|
|
11
|
+
import { footer } from './styles';
|
|
13
12
|
import { getComponentFromKeymap } from './utils';
|
|
14
13
|
const ModalFooter = () =>
|
|
15
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
16
15
|
jsx("div", {
|
|
17
|
-
css:
|
|
16
|
+
css: footer
|
|
18
17
|
}, jsx(FormattedMessage
|
|
19
18
|
// Ignored via go/ees005
|
|
20
19
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -15,7 +15,7 @@ export const header = css({
|
|
|
15
15
|
justifyContent: 'space-between',
|
|
16
16
|
alignItems: 'center',
|
|
17
17
|
boxShadow: "'none'",
|
|
18
|
-
font: "var(--ds-font-heading-large, normal
|
|
18
|
+
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
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
20
20
|
color: `var(--ds-text, ${colors.N400})`,
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -25,22 +25,10 @@ export const header = css({
|
|
|
25
25
|
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
27
|
export const footer = css({
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
|
-
zIndex: akEditorUnitZIndex,
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
31
|
-
color: `var(--ds-text-subtlest, ${colors.N300})`,
|
|
32
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
33
|
-
padding: "var(--ds-space-300, 24px)",
|
|
34
|
-
textAlign: 'right',
|
|
35
|
-
boxShadow: "'none'"
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
|
-
export const footerNew = css({
|
|
40
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
29
|
zIndex: akEditorUnitZIndex,
|
|
42
30
|
color: "var(--ds-text-subtle, #505258)",
|
|
43
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
31
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
44
32
|
padding: "var(--ds-space-300, 24px)",
|
|
45
33
|
textAlign: 'right',
|
|
46
34
|
boxShadow: "'none'"
|
|
@@ -8,14 +8,13 @@ import { jsx } from '@emotion/react';
|
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
|
-
import {
|
|
12
|
-
import { footer, footerNew } from './styles';
|
|
11
|
+
import { footer } from './styles';
|
|
13
12
|
import { getComponentFromKeymap } from './utils';
|
|
14
13
|
var ModalFooter = function ModalFooter() {
|
|
15
14
|
return (
|
|
16
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
17
16
|
jsx("div", {
|
|
18
|
-
css:
|
|
17
|
+
css: footer
|
|
19
18
|
}, jsx(FormattedMessage
|
|
20
19
|
// Ignored via go/ees005
|
|
21
20
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -15,7 +15,7 @@ export var header = css({
|
|
|
15
15
|
justifyContent: 'space-between',
|
|
16
16
|
alignItems: 'center',
|
|
17
17
|
boxShadow: "'none'",
|
|
18
|
-
font: "var(--ds-font-heading-large, normal
|
|
18
|
+
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
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
20
20
|
color: "var(--ds-text, ".concat(colors.N400, ")"),
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -25,22 +25,10 @@ export var header = css({
|
|
|
25
25
|
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
27
|
export var footer = css({
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
|
-
zIndex: akEditorUnitZIndex,
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
31
|
-
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
32
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
33
|
-
padding: "var(--ds-space-300, 24px)",
|
|
34
|
-
textAlign: 'right',
|
|
35
|
-
boxShadow: "'none'"
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
|
-
export var footerNew = css({
|
|
40
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
29
|
zIndex: akEditorUnitZIndex,
|
|
42
30
|
color: "var(--ds-text-subtle, #505258)",
|
|
43
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
31
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
44
32
|
padding: "var(--ds-space-300, 24px)",
|
|
45
33
|
textAlign: 'right',
|
|
46
34
|
boxShadow: "'none'"
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const header: SerializedStyles;
|
|
3
3
|
export declare const footer: SerializedStyles;
|
|
4
|
-
export declare const footerNew: SerializedStyles;
|
|
5
4
|
export declare const contentWrapper: SerializedStyles;
|
|
6
5
|
export declare const line: SerializedStyles;
|
|
7
6
|
export declare const content: SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const header: SerializedStyles;
|
|
3
3
|
export declare const footer: SerializedStyles;
|
|
4
|
-
export declare const footerNew: SerializedStyles;
|
|
5
4
|
export declare const contentWrapper: SerializedStyles;
|
|
6
5
|
export declare const line: SerializedStyles;
|
|
7
6
|
export declare const content: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
33
|
-
"@atlaskit/editor-plugin-quick-insert": "^7.
|
|
33
|
+
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
35
35
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
37
|
"@atlaskit/icon": "^29.4.0",
|
|
38
|
-
"@atlaskit/modal-dialog": "^14.
|
|
38
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/primitives": "^17.
|
|
40
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
44
|
-
"@atlaskit/tooltip": "^20.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^16.28.0",
|
|
43
|
+
"@atlaskit/tokens": "^10.1.0",
|
|
44
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@testing-library/react": "^16.3.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^111.
|
|
54
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
55
55
|
"react": "^18.2.0"
|
|
56
56
|
},
|
|
57
57
|
"techstack": {
|
|
@@ -86,10 +86,5 @@
|
|
|
86
86
|
"emotion"
|
|
87
87
|
]
|
|
88
88
|
}
|
|
89
|
-
},
|
|
90
|
-
"platform-feature-flags": {
|
|
91
|
-
"platform_editor_fix_help_dialog_color_contrast": {
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
}
|
|
94
89
|
}
|
|
95
90
|
}
|