@atlaskit/editor-plugin-media-insert 24.0.17 → 24.0.18

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 24.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fd3ef8de291ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd3ef8de291ba) -
8
+ Cleanup feature gate `platform_editor_nov_a11y_fixes`
9
+ - Updated dependencies
10
+
3
11
  ## 24.0.17
4
12
 
5
13
  ### Patch Changes
@@ -23,7 +23,6 @@ var _messages = require("@atlaskit/editor-common/messages");
23
23
  var _form = _interopRequireWildcard(require("@atlaskit/form"));
24
24
  var _growDiagonal = _interopRequireDefault(require("@atlaskit/icon/core/grow-diagonal"));
25
25
  var _mediaClientReact = require("@atlaskit/media-client-react");
26
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
27
26
  var _primitives = require("@atlaskit/primitives");
28
27
  var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
29
28
  var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
@@ -337,7 +336,7 @@ function MediaFromURL(_ref) {
337
336
  // eslint-disable-next-line react/jsx-props-no-spreading
338
337
  , (0, _extends2.default)({}, rest, {
339
338
  value: value,
340
- "aria-label": (0, _platformFeatureFlags.fg)('platform_editor_nov_a11y_fixes') ? strings.pasteLinkToUpload : undefined,
339
+ "aria-label": strings.pasteLinkToUpload,
341
340
  placeholder: strings.pasteLinkToUpload,
342
341
  maxLength: MAX_URL_LENGTH,
343
342
  onKeyPress: onInputKeyPress
@@ -9,7 +9,6 @@ import { mediaInsertMessages } from '@atlaskit/editor-common/messages';
9
9
  import Form, { ErrorMessage, Field, FormFooter, HelperMessage, MessageWrapper } from '@atlaskit/form';
10
10
  import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
11
11
  import { getMediaClient } from '@atlaskit/media-client-react';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
13
  import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
15
14
  import SectionMessage from '@atlaskit/section-message';
@@ -301,7 +300,7 @@ export function MediaFromURL({
301
300
  // eslint-disable-next-line react/jsx-props-no-spreading
302
301
  , _extends({}, rest, {
303
302
  value: value,
304
- "aria-label": fg('platform_editor_nov_a11y_fixes') ? strings.pasteLinkToUpload : undefined,
303
+ "aria-label": strings.pasteLinkToUpload,
305
304
  placeholder: strings.pasteLinkToUpload,
306
305
  maxLength: MAX_URL_LENGTH,
307
306
  onKeyPress: onInputKeyPress
@@ -17,7 +17,6 @@ import { mediaInsertMessages } from '@atlaskit/editor-common/messages';
17
17
  import Form, { ErrorMessage, Field, FormFooter, HelperMessage, MessageWrapper } from '@atlaskit/form';
18
18
  import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
19
19
  import { getMediaClient } from '@atlaskit/media-client-react';
20
- import { fg } from '@atlaskit/platform-feature-flags';
21
20
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
22
21
  import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
23
22
  import SectionMessage from '@atlaskit/section-message';
@@ -328,7 +327,7 @@ export function MediaFromURL(_ref) {
328
327
  // eslint-disable-next-line react/jsx-props-no-spreading
329
328
  , _extends({}, rest, {
330
329
  value: value,
331
- "aria-label": fg('platform_editor_nov_a11y_fixes') ? strings.pasteLinkToUpload : undefined,
330
+ "aria-label": strings.pasteLinkToUpload,
332
331
  placeholder: strings.pasteLinkToUpload,
333
332
  maxLength: MAX_URL_LENGTH,
334
333
  onKeyPress: onInputKeyPress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "24.0.17",
3
+ "version": "24.0.18",
4
4
  "description": "Media Insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,6 @@
33
33
  "@atlaskit/media-client": "^36.3.0",
34
34
  "@atlaskit/media-client-react": "^5.2.0",
35
35
  "@atlaskit/media-picker": "^71.4.0",
36
- "@atlaskit/platform-feature-flags": "^1.1.0",
37
36
  "@atlaskit/primitives": "^19.0.0",
38
37
  "@atlaskit/section-message": "^8.13.0",
39
38
  "@atlaskit/tabs": "^19.1.0",
@@ -42,7 +41,7 @@
42
41
  "@babel/runtime": "^7.0.0"
43
42
  },
44
43
  "peerDependencies": {
45
- "@atlaskit/editor-common": "^115.15.0",
44
+ "@atlaskit/editor-common": "^115.16.0",
46
45
  "@atlaskit/tokens": "^13.4.0",
47
46
  "react": "^18.2.0",
48
47
  "react-dom": "^18.2.0",
@@ -89,11 +88,6 @@
89
88
  "checkDevDependencies": true
90
89
  }
91
90
  },
92
- "platform-feature-flags": {
93
- "platform_editor_nov_a11y_fixes": {
94
- "type": "boolean"
95
- }
96
- },
97
91
  "devDependencies": {
98
92
  "react": "^18.2.0",
99
93
  "react-dom": "^18.2.0",