@atlaskit/help 9.1.18 → 9.1.20
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 +14 -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/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/BackButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.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/contexts/navigationContext.js +1 -1
- package/dist/cjs/components/styled.compiled.css +1 -1
- package/dist/cjs/components/styled.js +2 -2
- package/dist/cjs/util/styled.compiled.css +1 -2
- package/dist/cjs/util/styled.js +1 -1
- 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/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/BackButton/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/Search/SearchInput/index.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/contexts/navigationContext.js +1 -1
- package/dist/es2019/components/styled.compiled.css +1 -1
- package/dist/es2019/components/styled.js +1 -1
- package/dist/es2019/util/styled.compiled.css +1 -2
- package/dist/es2019/util/styled.js +1 -1
- 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/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/BackButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.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/contexts/navigationContext.js +1 -1
- package/dist/esm/components/styled.compiled.css +1 -1
- package/dist/esm/components/styled.js +2 -2
- package/dist/esm/util/styled.compiled.css +1 -2
- package/dist/esm/util/styled.js +1 -1
- package/package.json +5 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 9.1.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.1.19
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`717cc94987686`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/717cc94987686) -
|
|
14
|
+
Internal changes to how borders are applied.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 9.1.18
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -13,5 +13,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
13
13
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
14
14
|
componentName: 'help',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "
|
|
16
|
+
packageVersion: "9.1.19"
|
|
17
17
|
};
|
|
@@ -17,7 +17,7 @@ var _styled = require("./styled");
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'ArticleLoadingFail',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "
|
|
20
|
+
packageVersion: "9.1.19"
|
|
21
21
|
};
|
|
22
22
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
23
23
|
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: "
|
|
16
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
16
|
+
packageVersion: "9.1.19"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -35,7 +35,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
35
35
|
var ANALYTICS_CONTEXT_DATA = {
|
|
36
36
|
componentName: 'ArticleWasHelpfulForm',
|
|
37
37
|
packageName: "@atlaskit/help",
|
|
38
|
-
packageVersion: "
|
|
38
|
+
packageVersion: "9.1.19"
|
|
39
39
|
};
|
|
40
40
|
var buttonStyles = null;
|
|
41
41
|
var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
@@ -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: "
|
|
67
|
+
packageVersion: "9.1.19"
|
|
68
68
|
};
|
|
69
69
|
if (onRelatedArticlesShowMoreClick) {
|
|
70
70
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
21
21
|
var analyticsContextData = {
|
|
22
22
|
componentName: 'ArticlesListItem',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "
|
|
24
|
+
packageVersion: "9.1.19"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
27
27
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -19,7 +19,7 @@ var listStyles = (0, _primitives.xcss)({
|
|
|
19
19
|
var getStyles = function getStyles(style) {
|
|
20
20
|
if (style === 'secondary') {
|
|
21
21
|
return {
|
|
22
|
-
border: "2px
|
|
22
|
+
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
|
|
23
23
|
padding: "var(--ds-space-200, 16px)",
|
|
24
24
|
marginBottom: "var(--ds-space-150, 12px)"
|
|
25
25
|
};
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'ArticlesListItem',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "
|
|
20
|
+
packageVersion: "9.1.19"
|
|
21
21
|
};
|
|
22
22
|
var highlightText = function highlightText(text) {
|
|
23
23
|
if (!text) {
|
|
@@ -56,7 +56,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
56
56
|
data: {
|
|
57
57
|
componentName: 'backButton',
|
|
58
58
|
packageName: "@atlaskit/help",
|
|
59
|
-
packageVersion: "
|
|
59
|
+
packageVersion: "9.1.19"
|
|
60
60
|
}
|
|
61
61
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
62
62
|
};
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
16
16
|
var analitycsContextData = {
|
|
17
17
|
componentName: 'HelpContentButton',
|
|
18
18
|
packageName: "@atlaskit/help",
|
|
19
|
-
packageVersion: "
|
|
19
|
+
packageVersion: "9.1.19"
|
|
20
20
|
};
|
|
21
21
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
22
22
|
var _ref$id = _ref.id,
|
|
@@ -28,7 +28,7 @@ var _previous = require("../../util/hooks/previous");
|
|
|
28
28
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
29
29
|
/** @jsxFrag */
|
|
30
30
|
var packageName = "@atlaskit/help";
|
|
31
|
-
var packageVersion = "
|
|
31
|
+
var packageVersion = "9.1.19";
|
|
32
32
|
var buttonStyles = null;
|
|
33
33
|
var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
34
34
|
var _ref$style = _ref.style,
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
27
27
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
28
|
componentName: 'searchInput',
|
|
29
29
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "
|
|
30
|
+
packageVersion: "9.1.19"
|
|
31
31
|
};
|
|
32
32
|
var buttonStyles = null;
|
|
33
33
|
var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
@@ -20,7 +20,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
20
20
|
var ANALYTICS_CONTEXT_DATA = {
|
|
21
21
|
componentName: 'WhatsNewButton',
|
|
22
22
|
packageName: "@atlaskit/help",
|
|
23
|
-
packageVersion: "
|
|
23
|
+
packageVersion: "9.1.19"
|
|
24
24
|
};
|
|
25
25
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
26
26
|
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: "
|
|
18
|
+
packageVersion: "9.1.19"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -162,7 +162,7 @@ var navigationReducer = function navigationReducer(_ref3, action) {
|
|
|
162
162
|
newState = {
|
|
163
163
|
articleId: currentArticleId,
|
|
164
164
|
history: [].concat((0, _toConsumableArray2.default)(currentHistory), [getNewHistoryItem(_newArticleId.id, _newArticleId.type, _newArticleId.contentAri)]),
|
|
165
|
-
view: getViewForArticleId(
|
|
165
|
+
view: getViewForArticleId(_newArticleId)
|
|
166
166
|
};
|
|
167
167
|
} else if (action.type === 'updateHistoryItem' && action.payload) {
|
|
168
168
|
var HistoryItemUpdate = action.payload;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._qtt8glyw{list-style:none}
|
|
3
3
|
._v5641tic{transition:var(--_m9bkgq)}
|
|
4
|
-
.
|
|
4
|
+
._x3do1fvz{border-top:var(--_b3fex0)}._16jlkb7n{flex-grow:1}
|
|
5
5
|
._18m91wug{overflow-y:auto}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19bvidpf{padding-left:0}
|
|
@@ -68,10 +68,10 @@ var HelpFooter = exports.HelpFooter = function HelpFooter(_ref6) {
|
|
|
68
68
|
var children = _ref6.children,
|
|
69
69
|
rest = (0, _objectWithoutProperties2.default)(_ref6, _excluded);
|
|
70
70
|
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, rest, {
|
|
71
|
-
className: (0, _runtime.ax)(["
|
|
71
|
+
className: (0, _runtime.ax)(["_x3do1fvz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
|
|
72
72
|
style: {
|
|
73
73
|
"--_1xglsrh": (0, _runtime.ix)("var(--ds-background-neutral, ".concat(_colors.N10, ")")),
|
|
74
|
-
"--
|
|
74
|
+
"--_b3fex0": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")))
|
|
75
75
|
}
|
|
76
76
|
}), children);
|
|
77
77
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
3
|
-
._2rkoyh40{border-radius:2px}._100gwk75>img{height:var(--_ys364u)}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100gwk75>img{height:var(--_ys364u)}
|
|
4
3
|
._12vemgnk{background-repeat:no-repeat}
|
|
5
4
|
._15jg1osq>img>svg{height:100%}
|
|
6
5
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
package/dist/cjs/util/styled.js
CHANGED
|
@@ -86,7 +86,7 @@ var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref
|
|
|
86
86
|
}
|
|
87
87
|
}, [type]);
|
|
88
88
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
89
|
-
className: (0, _runtime.ax)(["
|
|
89
|
+
className: (0, _runtime.ax)(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
|
|
90
90
|
style: {
|
|
91
91
|
backgroundColor: backgroundColor,
|
|
92
92
|
"--_ys364u": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
|
|
|
10
10
|
const ANALYTICS_CONTEXT_DATA = {
|
|
11
11
|
componentName: 'ArticleLoadingFail',
|
|
12
12
|
packageName: "@atlaskit/help",
|
|
13
|
-
packageVersion: "
|
|
13
|
+
packageVersion: "9.1.19"
|
|
14
14
|
};
|
|
15
15
|
export const ArticleLoadingFail = ({
|
|
16
16
|
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: "
|
|
9
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
9
|
+
packageVersion: "9.1.19"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -26,7 +26,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
26
26
|
const ANALYTICS_CONTEXT_DATA = {
|
|
27
27
|
componentName: 'ArticleWasHelpfulForm',
|
|
28
28
|
packageName: "@atlaskit/help",
|
|
29
|
-
packageVersion: "
|
|
29
|
+
packageVersion: "9.1.19"
|
|
30
30
|
};
|
|
31
31
|
const buttonStyles = null;
|
|
32
32
|
export const ArticleWasHelpfulForm = ({
|
|
@@ -60,7 +60,7 @@ export const HelpArticle = ({
|
|
|
60
60
|
analyticsEvent.payload.attributes = {
|
|
61
61
|
componentName: 'Article',
|
|
62
62
|
packageName: "@atlaskit/help",
|
|
63
|
-
packageVersion: "
|
|
63
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
16
|
+
packageVersion: "9.1.19"
|
|
17
17
|
};
|
|
18
18
|
export const WhatsNewArticle = ({
|
|
19
19
|
intl: {
|
|
@@ -11,7 +11,7 @@ const listStyles = xcss({
|
|
|
11
11
|
const getStyles = style => {
|
|
12
12
|
if (style === 'secondary') {
|
|
13
13
|
return {
|
|
14
|
-
border:
|
|
14
|
+
border: `${"var(--ds-border-width-selected, 2px)"} solid ${`var(--ds-border, ${N30})`}`,
|
|
15
15
|
padding: "var(--ds-space-200, 16px)",
|
|
16
16
|
marginBottom: "var(--ds-space-150, 12px)"
|
|
17
17
|
};
|
|
@@ -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: "
|
|
11
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
10
|
+
packageVersion: "9.1.19"
|
|
11
11
|
};
|
|
12
12
|
const HelpContentButton = ({
|
|
13
13
|
id = '',
|
|
@@ -16,7 +16,7 @@ import { RelatedArticlesTitle } from './styled';
|
|
|
16
16
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
17
17
|
import { usePrevious } from '../../util/hooks/previous';
|
|
18
18
|
const packageName = "@atlaskit/help";
|
|
19
|
-
const packageVersion = "
|
|
19
|
+
const packageVersion = "9.1.19";
|
|
20
20
|
const buttonStyles = null;
|
|
21
21
|
export const RelatedArticles = ({
|
|
22
22
|
style = 'primary',
|
|
@@ -18,7 +18,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
18
18
|
const ANALYTICS_CONTEXT_DATA = {
|
|
19
19
|
componentName: 'searchInput',
|
|
20
20
|
packageName: "@atlaskit/help",
|
|
21
|
-
packageVersion: "
|
|
21
|
+
packageVersion: "9.1.19"
|
|
22
22
|
};
|
|
23
23
|
const buttonStyles = null;
|
|
24
24
|
export const SearchInput = ({
|
|
@@ -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: "
|
|
14
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
11
|
+
packageVersion: "9.1.19"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
|
@@ -146,7 +146,7 @@ const navigationReducer = ({
|
|
|
146
146
|
newState = {
|
|
147
147
|
articleId: currentArticleId,
|
|
148
148
|
history: [...currentHistory, getNewHistoryItem(newArticleId.id, newArticleId.type, newArticleId.contentAri)],
|
|
149
|
-
view: getViewForArticleId(
|
|
149
|
+
view: getViewForArticleId(newArticleId)
|
|
150
150
|
};
|
|
151
151
|
} else if (action.type === 'updateHistoryItem' && action.payload) {
|
|
152
152
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._qtt8glyw{list-style:none}
|
|
3
3
|
._v5641kd4{transition:left .22s,opacity .22s}
|
|
4
|
-
.
|
|
4
|
+
._x3do1mqz{border-top:var(--ds-border-width-selected,2px) solid var(--ds-border,#ebecf0)}._16jlkb7n{flex-grow:1}
|
|
5
5
|
._18m91wug{overflow-y:auto}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19bvidpf{padding-left:0}
|
|
@@ -51,7 +51,7 @@ export const HelpFooter = ({
|
|
|
51
51
|
children,
|
|
52
52
|
...rest
|
|
53
53
|
}) => /*#__PURE__*/React.createElement("div", _extends({}, rest, {
|
|
54
|
-
className: ax(["
|
|
54
|
+
className: ax(["_x3do1mqz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1gi7 _1bah1yb4"])
|
|
55
55
|
}), children);
|
|
56
56
|
export const BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS = 220;
|
|
57
57
|
const backButtonContainerStyles = null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
3
|
-
._2rkoyh40{border-radius:2px}._100g1wgc>img{height:calc(100% - var(--ds-space-050, 4px))}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100g1wgc>img{height:calc(100% - var(--ds-space-050, 4px))}
|
|
4
3
|
._12vemgnk{background-repeat:no-repeat}
|
|
5
4
|
._15jg1osq>img>svg{height:100%}
|
|
6
5
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
@@ -64,6 +64,6 @@ export const WhatsNewTypeIcon = ({
|
|
|
64
64
|
style: {
|
|
65
65
|
backgroundColor
|
|
66
66
|
},
|
|
67
|
-
className: ax(["
|
|
67
|
+
className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1x1wgc _100g1wgc _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"])
|
|
68
68
|
}, children);
|
|
69
69
|
};
|
package/dist/esm/analytics.js
CHANGED
|
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
|
|
|
10
10
|
var ANALYTICS_CONTEXT_DATA = {
|
|
11
11
|
componentName: 'ArticleLoadingFail',
|
|
12
12
|
packageName: "@atlaskit/help",
|
|
13
|
-
packageVersion: "
|
|
13
|
+
packageVersion: "9.1.19"
|
|
14
14
|
};
|
|
15
15
|
export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
16
16
|
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: "
|
|
9
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
9
|
+
packageVersion: "9.1.19"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -27,7 +27,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
27
27
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
28
|
componentName: 'ArticleWasHelpfulForm',
|
|
29
29
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "
|
|
30
|
+
packageVersion: "9.1.19"
|
|
31
31
|
};
|
|
32
32
|
var buttonStyles = null;
|
|
33
33
|
export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
@@ -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: "
|
|
59
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
16
|
+
packageVersion: "9.1.19"
|
|
17
17
|
};
|
|
18
18
|
export var WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
19
19
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -11,7 +11,7 @@ var listStyles = xcss({
|
|
|
11
11
|
var getStyles = function getStyles(style) {
|
|
12
12
|
if (style === 'secondary') {
|
|
13
13
|
return {
|
|
14
|
-
border: "2px
|
|
14
|
+
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
|
|
15
15
|
padding: "var(--ds-space-200, 16px)",
|
|
16
16
|
marginBottom: "var(--ds-space-150, 12px)"
|
|
17
17
|
};
|
|
@@ -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: "
|
|
11
|
+
packageVersion: "9.1.19"
|
|
12
12
|
};
|
|
13
13
|
var highlightText = function highlightText(text) {
|
|
14
14
|
if (!text) {
|
|
@@ -49,7 +49,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
49
49
|
data: {
|
|
50
50
|
componentName: 'backButton',
|
|
51
51
|
packageName: "@atlaskit/help",
|
|
52
|
-
packageVersion: "
|
|
52
|
+
packageVersion: "9.1.19"
|
|
53
53
|
}
|
|
54
54
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
55
55
|
};
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "
|
|
10
|
+
packageVersion: "9.1.19"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -20,7 +20,7 @@ import { RelatedArticlesTitle } from './styled';
|
|
|
20
20
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
21
21
|
import { usePrevious } from '../../util/hooks/previous';
|
|
22
22
|
var packageName = "@atlaskit/help";
|
|
23
|
-
var packageVersion = "
|
|
23
|
+
var packageVersion = "9.1.19";
|
|
24
24
|
var buttonStyles = null;
|
|
25
25
|
export var RelatedArticles = function RelatedArticles(_ref) {
|
|
26
26
|
var _ref$style = _ref.style,
|
|
@@ -18,7 +18,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
18
18
|
var ANALYTICS_CONTEXT_DATA = {
|
|
19
19
|
componentName: 'searchInput',
|
|
20
20
|
packageName: "@atlaskit/help",
|
|
21
|
-
packageVersion: "
|
|
21
|
+
packageVersion: "9.1.19"
|
|
22
22
|
};
|
|
23
23
|
var buttonStyles = null;
|
|
24
24
|
export var SearchInput = function SearchInput(_ref) {
|
|
@@ -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: "
|
|
14
|
+
packageVersion: "9.1.19"
|
|
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: "
|
|
11
|
+
packageVersion: "9.1.19"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -154,7 +154,7 @@ var navigationReducer = function navigationReducer(_ref3, action) {
|
|
|
154
154
|
newState = {
|
|
155
155
|
articleId: currentArticleId,
|
|
156
156
|
history: [].concat(_toConsumableArray(currentHistory), [getNewHistoryItem(_newArticleId.id, _newArticleId.type, _newArticleId.contentAri)]),
|
|
157
|
-
view: getViewForArticleId(
|
|
157
|
+
view: getViewForArticleId(_newArticleId)
|
|
158
158
|
};
|
|
159
159
|
} else if (action.type === 'updateHistoryItem' && action.payload) {
|
|
160
160
|
var HistoryItemUpdate = action.payload;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._qtt8glyw{list-style:none}
|
|
3
3
|
._v5641tic{transition:var(--_m9bkgq)}
|
|
4
|
-
.
|
|
4
|
+
._x3do1fvz{border-top:var(--_b3fex0)}._16jlkb7n{flex-grow:1}
|
|
5
5
|
._18m91wug{overflow-y:auto}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19bvidpf{padding-left:0}
|
|
@@ -61,10 +61,10 @@ export var HelpFooter = function HelpFooter(_ref6) {
|
|
|
61
61
|
var children = _ref6.children,
|
|
62
62
|
rest = _objectWithoutProperties(_ref6, _excluded);
|
|
63
63
|
return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
|
|
64
|
-
className: ax(["
|
|
64
|
+
className: ax(["_x3do1fvz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
|
|
65
65
|
style: {
|
|
66
66
|
"--_1xglsrh": ix("var(--ds-background-neutral, ".concat(N10, ")")),
|
|
67
|
-
"--
|
|
67
|
+
"--_b3fex0": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")))
|
|
68
68
|
}
|
|
69
69
|
}), children);
|
|
70
70
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
3
|
-
._2rkoyh40{border-radius:2px}._100gwk75>img{height:var(--_ys364u)}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100gwk75>img{height:var(--_ys364u)}
|
|
4
3
|
._12vemgnk{background-repeat:no-repeat}
|
|
5
4
|
._15jg1osq>img>svg{height:100%}
|
|
6
5
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
package/dist/esm/util/styled.js
CHANGED
|
@@ -77,7 +77,7 @@ export var WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref3) {
|
|
|
77
77
|
}
|
|
78
78
|
}, [type]);
|
|
79
79
|
return /*#__PURE__*/React.createElement("div", {
|
|
80
|
-
className: ax(["
|
|
80
|
+
className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
|
|
81
81
|
style: {
|
|
82
82
|
backgroundColor: backgroundColor,
|
|
83
83
|
"--_ys364u": ix("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.20",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
"**/*.compiled.css"
|
|
25
25
|
],
|
|
26
26
|
"atlaskit:src": "src/index.ts",
|
|
27
|
-
"af:exports": {
|
|
28
|
-
".": "./src/index.ts",
|
|
29
|
-
"./analytics": "./src/analytics.ts",
|
|
30
|
-
"./messages": "./src/messages.ts"
|
|
31
|
-
},
|
|
32
27
|
"atlassian": {
|
|
33
28
|
"team": "Self-Help Experiences",
|
|
34
29
|
"website": {
|
|
@@ -39,19 +34,19 @@
|
|
|
39
34
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
40
35
|
"@atlaskit/button": "^23.4.0",
|
|
41
36
|
"@atlaskit/checkbox": "^17.1.0",
|
|
42
|
-
"@atlaskit/form": "^
|
|
37
|
+
"@atlaskit/form": "^13.0.0",
|
|
43
38
|
"@atlaskit/heading": "^5.2.0",
|
|
44
39
|
"@atlaskit/help-article": "^6.0.0",
|
|
45
40
|
"@atlaskit/help-layout": "^6.3.0",
|
|
46
|
-
"@atlaskit/icon": "^28.
|
|
41
|
+
"@atlaskit/icon": "^28.2.0",
|
|
47
42
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
48
43
|
"@atlaskit/notification-indicator": "^10.0.0",
|
|
49
44
|
"@atlaskit/notification-log-client": "^6.2.0",
|
|
50
45
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^14.
|
|
46
|
+
"@atlaskit/primitives": "^14.15.0",
|
|
52
47
|
"@atlaskit/radio": "^8.3.0",
|
|
53
48
|
"@atlaskit/section-message": "^8.7.0",
|
|
54
|
-
"@atlaskit/select": "^21.
|
|
49
|
+
"@atlaskit/select": "^21.3.0",
|
|
55
50
|
"@atlaskit/spinner": "^19.0.0",
|
|
56
51
|
"@atlaskit/textarea": "^8.0.0",
|
|
57
52
|
"@atlaskit/textfield": "^8.0.0",
|