@atlaskit/link-picker 1.39.5 → 1.40.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 +8 -0
- package/dist/cjs/common/generic-error-svg/index.js +4 -1
- package/dist/cjs/common/ui/min-height-container/index.js +4 -1
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +4 -1
- package/dist/cjs/ui/index.js +5 -2
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/index.js +4 -1
- package/dist/cjs/ui/link-picker/form-footer/index.js +9 -3
- package/dist/cjs/ui/link-picker/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +19 -19
- package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +4 -1
- package/dist/cjs/ui/link-picker/search-results/track-tab-viewed/index.js +4 -1
- package/dist/cjs/ui/link-picker/text-input/index.js +9 -5
- package/dist/cjs/ui/link-picker/track-mount/index.js +4 -1
- package/dist/cjs/ui/loader-fallback/index.js +4 -1
- package/dist/es2019/common/generic-error-svg/index.js +4 -1
- package/dist/es2019/common/ui/min-height-container/index.js +4 -1
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +4 -1
- package/dist/es2019/ui/index.js +5 -2
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/index.js +4 -1
- package/dist/es2019/ui/link-picker/form-footer/index.js +9 -3
- package/dist/es2019/ui/link-picker/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +19 -19
- package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +4 -1
- package/dist/es2019/ui/link-picker/search-results/track-tab-viewed/index.js +4 -1
- package/dist/es2019/ui/link-picker/text-input/index.js +8 -4
- package/dist/es2019/ui/link-picker/track-mount/index.js +4 -1
- package/dist/es2019/ui/loader-fallback/index.js +4 -1
- package/dist/esm/common/generic-error-svg/index.js +4 -1
- package/dist/esm/common/ui/min-height-container/index.js +4 -1
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +4 -1
- package/dist/esm/ui/index.js +5 -2
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/index.js +4 -1
- package/dist/esm/ui/link-picker/form-footer/index.js +9 -3
- package/dist/esm/ui/link-picker/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +19 -19
- package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +4 -1
- package/dist/esm/ui/link-picker/search-results/track-tab-viewed/index.js +4 -1
- package/dist/esm/ui/link-picker/text-input/index.js +8 -4
- package/dist/esm/ui/link-picker/track-mount/index.js +4 -1
- package/dist/esm/ui/loader-fallback/index.js +4 -1
- package/dist/types/common/generic-error-svg/index.d.ts +4 -1
- package/dist/types/common/ui/min-height-container/index.d.ts +4 -1
- package/dist/types/ui/error-boundary/error-boundary-fallback/index.d.ts +4 -1
- package/dist/types/ui/index.d.ts +4 -1
- package/dist/types/ui/link-picker/form-footer/feature-discovery/index.d.ts +4 -1
- package/dist/types/ui/link-picker/search-results/index.d.ts +4 -1
- package/dist/types/ui/link-picker/search-results/link-search-error/index.d.ts +4 -1
- package/dist/types/ui/link-picker/search-results/link-search-list/index.d.ts +4 -1
- package/dist/types/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.d.ts +4 -1
- package/dist/types/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +4 -1
- package/dist/types/ui/loader-fallback/index.d.ts +4 -1
- package/dist/types-ts4.5/common/generic-error-svg/index.d.ts +4 -1
- package/dist/types-ts4.5/common/ui/min-height-container/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/error-boundary/error-boundary-fallback/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/form-footer/feature-discovery/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-error/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/loader-fallback/index.d.ts +4 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 1.40.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117215](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117215)
|
|
8
|
+
[`3f2423168897d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f2423168897d) -
|
|
9
|
+
[ux] Updated components to use new iconography behind a feature flag
|
|
10
|
+
|
|
3
11
|
## 1.39.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -7,7 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.GenericErrorSVG = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* @jsxRuntime classic
|
|
12
|
+
* @jsx jsx
|
|
13
|
+
*/
|
|
11
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
15
|
|
|
13
16
|
var HEIGHT = 90;
|
|
@@ -13,7 +13,10 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _react2 = require("@emotion/react");
|
|
14
14
|
var _styled = require("./styled");
|
|
15
15
|
var _excluded = ["minHeight"];
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
19
|
+
*/
|
|
17
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
21
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
22
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -13,7 +13,10 @@ var _emptyState = require("../../../common/ui/empty-state");
|
|
|
13
13
|
var _minHeightContainer = require("../../../common/ui/min-height-container");
|
|
14
14
|
var _styled = require("../../link-picker/styled");
|
|
15
15
|
var _styled2 = require("./styled");
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
19
|
+
*/
|
|
17
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
21
|
|
|
19
22
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -20,13 +20,16 @@ var _loaderFallback = require("./loader-fallback");
|
|
|
20
20
|
var _messagesProvider = require("./messages-provider");
|
|
21
21
|
var _styled = require("./styled");
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /**
|
|
23
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /**
|
|
24
|
+
* @jsxRuntime classic
|
|
25
|
+
* @jsx jsx
|
|
26
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
27
|
var testIds = exports.testIds = {
|
|
25
28
|
linkPickerRoot: 'link-picker-root'
|
|
26
29
|
};
|
|
27
30
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
28
31
|
packageName: "@atlaskit/link-picker" || '',
|
|
29
|
-
packageVersion: "1.
|
|
32
|
+
packageVersion: "1.40.0" || '',
|
|
30
33
|
componentName: _constants.COMPONENT_NAME,
|
|
31
34
|
source: _constants.COMPONENT_NAME
|
|
32
35
|
};
|
|
@@ -8,7 +8,10 @@ var _react = require("react");
|
|
|
8
8
|
var _react2 = require("@emotion/react");
|
|
9
9
|
var _storageClient = require("@atlaskit/frontend-utilities/storage-client");
|
|
10
10
|
var _styled = require("./styled");
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* @jsxRuntime classic
|
|
13
|
+
* @jsx jsx
|
|
14
|
+
*/
|
|
12
15
|
|
|
13
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
17
|
|
|
@@ -15,13 +15,17 @@ var _uuid = _interopRequireDefault(require("uuid"));
|
|
|
15
15
|
var _button = _interopRequireWildcard(require("@atlaskit/button"));
|
|
16
16
|
var _loadingButton = _interopRequireDefault(require("@atlaskit/button/loading-button"));
|
|
17
17
|
var _add = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/add"));
|
|
18
|
+
var _add2 = _interopRequireDefault(require("@atlaskit/icon/utility/add"));
|
|
18
19
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
19
20
|
var _errors = require("../../../common/utils/errors");
|
|
20
21
|
var _featureDiscovery = _interopRequireDefault(require("./feature-discovery"));
|
|
21
22
|
var _styled = require("./styled");
|
|
22
23
|
var _utils = require("./utils");
|
|
23
24
|
var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "items", "isEditing", "onCancel", "action", "createFeatureDiscovery", "customSubmitButtonLabel"];
|
|
24
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* @jsxRuntime classic
|
|
27
|
+
* @jsx jsx
|
|
28
|
+
*/
|
|
25
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
30
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
27
31
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -84,9 +88,11 @@ var FormFooter = exports.FormFooter = /*#__PURE__*/(0, _react.memo)(function (_r
|
|
|
84
88
|
testId: testIds.actionButton,
|
|
85
89
|
onClick: pluginAction.callback,
|
|
86
90
|
appearance: "default",
|
|
87
|
-
iconBefore: (0, _react2.jsx)(
|
|
91
|
+
iconBefore: (0, _react2.jsx)(_add2.default, {
|
|
88
92
|
label: "",
|
|
89
|
-
|
|
93
|
+
LEGACY_size: "medium",
|
|
94
|
+
LEGACY_fallbackIcon: _add.default,
|
|
95
|
+
color: "currentColor"
|
|
90
96
|
}),
|
|
91
97
|
isDisabled: isSubmitting,
|
|
92
98
|
"aria-labelledby": isSubmitting ? submitMessageId : undefined
|
|
@@ -31,7 +31,10 @@ var _textInput = require("./text-input");
|
|
|
31
31
|
var _trackMount = require("./track-mount");
|
|
32
32
|
var _utils = require("./utils");
|
|
33
33
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
34
|
-
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) { (0, _defineProperty2.default)(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; } /**
|
|
34
|
+
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) { (0, _defineProperty2.default)(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; } /**
|
|
35
|
+
* @jsxRuntime classic
|
|
36
|
+
* @jsx jsx
|
|
37
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
35
38
|
var testIds = exports.testIds = _objectSpread(_objectSpread(_objectSpread({
|
|
36
39
|
linkPickerRoot: 'link-picker-root',
|
|
37
40
|
linkPicker: 'link-picker',
|
|
@@ -22,7 +22,10 @@ var _trackTabViewed = require("./track-tab-viewed");
|
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
23
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
|
-
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) { (0, _defineProperty2.default)(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; } /**
|
|
25
|
+
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) { (0, _defineProperty2.default)(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; } /**
|
|
26
|
+
* @jsxRuntime classic
|
|
27
|
+
* @jsx jsx
|
|
28
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
29
|
var testIds = exports.testIds = _objectSpread(_objectSpread(_objectSpread({}, _linkSearchError.testIds), _linkSearchList.testIds), {}, {
|
|
27
30
|
tabsLoadingIndicator: 'link-picker.tabs-loading-indicator',
|
|
28
31
|
tabList: 'link-picker-tabs',
|
|
@@ -12,7 +12,10 @@ var _atlassianContext = require("@atlaskit/atlassian-context");
|
|
|
12
12
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
13
|
var _genericErrorSvg = require("../../../../common/generic-error-svg");
|
|
14
14
|
var _emptyState = require("../../../../common/ui/empty-state");
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* @jsxRuntime classic
|
|
17
|
+
* @jsx jsx
|
|
18
|
+
*/
|
|
16
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
20
|
|
|
18
21
|
var CONTACT_SUPPORT_LINK = exports.CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
|
|
@@ -22,7 +22,10 @@ var _styled = require("./styled");
|
|
|
22
22
|
var _useTrackResultsShown = require("./use-track-results-shown");
|
|
23
23
|
var _excluded = ["onChange", "onSelect", "onKeyDown", "items", "activeIndex", "selectedIndex", "isLoading", "ariaControls", "ariaLabelledBy", "ariaReadOnly", "role", "id", "hasSearchTerm", "activePlugin"];
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
|
-
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) { (0, _defineProperty2.default)(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; } /**
|
|
25
|
+
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) { (0, _defineProperty2.default)(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; } /**
|
|
26
|
+
* @jsxRuntime classic
|
|
27
|
+
* @jsx jsx
|
|
28
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
29
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
27
30
|
titleRecentlyViewed: {
|
|
28
31
|
id: 'fabric.linkPicker.listTitle.recentlyViewed',
|
|
@@ -5,7 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.NoResultsSVG = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* @jsxRuntime classic
|
|
10
|
+
* @jsx jsx
|
|
11
|
+
*/
|
|
9
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
13
|
|
|
11
14
|
var HEIGHT = 120;
|
|
@@ -9,7 +9,10 @@ var _react2 = require("@emotion/react");
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _transformTimeStamp = require("../../../transformTimeStamp");
|
|
11
11
|
var _styled = require("./styled");
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
13
16
|
|
|
14
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
18
|
|
|
@@ -10,16 +10,19 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
|
-
var
|
|
14
|
-
var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/
|
|
15
|
-
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
+
var _new = require("@atlaskit/button/new");
|
|
14
|
+
var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-left"));
|
|
15
|
+
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-right"));
|
|
16
16
|
var _scrollingTabs = require("./scrolling-tabs");
|
|
17
17
|
var _styles = require("./styles");
|
|
18
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
20
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
21
21
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
22
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /**
|
|
22
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /**
|
|
23
|
+
* @jsxRuntime classic
|
|
24
|
+
* @jsx jsx
|
|
25
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
26
|
function isTouchDevice() {
|
|
24
27
|
return 'ontouchstart' in window ||
|
|
25
28
|
// eslint-disable-next-line compat/compat
|
|
@@ -121,7 +124,7 @@ var ScrollingTabList = exports.ScrollingTabList = function ScrollingTabList(prop
|
|
|
121
124
|
}, [onTabClick, ghost, ref]);
|
|
122
125
|
var buttonProps = {
|
|
123
126
|
appearance: 'subtle',
|
|
124
|
-
spacing: '
|
|
127
|
+
spacing: 'compact'
|
|
125
128
|
};
|
|
126
129
|
return (
|
|
127
130
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -134,30 +137,27 @@ var ScrollingTabList = exports.ScrollingTabList = function ScrollingTabList(prop
|
|
|
134
137
|
(0, _react2.jsx)("div", {
|
|
135
138
|
className: "back",
|
|
136
139
|
css: _styles.backButtonStyles
|
|
137
|
-
}, (0, _react2.jsx)(
|
|
138
|
-
"data-test-id": "back"
|
|
139
|
-
}, buttonProps, {
|
|
140
|
-
iconBefore: (0, _react2.jsx)(_chevronLeft.default, {
|
|
141
|
-
label: "back"
|
|
142
|
-
}),
|
|
140
|
+
}, (0, _react2.jsx)(_new.IconButton, (0, _extends2.default)({
|
|
141
|
+
"data-test-id": "back",
|
|
143
142
|
onClick: function onClick() {
|
|
144
143
|
return (0, _scrollingTabs.scrollBack)(ref);
|
|
145
|
-
}
|
|
146
|
-
|
|
144
|
+
},
|
|
145
|
+
label: "back",
|
|
146
|
+
icon: _chevronLeft.default
|
|
147
|
+
}, buttonProps))), (0, _react2.jsx)("div", {
|
|
147
148
|
css: _styles.scrollingContainerStyles
|
|
148
149
|
}, props.children), conditionalButtons.forward &&
|
|
149
150
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
150
151
|
(0, _react2.jsx)("div", {
|
|
151
152
|
css: _styles.nextButtonStyles
|
|
152
|
-
}, (0, _react2.jsx)(
|
|
153
|
-
"data-test-id": "forward"
|
|
154
|
-
}, buttonProps, {
|
|
155
|
-
iconBefore: (0, _react2.jsx)(_chevronRight.default, {
|
|
156
|
-
label: "forward"
|
|
157
|
-
}),
|
|
153
|
+
}, (0, _react2.jsx)(_new.IconButton, (0, _extends2.default)({
|
|
154
|
+
"data-test-id": "forward",
|
|
158
155
|
onClick: function onClick() {
|
|
159
156
|
return (0, _scrollingTabs.scrollForward)(ref);
|
|
160
157
|
}
|
|
158
|
+
}, buttonProps, {
|
|
159
|
+
label: "forward",
|
|
160
|
+
icon: _chevronRight.default
|
|
161
161
|
}))))
|
|
162
162
|
);
|
|
163
163
|
};
|
|
@@ -13,7 +13,10 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
13
13
|
var _minHeightContainer = require("../../../../common/ui/min-height-container");
|
|
14
14
|
var _styled = require("./styled");
|
|
15
15
|
var _excluded = ["hasTabs"];
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
19
|
+
*/
|
|
17
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
21
|
var SearchResultsContainer = exports.SearchResultsContainer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
19
22
|
var hasTabs = _ref.hasTabs,
|
|
@@ -9,7 +9,10 @@ var _react = require("react");
|
|
|
9
9
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
10
10
|
var _constants = require("../../../../common/constants");
|
|
11
11
|
var _analytics = _interopRequireDefault(require("../../../../common/utils/analytics/analytics.codegen"));
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
13
16
|
|
|
14
17
|
function TrackTabViewed(_ref) {
|
|
15
18
|
var activePlugin = _ref.activePlugin;
|
|
@@ -10,14 +10,17 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _form = require("@atlaskit/form");
|
|
13
|
-
var
|
|
13
|
+
var _crossCircleSelectClear = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross-circle--select-clear"));
|
|
14
14
|
var _primitives = require("@atlaskit/primitives");
|
|
15
15
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
16
16
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
17
17
|
var _conditionalSpotlightTargetWrapper = require("./conditional-spotlight-target-wrapper");
|
|
18
18
|
var _utils = require("./utils");
|
|
19
19
|
var _excluded = ["name", "label", "autoFocus", "onRedo", "onUndo", "onKeyDown", "onClear", "clearLabel", "error", "spotlightTargetName"];
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @jsxRuntime classic
|
|
22
|
+
* @jsx jsx
|
|
23
|
+
*/
|
|
21
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
25
|
/**
|
|
23
26
|
* Overidding text input margin top which design system provides as a default spacer
|
|
@@ -93,10 +96,11 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
|
|
|
93
96
|
xcss: clearTextButtonStyles,
|
|
94
97
|
onClick: handleClear,
|
|
95
98
|
testId: testIds.clearUrlButton
|
|
96
|
-
}, (0, _react2.jsx)(
|
|
97
|
-
|
|
99
|
+
}, (0, _react2.jsx)(_crossCircleSelectClear.default, {
|
|
100
|
+
LEGACY_size: "medium",
|
|
98
101
|
label: clearLabel || '',
|
|
99
|
-
|
|
102
|
+
color: "var(--ds-icon-subtle, #626F86)",
|
|
103
|
+
spacing: "spacious"
|
|
100
104
|
})));
|
|
101
105
|
return (0, _react2.jsx)("div", {
|
|
102
106
|
css: fieldStyles
|
|
@@ -11,7 +11,10 @@ var _experiences = require("../../../common/analytics/experiences");
|
|
|
11
11
|
var _constants = require("../../../common/constants");
|
|
12
12
|
var _analytics = _interopRequireDefault(require("../../../common/utils/analytics/analytics.codegen"));
|
|
13
13
|
var _sessionProvider = require("../../../controllers/session-provider");
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
17
|
+
*/
|
|
15
18
|
|
|
16
19
|
/**
|
|
17
20
|
* UFO + Analytics tracking for component mount (and unmount)
|
|
@@ -9,7 +9,10 @@ var _react = require("@emotion/react");
|
|
|
9
9
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
10
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
11
11
|
var _minHeightContainer = require("../../common/ui/min-height-container");
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
13
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
17
|
|
|
15
18
|
var styles = (0, _react.css)({
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import { css, jsx } from '@emotion/react';
|
|
5
8
|
const HEIGHT = 90;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import React, { forwardRef } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import React, { Fragment, memo } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -18,7 +21,7 @@ export const testIds = {
|
|
|
18
21
|
};
|
|
19
22
|
export const PACKAGE_DATA = {
|
|
20
23
|
packageName: "@atlaskit/link-picker" || '',
|
|
21
|
-
packageVersion: "1.
|
|
24
|
+
packageVersion: "1.40.0" || '',
|
|
22
25
|
componentName: COMPONENT_NAME,
|
|
23
26
|
source: COMPONENT_NAME
|
|
24
27
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import { memo, useMemo } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -8,7 +11,8 @@ import { defineMessages, useIntl } from 'react-intl-next';
|
|
|
8
11
|
import uuid from 'uuid';
|
|
9
12
|
import Button, { ButtonGroup } from '@atlaskit/button';
|
|
10
13
|
import LoadingButton from '@atlaskit/button/loading-button';
|
|
11
|
-
import
|
|
14
|
+
import EditorAddIconLegacy from '@atlaskit/icon/glyph/editor/add';
|
|
15
|
+
import EditorAddIcon from '@atlaskit/icon/utility/add';
|
|
12
16
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
13
17
|
import { UnauthenticatedError } from '../../../common/utils/errors';
|
|
14
18
|
import FeatureDiscovery from './feature-discovery';
|
|
@@ -71,7 +75,9 @@ export const FormFooter = /*#__PURE__*/memo(({
|
|
|
71
75
|
appearance: "default",
|
|
72
76
|
iconBefore: jsx(EditorAddIcon, {
|
|
73
77
|
label: "",
|
|
74
|
-
|
|
78
|
+
LEGACY_size: "medium",
|
|
79
|
+
LEGACY_fallbackIcon: EditorAddIconLegacy,
|
|
80
|
+
color: "currentColor"
|
|
75
81
|
}),
|
|
76
82
|
isDisabled: isSubmitting,
|
|
77
83
|
"aria-labelledby": isSubmitting ? submitMessageId : undefined
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import { Fragment, memo, useCallback, useLayoutEffect, useReducer } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import { jsx } from '@emotion/react';
|
|
5
8
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl-next';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import { forwardRef, Fragment, useCallback, useRef } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import React, { useCallback, useMemo, useRef, useState } from 'react';
|
|
4
7
|
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
9
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import
|
|
8
|
-
import ChevronLeftIcon from '@atlaskit/icon/
|
|
9
|
-
import ChevronRightIcon from '@atlaskit/icon/
|
|
10
|
+
import { IconButton } from '@atlaskit/button/new';
|
|
11
|
+
import ChevronLeftIcon from '@atlaskit/icon/utility/migration/chevron-left';
|
|
12
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/migration/chevron-right';
|
|
10
13
|
import { calculateConditionalButtons, createGhost, getTabList, scrollBack, scrollForward } from './scrolling-tabs';
|
|
11
14
|
import { backButtonStyles, containerStyles, nextButtonStyles, scrollingContainerStyles } from './styles';
|
|
12
15
|
function isTouchDevice() {
|
|
@@ -90,7 +93,7 @@ export const ScrollingTabList = props => {
|
|
|
90
93
|
}, [onTabClick, ghost, ref]);
|
|
91
94
|
const buttonProps = {
|
|
92
95
|
appearance: 'subtle',
|
|
93
|
-
spacing: '
|
|
96
|
+
spacing: 'compact'
|
|
94
97
|
};
|
|
95
98
|
return (
|
|
96
99
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -103,26 +106,23 @@ export const ScrollingTabList = props => {
|
|
|
103
106
|
jsx("div", {
|
|
104
107
|
className: "back",
|
|
105
108
|
css: backButtonStyles
|
|
106
|
-
}, jsx(
|
|
107
|
-
"data-test-id": "back"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
onClick: () => scrollBack(ref)
|
|
113
|
-
}))), jsx("div", {
|
|
109
|
+
}, jsx(IconButton, _extends({
|
|
110
|
+
"data-test-id": "back",
|
|
111
|
+
onClick: () => scrollBack(ref),
|
|
112
|
+
label: "back",
|
|
113
|
+
icon: ChevronLeftIcon
|
|
114
|
+
}, buttonProps))), jsx("div", {
|
|
114
115
|
css: scrollingContainerStyles
|
|
115
116
|
}, props.children), conditionalButtons.forward &&
|
|
116
117
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
117
118
|
jsx("div", {
|
|
118
119
|
css: nextButtonStyles
|
|
119
|
-
}, jsx(
|
|
120
|
-
"data-test-id": "forward"
|
|
121
|
-
}, buttonProps, {
|
|
122
|
-
iconBefore: jsx(ChevronRightIcon, {
|
|
123
|
-
label: "forward"
|
|
124
|
-
}),
|
|
120
|
+
}, jsx(IconButton, _extends({
|
|
121
|
+
"data-test-id": "forward",
|
|
125
122
|
onClick: () => scrollForward(ref)
|
|
123
|
+
}, buttonProps, {
|
|
124
|
+
label: "forward",
|
|
125
|
+
icon: ChevronRightIcon
|
|
126
126
|
}))))
|
|
127
127
|
);
|
|
128
128
|
};
|