@atlaskit/editor-plugin-media 1.2.2 → 1.2.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.2.2
4
10
 
5
11
  ### Patch Changes
@@ -123,6 +123,7 @@ var LinkAddToolbar = exports.LinkAddToolbar = /*#__PURE__*/function (_React$Pure
123
123
  });
124
124
  }
125
125
  })), (0, _react2.jsx)(_ui.PanelTextInput, {
126
+ inputId: "media-link-search-input",
126
127
  testId: "media-link-input",
127
128
  placeholder: getPlaceholder(!!activityProvider),
128
129
  autoFocus: true,
@@ -144,7 +145,10 @@ var LinkAddToolbar = exports.LinkAddToolbar = /*#__PURE__*/function (_React$Pure
144
145
  _onChange(value);
145
146
  },
146
147
  onKeyDown: onKeyDown
147
- }), (0, _utils.normalizeUrl)(displayUrl) && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ui.FloatingToolbarSeparator, null), (0, _react2.jsx)(_ui.FloatingToolbarButton, {
148
+ }), (0, _react2.jsx)("label", {
149
+ className: "assistive",
150
+ htmlFor: "media-link-search-input"
151
+ }, formatMessage(_messages.linkToolbarMessages.searchInput)), (0, _utils.normalizeUrl)(displayUrl) && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ui.FloatingToolbarSeparator, null), (0, _react2.jsx)(_ui.FloatingToolbarButton, {
148
152
  title: formatUnlinkText,
149
153
  icon: (0, _react2.jsx)(_unlink.default, {
150
154
  label: formatUnlinkText
@@ -119,6 +119,7 @@ export class LinkAddToolbar extends React.PureComponent {
119
119
  inputMethod: currentInputMethod
120
120
  })
121
121
  })), jsx(PanelTextInput, {
122
+ inputId: "media-link-search-input",
122
123
  testId: "media-link-input",
123
124
  placeholder: getPlaceholder(!!activityProvider),
124
125
  autoFocus: true,
@@ -140,7 +141,10 @@ export class LinkAddToolbar extends React.PureComponent {
140
141
  onChange(value);
141
142
  },
142
143
  onKeyDown: onKeyDown
143
- }), normalizeUrl(displayUrl) && jsx(Fragment, null, jsx(Separator, null), jsx(Button, {
144
+ }), jsx("label", {
145
+ className: "assistive",
146
+ htmlFor: "media-link-search-input"
147
+ }, formatMessage(linkToolbarMessages.searchInput)), normalizeUrl(displayUrl) && jsx(Fragment, null, jsx(Separator, null), jsx(Button, {
144
148
  title: formatUnlinkText,
145
149
  icon: jsx(EditorUnlinkIcon, {
146
150
  label: formatUnlinkText
@@ -115,6 +115,7 @@ export var LinkAddToolbar = /*#__PURE__*/function (_React$PureComponent) {
115
115
  });
116
116
  }
117
117
  })), jsx(PanelTextInput, {
118
+ inputId: "media-link-search-input",
118
119
  testId: "media-link-input",
119
120
  placeholder: getPlaceholder(!!activityProvider),
120
121
  autoFocus: true,
@@ -136,7 +137,10 @@ export var LinkAddToolbar = /*#__PURE__*/function (_React$PureComponent) {
136
137
  _onChange(value);
137
138
  },
138
139
  onKeyDown: onKeyDown
139
- }), normalizeUrl(displayUrl) && jsx(Fragment, null, jsx(Separator, null), jsx(Button, {
140
+ }), jsx("label", {
141
+ className: "assistive",
142
+ htmlFor: "media-link-search-input"
143
+ }, formatMessage(linkToolbarMessages.searchInput)), normalizeUrl(displayUrl) && jsx(Fragment, null, jsx(Separator, null), jsx(Button, {
140
144
  title: formatUnlinkText,
141
145
  icon: jsx(EditorUnlinkIcon, {
142
146
  label: formatUnlinkText
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,36 +36,36 @@
36
36
  "@atlaskit/adf-schema": "^35.5.1",
37
37
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
38
38
  "@atlaskit/analytics-next": "^9.2.0",
39
- "@atlaskit/button": "^17.4.0",
40
- "@atlaskit/editor-common": "^78.3.0",
39
+ "@atlaskit/button": "^17.6.0",
40
+ "@atlaskit/editor-common": "^78.7.0",
41
41
  "@atlaskit/editor-palette": "1.5.2",
42
42
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
43
43
  "@atlaskit/editor-plugin-decorations": "^1.0.0",
44
44
  "@atlaskit/editor-plugin-editor-disabled": "^1.0.0",
45
- "@atlaskit/editor-plugin-floating-toolbar": "^1.1.0",
45
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.2.0",
46
46
  "@atlaskit/editor-plugin-focus": "^1.0.0",
47
47
  "@atlaskit/editor-plugin-grid": "^1.0.0",
48
48
  "@atlaskit/editor-plugin-guideline": "^1.0.0",
49
- "@atlaskit/editor-plugin-selection": "^1.0.0",
49
+ "@atlaskit/editor-plugin-selection": "^1.1.0",
50
50
  "@atlaskit/editor-plugin-width": "^1.0.0",
51
51
  "@atlaskit/editor-prosemirror": "3.0.0",
52
52
  "@atlaskit/editor-shared-styles": "^2.9.0",
53
53
  "@atlaskit/editor-tables": "^2.5.0",
54
54
  "@atlaskit/form": "^9.0.3",
55
- "@atlaskit/icon": "^22.0.0",
55
+ "@atlaskit/icon": "^22.1.0",
56
56
  "@atlaskit/media-card": "^77.10.0",
57
57
  "@atlaskit/media-client": "^26.2.0",
58
58
  "@atlaskit/media-client-react": "^2.0.0",
59
59
  "@atlaskit/media-common": "^11.0.0",
60
60
  "@atlaskit/media-filmstrip": "^47.0.0",
61
61
  "@atlaskit/media-picker": "^66.3.0",
62
- "@atlaskit/media-ui": "^25.1.0",
62
+ "@atlaskit/media-ui": "^25.2.0",
63
63
  "@atlaskit/media-viewer": "^48.2.0",
64
64
  "@atlaskit/platform-feature-flags": "^0.2.0",
65
- "@atlaskit/primitives": "^2.0.0",
65
+ "@atlaskit/primitives": "^3.0.0",
66
66
  "@atlaskit/textfield": "^6.0.0",
67
67
  "@atlaskit/theme": "^12.6.0",
68
- "@atlaskit/tokens": "^1.37.0",
68
+ "@atlaskit/tokens": "^1.38.0",
69
69
  "@atlaskit/tooltip": "^18.1.0",
70
70
  "@babel/runtime": "^7.0.0",
71
71
  "@emotion/react": "^11.7.1",