@atlaskit/help-article 4.1.11 → 4.1.13
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 +138 -47
- package/afm-jira/tsconfig.json +33 -0
- package/afm-post-office/tsconfig.json +33 -0
- package/dist/cjs/components/ArticleBody/index.js +4 -2
- package/dist/cjs/components/ArticleBody/styled.js +6 -1
- package/dist/cjs/components/styled.js +23 -6
- package/dist/es2019/components/ArticleBody/index.js +3 -1
- package/dist/es2019/components/ArticleBody/styled.js +6 -1
- package/dist/es2019/components/styled.js +21 -12
- package/dist/esm/components/ArticleBody/index.js +3 -1
- package/dist/esm/components/ArticleBody/styled.js +6 -1
- package/dist/esm/components/styled.js +22 -6
- package/docs/0-intro.tsx +9 -19
- package/package.json +64 -70
- package/report.api.md +19 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,51 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.1.12
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
14
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
15
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
16
|
+
|
|
3
17
|
## 4.1.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
6
20
|
|
|
7
|
-
- [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
|
|
21
|
+
- [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
|
|
22
|
+
[`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) -
|
|
23
|
+
Upgrade dependency of `@emotion/styled` to version 11
|
|
8
24
|
|
|
9
25
|
## 4.1.10
|
|
10
26
|
|
|
11
27
|
### Patch Changes
|
|
12
28
|
|
|
13
|
-
- [#77102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77102)
|
|
29
|
+
- [#77102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77102)
|
|
30
|
+
[`b93a56e5ee66`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b93a56e5ee66) -
|
|
31
|
+
Internal change to enforce token usage for spacing properties. There is no expected visual or
|
|
32
|
+
behaviour change.
|
|
14
33
|
|
|
15
34
|
## 4.1.9
|
|
16
35
|
|
|
17
36
|
### Patch Changes
|
|
18
37
|
|
|
19
|
-
- [#72381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72381)
|
|
38
|
+
- [#72381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72381)
|
|
39
|
+
[`613a669ad9bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/613a669ad9bb) -
|
|
40
|
+
Enrolling help packages to push model in JFE.
|
|
20
41
|
|
|
21
42
|
## 4.1.8
|
|
22
43
|
|
|
23
44
|
### Patch Changes
|
|
24
45
|
|
|
25
|
-
- [#68561](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68561)
|
|
46
|
+
- [#68561](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68561)
|
|
47
|
+
[`6a1919bf8400`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1919bf8400) -
|
|
48
|
+
Migrate packages to use declarative entry points
|
|
26
49
|
|
|
27
50
|
## 4.1.7
|
|
28
51
|
|
|
@@ -40,38 +63,51 @@
|
|
|
40
63
|
|
|
41
64
|
### Patch Changes
|
|
42
65
|
|
|
43
|
-
- [#41087](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41087)
|
|
66
|
+
- [#41087](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41087)
|
|
67
|
+
[`7d066a73736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d066a73736) - Fix ts
|
|
68
|
+
errors by adding type definition and removing unused parameter
|
|
44
69
|
|
|
45
70
|
## 4.1.4
|
|
46
71
|
|
|
47
72
|
### Patch Changes
|
|
48
73
|
|
|
49
|
-
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
74
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
75
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
76
|
+
version.json
|
|
50
77
|
- Updated dependencies
|
|
51
78
|
|
|
52
79
|
## 4.1.3
|
|
53
80
|
|
|
54
81
|
### Patch Changes
|
|
55
82
|
|
|
56
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
83
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
84
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
85
|
+
legacy types are published for TS 4.5-4.8
|
|
57
86
|
|
|
58
87
|
## 4.1.2
|
|
59
88
|
|
|
60
89
|
### Patch Changes
|
|
61
90
|
|
|
62
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
91
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
92
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
93
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
63
94
|
|
|
64
95
|
## 4.1.1
|
|
65
96
|
|
|
66
97
|
### Patch Changes
|
|
67
98
|
|
|
68
|
-
- [#33218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33218)
|
|
99
|
+
- [#33218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33218)
|
|
100
|
+
[`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal
|
|
101
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
102
|
+
change.
|
|
69
103
|
|
|
70
104
|
## 4.1.0
|
|
71
105
|
|
|
72
106
|
### Minor Changes
|
|
73
107
|
|
|
74
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
108
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
109
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
110
|
+
minor dependency bump
|
|
75
111
|
|
|
76
112
|
### Patch Changes
|
|
77
113
|
|
|
@@ -81,7 +117,9 @@
|
|
|
81
117
|
|
|
82
118
|
### Patch Changes
|
|
83
119
|
|
|
84
|
-
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
120
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
121
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
122
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
85
123
|
|
|
86
124
|
## 4.0.37
|
|
87
125
|
|
|
@@ -99,9 +137,12 @@
|
|
|
99
137
|
|
|
100
138
|
### Patch Changes
|
|
101
139
|
|
|
102
|
-
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
140
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
141
|
+
[`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) -
|
|
142
|
+
[ED-16166] Changes the renderer prop document type from any to DocNode
|
|
103
143
|
|
|
104
|
-
BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had
|
|
144
|
+
BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had
|
|
145
|
+
the type of `any`. This has now been changed to `DocNode` which comes from `@atlaskit/adf-schema`.
|
|
105
146
|
|
|
106
147
|
Documents being passed into the renderer component will need to be updated to use this type.
|
|
107
148
|
|
|
@@ -111,9 +152,9 @@
|
|
|
111
152
|
import { DocNode } from '@atlaskit/adf-schema';
|
|
112
153
|
|
|
113
154
|
const emptyDoc: DocNode = {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
155
|
+
type: 'doc',
|
|
156
|
+
version: 1,
|
|
157
|
+
content: [],
|
|
117
158
|
};
|
|
118
159
|
```
|
|
119
160
|
|
|
@@ -129,7 +170,9 @@
|
|
|
129
170
|
|
|
130
171
|
### Patch Changes
|
|
131
172
|
|
|
132
|
-
- [#26424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26424)
|
|
173
|
+
- [#26424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26424)
|
|
174
|
+
[`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) -
|
|
175
|
+
Consolidate In Product Help & Self-Help Experiences ownership
|
|
133
176
|
|
|
134
177
|
## 4.0.32
|
|
135
178
|
|
|
@@ -147,13 +190,17 @@
|
|
|
147
190
|
|
|
148
191
|
### Patch Changes
|
|
149
192
|
|
|
150
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
193
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
194
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
195
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
151
196
|
|
|
152
197
|
## 4.0.29
|
|
153
198
|
|
|
154
199
|
### Patch Changes
|
|
155
200
|
|
|
156
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
201
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
202
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
203
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
157
204
|
|
|
158
205
|
## 4.0.28
|
|
159
206
|
|
|
@@ -207,7 +254,9 @@
|
|
|
207
254
|
|
|
208
255
|
### Patch Changes
|
|
209
256
|
|
|
210
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
257
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
258
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
259
|
+
to TypeScript 4.2.4
|
|
211
260
|
|
|
212
261
|
## 4.0.19
|
|
213
262
|
|
|
@@ -267,13 +316,17 @@
|
|
|
267
316
|
|
|
268
317
|
### Patch Changes
|
|
269
318
|
|
|
270
|
-
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
319
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
320
|
+
[`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
|
|
321
|
+
VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
271
322
|
|
|
272
323
|
## 4.0.9
|
|
273
324
|
|
|
274
325
|
### Patch Changes
|
|
275
326
|
|
|
276
|
-
- [#16630](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16630)
|
|
327
|
+
- [#16630](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16630)
|
|
328
|
+
[`360ccde3275`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360ccde3275) - [ux]
|
|
329
|
+
Open all links in a new tab
|
|
277
330
|
|
|
278
331
|
## 4.0.8
|
|
279
332
|
|
|
@@ -315,7 +368,9 @@
|
|
|
315
368
|
|
|
316
369
|
### Patch Changes
|
|
317
370
|
|
|
318
|
-
- [#13328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13328)
|
|
371
|
+
- [#13328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13328)
|
|
372
|
+
[`df9dc928897`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9dc928897) - Update
|
|
373
|
+
the team information in the packages maintained by the In Product Help team
|
|
319
374
|
|
|
320
375
|
## 4.0.1
|
|
321
376
|
|
|
@@ -327,7 +382,12 @@
|
|
|
327
382
|
|
|
328
383
|
### Major Changes
|
|
329
384
|
|
|
330
|
-
- [#11927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11927)
|
|
385
|
+
- [#11927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11927)
|
|
386
|
+
[`bc46b0b34ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc46b0b34ed) - [ux]
|
|
387
|
+
@atlaskit/help-article: Updated component interfaze and removed unused props onArticleRenderBegin
|
|
388
|
+
and onArticleRenderDone. @atlaskit/help-artilce: major changes in the component interfaze, added
|
|
389
|
+
"What's new" articles search and articles view. Moved the search input to the header. Updated
|
|
390
|
+
navigation logic and unit tests
|
|
331
391
|
|
|
332
392
|
## 3.0.2
|
|
333
393
|
|
|
@@ -345,21 +405,30 @@
|
|
|
345
405
|
|
|
346
406
|
### Major Changes
|
|
347
407
|
|
|
348
|
-
- [#10745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10745)
|
|
408
|
+
- [#10745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10745)
|
|
409
|
+
[`f88acfa4736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88acfa4736) - [ux] Add
|
|
410
|
+
support for ADF documents. The prop "body" now accepts String and ADF object. The prop "bodyType"
|
|
411
|
+
was added so the developer can specify which type of content the the "body" prop has ("html" or
|
|
412
|
+
"adf")
|
|
349
413
|
|
|
350
414
|
## 2.0.5
|
|
351
415
|
|
|
352
416
|
### Patch Changes
|
|
353
417
|
|
|
354
|
-
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
418
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
419
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
420
|
+
packages using babel rather than tsc
|
|
355
421
|
|
|
356
422
|
## 2.0.4
|
|
357
423
|
|
|
358
424
|
### Patch Changes
|
|
359
425
|
|
|
360
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
361
|
-
|
|
362
|
-
|
|
426
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
427
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
428
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
429
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
430
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
431
|
+
`devDependencies` to denote version that the package was built with.
|
|
363
432
|
|
|
364
433
|
## 2.0.3
|
|
365
434
|
|
|
@@ -371,23 +440,30 @@
|
|
|
371
440
|
|
|
372
441
|
### Patch Changes
|
|
373
442
|
|
|
374
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
443
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
444
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
445
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
375
446
|
|
|
376
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
377
|
-
to prevent duplicates of tslib being bundled.
|
|
447
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
448
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
378
449
|
|
|
379
450
|
## 2.0.1
|
|
380
451
|
|
|
381
452
|
### Patch Changes
|
|
382
453
|
|
|
383
|
-
- [#3226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3226)
|
|
454
|
+
- [#3226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3226)
|
|
455
|
+
[`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the
|
|
456
|
+
'lodash' package instead of single-function 'lodash.\*' packages
|
|
384
457
|
|
|
385
458
|
## 2.0.0
|
|
386
459
|
|
|
387
460
|
### Major Changes
|
|
388
461
|
|
|
389
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
390
|
-
|
|
462
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
463
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
464
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
465
|
+
IE11. For more information see:
|
|
466
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
391
467
|
|
|
392
468
|
### Patch Changes
|
|
393
469
|
|
|
@@ -397,19 +473,25 @@
|
|
|
397
473
|
|
|
398
474
|
### Patch Changes
|
|
399
475
|
|
|
400
|
-
- [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742)
|
|
476
|
+
- [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742)
|
|
477
|
+
[`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed
|
|
478
|
+
atlaskit default styles
|
|
401
479
|
|
|
402
480
|
## 1.0.7
|
|
403
481
|
|
|
404
482
|
### Patch Changes
|
|
405
483
|
|
|
406
|
-
- [#2731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2731)
|
|
484
|
+
- [#2731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2731)
|
|
485
|
+
[`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed
|
|
486
|
+
es2019 distributable missing a version.json file
|
|
407
487
|
|
|
408
488
|
## 1.0.6
|
|
409
489
|
|
|
410
490
|
### Patch Changes
|
|
411
491
|
|
|
412
|
-
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099)
|
|
492
|
+
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099)
|
|
493
|
+
[`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add
|
|
494
|
+
missing tslib dependency
|
|
413
495
|
|
|
414
496
|
## 1.0.5
|
|
415
497
|
|
|
@@ -433,7 +515,8 @@
|
|
|
433
515
|
|
|
434
516
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
435
517
|
|
|
436
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
518
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
519
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
437
520
|
|
|
438
521
|
- @atlaskit/docs@8.3.2
|
|
439
522
|
- @atlaskit/button@13.3.7
|
|
@@ -445,7 +528,8 @@
|
|
|
445
528
|
|
|
446
529
|
### Patch Changes
|
|
447
530
|
|
|
448
|
-
- Updated dependencies
|
|
531
|
+
- Updated dependencies
|
|
532
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
449
533
|
- @atlaskit/icon@20.0.0
|
|
450
534
|
- @atlaskit/docs@8.3.1
|
|
451
535
|
- @atlaskit/button@13.3.6
|
|
@@ -480,7 +564,8 @@
|
|
|
480
564
|
|
|
481
565
|
- [patch][6f156e8e80](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6f156e8e80):
|
|
482
566
|
|
|
483
|
-
Bugfix - Add extra padding to the iframe. Replaced the article injection using srcdoc for a plain
|
|
567
|
+
Bugfix - Add extra padding to the iframe. Replaced the article injection using srcdoc for a plain
|
|
568
|
+
JS one (Microsoft Edge and IE11 doesn't support srcdoc)
|
|
484
569
|
|
|
485
570
|
## 0.7.2
|
|
486
571
|
|
|
@@ -488,7 +573,8 @@
|
|
|
488
573
|
|
|
489
574
|
- [patch][c17a72abc4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c17a72abc4):
|
|
490
575
|
|
|
491
|
-
Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups
|
|
576
|
+
Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups
|
|
577
|
+
from within
|
|
492
578
|
|
|
493
579
|
## 0.7.1
|
|
494
580
|
|
|
@@ -560,7 +646,8 @@
|
|
|
560
646
|
|
|
561
647
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
562
648
|
|
|
563
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
649
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
650
|
+
non-relative imports as relative imports
|
|
564
651
|
|
|
565
652
|
## 0.5.2
|
|
566
653
|
|
|
@@ -582,8 +669,10 @@
|
|
|
582
669
|
- Adding back cjs
|
|
583
670
|
- Replacing es5 by cjs and es2015 by esm
|
|
584
671
|
- Creating folders at the root for entry-points
|
|
585
|
-
- Removing the generation of the entry-points at the root
|
|
586
|
-
|
|
672
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
673
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
674
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
675
|
+
for further details
|
|
587
676
|
|
|
588
677
|
## 0.5.0
|
|
589
678
|
|
|
@@ -613,11 +702,13 @@
|
|
|
613
702
|
|
|
614
703
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
615
704
|
|
|
616
|
-
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
705
|
+
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
706
|
+
Request #5942 for details
|
|
617
707
|
|
|
618
708
|
## 0.4.4
|
|
619
709
|
|
|
620
|
-
- Updated dependencies
|
|
710
|
+
- Updated dependencies
|
|
711
|
+
[6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
|
|
621
712
|
- @atlaskit/theme@9.0.2
|
|
622
713
|
- @atlaskit/section-message@4.0.0
|
|
623
714
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__help-article/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../design-system/css-reset/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../editor/renderer/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__help-article/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../design-system/css-reset/afm-post-office/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../editor/renderer/afm-post-office/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -14,7 +14,7 @@ var _HelpArticle = require("../../model/HelpArticle");
|
|
|
14
14
|
var _resetCss = _interopRequireDefault(require("./resetCss"));
|
|
15
15
|
var _styled = require("./styled");
|
|
16
16
|
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); }
|
|
17
|
-
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 &&
|
|
17
|
+
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; }
|
|
18
18
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
19
19
|
|
|
20
20
|
var IFRAME_CONTAINER_ID = 'help-iframe-container';
|
|
@@ -32,7 +32,7 @@ var ArticleBody = exports.ArticleBody = function ArticleBody(props) {
|
|
|
32
32
|
if (currentIframe.contentWindow.document.body) {
|
|
33
33
|
var iframeContent = currentIframe.contentWindow.document.body.firstElementChild;
|
|
34
34
|
/* if the iframe has content, set the height of the iframe body
|
|
35
|
-
|
|
35
|
+
and of the iframe itself */
|
|
36
36
|
if (iframeContent) {
|
|
37
37
|
var contentHeight = iframeContent.scrollHeight;
|
|
38
38
|
currentIframe.style.height = contentHeight + 10 + 'px';
|
|
@@ -75,6 +75,8 @@ var ArticleBody = exports.ArticleBody = function ArticleBody(props) {
|
|
|
75
75
|
if (!iframeContainer) {
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
|
+
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
78
80
|
_reactDom.default.render( /*#__PURE__*/_react.default.createElement("div", {
|
|
79
81
|
style: divSyle
|
|
80
82
|
}), iframeContainer, function () {
|
|
@@ -6,8 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ArticleFrame = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
12
|
+
*/
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
16
|
var ArticleFrame = exports.ArticleFrame = _styled.default.iframe({
|
|
12
17
|
display: 'block',
|
|
13
18
|
width: "calc(100% + ".concat("var(--ds-space-150, 12px)", ")"),
|
|
@@ -5,10 +5,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.ArticleContentTitleLink = exports.ArticleContentTitle = exports.ArticleContentInner = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
/**
|
|
10
|
+
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
12
|
+
*/
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var ArticleContentInner = exports.ArticleContentInner = _styled.default.div({
|
|
17
|
+
paddingBottom: "var(--ds-space-200, 16px)",
|
|
18
|
+
position: 'relative'
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
|
+
var ArticleContentTitle = exports.ArticleContentTitle = _styled.default.div({
|
|
23
|
+
paddingBottom: "var(--ds-space-200, 16px)"
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
|
+
var ArticleContentTitleLink = exports.ArticleContentTitleLink = _styled.default.a({
|
|
28
|
+
'&:hover': {
|
|
29
|
+
textDecoration: 'none'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
@@ -22,7 +22,7 @@ export const ArticleBody = props => {
|
|
|
22
22
|
if (currentIframe.contentWindow.document.body) {
|
|
23
23
|
const iframeContent = currentIframe.contentWindow.document.body.firstElementChild;
|
|
24
24
|
/* if the iframe has content, set the height of the iframe body
|
|
25
|
-
|
|
25
|
+
and of the iframe itself */
|
|
26
26
|
if (iframeContent) {
|
|
27
27
|
const contentHeight = iframeContent.scrollHeight;
|
|
28
28
|
currentIframe.style.height = contentHeight + 10 + 'px';
|
|
@@ -63,6 +63,8 @@ export const ArticleBody = props => {
|
|
|
63
63
|
if (!iframeContainer) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
+
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
66
68
|
ReactDOM.render( /*#__PURE__*/React.createElement("div", {
|
|
67
69
|
style: divSyle
|
|
68
70
|
}), iframeContainer, () => {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
3
8
|
export const ArticleFrame = styled.iframe({
|
|
4
9
|
display: 'block',
|
|
5
10
|
width: `calc(100% + ${"var(--ds-space-150, 12px)"})`,
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export const
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const ArticleContentInner = styled.div({
|
|
9
|
+
paddingBottom: "var(--ds-space-200, 16px)",
|
|
10
|
+
position: 'relative'
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
|
+
export const ArticleContentTitle = styled.div({
|
|
15
|
+
paddingBottom: "var(--ds-space-200, 16px)"
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
|
+
export const ArticleContentTitleLink = styled.a({
|
|
20
|
+
'&:hover': {
|
|
21
|
+
textDecoration: 'none'
|
|
13
22
|
}
|
|
14
|
-
|
|
23
|
+
});
|
|
@@ -22,7 +22,7 @@ export var ArticleBody = function ArticleBody(props) {
|
|
|
22
22
|
if (currentIframe.contentWindow.document.body) {
|
|
23
23
|
var iframeContent = currentIframe.contentWindow.document.body.firstElementChild;
|
|
24
24
|
/* if the iframe has content, set the height of the iframe body
|
|
25
|
-
|
|
25
|
+
and of the iframe itself */
|
|
26
26
|
if (iframeContent) {
|
|
27
27
|
var contentHeight = iframeContent.scrollHeight;
|
|
28
28
|
currentIframe.style.height = contentHeight + 10 + 'px';
|
|
@@ -65,6 +65,8 @@ export var ArticleBody = function ArticleBody(props) {
|
|
|
65
65
|
if (!iframeContainer) {
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
|
+
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
68
70
|
ReactDOM.render( /*#__PURE__*/React.createElement("div", {
|
|
69
71
|
style: divSyle
|
|
70
72
|
}), iframeContainer, function () {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
3
8
|
export var ArticleFrame = styled.iframe({
|
|
4
9
|
display: 'block',
|
|
5
10
|
width: "calc(100% + ".concat("var(--ds-space-150, 12px)", ")"),
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
|
-
|
|
6
|
-
export var
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export var ArticleContentInner = styled.div({
|
|
9
|
+
paddingBottom: "var(--ds-space-200, 16px)",
|
|
10
|
+
position: 'relative'
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
|
+
export var ArticleContentTitle = styled.div({
|
|
15
|
+
paddingBottom: "var(--ds-space-200, 16px)"
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
|
+
export var ArticleContentTitleLink = styled.a({
|
|
20
|
+
'&:hover': {
|
|
21
|
+
textDecoration: 'none'
|
|
22
|
+
}
|
|
23
|
+
});
|
package/docs/0-intro.tsx
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
md,
|
|
4
|
-
code,
|
|
5
|
-
Example,
|
|
6
|
-
Props,
|
|
7
|
-
AtlassianInternalWarning,
|
|
8
|
-
} from '@atlaskit/docs';
|
|
2
|
+
import { md, code, Example, Props, AtlassianInternalWarning } from '@atlaskit/docs';
|
|
9
3
|
|
|
10
4
|
export default md`
|
|
11
5
|
${(<AtlassianInternalWarning />)}
|
|
@@ -31,16 +25,12 @@ export default md`
|
|
|
31
25
|
`}
|
|
32
26
|
|
|
33
27
|
${(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
${(
|
|
42
|
-
<Props
|
|
43
|
-
props={require('!!extract-react-types-loader!../src/components/HelpArticle')}
|
|
44
|
-
/>
|
|
45
|
-
)}
|
|
28
|
+
<Example
|
|
29
|
+
Component={require('../examples/1-Help-article').default}
|
|
30
|
+
title="Help Article"
|
|
31
|
+
source={require('!!raw-loader!../examples/1-Help-article')}
|
|
32
|
+
/>
|
|
33
|
+
)}
|
|
34
|
+
|
|
35
|
+
${(<Props props={require('!!extract-react-types-loader!../src/components/HelpArticle')} />)}
|
|
46
36
|
`;
|
package/package.json
CHANGED
|
@@ -1,72 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"color",
|
|
67
|
-
"spacing"
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
2
|
+
"name": "@atlaskit/help-article",
|
|
3
|
+
"version": "4.1.13",
|
|
4
|
+
"description": "A cross-product help-article component",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"atlaskit:src": "src/index.ts",
|
|
25
|
+
"af:exports": {
|
|
26
|
+
".": "./src/index.ts"
|
|
27
|
+
},
|
|
28
|
+
"atlassian": {
|
|
29
|
+
"team": "Self-Help Experiences",
|
|
30
|
+
"website": {
|
|
31
|
+
"name": "Help Article"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@atlaskit/css-reset": "^6.10.0",
|
|
36
|
+
"@atlaskit/icon": "^22.16.0",
|
|
37
|
+
"@atlaskit/renderer": "^110.0.0",
|
|
38
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
39
|
+
"@babel/runtime": "^7.0.0",
|
|
40
|
+
"@emotion/styled": "^11.0.0",
|
|
41
|
+
"lodash": "^4.17.21"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^16.8.0",
|
|
45
|
+
"react-dom": "^16.8.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"enzyme": "^3.10.0",
|
|
49
|
+
"react-test-renderer": "^16.8.0",
|
|
50
|
+
"typescript": "~5.4.2"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"atlaskit",
|
|
54
|
+
"react",
|
|
55
|
+
"ui",
|
|
56
|
+
"help"
|
|
57
|
+
],
|
|
58
|
+
"techstack": {
|
|
59
|
+
"@repo/internal": {
|
|
60
|
+
"design-tokens": [
|
|
61
|
+
"color",
|
|
62
|
+
"spacing"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
72
66
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/help-article"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -19,29 +20,29 @@
|
|
|
19
20
|
|
|
20
21
|
// @public (undocumented)
|
|
21
22
|
export type AdfDoc = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
type: string;
|
|
24
|
+
version: number;
|
|
25
|
+
content: {
|
|
26
|
+
[fieldName: string]: any;
|
|
27
|
+
}[];
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
// @public (undocumented)
|
|
30
31
|
export enum BODY_FORMAT_TYPES {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
// (undocumented)
|
|
33
|
+
adf = 'adf',
|
|
34
|
+
// (undocumented)
|
|
35
|
+
html = 'html',
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
// @public (undocumented)
|
|
38
39
|
export type HelpArticle = {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
title?: string;
|
|
41
|
+
body?: AdfDoc | string;
|
|
42
|
+
bodyFormat?: BODY_FORMAT_TYPES;
|
|
43
|
+
titleLinkUrl?: string;
|
|
44
|
+
onArticleRenderBegin?(): void;
|
|
45
|
+
onArticleRenderDone?(): void;
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
// @public (undocumented)
|
|
@@ -59,8 +60,8 @@ export default HelpArticle_2;
|
|
|
59
60
|
|
|
60
61
|
```json
|
|
61
62
|
{
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
"react": "^16.8.0",
|
|
64
|
+
"react-dom": "^16.8.0"
|
|
64
65
|
}
|
|
65
66
|
```
|
|
66
67
|
|