@atlaskit/editor-plugin-media 7.2.0 → 7.2.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 +10 -0
- package/dist/cjs/ui/toolbar/index.js +3 -1
- package/dist/es2019/ui/toolbar/index.js +3 -1
- package/dist/esm/ui/toolbar/index.js +3 -1
- package/dist/types/pm-plugins/pixel-resizing/ui/styles.d.ts +8 -7
- package/dist/types/ui/ResizableMediaSingle/styles.d.ts +2 -1
- package/dist/types-ts4.5/pm-plugins/pixel-resizing/ui/styles.d.ts +8 -7
- package/dist/types-ts4.5/ui/ResizableMediaSingle/styles.d.ts +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 7.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`28ca2de894404`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/28ca2de894404) -
|
|
8
|
+
ENGHEALTH-40158 fix inline image button in media element menu missing aria-checked when unselected
|
|
9
|
+
- [`39f3b00f65aa0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39f3b00f65aa0) -
|
|
10
|
+
NOISSUE: Patches emotion CSS exports in various editor packages
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 7.2.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -30,6 +30,7 @@ var _smartLinkCard = _interopRequireDefault(require("@atlaskit/icon/core/smart-l
|
|
|
30
30
|
var _mediaFilmstrip = require("@atlaskit/media-filmstrip");
|
|
31
31
|
var _mediaUi = require("@atlaskit/media-ui");
|
|
32
32
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
33
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
33
34
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
34
35
|
var _styles = require("../../nodeviews/styles");
|
|
35
36
|
var _altText = require("../../pm-plugins/alt-text");
|
|
@@ -408,7 +409,8 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
408
409
|
});
|
|
409
410
|
},
|
|
410
411
|
onClick: (0, _commands.changeMediaSingleToMediaInline)(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a5 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a5 === void 0 ? void 0 : _pluginInjectionApi$a5.actions),
|
|
411
|
-
testId: 'image-inline-appearance'
|
|
412
|
+
testId: 'image-inline-appearance',
|
|
413
|
+
selected: (0, _expValEquals.expValEquals)('platform_editor_add_aria_checked_to_inline_img_btn', 'isEnabled', true) ? false : undefined
|
|
412
414
|
}, {
|
|
413
415
|
type: 'button',
|
|
414
416
|
id: 'editor.media.image.view.switcher.floating',
|
|
@@ -20,6 +20,7 @@ import SmartLinkCardIcon from '@atlaskit/icon/core/smart-link-card';
|
|
|
20
20
|
import { mediaFilmstripItemDOMSelector } from '@atlaskit/media-filmstrip';
|
|
21
21
|
import { messages } from '@atlaskit/media-ui';
|
|
22
22
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
23
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
23
24
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
24
25
|
import { MediaSingleNodeSelector } from '../../nodeviews/styles';
|
|
25
26
|
import { getPluginState as getMediaAltTextPluginState } from '../../pm-plugins/alt-text';
|
|
@@ -398,7 +399,8 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
398
399
|
label: inlineSwitcherTitle
|
|
399
400
|
}),
|
|
400
401
|
onClick: changeMediaSingleToMediaInline(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$a5 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a5 === void 0 ? void 0 : _pluginInjectionApi$a5.actions),
|
|
401
|
-
testId: 'image-inline-appearance'
|
|
402
|
+
testId: 'image-inline-appearance',
|
|
403
|
+
selected: expValEquals('platform_editor_add_aria_checked_to_inline_img_btn', 'isEnabled', true) ? false : undefined
|
|
402
404
|
}, {
|
|
403
405
|
type: 'button',
|
|
404
406
|
id: 'editor.media.image.view.switcher.floating',
|
|
@@ -24,6 +24,7 @@ import SmartLinkCardIcon from '@atlaskit/icon/core/smart-link-card';
|
|
|
24
24
|
import { mediaFilmstripItemDOMSelector } from '@atlaskit/media-filmstrip';
|
|
25
25
|
import { messages } from '@atlaskit/media-ui';
|
|
26
26
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
27
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
27
28
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
28
29
|
import { MediaSingleNodeSelector } from '../../nodeviews/styles';
|
|
29
30
|
import { getPluginState as getMediaAltTextPluginState } from '../../pm-plugins/alt-text';
|
|
@@ -399,7 +400,8 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
399
400
|
});
|
|
400
401
|
},
|
|
401
402
|
onClick: changeMediaSingleToMediaInline(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a5 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a5 === void 0 ? void 0 : _pluginInjectionApi$a5.actions),
|
|
402
|
-
testId: 'image-inline-appearance'
|
|
403
|
+
testId: 'image-inline-appearance',
|
|
404
|
+
selected: expValEquals('platform_editor_add_aria_checked_to_inline_img_btn', 'isEnabled', true) ? false : undefined
|
|
403
405
|
}, {
|
|
404
406
|
type: 'button',
|
|
405
407
|
id: 'editor.media.image.view.switcher.floating',
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const pixelSizingWrapper: SerializedStyles;
|
|
3
|
+
export declare const pixelEntryForm: SerializedStyles;
|
|
4
|
+
export declare const pixelSizingInput: SerializedStyles;
|
|
5
|
+
export declare const pixelSizingWidthInput: SerializedStyles;
|
|
6
|
+
export declare const pixelSizingHeightInput: SerializedStyles;
|
|
7
|
+
export declare const pixelEntryHiddenSubmit: SerializedStyles;
|
|
8
|
+
export declare const pixelSizingFullWidthLabelStyles: SerializedStyles;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const resizableMediaMigrationNotificationStyle: SerializedStyles;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const pixelSizingWrapper: SerializedStyles;
|
|
3
|
+
export declare const pixelEntryForm: SerializedStyles;
|
|
4
|
+
export declare const pixelSizingInput: SerializedStyles;
|
|
5
|
+
export declare const pixelSizingWidthInput: SerializedStyles;
|
|
6
|
+
export declare const pixelSizingHeightInput: SerializedStyles;
|
|
7
|
+
export declare const pixelEntryHiddenSubmit: SerializedStyles;
|
|
8
|
+
export declare const pixelSizingFullWidthLabelStyles: SerializedStyles;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const resizableMediaMigrationNotificationStyle: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/primitives": "^14.14.0",
|
|
67
67
|
"@atlaskit/textfield": "^8.0.0",
|
|
68
68
|
"@atlaskit/theme": "^21.0.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^12.21.0",
|
|
70
70
|
"@atlaskit/tokens": "^6.3.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.4.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"uuid": "^3.1.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^109.
|
|
81
|
+
"@atlaskit/editor-common": "^109.6.0",
|
|
82
82
|
"@atlaskit/media-core": "^37.0.0",
|
|
83
83
|
"react": "^18.2.0",
|
|
84
84
|
"react-dom": "^18.2.0",
|