@atlaskit/link-picker 1.42.2 → 1.42.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,13 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.42.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#131099](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131099)
8
+ [`9df8c5e6d9886`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9df8c5e6d9886) -
9
+ Accessibility and minor UI bug fixes
10
+
3
11
  ## 1.42.2
4
12
 
5
13
  ### Patch Changes
@@ -324,7 +324,7 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
324
324
  // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
325
325
  ,
326
326
  onSubmitCapture: handleSubmit
327
- }, (0, _react2.jsx)(_trackMount.TrackMount, null), isActivePlugin && screenReaderText && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_announcer.Announcer, {
327
+ }, (0, _react2.jsx)(_trackMount.TrackMount, null), isActivePlugin && (0, _react2.jsx)(_react.Fragment, null, screenReaderText && (0, _react2.jsx)(_announcer.Announcer, {
328
328
  ariaLive: "assertive",
329
329
  text: screenReaderText,
330
330
  ariaRelevant: "additions",
@@ -45,7 +45,8 @@ var clearTextButtonStyles = (0, _primitives.xcss)({
45
45
  padding: 'space.0',
46
46
  marginRight: 'space.050',
47
47
  backgroundColor: 'color.background.neutral.subtle',
48
- border: 'none'
48
+ border: 'none',
49
+ verticalAlign: 'middle'
49
50
  });
50
51
  var TextInput = exports.TextInput = function TextInput(_ref) {
51
52
  var name = _ref.name,
@@ -33,7 +33,7 @@ var testIds = exports.testIds = {
33
33
  };
34
34
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
35
35
  packageName: "@atlaskit/link-picker" || '',
36
- packageVersion: "1.42.2" || '',
36
+ packageVersion: "1.42.3" || '',
37
37
  componentName: _constants.COMPONENT_NAME,
38
38
  source: _constants.COMPONENT_NAME
39
39
  };
@@ -328,7 +328,7 @@ export const LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(({
328
328
  // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
329
329
  ,
330
330
  onSubmitCapture: handleSubmit
331
- }, jsx(TrackMount, null), isActivePlugin && screenReaderText && jsx(Fragment, null, jsx(Announcer, {
331
+ }, jsx(TrackMount, null), isActivePlugin && jsx(Fragment, null, screenReaderText && jsx(Announcer, {
332
332
  ariaLive: "assertive",
333
333
  text: screenReaderText,
334
334
  ariaRelevant: "additions",
@@ -38,7 +38,8 @@ const clearTextButtonStyles = xcss({
38
38
  padding: 'space.0',
39
39
  marginRight: 'space.050',
40
40
  backgroundColor: 'color.background.neutral.subtle',
41
- border: 'none'
41
+ border: 'none',
42
+ verticalAlign: 'middle'
42
43
  });
43
44
  export const TextInput = ({
44
45
  name,
@@ -21,7 +21,7 @@ export const testIds = {
21
21
  };
22
22
  export const PACKAGE_DATA = {
23
23
  packageName: "@atlaskit/link-picker" || '',
24
- packageVersion: "1.42.2" || '',
24
+ packageVersion: "1.42.3" || '',
25
25
  componentName: COMPONENT_NAME,
26
26
  source: COMPONENT_NAME
27
27
  };
@@ -320,7 +320,7 @@ export var LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(functi
320
320
  // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
321
321
  ,
322
322
  onSubmitCapture: handleSubmit
323
- }, jsx(TrackMount, null), isActivePlugin && screenReaderText && jsx(Fragment, null, jsx(Announcer, {
323
+ }, jsx(TrackMount, null), isActivePlugin && jsx(Fragment, null, screenReaderText && jsx(Announcer, {
324
324
  ariaLive: "assertive",
325
325
  text: screenReaderText,
326
326
  ariaRelevant: "additions",
@@ -40,7 +40,8 @@ var clearTextButtonStyles = xcss({
40
40
  padding: 'space.0',
41
41
  marginRight: 'space.050',
42
42
  backgroundColor: 'color.background.neutral.subtle',
43
- border: 'none'
43
+ border: 'none',
44
+ verticalAlign: 'middle'
44
45
  });
45
46
  export var TextInput = function TextInput(_ref) {
46
47
  var name = _ref.name,
@@ -22,7 +22,7 @@ export var testIds = {
22
22
  };
23
23
  export var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/link-picker" || '',
25
- packageVersion: "1.42.2" || '',
25
+ packageVersion: "1.42.3" || '',
26
26
  componentName: COMPONENT_NAME,
27
27
  source: COMPONENT_NAME
28
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.42.2",
3
+ "version": "1.42.3",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -17,7 +17,8 @@
17
17
  ],
18
18
  "website": {
19
19
  "name": "Link Picker"
20
- }
20
+ },
21
+ "runReact18": true
21
22
  },
22
23
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
23
24
  "main": "dist/cjs/index.js",