@atlaskit/link-picker 1.42.3 → 1.42.4

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +6 -6
  3. package/dist/cjs/ui/link-picker/form-footer/index.js +31 -30
  4. package/dist/cjs/ui/link-picker/search-results/index.js +16 -9
  5. package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +2 -2
  6. package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +8 -3
  7. package/dist/cjs/ui/link-picker/styled.js +1 -1
  8. package/dist/cjs/ui/loader-fallback/index.js +1 -3
  9. package/dist/cjs/ui/main.js +5 -4
  10. package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +7 -7
  11. package/dist/es2019/ui/link-picker/form-footer/index.js +32 -31
  12. package/dist/es2019/ui/link-picker/search-results/index.js +16 -9
  13. package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +3 -3
  14. package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +9 -4
  15. package/dist/es2019/ui/link-picker/styled.js +2 -2
  16. package/dist/es2019/ui/loader-fallback/index.js +1 -3
  17. package/dist/es2019/ui/main.js +5 -4
  18. package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +7 -7
  19. package/dist/esm/ui/link-picker/form-footer/index.js +32 -31
  20. package/dist/esm/ui/link-picker/search-results/index.js +16 -9
  21. package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +3 -3
  22. package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +9 -4
  23. package/dist/esm/ui/link-picker/styled.js +2 -2
  24. package/dist/esm/ui/loader-fallback/index.js +1 -3
  25. package/dist/esm/ui/main.js +5 -4
  26. package/package.json +2 -2
  27. package/dist/cjs/ui/error-boundary/error-boundary-fallback/styled.js +0 -13
  28. package/dist/cjs/ui/link-picker/form-footer/styled.js +0 -19
  29. package/dist/cjs/ui/link-picker/search-results/search-results-container/styled.js +0 -16
  30. package/dist/cjs/ui/link-picker/search-results/styled.js +0 -29
  31. package/dist/cjs/ui/styled.js +0 -13
  32. package/dist/es2019/ui/error-boundary/error-boundary-fallback/styled.js +0 -7
  33. package/dist/es2019/ui/link-picker/form-footer/styled.js +0 -13
  34. package/dist/es2019/ui/link-picker/search-results/search-results-container/styled.js +0 -10
  35. package/dist/es2019/ui/link-picker/search-results/styled.js +0 -22
  36. package/dist/es2019/ui/styled.js +0 -7
  37. package/dist/esm/ui/error-boundary/error-boundary-fallback/styled.js +0 -7
  38. package/dist/esm/ui/link-picker/form-footer/styled.js +0 -13
  39. package/dist/esm/ui/link-picker/search-results/search-results-container/styled.js +0 -10
  40. package/dist/esm/ui/link-picker/search-results/styled.js +0 -22
  41. package/dist/esm/ui/styled.js +0 -7
  42. package/dist/types/ui/error-boundary/error-boundary-fallback/styled.d.ts +0 -1
  43. package/dist/types/ui/link-picker/form-footer/styled.d.ts +0 -2
  44. package/dist/types/ui/link-picker/search-results/search-results-container/styled.d.ts +0 -1
  45. package/dist/types/ui/link-picker/search-results/styled.d.ts +0 -3
  46. package/dist/types/ui/styled.d.ts +0 -1
  47. package/dist/types-ts4.5/ui/error-boundary/error-boundary-fallback/styled.d.ts +0 -1
  48. package/dist/types-ts4.5/ui/link-picker/form-footer/styled.d.ts +0 -2
  49. package/dist/types-ts4.5/ui/link-picker/search-results/search-results-container/styled.d.ts +0 -1
  50. package/dist/types-ts4.5/ui/link-picker/search-results/styled.d.ts +0 -3
  51. package/dist/types-ts4.5/ui/styled.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.42.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#128698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128698)
