@atlaskit/help 9.1.17 → 9.1.19
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/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.compiled.css +1 -1
- package/dist/cjs/components/HelpContentButton/styled.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/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.compiled.css +1 -1
- package/dist/es2019/components/HelpContentButton/styled.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/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.compiled.css +1 -1
- package/dist/esm/components/HelpContentButton/styled.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,21 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 9.1.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`717cc94987686`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/717cc94987686) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 9.1.18
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
|
|
16
|
+
Internal changes to how borders are applied.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 9.1.17
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
._11c8376l{font:var(--ds-font-body,inherit)}
|
|
2
2
|
._19itglyw{border:none}
|
|
3
|
-
.
|
|
3
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._18u0idpf{margin-left:0}
|
|
6
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
@@ -66,7 +66,7 @@ var helpContentButtonIconStyles = null;
|
|
|
66
66
|
var HelpContentButtonIcon = exports.HelpContentButtonIcon = function HelpContentButtonIcon(_ref2) {
|
|
67
67
|
var children = _ref2.children;
|
|
68
68
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
69
|
-
className: (0, _runtime.ax)(["
|
|
69
|
+
className: (0, _runtime.ax)(["_2rko12b0 _1e0c1o8l _s7n4nkob _1bsbgktf _4t3igktf _kqswh2mm _vr2wstnw _1t181ssb _1t981ssb _1eab1ooe"])
|
|
70
70
|
}, children);
|
|
71
71
|
};
|
|
72
72
|
var helpContentButtonTextStyles = null;
|
|
@@ -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)", ")"))
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
._11c8376l{font:var(--ds-font-body,inherit)}
|
|
2
2
|
._19itglyw{border:none}
|
|
3
|
-
.
|
|
3
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._18u0idpf{margin-left:0}
|
|
6
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
@@ -46,7 +46,7 @@ const helpContentButtonIconStyles = null;
|
|
|
46
46
|
export const HelpContentButtonIcon = ({
|
|
47
47
|
children
|
|
48
48
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: ax(["
|
|
49
|
+
className: ax(["_2rko12b0 _1e0c1o8l _s7n4nkob _1bsbgktf _4t3igktf _kqswh2mm _vr2wstnw _1t181ssb _1t981ssb _1eab1ooe"])
|
|
50
50
|
}, children);
|
|
51
51
|
const helpContentButtonTextStyles = null;
|
|
52
52
|
export const HelpContentButtonText = ({
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
._11c8376l{font:var(--ds-font-body,inherit)}
|
|
2
2
|
._19itglyw{border:none}
|
|
3
|
-
.
|
|
3
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._18u0idpf{margin-left:0}
|
|
6
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
@@ -59,7 +59,7 @@ var helpContentButtonIconStyles = null;
|
|
|
59
59
|
export var HelpContentButtonIcon = function HelpContentButtonIcon(_ref2) {
|
|
60
60
|
var children = _ref2.children;
|
|
61
61
|
return /*#__PURE__*/React.createElement("div", {
|
|
62
|
-
className: ax(["
|
|
62
|
+
className: ax(["_2rko12b0 _1e0c1o8l _s7n4nkob _1bsbgktf _4t3igktf _kqswh2mm _vr2wstnw _1t181ssb _1t981ssb _1eab1ooe"])
|
|
63
63
|
}, children);
|
|
64
64
|
};
|
|
65
65
|
var helpContentButtonTextStyles = null;
|
|
@@ -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.19",
|
|
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,11 +34,11 @@
|
|
|
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": "^12.
|
|
37
|
+
"@atlaskit/form": "^12.6.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",
|
|
@@ -51,11 +46,11 @@
|
|
|
51
46
|
"@atlaskit/primitives": "^14.14.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",
|
|
58
|
-
"@atlaskit/theme": "^
|
|
53
|
+
"@atlaskit/theme": "^21.0.0",
|
|
59
54
|
"@atlaskit/tokens": "^6.3.0",
|
|
60
55
|
"@atlaskit/tooltip": "^20.4.0",
|
|
61
56
|
"@babel/runtime": "^7.0.0",
|