@atlaskit/help 7.5.0 → 7.5.2

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 (111) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +3 -3
  4. package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +3 -3
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +3 -3
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -10
  8. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +7 -3
  9. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  10. package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -4
  11. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -6
  12. package/dist/cjs/components/Article/styled.js +3 -1
  13. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  14. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  15. package/dist/cjs/components/ArticlesList/styled.js +8 -2
  16. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  17. package/dist/cjs/components/HelpContentButton/styled.js +11 -10
  18. package/dist/cjs/components/RelatedArticles/index.js +11 -7
  19. package/dist/cjs/components/RelatedArticles/styled.js +10 -4
  20. package/dist/cjs/components/Search/SearchInput/index.js +10 -5
  21. package/dist/cjs/components/Search/SearchInput/styled.js +7 -3
  22. package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +2 -2
  23. package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -2
  24. package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
  25. package/dist/cjs/components/ShowMoreButton/index.js +3 -3
  26. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  27. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  28. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +2 -2
  29. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  30. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  31. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  32. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  33. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
  34. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  35. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  36. package/dist/cjs/components/styled.js +7 -3
  37. package/dist/cjs/util/styled.js +30 -7
  38. package/dist/es2019/analytics.js +1 -1
  39. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +2 -2
  40. package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
  41. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
  42. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
  43. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
  44. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  45. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  46. package/dist/es2019/components/Article/WhatsNewArticle/index.js +2 -2
  47. package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -6
  48. package/dist/es2019/components/Article/styled.js +2 -1
  49. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  50. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  51. package/dist/es2019/components/ArticlesList/styled.js +6 -2
  52. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  53. package/dist/es2019/components/HelpContentButton/styled.js +54 -53
  54. package/dist/es2019/components/RelatedArticles/index.js +12 -8
  55. package/dist/es2019/components/RelatedArticles/styled.js +8 -4
  56. package/dist/es2019/components/Search/SearchInput/index.js +10 -6
  57. package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
  58. package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +1 -1
  59. package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  60. package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
  61. package/dist/es2019/components/ShowMoreButton/index.js +1 -1
  62. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  63. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  64. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  65. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  66. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  67. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  68. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
  69. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  70. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  71. package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  72. package/dist/es2019/components/styled.js +6 -3
  73. package/dist/es2019/util/styled.js +48 -25
  74. package/dist/esm/analytics.js +1 -1
  75. package/dist/esm/components/Article/ArticleLoadingFail/index.js +2 -2
  76. package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
  77. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
  78. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
  79. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
  80. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  81. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  82. package/dist/esm/components/Article/WhatsNewArticle/index.js +2 -2
  83. package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -6
  84. package/dist/esm/components/Article/styled.js +2 -1
  85. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  86. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  87. package/dist/esm/components/ArticlesList/styled.js +6 -2
  88. package/dist/esm/components/HelpContentButton/index.js +1 -1
  89. package/dist/esm/components/HelpContentButton/styled.js +11 -10
  90. package/dist/esm/components/RelatedArticles/index.js +12 -8
  91. package/dist/esm/components/RelatedArticles/styled.js +8 -4
  92. package/dist/esm/components/Search/SearchInput/index.js +10 -6
  93. package/dist/esm/components/Search/SearchInput/styled.js +7 -3
  94. package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +1 -1
  95. package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  96. package/dist/esm/components/Search/SearchResults/styled.js +10 -5
  97. package/dist/esm/components/ShowMoreButton/index.js +1 -1
  98. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  99. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  100. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  101. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  102. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  103. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  104. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  105. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  106. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  107. package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  108. package/dist/esm/components/styled.js +6 -3
  109. package/dist/esm/util/styled.js +30 -7
  110. package/package.json +98 -98
  111. package/report.api.md +288 -301
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/help
2
2
 
