@atlaskit/help 7.11.7 → 7.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +4 -5
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/Help.js +5 -7
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/RelatedArticles/styled.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/Search/SearchResults/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +2 -3
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +4 -5
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/RelatedArticles/index.js +1 -1
- package/dist/es2019/components/RelatedArticles/styled.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/Search/SearchResults/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -3
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +2 -3
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +4 -5
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/Help.js +5 -7
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/RelatedArticles/styled.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/Search/SearchResults/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -3
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +2 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 7.11.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#181817](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/181817)
|
|
8
|
+
[`c75a0ced77056`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c75a0ced77056) -
|
|
9
|
+
Internal changes to typography.
|
|
10
|
+
|
|
11
|
+
## 7.11.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
|
|
16
|
+
[`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
|
|
17
|
+
Internal changes to typography.
|
|
18
|
+
|
|
3
19
|
## 7.11.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -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.11.
|
|
17
|
+
packageVersion: "7.11.9"
|
|
18
18
|
};
|
|
@@ -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.11.
|
|
18
|
+
packageVersion: "7.11.9"
|
|
19
19
|
};
|
|
20
20
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
21
21
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.9"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.9"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -42,7 +42,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
42
42
|
var ANALYTICS_CONTEXT_DATA = {
|
|
43
43
|
componentName: 'ArticleWasHelpfulForm',
|
|
44
44
|
packageName: "@atlaskit/help",
|
|
45
|
-
packageVersion: "7.11.
|
|
45
|
+
packageVersion: "7.11.9"
|
|
46
46
|
};
|
|
47
47
|
var buttonStyles = (0, _react2.css)({
|
|
48
48
|
padding: '0',
|
|
@@ -65,7 +65,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
|
|
|
65
65
|
analyticsEvent.payload.attributes = {
|
|
66
66
|
componentName: 'Article',
|
|
67
67
|
packageName: "@atlaskit/help",
|
|
68
|
-
packageVersion: "7.11.
|
|
68
|
+
packageVersion: "7.11.9"
|
|
69
69
|
};
|
|
70
70
|
if (onRelatedArticlesShowMoreClick) {
|
|
71
71
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -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.11.
|
|
25
|
+
packageVersion: "7.11.9"
|
|
26
26
|
};
|
|
27
27
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
28
28
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.WhatsNewTypeTitle = exports.WhatsNewTitleText = exports.WhatsNewRelatedLinksTitleText = exports.WhatsNewIconContainer = exports.RelatedLinkContainer = exports.ExternalLinkIconContainer = void 0;
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
11
10
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
12
11
|
var _typography = require("@atlaskit/theme/typography");
|
|
13
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); }
|
|
@@ -42,8 +41,8 @@ var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
|
|
|
42
41
|
textDecoration: 'none',
|
|
43
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
44
43
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
45
|
-
|
|
46
|
-
fontWeight: 600,
|
|
44
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
45
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
47
46
|
whiteSpace: 'normal',
|
|
48
47
|
overflowX: 'hidden',
|
|
49
48
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -55,8 +54,8 @@ var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _sty
|
|
|
55
54
|
textDecoration: 'none',
|
|
56
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
57
56
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
58
|
-
|
|
59
|
-
fontWeight: 600,
|
|
57
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
58
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
60
59
|
whiteSpace: 'normal',
|
|
61
60
|
overflowX: 'hidden',
|
|
62
61
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -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.11.
|
|
21
|
+
packageVersion: "7.11.9"
|
|
22
22
|
};
|
|
23
23
|
var highlightText = function highlightText(text) {
|
|
24
24
|
if (!text) {
|
|
@@ -9,9 +9,9 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
12
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
14
13
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
15
|
var _react = _interopRequireDefault(require("react"));
|
|
16
16
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
@@ -25,7 +25,7 @@ var _searchContext = require("./contexts/searchContext");
|
|
|
25
25
|
var _whatsNewArticleContext = require("./contexts/whatsNewArticleContext");
|
|
26
26
|
var _HelpContent = _interopRequireDefault(require("./HelpContent"));
|
|
27
27
|
var _excluded = ["children", "footer"];
|
|
28
|
-
function
|
|
28
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
29
29
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
30
30
|
var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
|
|
31
31
|
var _ref$locale = _ref.locale,
|
|
@@ -37,13 +37,12 @@ var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
|
|
|
37
37
|
}, children);
|
|
38
38
|
};
|
|
39
39
|
var Help = exports.Help = /*#__PURE__*/function (_React$PureComponent) {
|
|
40
|
-
(0, _inherits2.default)(Help, _React$PureComponent);
|
|
41
|
-
var _super = _createSuper(Help);
|
|
42
40
|
function Help() {
|
|
43
41
|
(0, _classCallCheck2.default)(this, Help);
|
|
44
|
-
return
|
|
42
|
+
return _callSuper(this, Help, arguments);
|
|
45
43
|
}
|
|
46
|
-
(0,
|
|
44
|
+
(0, _inherits2.default)(Help, _React$PureComponent);
|
|
45
|
+
return (0, _createClass2.default)(Help, [{
|
|
47
46
|
key: "render",
|
|
48
47
|
value: function render() {
|
|
49
48
|
var _this$props = this.props,
|
|
@@ -57,6 +56,5 @@ var Help = exports.Help = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
57
56
|
})))))))));
|
|
58
57
|
}
|
|
59
58
|
}]);
|
|
60
|
-
return Help;
|
|
61
59
|
}(_react.default.PureComponent);
|
|
62
60
|
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)(_analytics.defaultAnalyticsAttributes)((0, _analyticsNext.withAnalyticsEvents)()(Help));
|
|
@@ -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.11.
|
|
20
|
+
packageVersion: "7.11.9"
|
|
21
21
|
};
|
|
22
22
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
23
23
|
var _ref$id = _ref.id,
|
|
@@ -33,7 +33,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
34
34
|
|
|
35
35
|
var packageName = "@atlaskit/help";
|
|
36
|
-
var packageVersion = "7.11.
|
|
36
|
+
var packageVersion = "7.11.9";
|
|
37
37
|
var buttonStyles = (0, _react2.css)({
|
|
38
38
|
padding: '0',
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -39,7 +39,7 @@ var truncate = exports.truncate = function truncate() {
|
|
|
39
39
|
var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(baseHeading(16, 20), {
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
41
41
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
42
|
-
fontWeight: 600,
|
|
42
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
43
43
|
letterSpacing: '-0.006em',
|
|
44
44
|
padding: "var(--ds-space-200, 16px)".concat(" 0")
|
|
45
45
|
});
|
|
@@ -32,7 +32,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
32
32
|
var ANALYTICS_CONTEXT_DATA = {
|
|
33
33
|
componentName: 'searchInput',
|
|
34
34
|
packageName: "@atlaskit/help",
|
|
35
|
-
packageVersion: "7.11.
|
|
35
|
+
packageVersion: "7.11.9"
|
|
36
36
|
};
|
|
37
37
|
var buttonStyles = (0, _react2.css)({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -61,7 +61,7 @@ var SearchResultEmptyMessageHeaderText = exports.SearchResultEmptyMessageHeaderT
|
|
|
61
61
|
color: "var(--ds-text, ".concat(colors.N500, ")"),
|
|
62
62
|
fontSize: '0.875rem',
|
|
63
63
|
fontStyle: 'normal',
|
|
64
|
-
fontWeight:
|
|
64
|
+
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'WhatsNewButton',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.9"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
27
27
|
var productName = _ref.productName,
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticlesListItem',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.11.
|
|
18
|
+
packageVersion: "7.11.9"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.WhatsNewResultListItemWrapper = exports.WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleContainer = exports.WhatsNewResultListItemDescription = void 0;
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
11
10
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
12
11
|
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
12
|
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 && {}.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; }
|
|
@@ -64,8 +63,7 @@ var WhatsNewResultListItemTitleContainer = exports.WhatsNewResultListItemTitleCo
|
|
|
64
63
|
|
|
65
64
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
66
65
|
var WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleText = _styled.default.span({
|
|
67
|
-
|
|
68
|
-
lineHeight: "".concat((0, _constants.fontSize)(), "px"),
|
|
66
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
69
67
|
display: 'inline-block',
|
|
70
68
|
verticalAlign: 'middle',
|
|
71
69
|
margin: 0,
|
|
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.truncate = exports.WhatsNewResultsListGroupWrapper = exports.WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListContainer = exports.ToggleShowWhatsNewResultsContainer = void 0;
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
11
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
12
11
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
13
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); }
|
|
14
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 && {}.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; }
|
|
@@ -46,8 +45,8 @@ var WhatsNewResultsListGroupWrapper = exports.WhatsNewResultsListGroupWrapper =
|
|
|
46
45
|
var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _styled.default.div({
|
|
47
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
48
47
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
49
|
-
|
|
50
|
-
fontWeight:
|
|
48
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
49
|
+
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
51
50
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
52
51
|
textTransform: 'uppercase'
|
|
53
52
|
});
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
export const ArticleLoadingFail = ({
|
|
14
14
|
onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.9"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulNoButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.9"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -29,7 +29,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
29
29
|
const ANALYTICS_CONTEXT_DATA = {
|
|
30
30
|
componentName: 'ArticleWasHelpfulForm',
|
|
31
31
|
packageName: "@atlaskit/help",
|
|
32
|
-
packageVersion: "7.11.
|
|
32
|
+
packageVersion: "7.11.9"
|
|
33
33
|
};
|
|
34
34
|
const buttonStyles = css({
|
|
35
35
|
padding: '0',
|
|
@@ -60,7 +60,7 @@ export const HelpArticle = ({
|
|
|
60
60
|
analyticsEvent.payload.attributes = {
|
|
61
61
|
componentName: 'Article',
|
|
62
62
|
packageName: "@atlaskit/help",
|
|
63
|
-
packageVersion: "7.11.
|
|
63
|
+
packageVersion: "7.11.9"
|
|
64
64
|
};
|
|
65
65
|
if (onRelatedArticlesShowMoreClick) {
|
|
66
66
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
const analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.9"
|
|
17
17
|
};
|
|
18
18
|
export const WhatsNewArticle = ({
|
|
19
19
|
intl: {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
10
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -31,8 +30,8 @@ export const WhatsNewTitleText = styled.span({
|
|
|
31
30
|
textDecoration: 'none',
|
|
32
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
33
32
|
color: `var(--ds-text, ${colors.N800})`,
|
|
34
|
-
|
|
35
|
-
fontWeight: 600,
|
|
33
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
36
35
|
whiteSpace: 'normal',
|
|
37
36
|
overflowX: 'hidden',
|
|
38
37
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -44,8 +43,8 @@ export const WhatsNewRelatedLinksTitleText = styled.span({
|
|
|
44
43
|
textDecoration: 'none',
|
|
45
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
45
|
color: `var(--ds-text, ${colors.N800})`,
|
|
47
|
-
|
|
48
|
-
fontWeight: 600,
|
|
46
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
47
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
49
48
|
whiteSpace: 'normal',
|
|
50
49
|
overflowX: 'hidden',
|
|
51
50
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
const highlightText = text => {
|
|
14
14
|
if (!text) {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
const analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.11.
|
|
10
|
+
packageVersion: "7.11.9"
|
|
11
11
|
};
|
|
12
12
|
const HelpContentButton = ({
|
|
13
13
|
id = '',
|
|
@@ -20,7 +20,7 @@ import { usePrevious } from '../../util/hooks/previous';
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
22
|
const packageName = "@atlaskit/help";
|
|
23
|
-
const packageVersion = "7.11.
|
|
23
|
+
const packageVersion = "7.11.9";
|
|
24
24
|
const buttonStyles = css({
|
|
25
25
|
padding: '0',
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -26,7 +26,7 @@ export const truncate = (width = '100%') => css({
|
|
|
26
26
|
export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
28
28
|
color: `var(--ds-text, ${colors.N800})`,
|
|
29
|
-
fontWeight: 600,
|
|
29
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
30
30
|
letterSpacing: '-0.006em',
|
|
31
31
|
padding: `${"var(--ds-space-200, 16px)"} 0`
|
|
32
32
|
});
|
|
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
21
21
|
const ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'searchInput',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.9"
|
|
25
25
|
};
|
|
26
26
|
const buttonStyles = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -50,7 +50,7 @@ export const SearchResultEmptyMessageHeaderText = styled.h2({
|
|
|
50
50
|
color: `var(--ds-text, ${colors.N500})`,
|
|
51
51
|
fontSize: '0.875rem',
|
|
52
52
|
fontStyle: 'normal',
|
|
53
|
-
fontWeight:
|
|
53
|
+
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
const ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.11.
|
|
14
|
+
packageVersion: "7.11.9"
|
|
15
15
|
};
|
|
16
16
|
export const WhatsNewButton = ({
|
|
17
17
|
productName,
|
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
9
|
export const WhatsNewResultListItemWrapper =
|
|
@@ -51,8 +50,7 @@ export const WhatsNewResultListItemTitleContainer = styled.div({
|
|
|
51
50
|
|
|
52
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
52
|
export const WhatsNewResultListItemTitleText = styled.span({
|
|
54
|
-
|
|
55
|
-
lineHeight: `${fontSize()}px`,
|
|
53
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
56
54
|
display: 'inline-block',
|
|
57
55
|
verticalAlign: 'middle',
|
|
58
56
|
margin: 0,
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import { css } from '@emotion/react';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import styled from '@emotion/styled';
|
|
10
|
-
import { fontSizeSmall } from '@atlaskit/theme/constants';
|
|
11
10
|
import * as colors from '@atlaskit/theme/colors';
|
|
12
11
|
export const truncate = (width = '100%') => css({
|
|
13
12
|
overflowX: 'hidden',
|
|
@@ -31,8 +30,8 @@ export const WhatsNewResultsListGroupWrapper = styled.div({
|
|
|
31
30
|
export const WhatsNewResultsListGroupTitle = styled.div({
|
|
32
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
33
32
|
color: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
34
|
-
|
|
35
|
-
fontWeight:
|
|
33
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
|
+
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
36
35
|
padding: `0 ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
37
36
|
textTransform: 'uppercase'
|
|
38
37
|
});
|
package/dist/esm/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
14
14
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.9"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.9"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -30,7 +30,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
30
30
|
var ANALYTICS_CONTEXT_DATA = {
|
|
31
31
|
componentName: 'ArticleWasHelpfulForm',
|
|
32
32
|
packageName: "@atlaskit/help",
|
|
33
|
-
packageVersion: "7.11.
|
|
33
|
+
packageVersion: "7.11.9"
|
|
34
34
|
};
|
|
35
35
|
var buttonStyles = css({
|
|
36
36
|
padding: '0',
|
|
@@ -56,7 +56,7 @@ export var HelpArticle = function HelpArticle(_ref) {
|
|
|
56
56
|
analyticsEvent.payload.attributes = {
|
|
57
57
|
componentName: 'Article',
|
|
58
58
|
packageName: "@atlaskit/help",
|
|
59
|
-
packageVersion: "7.11.
|
|
59
|
+
packageVersion: "7.11.9"
|
|
60
60
|
};
|
|
61
61
|
if (onRelatedArticlesShowMoreClick) {
|
|
62
62
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
var analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.9"
|
|
17
17
|
};
|
|
18
18
|
export var WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
19
19
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
10
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -31,8 +30,8 @@ export var WhatsNewTitleText = styled.span({
|
|
|
31
30
|
textDecoration: 'none',
|
|
32
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
33
32
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
34
|
-
|
|
35
|
-
fontWeight: 600,
|
|
33
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
36
35
|
whiteSpace: 'normal',
|
|
37
36
|
overflowX: 'hidden',
|
|
38
37
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -44,8 +43,8 @@ export var WhatsNewRelatedLinksTitleText = styled.span({
|
|
|
44
43
|
textDecoration: 'none',
|
|
45
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
45
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
47
|
-
|
|
48
|
-
fontWeight: 600,
|
|
46
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
47
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
49
48
|
whiteSpace: 'normal',
|
|
50
49
|
overflowX: 'hidden',
|
|
51
50
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
var highlightText = function highlightText(text) {
|
|
14
14
|
if (!text) {
|
|
@@ -2,11 +2,11 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
7
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
8
8
|
var _excluded = ["children", "footer"];
|
|
9
|
-
function
|
|
9
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { withAnalyticsEvents, withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -30,13 +30,12 @@ var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
|
|
|
30
30
|
}, children);
|
|
31
31
|
};
|
|
32
32
|
export var Help = /*#__PURE__*/function (_React$PureComponent) {
|
|
33
|
-
_inherits(Help, _React$PureComponent);
|
|
34
|
-
var _super = _createSuper(Help);
|
|
35
33
|
function Help() {
|
|
36
34
|
_classCallCheck(this, Help);
|
|
37
|
-
return
|
|
35
|
+
return _callSuper(this, Help, arguments);
|
|
38
36
|
}
|
|
39
|
-
|
|
37
|
+
_inherits(Help, _React$PureComponent);
|
|
38
|
+
return _createClass(Help, [{
|
|
40
39
|
key: "render",
|
|
41
40
|
value: function render() {
|
|
42
41
|
var _this$props = this.props,
|
|
@@ -50,6 +49,5 @@ export var Help = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
50
49
|
})))))))));
|
|
51
50
|
}
|
|
52
51
|
}]);
|
|
53
|
-
return Help;
|
|
54
52
|
}(React.PureComponent);
|
|
55
53
|
export default withAnalyticsContext(defaultAnalyticsAttributes)(withAnalyticsEvents()(Help));
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.11.
|
|
10
|
+
packageVersion: "7.11.9"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -23,7 +23,7 @@ import { usePrevious } from '../../util/hooks/previous';
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
import { css, jsx } from '@emotion/react';
|
|
25
25
|
var packageName = "@atlaskit/help";
|
|
26
|
-
var packageVersion = "7.11.
|
|
26
|
+
var packageVersion = "7.11.9";
|
|
27
27
|
var buttonStyles = css({
|
|
28
28
|
padding: '0',
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -27,7 +27,7 @@ export var truncate = function truncate() {
|
|
|
27
27
|
export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
28
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
29
29
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
30
|
-
fontWeight: 600,
|
|
30
|
+
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
31
31
|
letterSpacing: '-0.006em',
|
|
32
32
|
padding: "var(--ds-space-200, 16px)".concat(" 0")
|
|
33
33
|
});
|
|
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'searchInput',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.9"
|
|
25
25
|
};
|
|
26
26
|
var buttonStyles = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -50,7 +50,7 @@ export var SearchResultEmptyMessageHeaderText = styled.h2({
|
|
|
50
50
|
color: "var(--ds-text, ".concat(colors.N500, ")"),
|
|
51
51
|
fontSize: '0.875rem',
|
|
52
52
|
fontStyle: 'normal',
|
|
53
|
-
fontWeight:
|
|
53
|
+
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
var ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.11.
|
|
14
|
+
packageVersion: "7.11.9"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.9"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
9
|
export var WhatsNewResultListItemWrapper =
|
|
@@ -53,8 +52,7 @@ export var WhatsNewResultListItemTitleContainer = styled.div({
|
|
|
53
52
|
|
|
54
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
54
|
export var WhatsNewResultListItemTitleText = styled.span({
|
|
56
|
-
|
|
57
|
-
lineHeight: "".concat(fontSize(), "px"),
|
|
55
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
58
56
|
display: 'inline-block',
|
|
59
57
|
verticalAlign: 'middle',
|
|
60
58
|
margin: 0,
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import { css } from '@emotion/react';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import styled from '@emotion/styled';
|
|
10
|
-
import { fontSizeSmall } from '@atlaskit/theme/constants';
|
|
11
10
|
import * as colors from '@atlaskit/theme/colors';
|
|
12
11
|
export var truncate = function truncate() {
|
|
13
12
|
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
@@ -34,8 +33,8 @@ export var WhatsNewResultsListGroupWrapper = styled.div({
|
|
|
34
33
|
export var WhatsNewResultsListGroupTitle = styled.div({
|
|
35
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
36
35
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
37
|
-
|
|
38
|
-
fontWeight:
|
|
36
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
37
|
+
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
39
38
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
40
39
|
textTransform: 'uppercase'
|
|
41
40
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.9",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^13.3.0",
|
|
50
50
|
"@atlaskit/radio": "^7.0.0",
|
|
51
51
|
"@atlaskit/section-message": "^6.8.0",
|
|
52
|
-
"@atlaskit/select": "^18.
|
|
52
|
+
"@atlaskit/select": "^18.9.0",
|
|
53
53
|
"@atlaskit/spinner": "^16.3.0",
|
|
54
54
|
"@atlaskit/textarea": "^5.7.0",
|
|
55
55
|
"@atlaskit/textfield": "^6.7.0",
|
|
56
56
|
"@atlaskit/theme": "^14.0.0",
|
|
57
|
-
"@atlaskit/tokens": "^2.
|
|
57
|
+
"@atlaskit/tokens": "^2.5.0",
|
|
58
58
|
"@atlaskit/tooltip": "^19.0.0",
|
|
59
59
|
"@babel/runtime": "^7.0.0",
|
|
60
60
|
"@emotion/react": "^11.7.1",
|