@atlaskit/help-article 4.1.12 → 4.2.0

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,59 @@
1
1
  # @atlaskit/help-article
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#144303](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144303)
8
+ [`de9cfac4c3629`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de9cfac4c3629) -
9
+ [ux] Enable new icons behind a feature flag.
10
+
11
+ ## 4.1.13
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 4.1.12
4
18
 
5
19
  ### Patch Changes
6
20
 
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`
21
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
22
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
23
+ Upgrade Typescript from `4.9.5` to `5.4.2`
8
24
 
9
25
  ## 4.1.11
10
26
 
11
27
  ### Patch Changes
12
28
 
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
29
+ - [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
30
+ [`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) -
31
+ Upgrade dependency of `@emotion/styled` to version 11
14
32
 
15
33
  ## 4.1.10
16
34
 
17
35
  ### Patch Changes
18
36
 
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.
37
+ - [#77102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77102)
38
+ [`b93a56e5ee66`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b93a56e5ee66) -
39
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
40
+ behaviour change.
20
41
 
21
42
  ## 4.1.9
22
43
 
23
44
  ### Patch Changes
24
45
 
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.
46
+ - [#72381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72381)
47
+ [`613a669ad9bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/613a669ad9bb) -
48
+ Enrolling help packages to push model in JFE.
26
49
 
27
50
  ## 4.1.8
28
51
 
29
52
  ### Patch Changes
30
53
 
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
54
+ - [#68561](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68561)
55
+ [`6a1919bf8400`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1919bf8400) -
56
+ Migrate packages to use declarative entry points
32
57
 
33
58
  ## 4.1.7
34
59
 
@@ -46,38 +71,51 @@
46
71
 
47
72
  ### Patch Changes
48
73
 
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
74
+ - [#41087](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41087)
75
+ [`7d066a73736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d066a73736) - Fix ts
76
+ errors by adding type definition and removing unused parameter
50
77
 
51
78
  ## 4.1.4
52
79
 
53
80
  ### Patch Changes
54
81
 
55
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
82
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
83
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
84
+ version.json
56
85
  - Updated dependencies
57
86
 
58
87
  ## 4.1.3
59
88
 
60
89
  ### Patch Changes
61
90
 
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
91
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
92
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
93
+ legacy types are published for TS 4.5-4.8
63
94
 
64
95
  ## 4.1.2
65
96
 
66
97
  ### Patch Changes
67
98
 
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`
99
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
100
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
101
+ Typescript from `4.5.5` to `4.9.5`
69
102
 
70
103
  ## 4.1.1
71
104
 
72
105
  ### Patch Changes
73
106
 
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.
107
+ - [#33218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33218)
108
+ [`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal
109
+ change to enforce token usage for spacing properties. There is no expected visual or behaviour
110
+ change.
75
111
 
76
112
  ## 4.1.0
77
113
 
78
114
  ### Minor Changes
79
115
 
80
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
116
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
117
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
118
+ minor dependency bump
81
119
 
82
120
  ### Patch Changes
83
121
 
@@ -87,7 +125,9 @@
87
125
 
88
126
  ### Patch Changes
89
127
 
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
128
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
129
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
130
+ remove before merging to master; dupe adf-schema via adf-utils
91
131
 
92
132
  ## 4.0.37
93
133
 
@@ -105,9 +145,12 @@
105
145
 
106
146
  ### Patch Changes
107
147
 
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
148
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
149
+ [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) -
150
+ [ED-16166] Changes the renderer prop document type from any to DocNode
109
151
 
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`.
152
+ BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had
153
+ the type of `any`. This has now been changed to `DocNode` which comes from `@atlaskit/adf-schema`.
111
154
 
112
155
  Documents being passed into the renderer component will need to be updated to use this type.
113
156
 
@@ -117,9 +160,9 @@
117
160
  import { DocNode } from '@atlaskit/adf-schema';
118
161
 
119
162
  const emptyDoc: DocNode = {
120
- type: 'doc',
121
- version: 1,
122
- content: [],
163
+ type: 'doc',
164
+ version: 1,
165
+ content: [],
123
166
  };
124
167
  ```
125
168
 
@@ -135,7 +178,9 @@
135
178
 
136
179
  ### Patch Changes
137
180
 
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
181
+ - [#26424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26424)
182
+ [`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) -
183
+ Consolidate In Product Help & Self-Help Experiences ownership
139
184
 
140
185
  ## 4.0.32
141
186
 
@@ -153,13 +198,17 @@
153
198
 
154
199
  ### Patch Changes
155
200
 
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`
201
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
202
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
203
+ Typescript from `4.3.5` to `4.5.5`
157
204
 
158
205
  ## 4.0.29
159
206
 
160
207
  ### Patch Changes
161
208
 
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`.
209
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
210
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
211
+ Typescript from `4.2.4` to `4.3.5`.
163
212
 
164
213
  ## 4.0.28
165
214
 
@@ -213,7 +262,9 @@
213
262
 
214
263
  ### Patch Changes
215
264
 
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
265
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
266
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
267
+ to TypeScript 4.2.4
217
268
 
218
269
  ## 4.0.19
219
270
 
@@ -273,13 +324,17 @@
273
324
 
274
325
  ### Patch Changes
275
326
 
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
327
+ - [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
328
+ [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
329
+ VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
277
330
 
278
331
  ## 4.0.9
279
332
 
280
333
  ### Patch Changes
281
334
 
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
335
+ - [#16630](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16630)
336
+ [`360ccde3275`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360ccde3275) - [ux]
337
+ Open all links in a new tab
283
338
 
284
339
  ## 4.0.8
285
340
 
@@ -321,7 +376,9 @@
321
376
 
322
377
  ### Patch Changes
323
378
 
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
379
+ - [#13328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13328)
380
+ [`df9dc928897`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9dc928897) - Update
381
+ the team information in the packages maintained by the In Product Help team
325
382
 
326
383
  ## 4.0.1
327
384
 
@@ -333,7 +390,12 @@
333
390
 
334
391
  ### Major Changes
335
392
 
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
393
+ - [#11927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11927)
394
+ [`bc46b0b34ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc46b0b34ed) - [ux]
395
+ @atlaskit/help-article: Updated component interfaze and removed unused props onArticleRenderBegin
396
+ and onArticleRenderDone. @atlaskit/help-artilce: major changes in the component interfaze, added
397
+ "What's new" articles search and articles view. Moved the search input to the header. Updated
398
+ navigation logic and unit tests
337
399
 
338
400
  ## 3.0.2
339
401
 
@@ -351,21 +413,30 @@
351
413
 
352
414
  ### Major Changes
353
415
 
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")
416
+ - [#10745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10745)
417
+ [`f88acfa4736`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88acfa4736) - [ux] Add
418
+ support for ADF documents. The prop "body" now accepts String and ADF object. The prop "bodyType"
419
+ was added so the developer can specify which type of content the the "body" prop has ("html" or
420
+ "adf")
355
421
 
356
422
  ## 2.0.5
357
423
 
358
424
  ### Patch Changes
359
425
 
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
426
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
427
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
428
+ packages using babel rather than tsc
361
429
 
362
430
  ## 2.0.4
363
431
 
364
432
  ### Patch Changes
365
433
 
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.
434
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
435
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
436
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
437
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
438
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
439
+ `devDependencies` to denote version that the package was built with.
369
440
 
370
441
  ## 2.0.3
371
442
 
@@ -377,23 +448,30 @@
377
448
 
378
449
  ### Patch Changes
379
450
 
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
451
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
452
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
453
+ to TypeScript 3.9.6 and tslib to 2.0.0
381
454
 
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.
455
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
456
+ upgrade to prevent duplicates of tslib being bundled.
384
457
 
385
458
  ## 2.0.1
386
459
 
387
460
  ### Patch Changes
388
461
 
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
462
+ - [#3226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3226)
463
+ [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the
464
+ 'lodash' package instead of single-function 'lodash.\*' packages
390
465
 
391
466
  ## 2.0.0
392
467
 
393
468
  ### Major Changes
394
469
 
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
470
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
471
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
472
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
473
+ IE11. For more information see:
474
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
397
475
 
398
476
  ### Patch Changes
399
477
 
@@ -403,19 +481,25 @@
403
481
 
404
482
  ### Patch Changes
405
483
 
406
- - [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742) [`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed atlaskit default styles
484
+ - [#2742](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2742)
485
+ [`f2a658ac8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a658ac8a) - Fixed
486
+ atlaskit default styles
407
487
 
408
488
  ## 1.0.7
409
489
 
410
490
  ### Patch Changes
411
491
 
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
492
+ - [#2731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2731)
493
+ [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed
494
+ es2019 distributable missing a version.json file
413
495
 
414
496
  ## 1.0.6
415
497
 
416
498
  ### Patch Changes
417
499
 
418
- - [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
500
+ - [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099)
501
+ [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add
502
+ missing tslib dependency
419
503
 
420
504
  ## 1.0.5
421
505
 
@@ -439,7 +523,8 @@
439
523
 
440
524
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
441
525
 
442
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
526
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
527
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
443
528
 
444
529
  - @atlaskit/docs@8.3.2
445
530
  - @atlaskit/button@13.3.7
@@ -451,7 +536,8 @@
451
536
 
452
537
  ### Patch Changes
453
538
 
454
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
539
+ - Updated dependencies
540
+ [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
455
541
  - @atlaskit/icon@20.0.0
456
542
  - @atlaskit/docs@8.3.1
457
543
  - @atlaskit/button@13.3.6
@@ -486,7 +572,8 @@
486
572
 
487
573
  - [patch][6f156e8e80](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6f156e8e80):
488
574
 
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)
575
+ Bugfix - Add extra padding to the iframe. Replaced the article injection using srcdoc for a plain
576
+ JS one (Microsoft Edge and IE11 doesn't support srcdoc)
490
577
 
491
578
  ## 0.7.2
492
579
 
@@ -494,7 +581,8 @@
494
581
 
495
582
  - [patch][c17a72abc4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c17a72abc4):
496
583
 
497
- Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups from within
584
+ Bugfix - Added allow-popups to the sandbox attribute of the article iframe so we can open popups
585
+ from within
498
586
 
499
587
  ## 0.7.1
500
588
 
@@ -566,7 +654,8 @@
566
654
 
567
655
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
568
656
 
569
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
657
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
658
+ non-relative imports as relative imports
570
659
 
571
660
  ## 0.5.2
572
661
 
@@ -588,8 +677,10 @@
588
677
  - Adding back cjs
589
678
  - Replacing es5 by cjs and es2015 by esm
590
679
  - 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
680
+ - Removing the generation of the entry-points at the root Please see this
681
+ [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
682
+ [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
683
+ for further details
593
684
 
594
685
  ## 0.5.0
595
686
 
@@ -619,11 +710,13 @@
619
710
 
620
711
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
621
712
 
622
- - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
713
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull
714
+ Request #5942 for details
623
715
 
624
716
  ## 0.4.4
625
717
 
626
- - Updated dependencies [6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
718
+ - Updated dependencies
719
+ [6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
627
720
  - @atlaskit/theme@9.0.2
628
721
  - @atlaskit/section-message@4.0.0
629
722
 
@@ -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)", ")"),
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _shortcut = _interopRequireDefault(require("@atlaskit/icon/glyph/shortcut"));
9
+ var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
10
10
  var _HelpArticle = require("../model/HelpArticle");
11
11
  var _styled = require("./styled");
12
12
  var _ArticleBody = _interopRequireDefault(require("./ArticleBody"));
@@ -22,9 +22,10 @@ var HelpArticle = function HelpArticle(props) {
22
22
  return /*#__PURE__*/_react.default.createElement(_styled.ArticleContentInner, null, title && /*#__PURE__*/_react.default.createElement(_styled.ArticleContentTitle, null, titleLinkUrl ? /*#__PURE__*/_react.default.createElement(_styled.ArticleContentTitleLink, {
23
23
  href: titleLinkUrl,
24
24
  target: "_blank"
25
- }, /*#__PURE__*/_react.default.createElement("h2", null, title, /*#__PURE__*/_react.default.createElement("span", null, " "), /*#__PURE__*/_react.default.createElement(_shortcut.default, {
25
+ }, /*#__PURE__*/_react.default.createElement("h2", null, title, /*#__PURE__*/_react.default.createElement("span", null, " "), /*#__PURE__*/_react.default.createElement(_linkExternalShortcut.default, {
26
+ color: "currentColor",
26
27
  label: "link icon",
27
- size: "small"
28
+ LEGACY_size: "small"
28
29
  }))) : /*#__PURE__*/_react.default.createElement("h2", null, title)), /*#__PURE__*/_react.default.createElement(_ArticleBody.default, {
29
30
  body: body,
30
31
  bodyFormat: bodyFormat,
@@ -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,5 +1,5 @@
1
1
  import React from 'react';
2
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
2
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
3
3
  import { BODY_FORMAT_TYPES } from '../model/HelpArticle';
4
4
  import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
5
5
  import ArticleBody from './ArticleBody';
@@ -16,8 +16,9 @@ const HelpArticle = props => {
16
16
  href: titleLinkUrl,
17
17
  target: "_blank"
18
18
  }, /*#__PURE__*/React.createElement("h2", null, title, /*#__PURE__*/React.createElement("span", null, " "), /*#__PURE__*/React.createElement(ShortcutIcon, {
19
+ color: "currentColor",
19
20
  label: "link icon",
20
- size: "small"
21
+ LEGACY_size: "small"
21
22
  }))) : /*#__PURE__*/React.createElement("h2", null, title)), /*#__PURE__*/React.createElement(ArticleBody, {
22
23
  body: body,
23
24
  bodyFormat: bodyFormat,
@@ -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,5 +1,5 @@
1
1
  import React from 'react';
2
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
2
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
3
3
  import { BODY_FORMAT_TYPES } from '../model/HelpArticle';
4
4
  import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
5
5
  import ArticleBody from './ArticleBody';
@@ -16,8 +16,9 @@ var HelpArticle = function HelpArticle(props) {
16
16
  href: titleLinkUrl,
17
17
  target: "_blank"
18
18
  }, /*#__PURE__*/React.createElement("h2", null, title, /*#__PURE__*/React.createElement("span", null, " "), /*#__PURE__*/React.createElement(ShortcutIcon, {
19
+ color: "currentColor",
19
20
  label: "link icon",
20
- size: "small"
21
+ LEGACY_size: "small"
21
22
  }))) : /*#__PURE__*/React.createElement("h2", null, title)), /*#__PURE__*/React.createElement(ArticleBody, {
22
23
  body: body,
23
24
  bodyFormat: bodyFormat,
@@ -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.2.0",
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.11.0",
36
+ "@atlaskit/icon": "^22.18.0",
37
+ "@atlaskit/renderer": "^110.4.0",
38
+ "@atlaskit/tokens": "^1.61.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