@atlaskit/help-article 4.1.4 → 4.1.5
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 +30 -24
- package/dist/cjs/components/ArticleBody/index.js +4 -6
- package/dist/cjs/components/ArticleBody/resetCss.js +1 -2
- package/dist/cjs/components/ArticleBody/styled.js +1 -2
- package/dist/cjs/components/HelpArticle.js +1 -2
- package/dist/cjs/components/styled.js +3 -6
- package/dist/cjs/model/HelpArticle.js +2 -3
- package/dist/es2019/components/ArticleBody/index.js +2 -2
- package/dist/esm/components/ArticleBody/index.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41087](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41087) [`7d066a73736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d066a73736) - Fix ts errors by adding type definition and removing unused parameter
|
|
8
|
+
|
|
3
9
|
## 4.1.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
13
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
14
|
- Updated dependencies
|
|
9
15
|
|
|
10
16
|
## 4.1.3
|
|
11
17
|
|
|
12
18
|
### Patch Changes
|
|
13
19
|
|
|
14
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
20
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
15
21
|
|
|
16
22
|
## 4.1.2
|
|
17
23
|
|
|
18
24
|
### Patch Changes
|
|
19
25
|
|
|
20
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
26
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
21
27
|
|
|
22
28
|
## 4.1.1
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
32
|
+
- [#33218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33218) [`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
27
33
|
|
|
28
34
|
## 4.1.0
|
|
29
35
|
|
|
30
36
|
### Minor Changes
|
|
31
37
|
|
|
32
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
38
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
@@ -39,7 +45,7 @@
|
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
48
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
43
49
|
|
|
44
50
|
## 4.0.37
|
|
45
51
|
|
|
@@ -57,7 +63,7 @@
|
|
|
57
63
|
|
|
58
64
|
### Patch Changes
|
|
59
65
|
|
|
60
|
-
- [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) - [ED-16166] Changes the renderer prop document type from any to DocNode
|
|
66
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) - [ED-16166] Changes the renderer prop document type from any to DocNode
|
|
61
67
|
|
|
62
68
|
BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had the type of `any`. This has now been changed to `DocNode` which comes from `@atlaskit/adf-schema`.
|
|
63
69
|
|
|
@@ -87,7 +93,7 @@
|
|
|
87
93
|
|
|
88
94
|
### Patch Changes
|
|
89
95
|
|
|
90
|
-
- [`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) - Consolidate In Product Help & Self-Help Experiences ownership
|
|
96
|
+
- [#26424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26424) [`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) - Consolidate In Product Help & Self-Help Experiences ownership
|
|
91
97
|
|
|
92
98
|
## 4.0.32
|
|
93
99
|
|
|
@@ -105,13 +111,13 @@
|
|
|
105
111
|
|
|
106
112
|
### Patch Changes
|
|
107
113
|
|
|
108
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
114
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
109
115
|
|
|
110
116
|
## 4.0.29
|
|
111
117
|
|
|
112
118
|
### Patch Changes
|
|
113
119
|
|
|
114
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
120
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
115
121
|
|
|
116
122
|
## 4.0.28
|
|
117
123
|
|
|
@@ -165,7 +171,7 @@
|
|
|
165
171
|
|
|
166
172
|
### Patch Changes
|
|
167
173
|
|
|
168
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
174
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
169
175
|
|
|
170
176
|
## 4.0.19
|
|
171
177
|
|
|
@@ -225,13 +231,13 @@
|
|
|
225
231
|
|
|
226
232
|
### Patch Changes
|
|
227
233
|
|
|
228
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
234
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
229
235
|
|
|
230
236
|
## 4.0.9
|
|
231
237
|
|
|
232
238
|
### Patch Changes
|
|
233
239
|
|
|
234
|
-
- [`360ccde3275`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360ccde3275) - [ux] Open all links in a new tab
|
|
240
|
+
- [#16630](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16630) [`360ccde3275`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360ccde3275) - [ux] Open all links in a new tab
|
|
235
241
|
|
|
236
242
|
## 4.0.8
|
|
237
243
|
|
|
@@ -273,7 +279,7 @@
|
|
|
273
279
|
|
|
274
280
|
### Patch Changes
|
|
275
281
|
|
|
276
|
-
- [`df9dc928897`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9dc928897) - Update the team information in the packages maintained by the In Product Help team
|
|
282
|
+
- [#13328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13328) [`df9dc928897`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9dc928897) - Update the team information in the packages maintained by the In Product Help team
|
|
277
283
|
|
|
278
284
|
## 4.0.1
|
|
279
285
|
|
|
@@ -285,7 +291,7 @@
|
|
|
285
291
|
|
|
286
292
|
### Major Changes
|
|
287
293
|
|
|
288
|
-
- [`bc46b0b34ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc46b0b34ed) - [ux] @atlaskit/help-article: Updated component interfaze and removed unused props onArticleRenderBegin and onArticleRenderDone. @atlaskit/help-artilce: major changes in the component interfaze, added "What's new" articles search and articles view. Moved the search input to the header. Updated navigation logic and unit tests
|
|
294
|
+
- [#11927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11927) [`bc46b0b34ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc46b0b34ed) - [ux] @atlaskit/help-article: Updated component interfaze and removed unused props onArticleRenderBegin and onArticleRenderDone. @atlaskit/help-artilce: major changes in the component interfaze, added "What's new" articles search and articles view. Moved the search input to the header. Updated navigation logic and unit tests
|
|
289
295
|
|
|
290
296
|
## 3.0.2
|
|
291
297
|
|
|
@@ -303,19 +309,19 @@
|
|
|
303
309
|
|
|
304
310
|
### Major Changes
|
|
305
311
|
|
|
306
|
-
- [`f88acfa4736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88acfa4736) - [ux] Add support for ADF documents. The prop "body" now accepts String and ADF object. The prop "bodyType" was added so the developer can specify which type of content the the "body" prop has ("html" or "adf")
|
|
312
|
+
- [#10745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10745) [`f88acfa4736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88acfa4736) - [ux] Add support for ADF documents. The prop "body" now accepts String and ADF object. The prop "bodyType" was added so the developer can specify which type of content the the "body" prop has ("html" or "adf")
|
|
307
313
|
|
|
308
314
|
## 2.0.5
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
318
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
313
319
|
|
|
314
320
|
## 2.0.4
|
|
315
321
|
|
|
316
322
|
### Patch Changes
|
|
317
323
|
|
|
318
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
324
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
319
325
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
320
326
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
321
327
|
|
|
@@ -329,7 +335,7 @@
|
|
|
329
335
|
|
|
330
336
|
### Patch Changes
|
|
331
337
|
|
|
332
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
338
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
333
339
|
|
|
334
340
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
335
341
|
to prevent duplicates of tslib being bundled.
|
|
@@ -338,13 +344,13 @@
|
|
|
338
344
|
|
|
339
345
|
### Patch Changes
|
|
340
346
|
|
|
341
|
-
- [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
|
|
347
|
+
- [#3226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3226) [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
|
|
342
348
|
|
|
343
349
|
## 2.0.0
|
|
344
350
|
|
|
345
351
|
### Major Changes
|
|
346
352
|
|
|
347
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
353
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
348
354
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
349
355
|
|
|
350
356
|
### Patch Changes
|
|
@@ -355,19 +361,19 @@
|
|
|
355
361
|
|
|
356
362
|
### Patch Changes
|
|
357
363
|
|
|
358
|
-
- [`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed atlaskit default styles
|
|
364
|
+
- [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742) [`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed atlaskit default styles
|
|
359
365
|
|
|
360
366
|
## 1.0.7
|
|
361
367
|
|
|
362
368
|
### Patch Changes
|
|
363
369
|
|
|
364
|
-
- [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed es2019 distributable missing a version.json file
|
|
370
|
+
- [#2731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2731) [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed es2019 distributable missing a version.json file
|
|
365
371
|
|
|
366
372
|
## 1.0.6
|
|
367
373
|
|
|
368
374
|
### Patch Changes
|
|
369
375
|
|
|
370
|
-
- [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
376
|
+
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
371
377
|
|
|
372
378
|
## 1.0.5
|
|
373
379
|
|
|
@@ -17,11 +17,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
18
|
var IFRAME_CONTAINER_ID = 'help-iframe-container';
|
|
19
19
|
var IFRAME_ID = 'help-iframe';
|
|
20
|
-
var ArticleBody = function ArticleBody(props) {
|
|
20
|
+
var ArticleBody = exports.ArticleBody = function ArticleBody(props) {
|
|
21
21
|
/**
|
|
22
22
|
* Set article height
|
|
23
23
|
*/
|
|
24
|
-
var resizeIframe = function resizeIframe(
|
|
24
|
+
var resizeIframe = function resizeIframe() {
|
|
25
25
|
var currentIframe = document.getElementById(IFRAME_ID);
|
|
26
26
|
if (!currentIframe) {
|
|
27
27
|
return;
|
|
@@ -83,7 +83,7 @@ var ArticleBody = function ArticleBody(props) {
|
|
|
83
83
|
id: IFRAME_ID,
|
|
84
84
|
name: IFRAME_ID,
|
|
85
85
|
onLoad: function onLoad() {
|
|
86
|
-
resizeIframe(
|
|
86
|
+
resizeIframe();
|
|
87
87
|
},
|
|
88
88
|
sandbox: "allow-same-origin allow-popups allow-popups-to-escape-sandbox"
|
|
89
89
|
}), iframeContainer, function () {
|
|
@@ -140,6 +140,4 @@ var ArticleBody = function ArticleBody(props) {
|
|
|
140
140
|
}
|
|
141
141
|
}) : null;
|
|
142
142
|
};
|
|
143
|
-
exports.
|
|
144
|
-
var _default = ArticleBody;
|
|
145
|
-
exports.default = _default;
|
|
143
|
+
var _default = exports.default = ArticleBody;
|
|
@@ -12,5 +12,4 @@ var _tables = _interopRequireDefault(require("@atlaskit/css-reset/tables"));
|
|
|
12
12
|
var _utils = _interopRequireDefault(require("@atlaskit/css-reset/utils"));
|
|
13
13
|
var IFRAME_FIX_CSS = "\n html{\n width: calc(100% - 10px);\n padding: 5px;\n overflow: hidden;\n height: auto;\n }\n\n body {\n margin: 0;\n padding: 0;\n }";
|
|
14
14
|
var DEFAULT_CSS = _reset.default + _base.default + _utils.default + _browserFixes.default + _browserFixes.default + _tables.default + IFRAME_FIX_CSS;
|
|
15
|
-
var _default = DEFAULT_CSS;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = DEFAULT_CSS;
|
|
@@ -10,5 +10,4 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
10
10
|
var _templateObject;
|
|
11
11
|
/** @jsx jsx */
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
13
|
-
var ArticleFrame = _styled.default.iframe(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: block;\n width: calc(100% + 10px);\n margin: -5px;\n border: none;\n"])));
|
|
14
|
-
exports.ArticleFrame = ArticleFrame;
|
|
13
|
+
var ArticleFrame = exports.ArticleFrame = _styled.default.iframe(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: block;\n width: calc(100% + 10px);\n margin: -5px;\n border: none;\n"])));
|
|
@@ -9,9 +9,6 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3;
|
|
11
11
|
/** @jsx jsx */
|
|
12
|
-
var ArticleContentInner = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n padding-bottom: ", ";\n position: relative;\n"])), "var(--ds-space-200, 16px)");
|
|
13
|
-
exports.
|
|
14
|
-
var
|
|
15
|
-
exports.ArticleContentTitle = ArticleContentTitle;
|
|
16
|
-
var ArticleContentTitleLink = _styled.default.a(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n &:hover {\n text-decoration: none;\n }\n"])));
|
|
17
|
-
exports.ArticleContentTitleLink = ArticleContentTitleLink;
|
|
12
|
+
var ArticleContentInner = exports.ArticleContentInner = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n padding-bottom: ", ";\n position: relative;\n"])), "var(--ds-space-200, 16px)");
|
|
13
|
+
var ArticleContentTitle = exports.ArticleContentTitle = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n padding-bottom: ", ";\n"])), "var(--ds-space-200, 16px)");
|
|
14
|
+
var ArticleContentTitleLink = exports.ArticleContentTitleLink = _styled.default.a(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n &:hover {\n text-decoration: none;\n }\n"])));
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.BODY_FORMAT_TYPES = void 0;
|
|
7
|
-
var BODY_FORMAT_TYPES = /*#__PURE__*/function (BODY_FORMAT_TYPES) {
|
|
7
|
+
var BODY_FORMAT_TYPES = exports.BODY_FORMAT_TYPES = /*#__PURE__*/function (BODY_FORMAT_TYPES) {
|
|
8
8
|
BODY_FORMAT_TYPES["adf"] = "adf";
|
|
9
9
|
BODY_FORMAT_TYPES["html"] = "html";
|
|
10
10
|
return BODY_FORMAT_TYPES;
|
|
11
|
-
}({});
|
|
12
|
-
exports.BODY_FORMAT_TYPES = BODY_FORMAT_TYPES;
|
|
11
|
+
}({});
|
|
@@ -11,7 +11,7 @@ export const ArticleBody = props => {
|
|
|
11
11
|
/**
|
|
12
12
|
* Set article height
|
|
13
13
|
*/
|
|
14
|
-
const resizeIframe =
|
|
14
|
+
const resizeIframe = () => {
|
|
15
15
|
const currentIframe = document.getElementById(IFRAME_ID);
|
|
16
16
|
if (!currentIframe) {
|
|
17
17
|
return;
|
|
@@ -71,7 +71,7 @@ export const ArticleBody = props => {
|
|
|
71
71
|
id: IFRAME_ID,
|
|
72
72
|
name: IFRAME_ID,
|
|
73
73
|
onLoad: () => {
|
|
74
|
-
resizeIframe(
|
|
74
|
+
resizeIframe();
|
|
75
75
|
},
|
|
76
76
|
sandbox: "allow-same-origin allow-popups allow-popups-to-escape-sandbox"
|
|
77
77
|
}), iframeContainer, () => {
|
|
@@ -11,7 +11,7 @@ export var ArticleBody = function ArticleBody(props) {
|
|
|
11
11
|
/**
|
|
12
12
|
* Set article height
|
|
13
13
|
*/
|
|
14
|
-
var resizeIframe = function resizeIframe(
|
|
14
|
+
var resizeIframe = function resizeIframe() {
|
|
15
15
|
var currentIframe = document.getElementById(IFRAME_ID);
|
|
16
16
|
if (!currentIframe) {
|
|
17
17
|
return;
|
|
@@ -73,7 +73,7 @@ export var ArticleBody = function ArticleBody(props) {
|
|
|
73
73
|
id: IFRAME_ID,
|
|
74
74
|
name: IFRAME_ID,
|
|
75
75
|
onLoad: function onLoad() {
|
|
76
|
-
resizeIframe(
|
|
76
|
+
resizeIframe();
|
|
77
77
|
},
|
|
78
78
|
sandbox: "allow-same-origin allow-popups allow-popups-to-escape-sandbox"
|
|
79
79
|
}), iframeContainer, function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-article",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "A cross-product help-article component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/css-reset": "^6.5.0",
|
|
35
35
|
"@atlaskit/icon": "^21.12.0",
|
|
36
|
-
"@atlaskit/renderer": "^108.
|
|
37
|
-
"@atlaskit/tokens": "^1.
|
|
36
|
+
"@atlaskit/renderer": "^108.15.0",
|
|
37
|
+
"@atlaskit/tokens": "^1.25.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@emotion/styled": "^10.0.7",
|
|
40
40
|
"lodash": "^4.17.21"
|