3
+ ## 7.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
8
+ [`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
9
+ Removes usage of custom theme button in places where its API is not being used and the default
10
+ button is able to be used instead. This should give a slight performance (runtime) improvement.
11
+
12
+ ## 7.5.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 7.5.0
4
19
 
5
20
  ### Minor Changes
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
14
14
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
15
15
  componentName: 'help',
16
16
  packageName: "@atlaskit/help",
17
- packageVersion: "7.5.0"
17
+ packageVersion: "7.5.2"
18
18
  };
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = exports.ArticleLoadingFail = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
9
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
10
10
  var _reactIntlNext = require("react-intl-next");
11
11
  var _analyticsNext = require("@atlaskit/analytics-next");
12
12
  var _messages = require("../../../messages");
@@ -15,7 +15,7 @@ var _styled = require("./styled");
15
15
  var ANALYTICS_CONTEXT_DATA = {
16
16
  componentName: 'ArticleLoadingFail',
17
17
  packageName: "@atlaskit/help",
18
- packageVersion: "7.5.0"
18
+ packageVersion: "7.5.2"
19
19
  };
20
20
  var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
21
21
  var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
@@ -28,7 +28,7 @@ var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFai
28
28
  });
29
29
  onTryAgainButtonClick(event, analyticsEvent);
30
30
  };
31
- return /*#__PURE__*/_react.default.createElement(_styled.LoadingErrorMessage, null, /*#__PURE__*/_react.default.createElement(_SomethingWrongImage.default, null), /*#__PURE__*/_react.default.createElement("h2", null, formatMessage(_messages.messages.help_article_error_title)), /*#__PURE__*/_react.default.createElement("p", null, formatMessage(_messages.messages.help_article_error_text)), /*#__PURE__*/_react.default.createElement(_styled.LoadingErrorButtonContainer, null, handleOnTryAgainButtonClick && /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
31
+ return /*#__PURE__*/_react.default.createElement(_styled.LoadingErrorMessage, null, /*#__PURE__*/_react.default.createElement(_SomethingWrongImage.default, null), /*#__PURE__*/_react.default.createElement("h2", null, formatMessage(_messages.messages.help_article_error_title)), /*#__PURE__*/_react.default.createElement("p", null, formatMessage(_messages.messages.help_article_error_text)), /*#__PURE__*/_react.default.createElement(_styled.LoadingErrorButtonContainer, null, handleOnTryAgainButtonClick && /*#__PURE__*/_react.default.createElement(_button.default, {
32
32
  onClick: handleOnTryAgainButtonClick
33
33
  }, formatMessage(_messages.messages.help_article_error_button_label))));
34
34
  };
@@ -7,14 +7,15 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.LoadingErrorMessage = exports.LoadingErrorButtonContainer = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  /** @jsx jsx */
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
11
 
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
13
  var LoadingErrorMessage = exports.LoadingErrorMessage = _styled.default.div({
13
14
  paddingTop: "var(--ds-space-300, 24px)",
14
15
  textAlign: 'center'
15
16
  });
16
17
 
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
19
  var LoadingErrorButtonContainer = exports.LoadingErrorButtonContainer = _styled.default.div({
19
20
  paddingTop: "var(--ds-space-300, 24px)",
20
21
  textAlign: 'center'
@@ -8,12 +8,12 @@ exports.default = exports.ArticleWasHelpfulNoButton = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _analyticsNext = require("@atlaskit/analytics-next");
11
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
11
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
12
12
  var _messages = require("../../../../messages");
13
13
  var ANALYTICS_CONTEXT_DATA = {
14
14
  componentName: 'ArticleWasHelpfulNoButton',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "7.5.0"
16
+ packageVersion: "7.5.2"
17
17
  };
18
18
  var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -30,7 +30,7 @@ var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function Art
30
30
  onClick(event, _analyticsEvent);
31
31
  }
32
32
  };
33
- return /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
33
+ return /*#__PURE__*/_react.default.createElement(_button.default, {
34
34
  onClick: handleButtonClick,
35
35
  isSelected: isSelected,
36
36
  "aria-pressed": isSelected
@@ -8,12 +8,12 @@ exports.default = exports.ArticleWasHelpfulYesButton = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _analyticsNext = require("@atlaskit/analytics-next");
11
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
11
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
12
12
  var _messages = require("../../../../messages");
13
13
  var ANALYTICS_CONTEXT_DATA = {
14
14
  componentName: 'ArticleWasHelpfulYesButton',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "7.5.0"
16
+ packageVersion: "7.5.2"
17
17
  };
18
18
  var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -30,7 +30,7 @@ var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function A
30
30
  onClick(event, _analyticsEvent);
31
31
  }
32
32
  };
33
- return /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
33
+ return /*#__PURE__*/_react.default.createElement(_button.default, {
34
34
  onClick: handleButtonClick,
35
35
  isSelected: isSelected,
36
36
  "aria-pressed": isSelected
@@ -33,12 +33,21 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
33
33
  // AFP-2532 TODO: Fix automatic suppressions below
34
34
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
35
35
 
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
37
+
36
38
  var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
37
39
  var ANALYTICS_CONTEXT_DATA = {
38
40
  componentName: 'ArticleWasHelpfulForm',
39
41
  packageName: "@atlaskit/help",
40
- packageVersion: "7.5.0"
42
+ packageVersion: "7.5.2"
41
43
  };
44
+ var buttonStyles = (0, _react2.css)({
45
+ padding: '0',
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
47
+ '& span': {
48
+ margin: '0'
49
+ }
50
+ });
42
51
  var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
43
52
  var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
44
53
  onWasHelpfulYesButtonClick = _ref.onWasHelpfulYesButtonClick,
@@ -170,7 +179,7 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
170
179
  var formProps = _ref2.formProps;
171
180
  return (0, _react2.jsx)("form", (0, _extends2.default)({}, formProps, {
172
181
  name: "form-example"
173
- }), (0, _react2.jsx)(_styled.ArticleFeedbackText, null, formatMessage(_messages.messages.help_article_rating_form_title)), !wasHelpful && (0, _react2.jsx)(_form.Field, {
182
+ }), !wasHelpful && (0, _react2.jsx)(_form.Field, {
174
183
  name: "feedbackReason",
175
184
  isRequired: true
176
185
  }, function (_ref3) {
@@ -184,12 +193,20 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
184
193
  defaultValue: ""
185
194
  }, function (_ref4) {
186
195
  var fieldProps = _ref4.fieldProps;
187
- return (0, _react2.jsx)(_textarea.default, (0, _extends2.default)({}, fieldProps, {
196
+ return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_styled.ArticleFeedbackText, {
197
+ id: "articleFeedbackText"
198
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
199
+ ,
200
+ style: {
201
+ top: "var(--ds-space-negative-100, -8px)"
202
+ }
203
+ }, formatMessage(_messages.messages.help_article_rating_form_title)), (0, _react2.jsx)(_textarea.default, (0, _extends2.default)({}, fieldProps, {
188
204
  minimumRows: 4,
205
+ "aria-labelledby": "articleFeedbackText",
189
206
  maxLength: FEEDBACK_REASON_TEXT_MAX_LENGTH,
190
207
  value: feedbackReasonText,
191
208
  onChange: feedbackReasonTextOnChange
192
- }));
209
+ })));
193
210
  }), (0, _react2.jsx)(_form.CheckboxField, {
194
211
  name: "contactMe"
195
212
  }, function (_ref5) {
@@ -227,12 +244,7 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
227
244
  }, (0, _react2.jsx)("p", null, formatMessage(_messages.messages.help_article_rating_form_failed)), (0, _react2.jsx)("p", null, (0, _react2.jsx)(_customThemeButton.default, {
228
245
  appearance: "link",
229
246
  spacing: "compact",
230
- css: {
231
- padding: '0',
232
- '& span': {
233
- margin: '0'
234
- }
235
- },
247
+ css: buttonStyles,
236
248
  onClick: handleTryAgainOnClick
237
249
  }, formatMessage(_messages.messages.help_article_rating_form_failed_try_again))))));
238
250
  }
@@ -13,20 +13,24 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
13
13
  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; }
14
14
  /** @jsx jsx */
15
15
 
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
19
  var ArticleFeedbackContainer = exports.ArticleFeedbackContainer = _styled.default.div({
18
20
  position: 'relative'
19
21
  });
20
22
 
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
22
24
  var ArticleFeedbackText = exports.ArticleFeedbackText = _styled.default.div({
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
23
26
  font: "var(--ds-font-heading-xxsmall, ".concat(_typography.fontFallback.heading.xxsmall, ")"),
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
24
28
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
25
29
  position: 'relative',
26
30
  display: 'inline-block'
27
31
  });
28
32
 
29
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
30
34
  var ArticleFeedbackAnswerWrapper = exports.ArticleFeedbackAnswerWrapper = _styled.default.div({
31
35
  paddingTop: "var(--ds-space-200, 16px)"
32
36
  });
@@ -64,7 +64,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
64
64
  analyticsEvent.payload.attributes = {
65
65
  componentName: 'Article',
66
66
  packageName: "@atlaskit/help",
67
- packageVersion: "7.5.0"
67
+ packageVersion: "7.5.2"
68
68
  };
69
69
  if (onRelatedArticlesShowMoreClick) {
70
70
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -11,7 +11,7 @@ var _reactIntlNext = require("react-intl-next");
11
11
  var _helpArticle = _interopRequireWildcard(require("@atlaskit/help-article"));
12
12
  var _shortcut = _interopRequireDefault(require("@atlaskit/icon/glyph/shortcut"));
13
13
  var _analyticsNext = require("@atlaskit/analytics-next");
14
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
14
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
15
15
  var _messages = require("../../../messages");
16
16
  var _util = require("../../../util");
17
17
  var _styled = require("../../../util/styled");
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
22
22
  var analyticsContextData = {
23
23
  componentName: 'ArticlesListItem',
24
24
  packageName: "@atlaskit/help",
25
- packageVersion: "7.5.0"
25
+ packageVersion: "7.5.2"
26
26
  };
27
27
  var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
28
28
  var formatMessage = _ref.intl.formatMessage,
@@ -49,7 +49,7 @@ var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
49
49
  data: {
50
50
  componentName: 'searchExternalUrl'
51
51
  }
52
- }, article.relatedExternalLinks && /*#__PURE__*/_react.default.createElement(_styled2.RelatedLinkContainer, null, /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
52
+ }, article.relatedExternalLinks && /*#__PURE__*/_react.default.createElement(_styled2.RelatedLinkContainer, null, /*#__PURE__*/_react.default.createElement(_button.default, {
53
53
  appearance: "link",
54
54
  spacing: "none",
55
55
  href: article.relatedExternalLinks,
@@ -57,7 +57,7 @@ var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
57
57
  }, formatMessage(_messages.messages.help_whats_new_related_link_support)), /*#__PURE__*/_react.default.createElement(_styled2.ExternalLinkIconContainer, null, /*#__PURE__*/_react.default.createElement(_shortcut.default, {
58
58
  size: "small",
59
59
  label: ""
60
- }))), article.communityUrl && /*#__PURE__*/_react.default.createElement(_styled2.RelatedLinkContainer, null, /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
60
+ }))), article.communityUrl && /*#__PURE__*/_react.default.createElement(_styled2.RelatedLinkContainer, null, /*#__PURE__*/_react.default.createElement(_button.default, {
61
61
  appearance: "link",
62
62
  spacing: "none",
63
63
  href: article.communityUrl,
@@ -13,11 +13,14 @@ var _typography = require("@atlaskit/theme/typography");
13
13
  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); }
14
14
  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; }
15
15
  /** @jsx jsx */
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
17
 
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
19
  var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
19
20
  textDecoration: 'none',
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
20
22
  color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
21
24
  font: "var(--ds-font-body, ".concat(_typography.fontFallback.body.medium, ")"),
22
25
  verticalAlign: 'middle',
23
26
  paddingLeft: "var(--ds-space-050, 4px)",
@@ -25,15 +28,16 @@ var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
25
28
  overflowX: 'hidden'
26
29
  });
27
30
 
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
29
32
  var WhatsNewIconContainer = exports.WhatsNewIconContainer = _styled.default.div({
30
33
  display: 'block',
31
34
  paddingBottom: "var(--ds-space-100, 8px)"
32
35
  });
33
36
 
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
38
  var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
36
39
  textDecoration: 'none',
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
37
41
  color: "var(--ds-text, ".concat(colors.N800, ")"),
38
42
  fontSize: "".concat((0, _constants.fontSize)(), "px"),
39
43
  fontWeight: 600,
@@ -43,9 +47,10 @@ var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
43
47
  display: 'block'
44
48
  });
45
49
 
46
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
47
51
  var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _styled.default.span({
48
52
  textDecoration: 'none',
53
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
49
54
  color: "var(--ds-text, ".concat(colors.N800, ")"),
50
55
  fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
51
56
  fontWeight: 600,
@@ -55,12 +60,12 @@ var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _sty
55
60
  display: 'block'
56
61
  });
57
62
 
58
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
59
64
  var RelatedLinkContainer = exports.RelatedLinkContainer = _styled.default.div({
60
65
  marginBottom: "var(--ds-space-100, 8px)"
61
66
  });
62
67
 
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
68
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
64
69
  var ExternalLinkIconContainer = exports.ExternalLinkIconContainer = _styled.default.div({
65
70
  display: 'inline-block',
66
71
  verticalAlign: 'middle',
@@ -8,7 +8,9 @@ exports.ArticleContainer = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  /** @jsx jsx */
10
10
 
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
14
  var ArticleContainer = exports.ArticleContainer = _styled.default.div({
13
15
  padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)"),
14
16
  position: 'absolute',
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
18
18
  var ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'ArticlesListItem',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "7.5.0"
21
+ packageVersion: "7.5.2"
22
22
  };
23
23
  var ArticlesListItem = exports.ArticlesListItem = function ArticlesListItem(_ref) {
24
24
  var styles = _ref.styles,
@@ -12,8 +12,9 @@ var _typography = require("@atlaskit/theme/typography");
12
12
  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); }
13
13
  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; }
14
14
  /** @jsx jsx */
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
16
 
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
18
  var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.a({
18
19
  position: 'relative',
19
20
  boxSizing: 'border-box',
@@ -21,6 +22,7 @@ var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.
21
22
  display: 'block',
22
23
  textDecoration: 'none',
23
24
  cursor: 'pointer',
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
24
26
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
25
27
  borderRadius: '3px',
26
28
  backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
@@ -30,48 +32,59 @@ var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.
30
32
  outlineOffset: 'none'
31
33
  },
32
34
  '&:focus': {
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
33
36
  boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
34
37
  },
35
38
  '&:hover': {
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
36
40
  backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")")
37
41
  },
38
42
  '&:active': {
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
39
44
  backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")")
40
45
  }
41
- }, function (props) {
46
+ },
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
48
+ function (props) {
42
49
  return props.styles;
43
50
  });
44
51
 
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
46
53
  var ArticlesListItemContainer = exports.ArticlesListItemContainer = _styled.default.div({
47
54
  width: '100%',
48
55
  whiteSpace: 'nowrap',
49
56
  display: 'flex'
50
57
  });
58
+
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
51
60
  var ArticlesListItemTitleSection = exports.ArticlesListItemTitleSection = _styled.default.div({
52
61
  display: 'flex',
53
62
  flexDirection: 'column',
54
63
  flexGrow: 1
55
64
  });
56
65
 
57
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
66
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
58
67
  var ArticlesListItemTypeTitle = exports.ArticlesListItemTypeTitle = _styled.default.div({
68
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
69
  font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
60
70
  fontWeight: "var(--ds-font-weight-bold, bold)",
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
61
72
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
62
73
  });
63
74
 
64
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
65
76
  var ArticlesListItemLinkIcon = exports.ArticlesListItemLinkIcon = _styled.default.span({
66
77
  alignSelf: 'auto',
67
78
  paddingInlineStart: "var(--ds-space-050, 4px)",
68
79
  verticalAlign: 'middle'
69
80
  });
70
81
 
71
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
72
83
  var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.default.p({
73
84
  textDecoration: 'none',
85
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
74
86
  color: "var(--ds-text, ".concat(colors.N800, ")"),
87
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
75
88
  font: "var(--ds-font-heading-xsmall, ".concat(_typography.fontFallback.heading.xsmall, ")"),
76
89
  display: 'inline-block',
77
90
  whiteSpace: 'normal',
@@ -79,39 +92,56 @@ var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.defa
79
92
  marginBottom: "var(--ds-space-100, 4px)"
80
93
  });
81
94
 
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
83
96
  var ArticlesListItemDescription = exports.ArticlesListItemDescription = _styled.default.p({
84
97
  display: 'block',
85
98
  lineHeight: '20px',
99
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
86
100
  color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
87
101
  margin: 0,
88
102
  paddingBottom: "var(--ds-space-025, 2px)"
89
103
  });
104
+
105
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
90
106
  var ArticlesListItemSource = exports.ArticlesListItemSource = _styled.default.div({
91
107
  display: 'flex',
92
108
  alignItems: 'center',
109
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
93
110
  font: "var(--ds-font-heading-xxsmall, ".concat(_typography.fontFallback.heading.xxsmall, ")"),
111
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
94
112
  color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
95
113
  padding: "var(--ds-space-050, 4px)".concat(" 0"),
96
114
  fontWeight: "var(--ds-font-weight-bold, bold)",
97
115
  textTransform: 'uppercase'
98
116
  });
117
+
118
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
99
119
  var ArticlesListItemTrustFactor = exports.ArticlesListItemTrustFactor = _styled.default.div({
100
120
  display: 'flex',
101
121
  alignItems: 'center',
122
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
102
123
  font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
124
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
103
125
  color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
104
126
  paddingTop: "var(--ds-space-025, 2px)"
105
127
  });
128
+
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
106
130
  var ArticlesListItemViewCount = exports.ArticlesListItemViewCount = _styled.default.span({
107
131
  paddingRight: "var(--ds-space-100, 8px)"
108
132
  });
133
+
134
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
109
135
  var ArticlesListItemHelpfulCount = exports.ArticlesListItemHelpfulCount = _styled.default.span({
110
136
  display: 'inline-flex',
111
137
  paddingRight: "var(--ds-space-100, 8px)"
112
138
  });
139
+
140
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
113
141
  var ArticlesListItemLastModified = exports.ArticlesListItemLastModified = _styled.default.div({
142
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
114
143
  font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
144
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
115
145
  color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
116
146
  padding: "var(--ds-space-050, 4px)".concat(" 0")
117
147
  });
@@ -9,24 +9,30 @@ var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  /** @jsx jsx */
11
11
 
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
+
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
12
16
  var truncate = exports.truncate = function truncate() {
13
17
  var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
14
18
  return (0, _react.css)({
15
19
  overflowX: 'hidden',
16
20
  textOverflow: 'ellipsis',
17
21
  whiteSpace: 'nowrap',
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
18
23
  width: width
19
24
  });
20
25
  };
21
26
 
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
23
28
  var ArticlesListContainer = exports.ArticlesListContainer = _styled.default.div({
24
29
  position: 'relative'
25
30
  });
26
31
 
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
28
33
  var ToggleShowMoreArticlesContainer = exports.ToggleShowMoreArticlesContainer = _styled.default.div({
29
34
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
30
36
  span: {
31
37
  margin: 0
32
38
  }
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
17
17
  var analitycsContextData = {
18
18
  componentName: 'HelpContentButton',
19
19
  packageName: "@atlaskit/help",
20
- packageVersion: "7.5.0"
20
+ packageVersion: "7.5.2"
21
21
  };
22
22
  var HelpContentButton = function HelpContentButton(_ref) {
23
23
  var _ref$id = _ref.id,
@@ -11,19 +11,20 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
11
11
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
12
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
13
13
  /** @jsx jsx */
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
15
  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); }
15
16
  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; }
16
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
17
- var HelpContentButtonContainer = exports.HelpContentButtonContainer = _styledComponents.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: block;\n cursor: pointer;\n width: calc(100% - ", ");\n color: ", ";\n padding: ", ";\n border-radius: 3px;\n\n &:hover,\n &:focus,\n &:visited,\n &:active {\n text-decoration: none;\n outline: none;\n outline-offset: none;\n color: ", ";\n }\n\n &:focus {\n box-shadow: ", " 0 0 0 2px inset;\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-border-focused, ".concat(colors.B100, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"), "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"));
17
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
+ var HelpContentButtonContainer = exports.HelpContentButtonContainer = _styledComponents.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: block;\n\tcursor: pointer;\n\twidth: calc(100% - ", ");\n\tcolor: ", ";\n\tpadding: ", ";\n\tborder-radius: 3px;\n\n\t&:hover,\n\t&:focus,\n\t&:visited,\n\t&:active {\n\t\ttext-decoration: none;\n\t\toutline: none;\n\t\toutline-offset: none;\n\t\tcolor: ", ";\n\t}\n\n\t&:focus {\n\t\tbox-shadow: ", " 0 0 0 2px inset;\n\t}\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-border-focused, ".concat(colors.B100, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"), "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"));
18
19
 
19
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
20
- var HelpContentButtonIcon = exports.HelpContentButtonIcon = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n position: relative;\n\n & span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
20
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
21
+ var HelpContentButtonIcon = exports.HelpContentButtonIcon = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\twidth: 20px;\n\theight: 20px;\n\tborder-radius: 4px;\n\tposition: relative;\n\n\t& span {\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n"])));
21
22
 
22
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
23
- var HelpContentButtonText = exports.HelpContentButtonText = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: calc(100% - 20px);\n display: inline-block;\n vertical-align: middle;\n padding: 0 ", ";\n box-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
23
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
24
+ var HelpContentButtonText = exports.HelpContentButtonText = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\twidth: calc(100% - 20px);\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding: 0 ", ";\n\tbox-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
24
25
 
25
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
26
- var HelpContentButtonExternalLinkIcon = exports.HelpContentButtonExternalLinkIcon = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
26
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
27
+ var HelpContentButtonExternalLinkIcon = exports.HelpContentButtonExternalLinkIcon = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
27
28
 
28
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
29
- var HelpContentButtonExternalNotificationIcon = exports.HelpContentButtonExternalNotificationIcon = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n margin-top: ", ";\n padding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
29
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
30
+ var HelpContentButtonExternalNotificationIcon = exports.HelpContentButtonExternalNotificationIcon = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tmargin-top: ", ";\n\tpadding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");