@atlaskit/editor-common 114.18.0 → 114.18.1
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 +7 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +2 -2
- package/dist/cjs/keymaps/index.js +2 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +2 -2
- package/dist/es2019/keymaps/index.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +2 -2
- package/dist/esm/keymaps/index.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/keymaps/index.d.ts +1 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`88644f98cd51f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88644f98cd51f) -
|
|
8
|
+
Minor UI changes - button color and label changes
|
|
9
|
+
|
|
3
10
|
## 114.18.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -133,12 +133,12 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
133
133
|
},
|
|
134
134
|
cardSourcesHideButtonLabel: {
|
|
135
135
|
id: 'fabric.editor.ai.suggestions.card.sourcesHideButtonLabel.non-final',
|
|
136
|
-
defaultMessage: 'Hide
|
|
136
|
+
defaultMessage: 'Hide reasoning',
|
|
137
137
|
description: 'Label for the sources toggle button when sources are expanded'
|
|
138
138
|
},
|
|
139
139
|
cardSourcesShowButtonLabel: {
|
|
140
140
|
id: 'fabric.editor.ai.suggestions.card.sourcesShowButtonLabel.non-final',
|
|
141
|
-
defaultMessage: 'Show
|
|
141
|
+
defaultMessage: 'Show reasoning',
|
|
142
142
|
description: 'Label for the sources toggle button when sources are collapsed'
|
|
143
143
|
},
|
|
144
144
|
cardAcceptButtonLabel: {
|
|
@@ -103,7 +103,7 @@ exports.makeKeyMapArrayWithCommon = makeKeyMapArrayWithCommon;
|
|
|
103
103
|
exports.makeKeyMapWithCommon = makeKeyMapWithCommon;
|
|
104
104
|
exports.makeKeymap = makeKeymap;
|
|
105
105
|
exports.selectColumn = exports.redoAlt = exports.redo = exports.previousCell = exports.pastePlainText = exports.paste = exports.outdentList = exports.outdent = exports.openHelp = exports.nextCell = exports.navToFloatingToolbar = exports.navToEditorToolbar = exports.moveUp = exports.moveRowUpOld = exports.moveRowUp = exports.moveRowDownOld = exports.moveRowDown = exports.moveRight = exports.moveLeft = exports.moveDown = exports.moveColumnRightOld = exports.moveColumnRight = exports.moveColumnLeftOld = exports.moveColumnLeft = void 0;
|
|
106
|
-
exports.toggleViewChanges = exports.toggleUnderline = exports.toggleTaskList = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleSmallText = exports.toggleOrderedList = exports.toggleItalic = exports.toggleHighlightPalette = exports.toggleHeading6 = exports.toggleHeading5 = exports.toggleHeading4 = exports.toggleHeading3 = exports.toggleHeading2 = exports.toggleHeading1 = exports.toggleCodeBlock = exports.toggleCode = exports.toggleBulletList = exports.toggleBold = exports.toggleBlockQuote = exports.tab = exports.submit = exports.startColumnResizing = exports.splitListItem = exports.splitCodeBlock = exports.space = exports.showElementDragHandle = exports.shiftTab = exports.shiftEnter = exports.shiftBackspace = exports.shiftArrowUp = exports.setNormalText = exports.selectTable = exports.selectRow = void 0;
|
|
106
|
+
exports.toggleViewChanges = exports.toggleUnderline = exports.toggleTaskList = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleSmallText = exports.toggleOrderedList = exports.toggleMarkdownView = exports.toggleItalic = exports.toggleHighlightPalette = exports.toggleHeading6 = exports.toggleHeading5 = exports.toggleHeading4 = exports.toggleHeading3 = exports.toggleHeading2 = exports.toggleHeading1 = exports.toggleCodeBlock = exports.toggleCode = exports.toggleBulletList = exports.toggleBold = exports.toggleBlockQuote = exports.tab = exports.submit = exports.startColumnResizing = exports.splitListItem = exports.splitCodeBlock = exports.space = exports.showElementDragHandle = exports.shiftTab = exports.shiftEnter = exports.shiftBackspace = exports.shiftArrowUp = exports.setNormalText = exports.selectTable = exports.selectRow = void 0;
|
|
107
107
|
exports.tooltip = tooltip;
|
|
108
108
|
exports.undo = void 0;
|
|
109
109
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
@@ -123,6 +123,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
123
123
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
124
124
|
|
|
125
125
|
var addAltText = exports.addAltText = makeKeyMapWithCommon('Add Alt Text', 'Mod-Alt-y');
|
|
126
|
+
var toggleMarkdownView = exports.toggleMarkdownView = makeKeyMapWithCommon('Toggle markdown view', 'Mod-e');
|
|
126
127
|
var toggleViewChanges = exports.toggleViewChanges = makeKeyMapWithCommon('View changes', 'Mod-Alt-z');
|
|
127
128
|
var navToEditorToolbar = exports.navToEditorToolbar = makeKeyMapWithCommon('Navigate to editor toolbar', 'Alt-F9');
|
|
128
129
|
var navToFloatingToolbar = exports.navToFloatingToolbar = makeKeyMapWithCommon('Navigate to floating toolbar', 'Alt-F10');
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
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); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "114.
|
|
22
|
+
var packageVersion = "114.18.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "114.
|
|
27
|
+
var packageVersion = "114.18.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -127,12 +127,12 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
127
127
|
},
|
|
128
128
|
cardSourcesHideButtonLabel: {
|
|
129
129
|
id: 'fabric.editor.ai.suggestions.card.sourcesHideButtonLabel.non-final',
|
|
130
|
-
defaultMessage: 'Hide
|
|
130
|
+
defaultMessage: 'Hide reasoning',
|
|
131
131
|
description: 'Label for the sources toggle button when sources are expanded'
|
|
132
132
|
},
|
|
133
133
|
cardSourcesShowButtonLabel: {
|
|
134
134
|
id: 'fabric.editor.ai.suggestions.card.sourcesShowButtonLabel.non-final',
|
|
135
|
-
defaultMessage: 'Show
|
|
135
|
+
defaultMessage: 'Show reasoning',
|
|
136
136
|
description: 'Label for the sources toggle button when sources are collapsed'
|
|
137
137
|
},
|
|
138
138
|
cardAcceptButtonLabel: {
|
|
@@ -10,6 +10,7 @@ import { base, keyName } from 'w3c-keyname';
|
|
|
10
10
|
import { editorCommandToPMCommand } from '../preset/editor-commands';
|
|
11
11
|
import { getBrowserInfo } from '../utils/browser';
|
|
12
12
|
export const addAltText = makeKeyMapWithCommon('Add Alt Text', 'Mod-Alt-y');
|
|
13
|
+
export const toggleMarkdownView = makeKeyMapWithCommon('Toggle markdown view', 'Mod-e');
|
|
13
14
|
export const toggleViewChanges = makeKeyMapWithCommon('View changes', 'Mod-Alt-z');
|
|
14
15
|
export const navToEditorToolbar = makeKeyMapWithCommon('Navigate to editor toolbar', 'Alt-F9');
|
|
15
16
|
export const navToFloatingToolbar = makeKeyMapWithCommon('Navigate to floating toolbar', 'Alt-F10');
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "114.
|
|
7
|
+
const packageVersion = "114.18.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "114.
|
|
17
|
+
const packageVersion = "114.18.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -127,12 +127,12 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
127
127
|
},
|
|
128
128
|
cardSourcesHideButtonLabel: {
|
|
129
129
|
id: 'fabric.editor.ai.suggestions.card.sourcesHideButtonLabel.non-final',
|
|
130
|
-
defaultMessage: 'Hide
|
|
130
|
+
defaultMessage: 'Hide reasoning',
|
|
131
131
|
description: 'Label for the sources toggle button when sources are expanded'
|
|
132
132
|
},
|
|
133
133
|
cardSourcesShowButtonLabel: {
|
|
134
134
|
id: 'fabric.editor.ai.suggestions.card.sourcesShowButtonLabel.non-final',
|
|
135
|
-
defaultMessage: 'Show
|
|
135
|
+
defaultMessage: 'Show reasoning',
|
|
136
136
|
description: 'Label for the sources toggle button when sources are collapsed'
|
|
137
137
|
},
|
|
138
138
|
cardAcceptButtonLabel: {
|
|
@@ -11,6 +11,7 @@ import { base, keyName } from 'w3c-keyname';
|
|
|
11
11
|
import { editorCommandToPMCommand } from '../preset/editor-commands';
|
|
12
12
|
import { getBrowserInfo } from '../utils/browser';
|
|
13
13
|
export var addAltText = makeKeyMapWithCommon('Add Alt Text', 'Mod-Alt-y');
|
|
14
|
+
export var toggleMarkdownView = makeKeyMapWithCommon('Toggle markdown view', 'Mod-e');
|
|
14
15
|
export var toggleViewChanges = makeKeyMapWithCommon('View changes', 'Mod-Alt-z');
|
|
15
16
|
export var navToEditorToolbar = makeKeyMapWithCommon('Navigate to editor toolbar', 'Alt-F9');
|
|
16
17
|
export var navToFloatingToolbar = makeKeyMapWithCommon('Navigate to floating toolbar', 'Alt-F10');
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "114.
|
|
13
|
+
var packageVersion = "114.18.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "114.
|
|
24
|
+
var packageVersion = "114.18.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -7,6 +7,7 @@ import { jsx } from '@emotion/react';
|
|
|
7
7
|
import type { Command } from '../types/command';
|
|
8
8
|
import type { EditorCommand } from '../types/editor-command';
|
|
9
9
|
export declare const addAltText: Keymap;
|
|
10
|
+
export declare const toggleMarkdownView: Keymap;
|
|
10
11
|
export declare const toggleViewChanges: Keymap;
|
|
11
12
|
export declare const navToEditorToolbar: Keymap;
|
|
12
13
|
export declare const navToFloatingToolbar: Keymap;
|
|
@@ -7,6 +7,7 @@ import { jsx } from '@emotion/react';
|
|
|
7
7
|
import type { Command } from '../types/command';
|
|
8
8
|
import type { EditorCommand } from '../types/editor-command';
|
|
9
9
|
export declare const addAltText: Keymap;
|
|
10
|
+
export declare const toggleMarkdownView: Keymap;
|
|
10
11
|
export declare const toggleViewChanges: Keymap;
|
|
11
12
|
export declare const navToEditorToolbar: Keymap;
|
|
12
13
|
export declare const navToFloatingToolbar: Keymap;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.18.
|
|
3
|
+
"version": "114.18.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
78
78
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
79
79
|
"@atlaskit/primitives": "^19.0.0",
|
|
80
|
-
"@atlaskit/profilecard": "^25.
|
|
80
|
+
"@atlaskit/profilecard": "^25.2.0",
|
|
81
81
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
82
82
|
"@atlaskit/react-ufo": "^5.18.0",
|
|
83
83
|
"@atlaskit/section-message": "^8.12.0",
|
|
84
|
-
"@atlaskit/smart-card": "^44.
|
|
84
|
+
"@atlaskit/smart-card": "^44.5.0",
|
|
85
85
|
"@atlaskit/smart-user-picker": "^10.0.0",
|
|
86
86
|
"@atlaskit/spinner": "^19.1.0",
|
|
87
87
|
"@atlaskit/task-decision": "^20.0.0",
|
|
88
88
|
"@atlaskit/textfield": "^8.3.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^74.
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^74.4.0",
|
|
90
90
|
"@atlaskit/tokens": "^13.0.0",
|
|
91
91
|
"@atlaskit/tooltip": "^21.2.0",
|
|
92
92
|
"@atlaskit/width-detector": "^5.1.0",
|