@atlaskit/link-picker 4.2.16 → 4.2.17
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 +8 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +1 -2
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +1 -2
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +1 -2
- package/dist/esm/ui/main.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 4.2.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b9af0df8e1dae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b9af0df8e1dae) -
|
|
8
|
+
NAVX-3975 cleaning up navx-3332-update-link-picker-heading-levels
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.2.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
19
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
21
20
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
@@ -140,7 +139,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
|
|
|
140
139
|
var listItemNameMaxLines = activePlugin === null || activePlugin === void 0 || (_activePlugin$uiOptio = activePlugin.uiOptions) === null || _activePlugin$uiOptio === void 0 ? void 0 : _activePlugin$uiOptio.listItemNameMaxLines;
|
|
141
140
|
if (items && items.length > 0) {
|
|
142
141
|
itemsContent = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
143
|
-
as:
|
|
142
|
+
as: "h3" // Must remain <h3> for a11y title hierarchy as per https://hello.jira.atlassian.cloud/browse/NAVX-3332
|
|
144
143
|
// `.wiki-content h3` css styles in confluence override ADS/native styles here, so inline styles are needed.
|
|
145
144
|
// Should use css or xcss prop when that CSS is removed/fixed by confluence
|
|
146
145
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
|
|
|
26
26
|
};
|
|
27
27
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
28
28
|
packageName: "@atlaskit/link-picker" || '',
|
|
29
|
-
packageVersion: "
|
|
29
|
+
packageVersion: "0.0.0-development" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -5,7 +5,6 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef, Fragment, useCallback, useRef } from 'react';
|
|
7
7
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
9
|
import Spinner from '@atlaskit/spinner';
|
|
11
10
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
@@ -129,7 +128,7 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
|
|
|
129
128
|
const listItemNameMaxLines = activePlugin === null || activePlugin === void 0 ? void 0 : (_activePlugin$uiOptio = activePlugin.uiOptions) === null || _activePlugin$uiOptio === void 0 ? void 0 : _activePlugin$uiOptio.listItemNameMaxLines;
|
|
130
129
|
if (items && items.length > 0) {
|
|
131
130
|
itemsContent = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
132
|
-
as:
|
|
131
|
+
as: "h3" // Must remain <h3> for a11y title hierarchy as per https://hello.jira.atlassian.cloud/browse/NAVX-3332
|
|
133
132
|
// `.wiki-content h3` css styles in confluence override ADS/native styles here, so inline styles are needed.
|
|
134
133
|
// Should use css or xcss prop when that CSS is removed/fixed by confluence
|
|
135
134
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -10,7 +10,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
import { forwardRef, Fragment, useCallback, useRef } from 'react';
|
|
12
12
|
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
15
14
|
import Spinner from '@atlaskit/spinner';
|
|
16
15
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
@@ -131,7 +130,7 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
131
130
|
var listItemNameMaxLines = activePlugin === null || activePlugin === void 0 || (_activePlugin$uiOptio = activePlugin.uiOptions) === null || _activePlugin$uiOptio === void 0 ? void 0 : _activePlugin$uiOptio.listItemNameMaxLines;
|
|
132
131
|
if (items && items.length > 0) {
|
|
133
132
|
itemsContent = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
134
|
-
as:
|
|
133
|
+
as: "h3" // Must remain <h3> for a11y title hierarchy as per https://hello.jira.atlassian.cloud/browse/NAVX-3332
|
|
135
134
|
// `.wiki-content h3` css styles in confluence override ADS/native styles here, so inline styles are needed.
|
|
136
135
|
// Should use css or xcss prop when that CSS is removed/fixed by confluence
|
|
137
136
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
package/dist/esm/ui/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.17",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -37,9 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"aifc_create_enabled": {
|
|
39
39
|
"type": "boolean"
|
|
40
|
-
},
|
|
41
|
-
"navx-3332-update-link-picker-heading-levels": {
|
|
42
|
-
"type": "boolean"
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
42
|
"scripts": {
|
|
@@ -47,17 +44,17 @@
|
|
|
47
44
|
},
|
|
48
45
|
"dependencies": {
|
|
49
46
|
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.7.0",
|
|
50
|
-
"@atlaskit/analytics-next": "^11.
|
|
47
|
+
"@atlaskit/analytics-next": "^11.2.0",
|
|
51
48
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
52
49
|
"@atlaskit/button": "^23.10.0",
|
|
53
50
|
"@atlaskit/css": "^0.19.0",
|
|
54
|
-
"@atlaskit/form": "^15.
|
|
51
|
+
"@atlaskit/form": "^15.5.0",
|
|
55
52
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
56
53
|
"@atlaskit/heading": "^5.3.0",
|
|
57
54
|
"@atlaskit/icon": "^33.0.0",
|
|
58
55
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
59
56
|
"@atlaskit/link": "^3.3.0",
|
|
60
|
-
"@atlaskit/link-provider": "^4.
|
|
57
|
+
"@atlaskit/link-provider": "^4.3.0",
|
|
61
58
|
"@atlaskit/linking-common": "^9.11.0",
|
|
62
59
|
"@atlaskit/onboarding": "^14.5.0",
|
|
63
60
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -67,7 +64,7 @@
|
|
|
67
64
|
"@atlaskit/tabs": "^19.0.0",
|
|
68
65
|
"@atlaskit/textfield": "^8.2.0",
|
|
69
66
|
"@atlaskit/theme": "^22.0.0",
|
|
70
|
-
"@atlaskit/tokens": "^11.
|
|
67
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
71
68
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
69
|
"@atlaskit/ufo": "^0.4.0",
|
|
73
70
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -88,7 +85,7 @@
|
|
|
88
85
|
"@af/analytics-codegen": "workspace:^",
|
|
89
86
|
"@af/integration-testing": "workspace:^",
|
|
90
87
|
"@af/visual-regression": "workspace:^",
|
|
91
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
88
|
+
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
92
89
|
"@atlaskit/link-test-helpers": "^9.1.0",
|
|
93
90
|
"@atlassian/a11y-jest-testing": "^0.10.0",
|
|
94
91
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|