@atlaskit/editor-common 103.1.2 → 103.1.3
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/messages/date.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/date.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/date.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/date.d.ts +5 -0
- package/dist/types/types/floating-toolbar.d.ts +0 -9
- package/dist/types-ts4.5/messages/date.d.ts +5 -0
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +0 -9
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138373](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138373)
|
|
8
|
+
[`3a6e2723e498c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a6e2723e498c) -
|
|
9
|
+
[ux] [A11Y-10137] Add visually hidden alert for when the date picker opens letting screen reader
|
|
10
|
+
users know how to access the date picker popup
|
|
11
|
+
- [#138977](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138977)
|
|
12
|
+
[`3d812d3a14c39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d812d3a14c39) -
|
|
13
|
+
[ux] Revert "Adds a new temporary floating toolbar's config option to hide any toolbars when any
|
|
14
|
+
table's menu is opened."
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 103.1.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -20,5 +20,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
20
20
|
id: 'fabric.editor.upDown',
|
|
21
21
|
defaultMessage: 'On the use of up and down arrow keys into the following input field, the date will update below',
|
|
22
22
|
description: 'The text for the date input informs the user that using the arrow keys (up and down) will update the date picker below'
|
|
23
|
+
},
|
|
24
|
+
datePickerOpenedAlert: {
|
|
25
|
+
id: 'fabric.editor.datePickerOpenedAlert',
|
|
26
|
+
defaultMessage: 'Date editor popup opened, press Tab to access popup',
|
|
27
|
+
description: 'Screen reader alert when the date picker is opened, letting the user know they can press the Tab button to access the date picker'
|
|
23
28
|
}
|
|
24
29
|
});
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "103.1.
|
|
20
|
+
var packageVersion = "103.1.3";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "103.1.
|
|
26
|
+
var packageVersion = "103.1.3";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -14,5 +14,10 @@ export const messages = defineMessages({
|
|
|
14
14
|
id: 'fabric.editor.upDown',
|
|
15
15
|
defaultMessage: 'On the use of up and down arrow keys into the following input field, the date will update below',
|
|
16
16
|
description: 'The text for the date input informs the user that using the arrow keys (up and down) will update the date picker below'
|
|
17
|
+
},
|
|
18
|
+
datePickerOpenedAlert: {
|
|
19
|
+
id: 'fabric.editor.datePickerOpenedAlert',
|
|
20
|
+
defaultMessage: 'Date editor popup opened, press Tab to access popup',
|
|
21
|
+
description: 'Screen reader alert when the date picker is opened, letting the user know they can press the Tab button to access the date picker'
|
|
17
22
|
}
|
|
18
23
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "103.1.
|
|
4
|
+
const packageVersion = "103.1.3";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "103.1.
|
|
16
|
+
const packageVersion = "103.1.3";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -14,5 +14,10 @@ export var messages = defineMessages({
|
|
|
14
14
|
id: 'fabric.editor.upDown',
|
|
15
15
|
defaultMessage: 'On the use of up and down arrow keys into the following input field, the date will update below',
|
|
16
16
|
description: 'The text for the date input informs the user that using the arrow keys (up and down) will update the date picker below'
|
|
17
|
+
},
|
|
18
|
+
datePickerOpenedAlert: {
|
|
19
|
+
id: 'fabric.editor.datePickerOpenedAlert',
|
|
20
|
+
defaultMessage: 'Date editor popup opened, press Tab to access popup',
|
|
21
|
+
description: 'Screen reader alert when the date picker is opened, letting the user know they can press the Tab button to access the date picker'
|
|
17
22
|
}
|
|
18
23
|
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "103.1.
|
|
10
|
+
var packageVersion = "103.1.3";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "103.1.
|
|
23
|
+
var packageVersion = "103.1.3";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -339,15 +339,6 @@ export interface FloatingToolbarConfig {
|
|
|
339
339
|
* @see clean up ticket ED-26803
|
|
340
340
|
*/
|
|
341
341
|
forceStaticToolbar?: boolean;
|
|
342
|
-
/**
|
|
343
|
-
* For internal use only, we will be depricating this API soon.
|
|
344
|
-
* If any config has __suppressAllToolbars set to true, no floating toolbar will be rendered.
|
|
345
|
-
* Use case:
|
|
346
|
-
* When a node is nested inside a table and the cursor is inside of the nested node.
|
|
347
|
-
* Nested node's toolbar is active. When table's menu opens, we provide table's config with
|
|
348
|
-
* __suppressAllToolbars set to true.
|
|
349
|
-
*/
|
|
350
|
-
__suppressAllToolbars?: boolean;
|
|
351
342
|
}
|
|
352
343
|
export type FloatingToolbarHandler = (state: EditorState, intl: IntlShape, providerFactory: ProviderFactory, processedConfigs?: Array<FloatingToolbarConfig>) => FloatingToolbarConfig | undefined;
|
|
353
344
|
export {};
|
|
@@ -342,15 +342,6 @@ export interface FloatingToolbarConfig {
|
|
|
342
342
|
* @see clean up ticket ED-26803
|
|
343
343
|
*/
|
|
344
344
|
forceStaticToolbar?: boolean;
|
|
345
|
-
/**
|
|
346
|
-
* For internal use only, we will be depricating this API soon.
|
|
347
|
-
* If any config has __suppressAllToolbars set to true, no floating toolbar will be rendered.
|
|
348
|
-
* Use case:
|
|
349
|
-
* When a node is nested inside a table and the cursor is inside of the nested node.
|
|
350
|
-
* Nested node's toolbar is active. When table's menu opens, we provide table's config with
|
|
351
|
-
* __suppressAllToolbars set to true.
|
|
352
|
-
*/
|
|
353
|
-
__suppressAllToolbars?: boolean;
|
|
354
345
|
}
|
|
355
346
|
export type FloatingToolbarHandler = (state: EditorState, intl: IntlShape, providerFactory: ProviderFactory, processedConfigs?: Array<FloatingToolbarConfig>) => FloatingToolbarConfig | undefined;
|
|
356
347
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "103.1.
|
|
3
|
+
"version": "103.1.3",
|
|
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/"
|
|
@@ -153,10 +153,10 @@
|
|
|
153
153
|
"@atlaskit/onboarding": "^14.0.0",
|
|
154
154
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
155
155
|
"@atlaskit/popper": "^7.0.0",
|
|
156
|
-
"@atlaskit/primitives": "^14.
|
|
156
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
157
157
|
"@atlaskit/profilecard": "^23.7.0",
|
|
158
158
|
"@atlaskit/section-message": "^8.2.0",
|
|
159
|
-
"@atlaskit/smart-card": "^36.
|
|
159
|
+
"@atlaskit/smart-card": "^36.4.0",
|
|
160
160
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
161
161
|
"@atlaskit/spinner": "^18.0.0",
|
|
162
162
|
"@atlaskit/task-decision": "^19.1.0",
|