8
+ [`0a846f1404337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0a846f1404337) -
9
+ Small css refactor. No expected observable changes.
10
+ - Updated dependencies
11
+
3
12
  ## 1.42.3
4
13
 
5
14
  ### Patch Changes
@@ -12,7 +12,6 @@ var _genericErrorSvg = require("../../../common/generic-error-svg");
12
12
  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
- var _styled2 = require("./styled");
16
15
  /**
17
16
  * @jsxRuntime classic
18
17
  * @jsx jsx
@@ -21,6 +20,9 @@ var _styled2 = require("./styled");
21
20
 
22
21
  // eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
23
22
 
23
+ var errorBoundaryFallbackStyles = (0, _react.css)({
24
+ lineHeight: 'initial'
25
+ });
24
26
  var messages = (0, _reactIntlNext.defineMessages)({
25
27
  heading: {
26
28
  defaultMessage: 'Something went wrong!',
@@ -37,11 +39,9 @@ var ErrorBoundaryFallback = exports.ErrorBoundaryFallback = function ErrorBounda
37
39
  var intl = (0, _reactIntlNext.useIntl)();
38
40
  var header = intl.formatMessage(messages.heading);
39
41
  var description = intl.formatMessage(messages.description);
40
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results')) {
41
- return (0, _react.jsx)(_minHeightContainer.MinHeightContainer
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
43
- , {
44
- css: _styled2.errorBoundaryFallbackStyles,
42
+ if ((0, _platformFeatureFlags.fg)('platform.linking-platform.link-picker.fixed-height-search-results')) {
43
+ return (0, _react.jsx)(_minHeightContainer.MinHeightContainer, {
44
+ css: errorBoundaryFallbackStyles,
45
45
  minHeight: _constants.LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
46
46
  "data-testid": "link-picker-root-error-boundary-ui"
47
47
  }, (0, _react.jsx)(_emptyState.EmptyState, {
@@ -19,7 +19,6 @@ var _add2 = _interopRequireDefault(require("@atlaskit/icon/utility/add"));
19
19
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
20
20
  var _errors = require("../../../common/utils/errors");
21
21
  var _featureDiscovery = _interopRequireDefault(require("./feature-discovery"));
22
- var _styled = require("./styled");
23
22
  var _utils = require("./utils");
24
23
  var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "items", "isEditing", "onCancel", "action", "createFeatureDiscovery", "customSubmitButtonLabel"];
25
24
  /**
@@ -29,6 +28,13 @@ var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "ite
29
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
30
29
  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); }
31
30
  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; }
31
+ var formFooterStyles = (0, _react2.css)({
32
+ display: 'flex',
33
+ justifyContent: 'flex-end'
34
+ });
35
+ var formFooterActionStyles = (0, _react2.css)({
36
+ marginRight: 'auto'
37
+ });
32
38
  var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
33
39
  cancelButton: {
34
40
  id: 'fabric.linkPicker.button.cancel',
@@ -98,33 +104,28 @@ var FormFooter = exports.FormFooter = /*#__PURE__*/(0, _react.memo)(function (_r
98
104
  "aria-labelledby": isSubmitting ? submitMessageId : undefined
99
105
  }, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
100
106
  };
101
- return (
102
- // 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
- (0, _react2.jsx)("footer", (0, _extends2.default)({
104
- css: _styled.formFooterStyles
105
- }, restProps), isSubmitting && (0, _react2.jsx)(_visuallyHidden.default, {
106
- role: "status",
107
- id: submitMessageId,
108
- testId: testIds.submitStatusA11yIndicator
109
- }, intl.formatMessage(messages.submittingStatusMessage)), action &&
110
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
111
- (0, _react2.jsx)("div", {
112
- css: _styled.formFooterActionStyles
113
- }, createFeatureDiscovery ? (0, _react2.jsx)(_featureDiscovery.default, {
114
- testId: testIds.actionButtonDiscovery
115
- }, createButton(action)) : createButton(action)), (0, _react2.jsx)(_button.ButtonGroup, null, onCancel && (0, _react2.jsx)(_button.default, {
116
- appearance: "subtle",
117
- onClick: onCancel,
118
- testId: testIds.cancelButton,
119
- isDisabled: isSubmitting,
120
- "aria-labelledby": isSubmitting ? submitMessageId : undefined
121
- }, intl.formatMessage(messages.cancelButton)), (0, _react2.jsx)(_loadingButton.default, {
122
- type: "submit",
123
- appearance: "primary",
124
- testId: testIds.insertButton,
125
- isDisabled: isSubmitDisabled,
126
- "aria-labelledby": isSubmitting ? submitMessageId : undefined,
127
- isLoading: isSubmitting
128
- }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))))
129
- );
107
+ return (0, _react2.jsx)("footer", (0, _extends2.default)({
108
+ css: formFooterStyles
109
+ }, restProps), isSubmitting && (0, _react2.jsx)(_visuallyHidden.default, {
110
+ role: "status",
111
+ id: submitMessageId,
112
+ testId: testIds.submitStatusA11yIndicator
113
+ }, intl.formatMessage(messages.submittingStatusMessage)), action && (0, _react2.jsx)("div", {
114
+ css: formFooterActionStyles
115
+ }, createFeatureDiscovery ? (0, _react2.jsx)(_featureDiscovery.default, {
116
+ testId: testIds.actionButtonDiscovery
117
+ }, createButton(action)) : createButton(action)), (0, _react2.jsx)(_button.ButtonGroup, null, onCancel && (0, _react2.jsx)(_button.default, {
118
+ appearance: "subtle",
119
+ onClick: onCancel,
120
+ testId: testIds.cancelButton,
121
+ isDisabled: isSubmitting,
122
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined
123
+ }, intl.formatMessage(messages.cancelButton)), (0, _react2.jsx)(_loadingButton.default, {
124
+ type: "submit",
125
+ appearance: "primary",
126
+ testId: testIds.insertButton,
127
+ isDisabled: isSubmitDisabled,
128
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined,
129
+ isLoading: isSubmitting
130
+ }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))));
130
131
  });
@@ -10,6 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
  var _react = require("react");
12
12
  var _react2 = require("@emotion/react");
13
+ var _primitives = require("@atlaskit/primitives");
13
14
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner/spinner"));
14
15
  var _tabs = _interopRequireWildcard(require("@atlaskit/tabs"));
15
16
  var _useFixHeight = require("../../../controllers/use-fix-height");
@@ -17,7 +18,6 @@ var _linkSearchError = require("./link-search-error");
17
18
  var _linkSearchList = require("./link-search-list");
18
19
  var _scrollingTabs = require("./scrolling-tabs");
19
20
  var _searchResultsContainer = require("./search-results-container");
20
- var _styled = require("./styled");
21
21
  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; }
@@ -26,6 +26,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
26
26
  * @jsxRuntime classic
27
27
  * @jsx jsx
28
28
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
29
+ var tabsWrapperStyles = (0, _primitives.xcss)({
30
+ marginTop: 'space.150'
31
+ });
32
+ var spinnerContainerStyles = (0, _react2.css)({
33
+ minHeight: '80px',
34
+ display: 'flex',
35
+ alignItems: 'center',
36
+ justifyContent: 'center',
37
+ alignSelf: 'center',
38
+ flexGrow: 1
39
+ });
29
40
  var testIds = exports.testIds = _objectSpread(_objectSpread(_objectSpread({}, _linkSearchError.testIds), _linkSearchList.testIds), {}, {
30
41
  tabsLoadingIndicator: 'link-picker.tabs-loading-indicator',
31
42
  tabList: 'link-picker-tabs',
@@ -63,17 +74,13 @@ var SearchResults = exports.SearchResults = function SearchResults(_ref) {
63
74
  }));
64
75
  return (0, _react2.jsx)(_searchResultsContainer.SearchResultsContainer, (0, _extends2.default)({
65
76
  hasTabs: !!tabs.length || isLoadingPlugins
66
- }, fixListHeightProps), isLoadingPlugins && !!queryState &&
67
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
68
- (0, _react2.jsx)("div", {
69
- css: _styled.spinnerContainerStyles
77
+ }, fixListHeightProps), isLoadingPlugins && !!queryState && (0, _react2.jsx)("div", {
78
+ css: spinnerContainerStyles
70
79
  }, (0, _react2.jsx)(_spinner.default, {
71
80
  testId: testIds.tabsLoadingIndicator,
72
81
  size: "medium"
73
- })), !isLoadingPlugins && isActivePlugin && !!queryState && (0, _react2.jsx)(_react.Fragment, null, tabs.length > 0 &&
74
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
75
- (0, _react2.jsx)("div", {
76
- css: _styled.tabsWrapperStyles
82
+ })), !isLoadingPlugins && isActivePlugin && !!queryState && (0, _react2.jsx)(_react.Fragment, null, tabs.length > 0 && (0, _react2.jsx)(_primitives.Box, {
83
+ xcss: tabsWrapperStyles
77
84
  }, (0, _react2.jsx)(_tabs.default, {
78
85
  id: testIds.tabList,
79
86
  testId: testIds.tabList,
@@ -107,7 +107,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
107
107
  }
108
108
  }, [activeIndex, items, onKeyDown]);
109
109
  if ((items === null || items === void 0 ? void 0 : items.length) === 0) {
110
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.enable-empty-state')) {
110
+ if ((0, _platformFeatureFlags.fg)('platform.linking-platform.link-picker.enable-empty-state')) {
111
111
  if (hasSearchTerm) {
112
112
  return (0, _react2.jsx)(_linkSearchNoResults.NoResults, null);
113
113
  } else {
@@ -168,7 +168,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
168
168
  }
169
169
  if (isLoading) {
170
170
  loadingContent = (0, _react2.jsx)(_minHeightContainer.MinHeightContainer, {
171
- minHeight: (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
171
+ minHeight: (0, _platformFeatureFlags.fg)('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
172
172
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
173
173
  ,
174
174
  css: _styled.spinnerContainerStyles
@@ -11,23 +11,28 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
13
  var _minHeightContainer = require("../../../../common/ui/min-height-container");
14
- var _styled = require("./styled");
15
14
  var _excluded = ["hasTabs"];
16
15
  /**
17
16
  * @jsxRuntime classic
18
17
  * @jsx jsx
19
18
  */
20
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
+ var flexColumn = (0, _react2.css)({
21
+ display: 'flex',
22
+ flexDirection: 'column',
23
+ justifyContent: 'flex-start',
24
+ width: '100%'
25
+ });
21
26
  var SearchResultsContainer = exports.SearchResultsContainer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
22
27
  var hasTabs = _ref.hasTabs,
23
28
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
24
29
  var minHeight = hasTabs ? '347px' : '302px';
25
- var ffMinHeight = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
30
+ var ffMinHeight = (0, _platformFeatureFlags.fg)('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
26
31
 
27
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
33
  return (0, _react2.jsx)(_minHeightContainer.MinHeightContainer, (0, _extends2.default)({
29
34
  ref: ref,
30
35
  minHeight: ffMinHeight,
31
- css: _styled.flexColumn
36
+ css: flexColumn
32
37
  }, props));
33
38
  });
@@ -10,7 +10,7 @@ var _react = require("@emotion/react");
10
10
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
11
  var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
13
- var rootContainerStyles = exports.rootContainerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
13
+ var rootContainerStyles = exports.rootContainerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), (0, _platformFeatureFlags.fg)('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
14
14
 
15
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
16
16
  var formFooterMargin = exports.formFooterMargin = (0, _react.css)({
@@ -64,9 +64,7 @@ var LoaderFallback = exports.LoaderFallback = function LoaderFallback(props) {
64
64
  var minHeight = getEstimatedMinHeight(props);
65
65
  return (0, _react.jsx)(_minHeightContainer.MinHeightContainer, {
66
66
  minHeight: minHeight,
67
- "data-testid": "link-picker-root-loader-boundary-ui"
68
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
69
- ,
67
+ "data-testid": "link-picker-root-loader-boundary-ui",
70
68
  css: styles
71
69
  }, (0, _react.jsx)(_spinner.default, {
72
70
  testId: "link-picker.component-loading-indicator",
@@ -18,7 +18,6 @@ var _sessionProvider = require("../controllers/session-provider");
18
18
  var _errorBoundary = require("./error-boundary");
19
19
  var _loaderFallback = require("./loader-fallback");
20
20
  var _messagesProvider = require("./messages-provider");
21
- var _styled = require("./styled");
22
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); }
23
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; }
24
23
  /**
@@ -33,7 +32,7 @@ var testIds = exports.testIds = {
33
32
  };
34
33
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
35
34
  packageName: "@atlaskit/link-picker" || '',
36
- packageVersion: "1.42.3" || '',
35
+ packageVersion: "1.42.4" || '',
37
36
  componentName: _constants.COMPONENT_NAME,
38
37
  source: _constants.COMPONENT_NAME
39
38
  };
@@ -43,10 +42,12 @@ var DefaultRootComponent = function DefaultRootComponent(_ref) {
43
42
  "data-testid": testIds.linkPickerRoot
44
43
  }, children);
45
44
  };
45
+ var fixedWidthContainerStyles = (0, _react2.css)({
46
+ width: 'var(--link-picker-width)'
47
+ });
46
48
  var FixedWidthContainer = function FixedWidthContainer(props) {
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
48
49
  return (0, _react2.jsx)("div", (0, _extends2.default)({
49
- css: _styled.fixedWidthContainerStyles
50
+ css: fixedWidthContainerStyles
50
51
  }, props));
51
52
  };
52
53
  var composeLinkPicker = exports.composeLinkPicker = function composeLinkPicker(Component) {
@@ -3,16 +3,18 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
- import { jsx } from '@emotion/react';
6
+ import { css, jsx } from '@emotion/react';
7
7
  import { defineMessages, useIntl } from 'react-intl-next';
8
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK } from '../../../common/constants';
10
10
  import { GenericErrorSVG } from '../../../common/generic-error-svg';
11
11
  import { EmptyState } from '../../../common/ui/empty-state';
12
12
  import { MinHeightContainer } from '../../../common/ui/min-height-container';
13
13
  // eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
14
14
  import { rootContainerStyles } from '../../link-picker/styled';
15
- import { errorBoundaryFallbackStyles } from './styled';
15
+ const errorBoundaryFallbackStyles = css({
16
+ lineHeight: 'initial'
17
+ });
16
18
  const messages = defineMessages({
17
19
  heading: {
18
20
  defaultMessage: 'Something went wrong!',
@@ -29,10 +31,8 @@ export const ErrorBoundaryFallback = () => {
29
31
  const intl = useIntl();
30
32
  const header = intl.formatMessage(messages.heading);
31
33
  const description = intl.formatMessage(messages.description);
32
- if (getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results')) {
33
- return jsx(MinHeightContainer
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
- , {
34
+ if (fg('platform.linking-platform.link-picker.fixed-height-search-results')) {
35
+ return jsx(MinHeightContainer, {
36
36
  css: errorBoundaryFallbackStyles,
37
37
  minHeight: LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
38
38
  "data-testid": "link-picker-root-error-boundary-ui"
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import { memo, useMemo } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
- import { jsx } from '@emotion/react';
9
+ import { css, jsx } from '@emotion/react';
10
10
  import { defineMessages, useIntl } from 'react-intl-next';
11
11
  import uuid from 'uuid';
12
12
  import Button, { ButtonGroup } from '@atlaskit/button';
@@ -16,8 +16,14 @@ import EditorAddIcon from '@atlaskit/icon/utility/add';
16
16
  import VisuallyHidden from '@atlaskit/visually-hidden';
17
17
  import { UnauthenticatedError } from '../../../common/utils/errors';
18
18
  import FeatureDiscovery from './feature-discovery';
19
- import { formFooterActionStyles, formFooterStyles } from './styled';
20
19
  import { checkSubmitDisabled } from './utils';
20
+ const formFooterStyles = css({
21
+ display: 'flex',
22
+ justifyContent: 'flex-end'
23
+ });
24
+ const formFooterActionStyles = css({
25
+ marginRight: 'auto'
26
+ });
21
27
  export const messages = defineMessages({
22
28
  cancelButton: {
23
29
  id: 'fabric.linkPicker.button.cancel',
@@ -82,33 +88,28 @@ export const FormFooter = /*#__PURE__*/memo(({
82
88
  isDisabled: isSubmitting,
83
89
  "aria-labelledby": isSubmitting ? submitMessageId : undefined
84
90
  }, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
85
- return (
86
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
87
- jsx("footer", _extends({
88
- css: formFooterStyles
89
- }, restProps), isSubmitting && jsx(VisuallyHidden, {
90
- role: "status",
91
- id: submitMessageId,
92
- testId: testIds.submitStatusA11yIndicator
93
- }, intl.formatMessage(messages.submittingStatusMessage)), action &&
94
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
95
- jsx("div", {
96
- css: formFooterActionStyles
97
- }, createFeatureDiscovery ? jsx(FeatureDiscovery, {
98
- testId: testIds.actionButtonDiscovery
99
- }, createButton(action)) : createButton(action)), jsx(ButtonGroup, null, onCancel && jsx(Button, {
100
- appearance: "subtle",
101
- onClick: onCancel,
102
- testId: testIds.cancelButton,
103
- isDisabled: isSubmitting,
104
- "aria-labelledby": isSubmitting ? submitMessageId : undefined
105
- }, intl.formatMessage(messages.cancelButton)), jsx(LoadingButton, {
106
- type: "submit",
107
- appearance: "primary",
108
- testId: testIds.insertButton,
109
- isDisabled: isSubmitDisabled,
110
- "aria-labelledby": isSubmitting ? submitMessageId : undefined,
111
- isLoading: isSubmitting
112
- }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))))
113
- );
91
+ return jsx("footer", _extends({
92
+ css: formFooterStyles
93
+ }, restProps), isSubmitting && jsx(VisuallyHidden, {
94
+ role: "status",
95
+ id: submitMessageId,
96
+ testId: testIds.submitStatusA11yIndicator
97
+ }, intl.formatMessage(messages.submittingStatusMessage)), action && jsx("div", {
98
+ css: formFooterActionStyles
99
+ }, createFeatureDiscovery ? jsx(FeatureDiscovery, {
100
+ testId: testIds.actionButtonDiscovery
101
+ }, createButton(action)) : createButton(action)), jsx(ButtonGroup, null, onCancel && jsx(Button, {
102
+ appearance: "subtle",
103
+ onClick: onCancel,
104
+ testId: testIds.cancelButton,
105
+ isDisabled: isSubmitting,
106
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined
107
+ }, intl.formatMessage(messages.cancelButton)), jsx(LoadingButton, {
108
+ type: "submit",
109
+ appearance: "primary",
110
+ testId: testIds.insertButton,
111
+ isDisabled: isSubmitDisabled,
112
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined,
113
+ isLoading: isSubmitting
114
+ }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))));
114
115
  });
@@ -6,7 +6,8 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import { Fragment } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
- import { jsx } from '@emotion/react';
9
+ import { css, jsx } from '@emotion/react';
10
+ import { Box, xcss } from '@atlaskit/primitives';
10
11
  import Spinner from '@atlaskit/spinner/spinner';
11
12
  import Tabs, { Tab, TabList } from '@atlaskit/tabs';
12
13
  import { useFixHeight } from '../../../controllers/use-fix-height';
@@ -14,8 +15,18 @@ import { LinkSearchError, testIds as searchErrorTestIds } from './link-search-er
14
15
  import { LinkSearchList, testIds as listTestIds } from './link-search-list';
15
16
  import { ScrollingTabList } from './scrolling-tabs';
16
17
  import { SearchResultsContainer } from './search-results-container';
17
- import { spinnerContainerStyles, tabsWrapperStyles } from './styled';
18
18
  import { TrackTabViewed } from './track-tab-viewed';
19
+ const tabsWrapperStyles = xcss({
20
+ marginTop: 'space.150'
21
+ });
22
+ const spinnerContainerStyles = css({
23
+ minHeight: '80px',
24
+ display: 'flex',
25
+ alignItems: 'center',
26
+ justifyContent: 'center',
27
+ alignSelf: 'center',
28
+ flexGrow: 1
29
+ });
19
30
  export const testIds = {
20
31
  ...searchErrorTestIds,
21
32
  ...listTestIds,
@@ -54,17 +65,13 @@ export const SearchResults = ({
54
65
  }, tab.tabTitle)));
55
66
  return jsx(SearchResultsContainer, _extends({
56
67
  hasTabs: !!tabs.length || isLoadingPlugins
57
- }, fixListHeightProps), isLoadingPlugins && !!queryState &&
58
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
- jsx("div", {
68
+ }, fixListHeightProps), isLoadingPlugins && !!queryState && jsx("div", {
60
69
  css: spinnerContainerStyles
61
70
  }, jsx(Spinner, {
62
71
  testId: testIds.tabsLoadingIndicator,
63
72
  size: "medium"
64
- })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 &&
65
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
66
- jsx("div", {
67
- css: tabsWrapperStyles
73
+ })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 && jsx(Box, {
74
+ xcss: tabsWrapperStyles
68
75
  }, jsx(Tabs, {
69
76
  id: testIds.tabList,
70
77
  testId: testIds.tabList,
@@ -8,7 +8,7 @@ import { forwardRef, Fragment, useCallback, useRef } from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { defineMessages, FormattedMessage } from 'react-intl-next';
11
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
11
+ import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import Spinner from '@atlaskit/spinner';
13
13
  import VisuallyHidden from '@atlaskit/visually-hidden';
14
14
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
@@ -101,7 +101,7 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
101
101
  }
102
102
  }, [activeIndex, items, onKeyDown]);
103
103
  if ((items === null || items === void 0 ? void 0 : items.length) === 0) {
104
- if (getBooleanFF('platform.linking-platform.link-picker.enable-empty-state')) {
104
+ if (fg('platform.linking-platform.link-picker.enable-empty-state')) {
105
105
  if (hasSearchTerm) {
106
106
  return jsx(NoResults, null);
107
107
  } else {
@@ -156,7 +156,7 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
156
156
  }
157
157
  if (isLoading) {
158
158
  loadingContent = jsx(MinHeightContainer, {
159
- minHeight: getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
159
+ minHeight: fg('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
160
160
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
161
161
  ,
162
162
  css: spinnerContainerStyles
@@ -6,16 +6,21 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import { forwardRef } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
- import { jsx } from '@emotion/react';
10
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
9
+ import { css, jsx } from '@emotion/react';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
12
- import { flexColumn } from './styled';
12
+ const flexColumn = css({
13
+ display: 'flex',
14
+ flexDirection: 'column',
15
+ justifyContent: 'flex-start',
16
+ width: '100%'
17
+ });
13
18
  export const SearchResultsContainer = /*#__PURE__*/forwardRef(({
14
19
  hasTabs,
15
20
  ...props
16
21
  }, ref) => {
17
22
  const minHeight = hasTabs ? '347px' : '302px';
18
- const ffMinHeight = getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
23
+ const ffMinHeight = fg('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
19
24
 
20
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
21
26
  return jsx(MinHeightContainer, _extends({
@@ -1,9 +1,9 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
5
  export const rootContainerStyles = css`
6
- width: ${getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)'};
6
+ width: ${fg('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)'};
7
7
  padding-left: var(--link-picker-padding-left);
8
8
  padding-right: var(--link-picker-padding-right);
9
9
  padding-top: var(--link-picker-padding-top);
@@ -57,9 +57,7 @@ export const LoaderFallback = props => {
57
57
  const minHeight = getEstimatedMinHeight(props);
58
58
  return jsx(MinHeightContainer, {
59
59
  minHeight: minHeight,
60
- "data-testid": "link-picker-root-loader-boundary-ui"
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
62
- ,
60
+ "data-testid": "link-picker-root-loader-boundary-ui",
63
61
  css: styles
64
62
  }, jsx(Spinner, {
65
63
  testId: "link-picker.component-loading-indicator",
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import React, { Fragment, memo } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
- import { jsx } from '@emotion/react';
9
+ import { css, jsx } from '@emotion/react';
10
10
  import { LazySuspense } from 'react-loosely-lazy';
11
11
  import { AnalyticsContext } from '@atlaskit/analytics-next';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -15,13 +15,12 @@ import { LinkPickerSessionProvider } from '../controllers/session-provider';
15
15
  import { ErrorBoundary } from './error-boundary';
16
16
  import { LoaderFallback } from './loader-fallback';
17
17
  import { MessagesProvider } from './messages-provider';
18
- import { fixedWidthContainerStyles } from './styled';
19
18
  export const testIds = {
20
19
  linkPickerRoot: 'link-picker-root'
21
20
  };
22
21
  export const PACKAGE_DATA = {
23
22
  packageName: "@atlaskit/link-picker" || '',
24
- packageVersion: "1.42.3" || '',
23
+ packageVersion: "1.42.4" || '',
25
24
  componentName: COMPONENT_NAME,
26
25
  source: COMPONENT_NAME
27
26
  };
@@ -32,8 +31,10 @@ const DefaultRootComponent = ({
32
31
  "data-testid": testIds.linkPickerRoot
33
32
  }, children);
34
33
  };
34
+ const fixedWidthContainerStyles = css({
35
+ width: 'var(--link-picker-width)'
36
+ });
35
37
  const FixedWidthContainer = props => {
36
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
37
38
  return jsx("div", _extends({
38
39
  css: fixedWidthContainerStyles
39
40
  }, props));
@@ -3,16 +3,18 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
- import { jsx } from '@emotion/react';
6
+ import { css, jsx } from '@emotion/react';
7
7
  import { defineMessages, useIntl } from 'react-intl-next';
8
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK } from '../../../common/constants';
10
10
  import { GenericErrorSVG } from '../../../common/generic-error-svg';
11
11
  import { EmptyState } from '../../../common/ui/empty-state';
12
12
  import { MinHeightContainer } from '../../../common/ui/min-height-container';
13
13
  // eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
14
14
  import { rootContainerStyles } from '../../link-picker/styled';
15
- import { errorBoundaryFallbackStyles } from './styled';
15
+ var errorBoundaryFallbackStyles = css({
16
+ lineHeight: 'initial'
17
+ });
16
18
  var messages = defineMessages({
17
19
  heading: {
18
20
  defaultMessage: 'Something went wrong!',
@@ -29,10 +31,8 @@ export var ErrorBoundaryFallback = function ErrorBoundaryFallback() {
29
31
  var intl = useIntl();
30
32
  var header = intl.formatMessage(messages.heading);
31
33
  var description = intl.formatMessage(messages.description);
32
- if (getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results')) {
33
- return jsx(MinHeightContainer
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
- , {
34
+ if (fg('platform.linking-platform.link-picker.fixed-height-search-results')) {
35
+ return jsx(MinHeightContainer, {
36
36
  css: errorBoundaryFallbackStyles,
37
37
  minHeight: LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
38
38
  "data-testid": "link-picker-root-error-boundary-ui"
@@ -8,7 +8,7 @@ var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "ite
8
8
  import { memo, useMemo } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
- import { jsx } from '@emotion/react';
11
+ import { css, jsx } from '@emotion/react';
12
12
  import { defineMessages, useIntl } from 'react-intl-next';
13
13
  import uuid from 'uuid';
14
14
  import Button, { ButtonGroup } from '@atlaskit/button';
@@ -18,8 +18,14 @@ import EditorAddIcon from '@atlaskit/icon/utility/add';
18
18
  import VisuallyHidden from '@atlaskit/visually-hidden';
19
19
  import { UnauthenticatedError } from '../../../common/utils/errors';
20
20
  import FeatureDiscovery from './feature-discovery';
21
- import { formFooterActionStyles, formFooterStyles } from './styled';
22
21
  import { checkSubmitDisabled } from './utils';
22
+ var formFooterStyles = css({
23
+ display: 'flex',
24
+ justifyContent: 'flex-end'
25
+ });
26
+ var formFooterActionStyles = css({
27
+ marginRight: 'auto'
28
+ });
23
29
  export var messages = defineMessages({
24
30
  cancelButton: {
25
31
  id: 'fabric.linkPicker.button.cancel',
@@ -89,33 +95,28 @@ export var FormFooter = /*#__PURE__*/memo(function (_ref) {
89
95
  "aria-labelledby": isSubmitting ? submitMessageId : undefined
90
96
  }, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
91
97
  };
92
- return (
93
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
94
- jsx("footer", _extends({
95
- css: formFooterStyles
96
- }, restProps), isSubmitting && jsx(VisuallyHidden, {
97
- role: "status",
98
- id: submitMessageId,
99
- testId: testIds.submitStatusA11yIndicator
100
- }, intl.formatMessage(messages.submittingStatusMessage)), action &&
101
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
102
- jsx("div", {
103
- css: formFooterActionStyles
104
- }, createFeatureDiscovery ? jsx(FeatureDiscovery, {
105
- testId: testIds.actionButtonDiscovery
106
- }, createButton(action)) : createButton(action)), jsx(ButtonGroup, null, onCancel && jsx(Button, {
107
- appearance: "subtle",
108
- onClick: onCancel,
109
- testId: testIds.cancelButton,
110
- isDisabled: isSubmitting,
111
- "aria-labelledby": isSubmitting ? submitMessageId : undefined
112
- }, intl.formatMessage(messages.cancelButton)), jsx(LoadingButton, {
113
- type: "submit",
114
- appearance: "primary",
115
- testId: testIds.insertButton,
116
- isDisabled: isSubmitDisabled,
117
- "aria-labelledby": isSubmitting ? submitMessageId : undefined,
118
- isLoading: isSubmitting
119
- }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))))
120
- );
98
+ return jsx("footer", _extends({
99
+ css: formFooterStyles
100
+ }, restProps), isSubmitting && jsx(VisuallyHidden, {
101
+ role: "status",
102
+ id: submitMessageId,
103
+ testId: testIds.submitStatusA11yIndicator
104
+ }, intl.formatMessage(messages.submittingStatusMessage)), action && jsx("div", {
105
+ css: formFooterActionStyles
106
+ }, createFeatureDiscovery ? jsx(FeatureDiscovery, {
107
+ testId: testIds.actionButtonDiscovery
108
+ }, createButton(action)) : createButton(action)), jsx(ButtonGroup, null, onCancel && jsx(Button, {
109
+ appearance: "subtle",
110
+ onClick: onCancel,
111
+ testId: testIds.cancelButton,
112
+ isDisabled: isSubmitting,
113
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined
114
+ }, intl.formatMessage(messages.cancelButton)), jsx(LoadingButton, {
115
+ type: "submit",
116
+ appearance: "primary",
117
+ testId: testIds.insertButton,
118
+ isDisabled: isSubmitDisabled,
119
+ "aria-labelledby": isSubmitting ? submitMessageId : undefined,
120
+ isLoading: isSubmitting
121
+ }, customSubmitButtonLabel ? intl.formatMessage(customSubmitButtonLabel) : intl.formatMessage(insertButtonMsg))));
121
122
  });
@@ -9,7 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  import { Fragment } from 'react';
10
10
 
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
- import { jsx } from '@emotion/react';
12
+ import { css, jsx } from '@emotion/react';
13
+ import { Box, xcss } from '@atlaskit/primitives';
13
14
  import Spinner from '@atlaskit/spinner/spinner';
14
15
  import Tabs, { Tab, TabList } from '@atlaskit/tabs';
15
16
  import { useFixHeight } from '../../../controllers/use-fix-height';
@@ -17,8 +18,18 @@ import { LinkSearchError, testIds as searchErrorTestIds } from './link-search-er
17
18
  import { LinkSearchList, testIds as listTestIds } from './link-search-list';
18
19
  import { ScrollingTabList } from './scrolling-tabs';
19
20
  import { SearchResultsContainer } from './search-results-container';
20
- import { spinnerContainerStyles, tabsWrapperStyles } from './styled';
21
21
  import { TrackTabViewed } from './track-tab-viewed';
22
+ var tabsWrapperStyles = xcss({
23
+ marginTop: 'space.150'
24
+ });
25
+ var spinnerContainerStyles = css({
26
+ minHeight: '80px',
27
+ display: 'flex',
28
+ alignItems: 'center',
29
+ justifyContent: 'center',
30
+ alignSelf: 'center',
31
+ flexGrow: 1
32
+ });
22
33
  export var testIds = _objectSpread(_objectSpread(_objectSpread({}, searchErrorTestIds), listTestIds), {}, {
23
34
  tabsLoadingIndicator: 'link-picker.tabs-loading-indicator',
24
35
  tabList: 'link-picker-tabs',
@@ -56,17 +67,13 @@ export var SearchResults = function SearchResults(_ref) {
56
67
  }));
57
68
  return jsx(SearchResultsContainer, _extends({
58
69
  hasTabs: !!tabs.length || isLoadingPlugins
59
- }, fixListHeightProps), isLoadingPlugins && !!queryState &&
60
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
61
- jsx("div", {
70
+ }, fixListHeightProps), isLoadingPlugins && !!queryState && jsx("div", {
62
71
  css: spinnerContainerStyles
63
72
  }, jsx(Spinner, {
64
73
  testId: testIds.tabsLoadingIndicator,
65
74
  size: "medium"
66
- })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 &&
67
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
68
- jsx("div", {
69
- css: tabsWrapperStyles
75
+ })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 && jsx(Box, {
76
+ xcss: tabsWrapperStyles
70
77
  }, jsx(Tabs, {
71
78
  id: testIds.tabList,
72
79
  testId: testIds.tabList,
@@ -13,7 +13,7 @@ import { forwardRef, Fragment, useCallback, useRef } from 'react';
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
14
  import { css, jsx } from '@emotion/react';
15
15
  import { defineMessages, FormattedMessage } from 'react-intl-next';
16
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
16
+ import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import Spinner from '@atlaskit/spinner';
18
18
  import VisuallyHidden from '@atlaskit/visually-hidden';
19
19
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
@@ -103,7 +103,7 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
103
103
  }
104
104
  }, [activeIndex, items, onKeyDown]);
105
105
  if ((items === null || items === void 0 ? void 0 : items.length) === 0) {
106
- if (getBooleanFF('platform.linking-platform.link-picker.enable-empty-state')) {
106
+ if (fg('platform.linking-platform.link-picker.enable-empty-state')) {
107
107
  if (hasSearchTerm) {
108
108
  return jsx(NoResults, null);
109
109
  } else {
@@ -164,7 +164,7 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
164
164
  }
165
165
  if (isLoading) {
166
166
  loadingContent = jsx(MinHeightContainer, {
167
- minHeight: getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
167
+ minHeight: fg('platform.linking-platform.link-picker.fixed-height-search-results') ? '50px' : '80px'
168
168
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
169
169
  ,
170
170
  css: spinnerContainerStyles
@@ -8,15 +8,20 @@ var _excluded = ["hasTabs"];
8
8
  import { forwardRef } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
- import { jsx } from '@emotion/react';
12
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
11
+ import { css, jsx } from '@emotion/react';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
13
13
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
14
- import { flexColumn } from './styled';
14
+ var flexColumn = css({
15
+ display: 'flex',
16
+ flexDirection: 'column',
17
+ justifyContent: 'flex-start',
18
+ width: '100%'
19
+ });
15
20
  export var SearchResultsContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {
16
21
  var hasTabs = _ref.hasTabs,
17
22
  props = _objectWithoutProperties(_ref, _excluded);
18
23
  var minHeight = hasTabs ? '347px' : '302px';
19
- var ffMinHeight = getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
24
+ var ffMinHeight = fg('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
20
25
 
21
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
22
27
  return jsx(MinHeightContainer, _extends({
@@ -2,9 +2,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
  var _templateObject;
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import { css } from '@emotion/react';
5
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
6
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
- export var rootContainerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
7
+ export var rootContainerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), fg('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
10
  export var formFooterMargin = css({
@@ -56,9 +56,7 @@ export var LoaderFallback = function LoaderFallback(props) {
56
56
  var minHeight = getEstimatedMinHeight(props);
57
57
  return jsx(MinHeightContainer, {
58
58
  minHeight: minHeight,
59
- "data-testid": "link-picker-root-loader-boundary-ui"
60
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
61
- ,
59
+ "data-testid": "link-picker-root-loader-boundary-ui",
62
60
  css: styles
63
61
  }, jsx(Spinner, {
64
62
  testId: "link-picker.component-loading-indicator",
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
7
7
  import React, { Fragment, memo } from 'react';
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
- import { jsx } from '@emotion/react';
10
+ import { css, jsx } from '@emotion/react';
11
11
  import { LazySuspense } from 'react-loosely-lazy';
12
12
  import { AnalyticsContext } from '@atlaskit/analytics-next';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -16,13 +16,12 @@ import { LinkPickerSessionProvider } from '../controllers/session-provider';
16
16
  import { ErrorBoundary } from './error-boundary';
17
17
  import { LoaderFallback } from './loader-fallback';
18
18
  import { MessagesProvider } from './messages-provider';
19
- import { fixedWidthContainerStyles } from './styled';
20
19
  export var testIds = {
21
20
  linkPickerRoot: 'link-picker-root'
22
21
  };
23
22
  export var PACKAGE_DATA = {
24
23
  packageName: "@atlaskit/link-picker" || '',
25
- packageVersion: "1.42.3" || '',
24
+ packageVersion: "1.42.4" || '',
26
25
  componentName: COMPONENT_NAME,
27
26
  source: COMPONENT_NAME
28
27
  };
@@ -32,8 +31,10 @@ var DefaultRootComponent = function DefaultRootComponent(_ref) {
32
31
  "data-testid": testIds.linkPickerRoot
33
32
  }, children);
34
33
  };
34
+ var fixedWidthContainerStyles = css({
35
+ width: 'var(--link-picker-width)'
36
+ });
35
37
  var FixedWidthContainer = function FixedWidthContainer(props) {
36
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
37
38
  return jsx("div", _extends({
38
39
  css: fixedWidthContainerStyles
39
40
  }, props));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.42.3",
3
+ "version": "1.42.4",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -56,7 +56,7 @@
56
56
  "dependencies": {
57
57
  "@atlaskit/analytics-next": "^10.1.0",
58
58
  "@atlaskit/atlassian-context": "^0.0.0",
59
- "@atlaskit/button": "^20.0.0",
59
+ "@atlaskit/button": "^20.1.0",
60
60
  "@atlaskit/form": "^10.5.0",
61
61
  "@atlaskit/frontend-utilities": "^2.7.0",
62
62
  "@atlaskit/heading": "^2.4.0",
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.errorBoundaryFallbackStyles = void 0;
7
- var _react = require("@emotion/react");
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- var errorBoundaryFallbackStyles = exports.errorBoundaryFallbackStyles = (0, _react.css)({
12
- lineHeight: 'initial'
13
- });
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.formFooterStyles = exports.formFooterActionStyles = void 0;
7
- var _react = require("@emotion/react");
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- var formFooterStyles = exports.formFooterStyles = (0, _react.css)({
12
- display: 'flex',
13
- justifyContent: 'flex-end'
14
- });
15
-
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
- var formFooterActionStyles = exports.formFooterActionStyles = (0, _react.css)({
18
- marginRight: 'auto'
19
- });
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.flexColumn = void 0;
7
- var _react = require("@emotion/react");
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- var flexColumn = exports.flexColumn = (0, _react.css)({
12
- display: 'flex',
13
- flexDirection: 'column',
14
- justifyContent: 'flex-start',
15
- width: '100%'
16
- });
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.tabsWrapperStyles = exports.spinnerContainerStyles = exports.flexColumnStyles = void 0;
7
- var _react = require("@emotion/react");
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- var tabsWrapperStyles = exports.tabsWrapperStyles = (0, _react.css)({
12
- marginTop: "var(--ds-space-150, 12px)"
13
- });
14
-
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
16
- var spinnerContainerStyles = exports.spinnerContainerStyles = (0, _react.css)({
17
- minHeight: '80px',
18
- display: 'flex',
19
- alignItems: 'center',
20
- justifyContent: 'center',
21
- alignSelf: 'center',
22
- flexGrow: 1
23
- });
24
-
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
26
- var flexColumnStyles = exports.flexColumnStyles = (0, _react.css)({
27
- display: 'flex',
28
- flexDirection: 'column'
29
- });
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.fixedWidthContainerStyles = void 0;
7
- var _react = require("@emotion/react");
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- var fixedWidthContainerStyles = exports.fixedWidthContainerStyles = (0, _react.css)({
12
- width: 'var(--link-picker-width)'
13
- });
@@ -1,7 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export const errorBoundaryFallbackStyles = css({
6
- lineHeight: 'initial'
7
- });
@@ -1,13 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export const formFooterStyles = css({
6
- display: 'flex',
7
- justifyContent: 'flex-end'
8
- });
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- export const formFooterActionStyles = css({
12
- marginRight: 'auto'
13
- });
@@ -1,10 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export const flexColumn = css({
6
- display: 'flex',
7
- flexDirection: 'column',
8
- justifyContent: 'flex-start',
9
- width: '100%'
10
- });
@@ -1,22 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
- export const tabsWrapperStyles = css({
5
- marginTop: "var(--ds-space-150, 12px)"
6
- });
7
-
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
- export const spinnerContainerStyles = css({
10
- minHeight: '80px',
11
- display: 'flex',
12
- alignItems: 'center',
13
- justifyContent: 'center',
14
- alignSelf: 'center',
15
- flexGrow: 1
16
- });
17
-
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
19
- export const flexColumnStyles = css({
20
- display: 'flex',
21
- flexDirection: 'column'
22
- });
@@ -1,7 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export const fixedWidthContainerStyles = css({
6
- width: 'var(--link-picker-width)'
7
- });
@@ -1,7 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export var errorBoundaryFallbackStyles = css({
6
- lineHeight: 'initial'
7
- });
@@ -1,13 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export var formFooterStyles = css({
6
- display: 'flex',
7
- justifyContent: 'flex-end'
8
- });
9
-
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
- export var formFooterActionStyles = css({
12
- marginRight: 'auto'
13
- });
@@ -1,10 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export var flexColumn = css({
6
- display: 'flex',
7
- flexDirection: 'column',
8
- justifyContent: 'flex-start',
9
- width: '100%'
10
- });
@@ -1,22 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
- export var tabsWrapperStyles = css({
5
- marginTop: "var(--ds-space-150, 12px)"
6
- });
7
-
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
- export var spinnerContainerStyles = css({
10
- minHeight: '80px',
11
- display: 'flex',
12
- alignItems: 'center',
13
- justifyContent: 'center',
14
- alignSelf: 'center',
15
- flexGrow: 1
16
- });
17
-
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
19
- export var flexColumnStyles = css({
20
- display: 'flex',
21
- flexDirection: 'column'
22
- });
@@ -1,7 +0,0 @@
1
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
- import { css } from '@emotion/react';
3
-
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export var fixedWidthContainerStyles = css({
6
- width: 'var(--link-picker-width)'
7
- });
@@ -1 +0,0 @@
1
- export declare const errorBoundaryFallbackStyles: import("@emotion/react").SerializedStyles;
@@ -1,2 +0,0 @@
1
- export declare const formFooterStyles: import("@emotion/react").SerializedStyles;
2
- export declare const formFooterActionStyles: import("@emotion/react").SerializedStyles;
@@ -1 +0,0 @@
1
- export declare const flexColumn: import("@emotion/react").SerializedStyles;
@@ -1,3 +0,0 @@
1
- export declare const tabsWrapperStyles: import("@emotion/react").SerializedStyles;
2
- export declare const spinnerContainerStyles: import("@emotion/react").SerializedStyles;
3
- export declare const flexColumnStyles: import("@emotion/react").SerializedStyles;
@@ -1 +0,0 @@
1
- export declare const fixedWidthContainerStyles: import("@emotion/react").SerializedStyles;
@@ -1 +0,0 @@
1
- export declare const errorBoundaryFallbackStyles: import("@emotion/react").SerializedStyles;
@@ -1,2 +0,0 @@
1
- export declare const formFooterStyles: import("@emotion/react").SerializedStyles;
2
- export declare const formFooterActionStyles: import("@emotion/react").SerializedStyles;
@@ -1 +0,0 @@
1
- export declare const flexColumn: import("@emotion/react").SerializedStyles;
@@ -1,3 +0,0 @@
1
- export declare const tabsWrapperStyles: import("@emotion/react").SerializedStyles;
2
- export declare const spinnerContainerStyles: import("@emotion/react").SerializedStyles;
3
- export declare const flexColumnStyles: import("@emotion/react").SerializedStyles;
@@ -1 +0,0 @@
1
- export declare const fixedWidthContainerStyles: import("@emotion/react").SerializedStyles;