@atlaskit/help-article 4.1.12 → 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 CHANGED
@@ -1,34 +1,51 @@
1
1
  # @atlaskit/help-article
2
2
 
3
+ ## 4.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.1.12
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
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`
8
16
 
9
17
  ## 4.1.11
10
18
 
11
19
  ### Patch Changes
12
20
 
13
- - [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509) [`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) - Upgrade dependency of `@emotion/styled` to version 11
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
14
24
 
15
25
  ## 4.1.10
16
26
 
17
27
  ### Patch Changes
18
28
 
19
- - [#77102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77102) [`b93a56e5ee66`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b93a56e5ee66) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
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.
20
33
 
21
34
  ## 4.1.9
22
35
 
23
36
  ### Patch Changes
24
37
 
25
- - [#72381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72381) [`613a669ad9bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/613a669ad9bb) - Enrolling help packages to push model in JFE.
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.
26
41
 
27
42
  ## 4.1.8
28
43
 
29
44
  ### Patch Changes
30
45
 
31
- - [#68561](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68561) [`6a1919bf8400`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1919bf8400) - Migrate packages to use declarative entry points
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
32
49
 
33
50
  ## 4.1.7
34
51
 
@@ -46,38 +63,51 @@
46
63
 
47
64
  ### Patch Changes
48
65
 
49
- - [#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
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
50
69
 
51
70
  ## 4.1.4
52
71
 
53
72
  ### Patch Changes
54
73
 
55
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
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
56
77
  - Updated dependencies
57
78
 
58
79
  ## 4.1.3
59
80
 
60
81
  ### Patch Changes
61
82
 
62
- - [#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
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
63
86
 
64
87
  ## 4.1.2
65
88
 
66
89
  ### Patch Changes
67
90
 
68
- - [#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`
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`
69
94
 
70
95
  ## 4.1.1
71
96
 
72
97
  ### Patch Changes
73
98
 
74
- - [#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.
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.
75
103
 
76
104
  ## 4.1.0
77
105
 
78
106
  ### Minor Changes
79
107
 
80
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
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
81
111
 
82
112
  ### Patch Changes
83
113
 
@@ -87,7 +117,9 @@
87
117
 
88
118
  ### Patch Changes
89
119
 
90
- - [#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
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
91
123
 
92
124
  ## 4.0.37
93
125
 
@@ -105,9 +137,12 @@
105
137
 
106
138
  ### Patch Changes
107
139
 
108
- - [#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
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
109
143
 
110
- 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`.
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`.
111
146
 
112
147
  Documents being passed into the renderer component will need to be updated to use this type.
113
148
 
@@ -117,9 +152,9 @@
117
152
  import { DocNode } from '@atlaskit/adf-schema';
118
153
 
119
154
  const emptyDoc: DocNode = {
120
- type: 'doc',
121
- version: 1,
122
- content: [],
155
+ type: 'doc',
156
+ version: 1,
157
+ content: [],
123
158
  };
124
159
  ```
125
160
 
@@ -135,7 +170,9 @@
135
170
 
136
171
  ### Patch Changes
137
172
 
138
- - [#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
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
139
176
 
140
177
  ## 4.0.32
141
178
 
@@ -153,13 +190,17 @@
153
190
 
154
191
  ### Patch Changes
155
192
 
156
- - [#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`
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`
157
196
 
158
197
  ## 4.0.29
159
198
 
160
199
  ### Patch Changes
161
200
 
162
- - [#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`.
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`.
163
204
 
164
205
  ## 4.0.28
165
206
 
@@ -213,7 +254,9 @@
213
254
 
214
255
  ### Patch Changes
215
256
 
216
- - [#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
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
217
260
 
218
261
  ## 4.0.19
219
262
 
@@ -273,13 +316,17 @@
273
316
 
274
317
  ### Patch Changes
275
318
 
276
- - [#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
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
277
322
 
278
323
  ## 4.0.9
279
324
 
280
325
  ### Patch Changes
281
326
 
282
- - [#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
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
283
330
 
284
331
  ## 4.0.8
285
332
 
@@ -321,7 +368,9 @@
321
368
 
322
369
  ### Patch Changes
323
370
 
324
- - [#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
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
325
374
 
326
375
  ## 4.0.1
327
376
 
@@ -333,7 +382,12 @@
333
382
 
334
383
  ### Major Changes
335
384
 
336
- - [#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
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
337
391
 
338
392
  ## 3.0.2
339
393
 
@@ -351,21 +405,30 @@
351
405
 
352
406
  ### Major Changes
353
407
 
354
- - [#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")
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")
355
413
 
356
414
  ## 2.0.5
357
415
 
358
416
  ### Patch Changes
359
417
 
360
- - [#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
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
361
421
 
362
422
  ## 2.0.4
363
423
 
364
424
  ### Patch Changes
365
425
 
366
- - [#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.
367
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
368
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
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.
369
432
 
370
433
  ## 2.0.3
371
434
 
@@ -377,23 +440,30 @@
377
440
 
378
441
  ### Patch Changes
379
442
 
380
- - [#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
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
381
446
 
382
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
383
- 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.
384
449
 
385
450
  ## 2.0.1
386
451
 
387
452
  ### Patch Changes
388
453
 
389
- - [#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
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
390
457
 
391
458
  ## 2.0.0
392
459
 
393
460
  ### Major Changes
394
461
 
395
- - [#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.
396
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
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
397
467
 
398
468
  ### Patch Changes
399
469
 
@@ -403,19 +473,25 @@
403
473
 
404
474
  ### Patch Changes
405
475
 
406
- - [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742) [`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed atlaskit default styles
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
407
479
 
408
480
  ## 1.0.7
409
481
 
410
482
  ### Patch Changes
411
483
 
412
- - [#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
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
413
487
 
414
488
  ## 1.0.6
415
489
 
416
490
  ### Patch Changes
417
491
 
418
- - [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
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
419
495
 
420
496
  ## 1.0.5
421
497
 
@@ -439,7 +515,8 @@
439
515
 
440
516
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
441
517
 
442
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
518
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
519
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
443
520
 
444
521
  - @atlaskit/docs@8.3.2
445
522
  - @atlaskit/button@13.3.7
@@ -451,7 +528,8 @@
451
528
 
452
529
  ### Patch Changes
453
530
 
454
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
531
+ - Updated dependencies
532
+ [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
455
533
  - @atlaskit/icon@20.0.0
456
534
  - @atlaskit/docs@8.3.1
457
535
  - @atlaskit/button@13.3.6
@@ -486,7 +564,8 @@
486
564
 
487
565
  - [patch][6f156e8e80](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6f156e8e80):
488
566
 
489
- Bugfix - Add extra padding to the iframe. Replaced the article injection using srcdoc for a plain JS one (Microsoft Edge and IE11 doesn't support srcdoc)
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)
490
569
 
491
570
  ## 0.7.2
492
571
 
@@ -494,7 +573,8 @@
494
573
 
495
574
  - [patch][c17a72abc4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c17a72abc4):
496
575
 
497
- Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups from within
576
+ Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups
577
+ from within
498
578
 
499
579
  ## 0.7.1
500
580
 
@@ -566,7 +646,8 @@
566
646
 
567
647
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
568
648
 
569
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
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
570
651
 
571
652
  ## 0.5.2
572
653
 
@@ -588,8 +669,10 @@
588
669
  - Adding back cjs
589
670
  - Replacing es5 by cjs and es2015 by esm
590
671
  - Creating folders at the root for entry-points
591
- - Removing the generation of the entry-points at the root
592
- Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
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
593
676
 
594
677
  ## 0.5.0
595
678
 
@@ -619,11 +702,13 @@
619
702
 
620
703
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
621
704
 
622
- - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
705
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull
706
+ Request #5942 for details
623
707
 
624
708
  ## 0.4.4
625
709
 
626
- - Updated dependencies [6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
710
+ - Updated dependencies
711
+ [6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
627
712
  - @atlaskit/theme@9.0.2
628
713
  - @atlaskit/section-message@4.0.0
629
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 && Object.prototype.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; }
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
- and of the iframe itself */
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
- /** @jsx jsx */
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
- var _templateObject, _templateObject2, _templateObject3;
11
- /** @jsx jsx */
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"])));
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
- and of the iframe itself */
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
- /** @jsx jsx */
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
- /** @jsx jsx */
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
- export const ArticleContentInner = styled.div`
4
- padding-bottom: ${"var(--ds-space-200, 16px)"};
5
- position: relative;
6
- `;
7
- export const ArticleContentTitle = styled.div`
8
- padding-bottom: ${"var(--ds-space-200, 16px)"};
9
- `;
10
- export const ArticleContentTitleLink = styled.a`
11
- &:hover {
12
- text-decoration: none;
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
- and of the iframe itself */
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
- /** @jsx jsx */
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
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3;
3
- /** @jsx jsx */
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
- export var ArticleContentInner = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding-bottom: ", ";\n position: relative;\n"])), "var(--ds-space-200, 16px)");
6
- export var ArticleContentTitle = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding-bottom: ", ";\n"])), "var(--ds-space-200, 16px)");
7
- export var ArticleContentTitleLink = styled.a(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n &:hover {\n text-decoration: none;\n }\n"])));
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
- <Example
35
- Component={require('../examples/1-Help-article').default}
36
- title="Help Article"
37
- source={require('!!raw-loader!../examples/1-Help-article')}
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
- "name": "@atlaskit/help-article",
3
- "version": "4.1.12",
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
- "releaseModel": "continuous",
31
- "productPushConsumption": [
32
- "jira"
33
- ],
34
- "website": {
35
- "name": "Help Article"
36
- }
37
- },
38
- "dependencies": {
39
- "@atlaskit/css-reset": "^6.7.0",
40
- "@atlaskit/icon": "^22.1.0",
41
- "@atlaskit/renderer": "^109.10.0",
42
- "@atlaskit/tokens": "^1.42.0",
43
- "@babel/runtime": "^7.0.0",
44
- "@emotion/styled": "^11.0.0",
45
- "lodash": "^4.17.21"
46
- },
47
- "peerDependencies": {
48
- "react": "^16.8.0",
49
- "react-dom": "^16.8.0"
50
- },
51
- "devDependencies": {
52
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
53
- "enzyme": "^3.10.0",
54
- "react-test-renderer": "^16.8.0",
55
- "typescript": "~5.4.2"
56
- },
57
- "keywords": [
58
- "atlaskit",
59
- "react",
60
- "ui",
61
- "help"
62
- ],
63
- "techstack": {
64
- "@repo/internal": {
65
- "design-tokens": [
66
- "color",
67
- "spacing"
68
- ]
69
- }
70
- },
71
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
72
- }
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
+ }
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 [API Extractor](https://api-extractor.com/).
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
- type: string;
23
- version: number;
24
- content: {
25
- [fieldName: string]: any;
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
- // (undocumented)
32
- adf = 'adf',
33
- // (undocumented)
34
- html = 'html',
32
+ // (undocumented)
33
+ adf = 'adf',
34
+ // (undocumented)
35
+ html = 'html',
35
36
  }
36
37
 
37
38
  // @public (undocumented)
38
39
  export type HelpArticle = {
39
- title?: string;
40
- body?: AdfDoc | string;
41
- bodyFormat?: BODY_FORMAT_TYPES;
42
- titleLinkUrl?: string;
43
- onArticleRenderBegin?(): void;
44
- onArticleRenderDone?(): void;
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
- "react": "^16.8.0",
63
- "react-dom": "^16.8.0"
63
+ "react": "^16.8.0",
64
+ "react-dom": "^16.8.0"
64
65
  }
65
66
  ```
66
67