@atlaskit/link-picker 3.5.8 → 3.6.0
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 +12 -0
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.compiled.css +1 -2
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +1 -2
- package/dist/cjs/ui/link-picker/index.compiled.css +1 -2
- package/dist/cjs/ui/link-picker/index.js +1 -3
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.compiled.css +0 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +1 -3
- package/dist/cjs/ui/link-picker/text-input/index.js +1 -1
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.compiled.css +1 -2
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +1 -2
- package/dist/es2019/ui/link-picker/index.compiled.css +1 -2
- package/dist/es2019/ui/link-picker/index.js +1 -3
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.compiled.css +0 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +1 -3
- package/dist/es2019/ui/link-picker/text-input/index.js +1 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.compiled.css +1 -2
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +1 -2
- package/dist/esm/ui/link-picker/index.compiled.css +1 -2
- package/dist/esm/ui/link-picker/index.js +1 -3
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.compiled.css +0 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +1 -3
- package/dist/esm/ui/link-picker/text-input/index.js +1 -1
- package/dist/esm/ui/main.js +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#182230](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/182230)
|
|
8
|
+
[`f11dd07fddad7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f11dd07fddad7) -
|
|
9
|
+
[ux] EDM-11898 cleaning up platform-linking-visual-refresh-v1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 3.5.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._vwz44jg8{line-height:normal}
|
|
1
|
+
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
@@ -18,7 +18,6 @@ var _emptyState = require("../../../common/ui/empty-state");
|
|
|
18
18
|
var _minHeightContainer = require("../../../common/ui/min-height-container");
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
20
|
var errorBoundaryFallbackStyles = null;
|
|
21
|
-
var oldErrorBoundaryFallbackStyles = null;
|
|
22
21
|
var messages = (0, _reactIntlNext.defineMessages)({
|
|
23
22
|
heading: {
|
|
24
23
|
defaultMessage: 'Something went wrong!',
|
|
@@ -38,7 +37,7 @@ var ErrorBoundaryFallback = exports.ErrorBoundaryFallback = function ErrorBounda
|
|
|
38
37
|
return /*#__PURE__*/React.createElement(_minHeightContainer.MinHeightContainer, {
|
|
39
38
|
minHeight: _constants.LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
|
|
40
39
|
"data-testid": "link-picker-root-error-boundary-ui",
|
|
41
|
-
className: (0, _runtime.ax)([
|
|
40
|
+
className: (0, _runtime.ax)(["_11c81vhk"])
|
|
42
41
|
}, /*#__PURE__*/React.createElement(_emptyState.EmptyState, {
|
|
43
42
|
header: header,
|
|
44
43
|
renderImage: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-link-picker') ? function () {
|
|
@@ -9,5 +9,4 @@
|
|
|
9
9
|
._n3td1t3k{padding-bottom:var(--link-picker-padding-bottom)}
|
|
10
10
|
._syaz1be1{color:var(--ds-text-subtlest,#253858)}
|
|
11
11
|
._u5f31pah{padding-right:var(--link-picker-padding-right)}
|
|
12
|
-
._vchhusvi{box-sizing:border-box}
|
|
13
|
-
._vwz44jg8{line-height:normal}
|
|
12
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -51,8 +51,6 @@ var styles = {
|
|
|
51
51
|
linkDisplayHelperText: "_11c81o8v"
|
|
52
52
|
};
|
|
53
53
|
var baseRootContainerStyles = null;
|
|
54
|
-
// To be removed when platform-linking-visual-refresh-v1 is removed
|
|
55
|
-
var oldRootContainerStyles = null;
|
|
56
54
|
var formFooterMargin = null;
|
|
57
55
|
var testIds = exports.testIds = _objectSpread(_objectSpread(_objectSpread({
|
|
58
56
|
linkPickerRoot: 'link-picker-root',
|
|
@@ -422,7 +420,7 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
|
|
|
422
420
|
"data-testid": testIds.linkPicker,
|
|
423
421
|
// Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
|
|
424
422
|
onSubmitCapture: handleSubmit,
|
|
425
|
-
className: (0, _runtime.ax)(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"
|
|
423
|
+
className: (0, _runtime.ax)(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"])
|
|
426
424
|
}, /*#__PURE__*/React.createElement(_trackMount.TrackMount, null), isActivePlugin && /*#__PURE__*/React.createElement(_react.Fragment, null, screenReaderText && /*#__PURE__*/React.createElement(_announcer.Announcer, {
|
|
427
425
|
ariaLive: "assertive",
|
|
428
426
|
text: screenReaderText,
|
|
@@ -19,6 +19,5 @@
|
|
|
19
19
|
._otyr1b66{margin-bottom:var(--ds-space-050,4px)}
|
|
20
20
|
._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
|
|
21
21
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
22
|
-
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
23
22
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
24
23
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
@@ -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 _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
20
19
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
21
20
|
var _minHeightContainer = require("../../../../common/ui/min-height-container");
|
|
@@ -34,7 +33,6 @@ var listContainerStyles = null;
|
|
|
34
33
|
var spinnerContainerStyles = null;
|
|
35
34
|
var listStyles = null;
|
|
36
35
|
var baseListTitleStyles = null;
|
|
37
|
-
var oldListTitleStyles = null;
|
|
38
36
|
var newListTitleStyles = null;
|
|
39
37
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
40
38
|
titleRecentlyViewed: {
|
|
@@ -137,7 +135,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
|
|
|
137
135
|
itemsContent = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
138
136
|
id: testIds.resultListTitle,
|
|
139
137
|
"data-testid": testIds.resultListTitle,
|
|
140
|
-
className: (0, _runtime.ax)(["_11c81o8v _k48pmoej _otyr1b66",
|
|
138
|
+
className: (0, _runtime.ax)(["_11c81o8v _k48pmoej _otyr1b66", "_syaz1gjq"])
|
|
141
139
|
}, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, linkListTitle)), /*#__PURE__*/React.createElement(_visuallyHidden.default, {
|
|
142
140
|
id: "fabric.smartcard.linkpicker.suggested.results"
|
|
143
141
|
}, hasSearchTerm && /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, messages.searchLinkResults, {
|
|
@@ -105,7 +105,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
|
|
|
105
105
|
spacing: "spacious"
|
|
106
106
|
})));
|
|
107
107
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
108
|
-
className: (0, _runtime.ax)(["_7yjtidpf _onzypxbi",
|
|
108
|
+
className: (0, _runtime.ax)(["_7yjtidpf _onzypxbi", "_11c81vhk"])
|
|
109
109
|
}, /*#__PURE__*/_react.default.createElement(_form.Field, {
|
|
110
110
|
label: label,
|
|
111
111
|
name: name
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -25,7 +25,7 @@ var testIds = exports.testIds = {
|
|
|
25
25
|
};
|
|
26
26
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
27
27
|
packageName: "@atlaskit/link-picker" || '',
|
|
28
|
-
packageVersion: "3.5.
|
|
28
|
+
packageVersion: "3.5.8" || '',
|
|
29
29
|
componentName: _constants.COMPONENT_NAME,
|
|
30
30
|
source: _constants.COMPONENT_NAME
|
|
31
31
|
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._vwz44jg8{line-height:normal}
|
|
1
|
+
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
@@ -10,7 +10,6 @@ import { GenericErrorSVGV2 } from '../../../common/generic-error-svg-v2';
|
|
|
10
10
|
import { EmptyState } from '../../../common/ui/empty-state';
|
|
11
11
|
import { MinHeightContainer } from '../../../common/ui/min-height-container';
|
|
12
12
|
const errorBoundaryFallbackStyles = null;
|
|
13
|
-
const oldErrorBoundaryFallbackStyles = null;
|
|
14
13
|
const messages = defineMessages({
|
|
15
14
|
heading: {
|
|
16
15
|
defaultMessage: 'Something went wrong!',
|
|
@@ -30,7 +29,7 @@ export const ErrorBoundaryFallback = () => {
|
|
|
30
29
|
return /*#__PURE__*/React.createElement(MinHeightContainer, {
|
|
31
30
|
minHeight: LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
|
|
32
31
|
"data-testid": "link-picker-root-error-boundary-ui",
|
|
33
|
-
className: ax([
|
|
32
|
+
className: ax(["_11c81vhk"])
|
|
34
33
|
}, /*#__PURE__*/React.createElement(EmptyState, {
|
|
35
34
|
header: header,
|
|
36
35
|
renderImage: fg('platform-linking-visual-refresh-link-picker') ? () => /*#__PURE__*/React.createElement(GenericErrorSVGV2, null) : () => /*#__PURE__*/React.createElement(GenericErrorSVG, null),
|
|
@@ -9,5 +9,4 @@
|
|
|
9
9
|
._n3td1t3k{padding-bottom:var(--link-picker-padding-bottom)}
|
|
10
10
|
._syaz1be1{color:var(--ds-text-subtlest,#253858)}
|
|
11
11
|
._u5f31pah{padding-right:var(--link-picker-padding-right)}
|
|
12
|
-
._vchhusvi{box-sizing:border-box}
|
|
13
|
-
._vwz44jg8{line-height:normal}
|
|
12
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -36,8 +36,6 @@ const styles = {
|
|
|
36
36
|
linkDisplayHelperText: "_11c81o8v"
|
|
37
37
|
};
|
|
38
38
|
const baseRootContainerStyles = null;
|
|
39
|
-
// To be removed when platform-linking-visual-refresh-v1 is removed
|
|
40
|
-
const oldRootContainerStyles = null;
|
|
41
39
|
const formFooterMargin = null;
|
|
42
40
|
export const testIds = {
|
|
43
41
|
linkPickerRoot: 'link-picker-root',
|
|
@@ -377,7 +375,7 @@ export const LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(({
|
|
|
377
375
|
"data-testid": testIds.linkPicker,
|
|
378
376
|
// Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
|
|
379
377
|
onSubmitCapture: handleSubmit,
|
|
380
|
-
className: ax(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"
|
|
378
|
+
className: ax(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"])
|
|
381
379
|
}, /*#__PURE__*/React.createElement(TrackMount, null), isActivePlugin && /*#__PURE__*/React.createElement(Fragment, null, screenReaderText && /*#__PURE__*/React.createElement(Announcer, {
|
|
382
380
|
ariaLive: "assertive",
|
|
383
381
|
text: screenReaderText,
|
|
@@ -19,6 +19,5 @@
|
|
|
19
19
|
._otyr1b66{margin-bottom:var(--ds-space-050,4px)}
|
|
20
20
|
._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
|
|
21
21
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
22
|
-
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
23
22
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
24
23
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
@@ -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 Spinner from '@atlaskit/spinner';
|
|
10
9
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
11
10
|
import { MinHeightContainer } from '../../../../common/ui/min-height-container';
|
|
@@ -20,7 +19,6 @@ const listContainerStyles = null;
|
|
|
20
19
|
const spinnerContainerStyles = null;
|
|
21
20
|
const listStyles = null;
|
|
22
21
|
const baseListTitleStyles = null;
|
|
23
|
-
const oldListTitleStyles = null;
|
|
24
22
|
const newListTitleStyles = null;
|
|
25
23
|
export const messages = defineMessages({
|
|
26
24
|
titleRecentlyViewed: {
|
|
@@ -126,7 +124,7 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
|
|
|
126
124
|
itemsContent = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
127
125
|
id: testIds.resultListTitle,
|
|
128
126
|
"data-testid": testIds.resultListTitle,
|
|
129
|
-
className: ax(["_11c81o8v _k48pmoej _otyr1b66",
|
|
127
|
+
className: ax(["_11c81o8v _k48pmoej _otyr1b66", "_syaz1gjq"])
|
|
130
128
|
}, /*#__PURE__*/React.createElement(FormattedMessage, linkListTitle)), /*#__PURE__*/React.createElement(VisuallyHidden, {
|
|
131
129
|
id: "fabric.smartcard.linkpicker.suggested.results"
|
|
132
130
|
}, hasSearchTerm && /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.searchLinkResults, {
|
|
@@ -93,7 +93,7 @@ export const TextInput = ({
|
|
|
93
93
|
spacing: "spacious"
|
|
94
94
|
})));
|
|
95
95
|
return /*#__PURE__*/React.createElement("div", {
|
|
96
|
-
className: ax(["_7yjtidpf _onzypxbi",
|
|
96
|
+
className: ax(["_7yjtidpf _onzypxbi", "_11c81vhk"])
|
|
97
97
|
}, /*#__PURE__*/React.createElement(Field, {
|
|
98
98
|
label: label,
|
|
99
99
|
name: name
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._vwz44jg8{line-height:normal}
|
|
1
|
+
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
@@ -10,7 +10,6 @@ import { GenericErrorSVGV2 } from '../../../common/generic-error-svg-v2';
|
|
|
10
10
|
import { EmptyState } from '../../../common/ui/empty-state';
|
|
11
11
|
import { MinHeightContainer } from '../../../common/ui/min-height-container';
|
|
12
12
|
var errorBoundaryFallbackStyles = null;
|
|
13
|
-
var oldErrorBoundaryFallbackStyles = null;
|
|
14
13
|
var messages = defineMessages({
|
|
15
14
|
heading: {
|
|
16
15
|
defaultMessage: 'Something went wrong!',
|
|
@@ -30,7 +29,7 @@ export var ErrorBoundaryFallback = function ErrorBoundaryFallback() {
|
|
|
30
29
|
return /*#__PURE__*/React.createElement(MinHeightContainer, {
|
|
31
30
|
minHeight: LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
|
|
32
31
|
"data-testid": "link-picker-root-error-boundary-ui",
|
|
33
|
-
className: ax([
|
|
32
|
+
className: ax(["_11c81vhk"])
|
|
34
33
|
}, /*#__PURE__*/React.createElement(EmptyState, {
|
|
35
34
|
header: header,
|
|
36
35
|
renderImage: fg('platform-linking-visual-refresh-link-picker') ? function () {
|
|
@@ -9,5 +9,4 @@
|
|
|
9
9
|
._n3td1t3k{padding-bottom:var(--link-picker-padding-bottom)}
|
|
10
10
|
._syaz1be1{color:var(--ds-text-subtlest,#253858)}
|
|
11
11
|
._u5f31pah{padding-right:var(--link-picker-padding-right)}
|
|
12
|
-
._vchhusvi{box-sizing:border-box}
|
|
13
|
-
._vwz44jg8{line-height:normal}
|
|
12
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -42,8 +42,6 @@ var styles = {
|
|
|
42
42
|
linkDisplayHelperText: "_11c81o8v"
|
|
43
43
|
};
|
|
44
44
|
var baseRootContainerStyles = null;
|
|
45
|
-
// To be removed when platform-linking-visual-refresh-v1 is removed
|
|
46
|
-
var oldRootContainerStyles = null;
|
|
47
45
|
var formFooterMargin = null;
|
|
48
46
|
export var testIds = _objectSpread(_objectSpread(_objectSpread({
|
|
49
47
|
linkPickerRoot: 'link-picker-root',
|
|
@@ -413,7 +411,7 @@ export var LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(functi
|
|
|
413
411
|
"data-testid": testIds.linkPicker,
|
|
414
412
|
// Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
|
|
415
413
|
onSubmitCapture: handleSubmit,
|
|
416
|
-
className: ax(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"
|
|
414
|
+
className: ax(["_19bv164s _u5f31pah _ca0q1k79 _n3td1t3k _vchhusvi _1e0ctcjq"])
|
|
417
415
|
}, /*#__PURE__*/React.createElement(TrackMount, null), isActivePlugin && /*#__PURE__*/React.createElement(Fragment, null, screenReaderText && /*#__PURE__*/React.createElement(Announcer, {
|
|
418
416
|
ariaLive: "assertive",
|
|
419
417
|
text: screenReaderText,
|
|
@@ -19,6 +19,5 @@
|
|
|
19
19
|
._otyr1b66{margin-bottom:var(--ds-space-050,4px)}
|
|
20
20
|
._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
|
|
21
21
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
22
|
-
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
23
22
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
24
23
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
@@ -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 Spinner from '@atlaskit/spinner';
|
|
15
14
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
16
15
|
import { MinHeightContainer } from '../../../../common/ui/min-height-container';
|
|
@@ -25,7 +24,6 @@ var listContainerStyles = null;
|
|
|
25
24
|
var spinnerContainerStyles = null;
|
|
26
25
|
var listStyles = null;
|
|
27
26
|
var baseListTitleStyles = null;
|
|
28
|
-
var oldListTitleStyles = null;
|
|
29
27
|
var newListTitleStyles = null;
|
|
30
28
|
export var messages = defineMessages({
|
|
31
29
|
titleRecentlyViewed: {
|
|
@@ -128,7 +126,7 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
128
126
|
itemsContent = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
129
127
|
id: testIds.resultListTitle,
|
|
130
128
|
"data-testid": testIds.resultListTitle,
|
|
131
|
-
className: ax(["_11c81o8v _k48pmoej _otyr1b66",
|
|
129
|
+
className: ax(["_11c81o8v _k48pmoej _otyr1b66", "_syaz1gjq"])
|
|
132
130
|
}, /*#__PURE__*/React.createElement(FormattedMessage, linkListTitle)), /*#__PURE__*/React.createElement(VisuallyHidden, {
|
|
133
131
|
id: "fabric.smartcard.linkpicker.suggested.results"
|
|
134
132
|
}, hasSearchTerm && /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.searchLinkResults, {
|
|
@@ -96,7 +96,7 @@ export var TextInput = function TextInput(_ref) {
|
|
|
96
96
|
spacing: "spacious"
|
|
97
97
|
})));
|
|
98
98
|
return /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
className: ax(["_7yjtidpf _onzypxbi",
|
|
99
|
+
className: ax(["_7yjtidpf _onzypxbi", "_11c81vhk"])
|
|
100
100
|
}, /*#__PURE__*/React.createElement(Field, {
|
|
101
101
|
label: label,
|
|
102
102
|
name: name
|
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": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -36,9 +36,6 @@
|
|
|
36
36
|
"./lazy": "./src/lazy.ts"
|
|
37
37
|
},
|
|
38
38
|
"platform-feature-flags": {
|
|
39
|
-
"platform-linking-visual-refresh-v1": {
|
|
40
|
-
"type": "boolean"
|
|
41
|
-
},
|
|
42
39
|
"platform-linking-link-picker-previewable-only": {
|
|
43
40
|
"type": "boolean"
|
|
44
41
|
},
|
|
@@ -76,9 +73,9 @@
|
|
|
76
73
|
"@atlaskit/button": "^23.2.0",
|
|
77
74
|
"@atlaskit/css": "^0.12.0",
|
|
78
75
|
"@atlaskit/form": "^12.0.0",
|
|
79
|
-
"@atlaskit/frontend-utilities": "^3.
|
|
76
|
+
"@atlaskit/frontend-utilities": "^3.1.0",
|
|
80
77
|
"@atlaskit/heading": "^5.2.0",
|
|
81
|
-
"@atlaskit/icon": "^27.
|
|
78
|
+
"@atlaskit/icon": "^27.3.0",
|
|
82
79
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
83
80
|
"@atlaskit/link": "^3.2.0",
|
|
84
81
|
"@atlaskit/link-provider": "^3.4.0",
|
|
@@ -86,7 +83,7 @@
|
|
|
86
83
|
"@atlaskit/onboarding": "^14.2.0",
|
|
87
84
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
88
85
|
"@atlaskit/primitives": "^14.10.0",
|
|
89
|
-
"@atlaskit/smart-card": "^39.
|
|
86
|
+
"@atlaskit/smart-card": "^39.2.0",
|
|
90
87
|
"@atlaskit/spinner": "^18.0.0",
|
|
91
88
|
"@atlaskit/tabs": "^18.1.0",
|
|
92
89
|
"@atlaskit/textfield": "^8.0.0",
|