@atlaskit/help-layout 4.2.18 → 4.3.1

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +149 -59
  2. package/afm-jira/tsconfig.json +39 -0
  3. package/dist/cjs/analytics.js +1 -1
  4. package/dist/cjs/components/Header/BackButton.js +1 -1
  5. package/dist/cjs/components/Header/CloseButton.js +1 -1
  6. package/dist/cjs/components/Header/styled.js +14 -1
  7. package/dist/cjs/components/styled.js +16 -1
  8. package/dist/es2019/analytics.js +1 -1
  9. package/dist/es2019/components/Header/BackButton.js +3 -1
  10. package/dist/es2019/components/Header/CloseButton.js +1 -1
  11. package/dist/es2019/components/Header/styled.js +14 -1
  12. package/dist/es2019/components/styled.js +33 -18
  13. package/dist/esm/analytics.js +1 -1
  14. package/dist/esm/components/Header/BackButton.js +1 -1
  15. package/dist/esm/components/Header/CloseButton.js +1 -1
  16. package/dist/esm/components/Header/styled.js +14 -1
  17. package/dist/esm/components/styled.js +16 -1
  18. package/dist/types/components/Header/BackButton.d.ts +2 -2
  19. package/dist/types/components/Header/CloseButton.d.ts +2 -2
  20. package/dist/types/components/Header/index.d.ts +2 -2
  21. package/dist/types/components/Header/styled.d.ts +1 -1
  22. package/dist/types/components/HelpLayout.d.ts +2 -2
  23. package/dist/types/components/HelpLayoutContent.d.ts +2 -2
  24. package/dist/types/components/MessagesIntlProvider.d.ts +1 -1
  25. package/dist/types/model/HelpLayout.d.ts +1 -1
  26. package/dist/types-ts4.5/components/Header/BackButton.d.ts +2 -2
  27. package/dist/types-ts4.5/components/Header/CloseButton.d.ts +2 -2
  28. package/dist/types-ts4.5/components/Header/index.d.ts +2 -2
  29. package/dist/types-ts4.5/components/Header/styled.d.ts +1 -1
  30. package/dist/types-ts4.5/components/HelpLayout.d.ts +2 -2
  31. package/dist/types-ts4.5/components/HelpLayoutContent.d.ts +2 -2
  32. package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +1 -1
  33. package/dist/types-ts4.5/model/HelpLayout.d.ts +1 -1
  34. package/package.json +79 -81
  35. package/report.api.md +33 -34
package/CHANGELOG.md CHANGED
@@ -1,46 +1,75 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 4.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#107776](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107776)
14
+ [`414da12cd107`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/414da12cd107) -
15
+ Use header elements for acccessibility
16
+
3
17
  ## 4.2.18
4
18
 
5
19
  ### Patch Changes
6
20
 
7
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
21
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
22
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
23
+ Migrated to the new button component
8
24
 
9
25
  ## 4.2.17
10
26
 
11
27
  ### Patch Changes
12
28
 
13
- - [#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`
29
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
30
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
31
+ Upgrade Typescript from `4.9.5` to `5.4.2`
14
32
 
15
33
  ## 4.2.16
16
34
 
17
35
  ### Patch Changes
18
36
 
19
- - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
37
+ - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
38
+ [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
39
+ Update usage of `React.FC` to explicity include `children`
20
40
 
21
41
  ## 4.2.15
22
42
 
23
43
  ### Patch Changes
24
44
 
25
- - [#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.
45
+ - [#77102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77102)
46
+ [`b93a56e5ee66`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b93a56e5ee66) -
47
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
48
+ behaviour change.
26
49
 
27
50
  ## 4.2.14
28
51
 
29
52
  ### Patch Changes
30
53
 
31
- - [#72218](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72218) [`de9ef5e93a22`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de9ef5e93a22) - [ux] Add accessible label to close button for help panel
54
+ - [#72218](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72218)
55
+ [`de9ef5e93a22`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de9ef5e93a22) -
56
+ [ux] Add accessible label to close button for help panel
32
57
 
33
58
  ## 4.2.13
34
59
 
35
60
  ### Patch Changes
36
61
 
37
- - [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022) [`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) - Migrate packages to use declarative entry points
62
+ - [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022)
63
+ [`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) -
64
+ Migrate packages to use declarative entry points
38
65
 
39
66
  ## 4.2.12
40
67
 
41
68
  ### Patch Changes
42
69
 
43
- - [#63677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63677) [`f320c8ce5039`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f320c8ce5039) - This package has been added to the Jira push model.
70
+ - [#63677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63677)
71
+ [`f320c8ce5039`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f320c8ce5039) -
72
+ This package has been added to the Jira push model.
44
73
 
45
74
  ## 4.2.11
46
75
 
@@ -52,7 +81,9 @@
52
81
 
53
82
  ### Patch Changes
54
83
 
55
- - [#57178](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57178) [`018d8853290a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/018d8853290a) - Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change expected.
84
+ - [#57178](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57178)
85
+ [`018d8853290a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/018d8853290a) -
86
+ Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change expected.
56
87
 
57
88
  ## 4.2.9
58
89
 
@@ -70,50 +101,67 @@
70
101
 
71
102
  ### Patch Changes
72
103
 
73
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
104
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
105
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
106
+ version.json
74
107
  - Updated dependencies
75
108
 
76
109
  ## 4.2.6
77
110
 
78
111
  ### Patch Changes
79
112
 
80
- - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925) [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
113
+ - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
114
+ [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use
115
+ injected env vars instead of version.json
81
116
 
82
117
  ## 4.2.5
83
118
 
84
119
  ### Patch Changes
85
120
 
86
- - [#35450](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35450) [`7bdb050c04e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7bdb050c04e) - Internal change to use space tokens for spacing properties. There is no visual change.
121
+ - [#35450](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35450)
122
+ [`7bdb050c04e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7bdb050c04e) - Internal
123
+ change to use space tokens for spacing properties. There is no visual change.
87
124
 
88
125
  ## 4.2.4
89
126
 
90
127
  ### Patch Changes
91
128
 
92
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
129
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
130
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing
131
+ unused dependencies and dev dependencies
93
132
 
94
133
  ## 4.2.3
95
134
 
96
135
  ### Patch Changes
97
136
 
98
- - [#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
137
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
138
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
139
+ legacy types are published for TS 4.5-4.8
99
140
 
100
141
  ## 4.2.2
101
142
 
102
143
  ### Patch Changes
103
144
 
104
- - [#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`
145
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
146
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
147
+ Typescript from `4.5.5` to `4.9.5`
105
148
 
106
149
  ## 4.2.1
107
150
 
108
151
  ### Patch Changes
109
152
 
110
- - [#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.
153
+ - [#33218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33218)
154
+ [`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal
155
+ change to enforce token usage for spacing properties. There is no expected visual or behaviour
156
+ change.
111
157
 
112
158
  ## 4.2.0
113
159
 
114
160
  ### Minor Changes
115
161
 
116
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
162
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
163
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
164
+ minor dependency bump
117
165
 
118
166
  ### Patch Changes
119
167
 
@@ -123,7 +171,9 @@
123
171
 
124
172
  ### Patch Changes
125
173
 
126
- - [#31643](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31643) [`ad5cbfa5a71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad5cbfa5a71) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
174
+ - [#31643](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31643)
175
+ [`ad5cbfa5a71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad5cbfa5a71) - Migrated
176
+ use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
127
177
 
128
178
  ## 4.1.14
129
179
 
@@ -141,7 +191,10 @@
141
191
 
142
192
  ### Patch Changes
143
193
 
144
- - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
194
+ - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
195
+ [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
196
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
197
+ tokens() function and improving performance.
145
198
 
146
199
  ## 4.1.11
147
200
 
@@ -165,19 +218,25 @@
165
218
 
166
219
  ### Patch Changes
167
220
 
168
- - [#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
221
+ - [#26424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26424)
222
+ [`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) -
223
+ Consolidate In Product Help & Self-Help Experiences ownership
169
224
 
170
225
  ## 4.1.7
171
226
 
172
227
  ### Patch Changes
173
228
 
174
- - [#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`
229
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
230
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
231
+ Typescript from `4.3.5` to `4.5.5`
175
232
 
176
233
  ## 4.1.6
177
234
 
178
235
  ### Patch Changes
179
236
 
180
- - [#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`.
237
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
238
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
239
+ Typescript from `4.2.4` to `4.3.5`.
181
240
 
182
241
  ## 4.1.5
183
242
 
@@ -189,7 +248,9 @@
189
248
 
190
249
  ### Patch Changes
191
250
 
192
- - [#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
251
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
252
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
253
+ to TypeScript 4.2.4
193
254
  - Updated dependencies
194
255
 
195
256
  ## 4.1.3
@@ -214,29 +275,42 @@
214
275
 
215
276
  ### Minor Changes
216
277
 
217
- - [#19089](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19089) [`b03b488246c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b03b488246c) - [ux] Added new theming package, `@atlaskit/tokens`.
278
+ - [#19089](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19089)
279
+ [`b03b488246c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b03b488246c) - [ux]
280
+ Added new theming package, `@atlaskit/tokens`.
218
281
 
219
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
282
+ New tokens will be visible only in applications configured to use the new Tokens API (currently in
283
+ alpha).
220
284
 
221
- These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
285
+ These changes are intended to be interoperable with the legacy theme implementation. Legacy dark
286
+ mode users should expect no visual or breaking changes.
222
287
 
223
288
  ## 4.0.1
224
289
 
225
290
  ### Patch Changes
226
291
 
227
- - [#16511](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16511) [`78c9f070230`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78c9f070230) - Bump algoliasearch version from ^3.33.0 to ^3.35.1. In @atlaskit/help we updated the example 3 and moved Algolia API related code to it's own react hook
292
+ - [#16511](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16511)
293
+ [`78c9f070230`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78c9f070230) - Bump
294
+ algoliasearch version from ^3.33.0 to ^3.35.1. In @atlaskit/help we updated the example 3 and
295
+ moved Algolia API related code to it's own react hook
228
296
 
229
297
  ## 4.0.0
230
298
 
231
299
  ### Major Changes
232
300
 
233
- - [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810) [`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) - ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including breaking API changes, types and tests in atlassian-frontend packages
301
+ - [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810)
302
+ [`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) -
303
+ ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including
304
+ breaking API changes, types and tests in atlassian-frontend packages
234
305
 
235
- What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with actual installed react-intl APIs.
236
- Why change was made: As part of a coordinated upgrade effort across AF packages, as react-intl v2 is quite dated.
237
- How consumer should update their code: Ensure react-intl ^5.18.1 is installed in consuming applications.
306
+ What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
307
+ now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with
308
+ actual installed react-intl APIs. Why change was made: As part of a coordinated upgrade effort
309
+ across AF packages, as react-intl v2 is quite dated. How consumer should update their code: Ensure
310
+ react-intl ^5.18.1 is installed in consuming applications.
238
311
 
239
- Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider for the new version, using an npm alias
312
+ Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
313
+ for the new version, using an npm alias
240
314
 
241
315
  ```js
242
316
  "react-intl": "^2.6.0",
@@ -248,23 +322,23 @@
248
322
  import { IntlProvider as IntlNextProvider } from 'react-intl-next';
249
323
 
250
324
  return (
251
- <IntlProvider
252
- key={locale}
253
- data-test-language={locale}
254
- locale={locale}
255
- defaultLocale={DEFAULT_LOCALE}
256
- messages={messages}
257
- >
258
- <IntlNextProvider
259
- key={locale}
260
- data-test-language={locale}
261
- locale={locale}
262
- defaultLocale={DEFAULT_LOCALE}
263
- messages={messages}
264
- >
265
- {children}
266
- </IntlNextProvider>
267
- </IntlProvider>
325
+ <IntlProvider
326
+ key={locale}
327
+ data-test-language={locale}
328
+ locale={locale}
329
+ defaultLocale={DEFAULT_LOCALE}
330
+ messages={messages}
331
+ >
332
+ <IntlNextProvider
333
+ key={locale}
334
+ data-test-language={locale}
335
+ locale={locale}
336
+ defaultLocale={DEFAULT_LOCALE}
337
+ messages={messages}
338
+ >
339
+ {children}
340
+ </IntlNextProvider>
341
+ </IntlProvider>
268
342
  );
269
343
  ```
270
344
 
@@ -278,7 +352,9 @@
278
352
 
279
353
  ### Patch Changes
280
354
 
281
- - [#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
355
+ - [#13328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13328)
356
+ [`df9dc928897`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9dc928897) - Update
357
+ the team information in the packages maintained by the In Product Help team
282
358
 
283
359
  ## 3.0.1
284
360
 
@@ -290,21 +366,29 @@
290
366
 
291
367
  ### Major Changes
292
368
 
293
- - [#10051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10051) [`cbed2edbd0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbed2edbd0c) - [ux] Ranamed prop "title" to "headerTitle". Added the prop "headerContent" where we can pass a React.node to render underneath the header title
369
+ - [#10051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10051)
370
+ [`cbed2edbd0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbed2edbd0c) - [ux]
371
+ Ranamed prop "title" to "headerTitle". Added the prop "headerContent" where we can pass a
372
+ React.node to render underneath the header title
294
373
 
295
374
  ## 2.0.7
296
375
 
297
376
  ### Patch Changes
298
377
 
299
- - [#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
378
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
379
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
380
+ packages using babel rather than tsc
300
381
 
301
382
  ## 2.0.6
302
383
 
303
384
  ### Patch Changes
304
385
 
305
- - [#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.
306
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
307
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
386
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
387
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
388
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
389
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
390
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
391
+ `devDependencies` to denote version that the package was built with.
308
392
 
309
393
  ## 2.0.5
310
394
 
@@ -316,7 +400,9 @@
316
400
 
317
401
  ### Patch Changes
318
402
 
319
- - [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164) [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
403
+ - [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164)
404
+ [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo
405
+ analytics-next file restructure to allow external ts definitions to continue working
320
406
 
321
407
  ## 2.0.3
322
408
 
@@ -334,13 +420,17 @@
334
420
 
335
421
  ### Patch Changes
336
422
 
337
- - [#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
423
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
424
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
425
+ to TypeScript 3.9.6 and tslib to 2.0.0
338
426
 
339
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
340
- to prevent duplicates of tslib being bundled.
427
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
428
+ upgrade to prevent duplicates of tslib being bundled.
341
429
 
342
430
  ## 2.0.0
343
431
 
344
432
  ### Major Changes
345
433
 
346
- - [#3711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3711) [`3f24892368`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f24892368) - Added help-layout component to the atlaskit library
434
+ - [#3711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3711)
435
+ [`3f24892368`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f24892368) - Added
436
+ help-layout component to the atlaskit library
@@ -0,0 +1,39 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__help-layout/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": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/button/afm-jira/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/icon/afm-jira/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/theme/afm-jira/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
37
+ }
38
+ ]
39
+ }
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
14
14
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
15
15
  componentName: 'helpPanel',
16
16
  packageName: "@atlaskit/help-layout",
17
- packageVersion: "4.2.18"
17
+ packageVersion: "4.3.1"
18
18
  };
@@ -75,7 +75,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
75
75
  data: {
76
76
  componentName: 'backButton',
77
77
  packageName: "@atlaskit/help-layout",
78
- packageVersion: "4.2.18"
78
+ packageVersion: "4.3.1"
79
79
  }
80
80
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
81
81
  };
@@ -50,7 +50,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
50
50
  data: {
51
51
  componentName: 'closeButton',
52
52
  packageName: "@atlaskit/help-layout",
53
- packageVersion: "4.2.18"
53
+ packageVersion: "4.3.1"
54
54
  }
55
55
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
56
56
  };
@@ -11,24 +11,35 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
11
11
  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); }
12
12
  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; }
13
13
  /** @jsx jsx */
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
15
 
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
15
17
  var HeaderContainer = exports.HeaderContainer = _styled.default.div({
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
16
19
  backgroundColor: "var(--ds-background-neutral, ".concat(colors.N10, ")"),
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
17
21
  borderBottom: "var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(colors.N30, ")")),
18
22
  justifyContent: 'space-between',
19
23
  position: 'relative'
20
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
21
27
  var CloseButtonContainer = exports.CloseButtonContainer = _styled.default.div({
22
28
  position: 'absolute',
23
29
  right: "var(--ds-space-100, 8px)",
24
30
  top: "var(--ds-space-150, 12px)"
25
31
  });
32
+
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
26
34
  var BackButtonContainer = exports.BackButtonContainer = _styled.default.div({
27
35
  position: 'absolute',
28
36
  top: "var(--ds-space-150, 12px)",
29
37
  left: "var(--ds-space-100, 8px)"
30
38
  });
31
- var HeaderTitle = exports.HeaderTitle = _styled.default.div({
39
+
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
41
+ var HeaderTitle = exports.HeaderTitle = _styled.default.h2({
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
32
43
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
33
44
  textAlign: 'center',
34
45
  fontSize: '1rem',
@@ -41,6 +52,8 @@ var HeaderTitle = exports.HeaderTitle = _styled.default.div({
41
52
  overflow: 'hidden',
42
53
  verticalAlign: 'middle'
43
54
  });
55
+
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
57
  var HeaderContent = exports.HeaderContent = _styled.default.div({
45
58
  padding: "0 ".concat("var(--ds-space-200, 16px)", " ", "var(--ds-space-200, 16px)", " ", "var(--ds-space-200, 16px)")
46
59
  });
@@ -14,8 +14,11 @@ var _templateObject;
14
14
  /* eslint-disable @atlaskit/design-system/no-exported-keyframes */
15
15
  /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression */
16
16
  /** @jsx jsx */
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
19
  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); }
18
20
  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; }
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
19
22
  var Container = exports.Container = _styled.default.div({
20
23
  position: 'absolute',
21
24
  top: 0,
@@ -26,13 +29,18 @@ var Container = exports.Container = _styled.default.div({
26
29
  flexDirection: 'column',
27
30
  backgroundColor: "var(--ds-surface, #FFFFFF)"
28
31
  });
32
+
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
29
34
  var Section = exports.Section = _styled.default.div({
30
35
  flexGrow: 1,
31
36
  display: 'flex',
32
37
  flexDirection: 'column',
33
38
  minHeight: 0
34
39
  });
40
+
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
42
  var DividerLine = exports.DividerLine = _styled.default.div({
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
36
44
  backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
37
45
  height: "var(--ds-space-025, 2px)",
38
46
  width: '100%',
@@ -40,10 +48,14 @@ var DividerLine = exports.DividerLine = _styled.default.div({
40
48
  marginTop: "var(--ds-space-200, 16px)",
41
49
  boxSizing: 'border-box'
42
50
  });
51
+
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
43
53
  var HelpFooter = exports.HelpFooter = _styled.default.div({
44
54
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
45
55
  boxSizing: 'border-box',
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
57
  backgroundColor: "var(--ds-background-neutral, ".concat(colors.N10, ")"),
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
47
59
  borderTop: "var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(colors.N30, ")")),
48
60
  justifyContent: 'space-between'
49
61
  });
@@ -52,6 +64,7 @@ var HelpFooter = exports.HelpFooter = _styled.default.div({
52
64
  * Loading
53
65
  */
54
66
 
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
55
68
  var LoadingContainer = exports.LoadingContainer = _styled.default.div({
56
69
  padding: "var(--ds-space-200, 16px)",
57
70
  height: '100%'
@@ -64,7 +77,9 @@ var shimmer = (0, _react.keyframes)({
64
77
  backgroundPosition: '1000px 0'
65
78
  }
66
79
  });
67
- var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n height: ", ";\n margin-top: ", ";\n width: ", ";\n border-radius: ", ";\n animation-duration: 1.2s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: ", ";\n animation-timing-function: linear;\n background-color: ", ";\n background-image: linear-gradient(\n to right,\n ", " 10%,\n ", " 20%,\n ", " 30%\n );\n background-repeat: no-repeat;\n"])), function (props) {
80
+
81
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
82
+ var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\theight: ", ";\n\tmargin-top: ", ";\n\twidth: ", ";\n\tborder-radius: ", ";\n\tanimation-duration: 1.2s;\n\tanimation-fill-mode: forwards;\n\tanimation-iteration-count: infinite;\n\tanimation-name: ", ";\n\tanimation-timing-function: linear;\n\tbackground-color: ", ";\n\tbackground-image: linear-gradient(\n\t\tto right,\n\t\t", " 10%,\n\t\t", " 20%,\n\t\t", " 30%\n\t);\n\tbackground-repeat: no-repeat;\n"])), function (props) {
68
83
  return props.contentHeight ? props.contentHeight : "var(--ds-space-200, 1rem)";
69
84
  }, function (props) {
70
85
  return props.marginTop ? props.marginTop : "var(--ds-space-100, 8px)";
@@ -5,5 +5,5 @@ export const createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export const defaultAnalyticsAttributes = {
6
6
  componentName: 'helpPanel',
7
7
  packageName: "@atlaskit/help-layout",
8
- packageVersion: "4.2.18"
8
+ packageVersion: "4.3.1"
9
9
  };
@@ -48,7 +48,9 @@ export const BackButton = ({
48
48
  unmountOnExit: true
49
49
  }, state => /*#__PURE__*/React.createElement(BackButtonContainer, {
50
50
  style: {
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
51
52
  ...defaultStyle,
53
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
52
54
  ...transitionStyles[state]
53
55
  }
54
56
  }, /*#__PURE__*/React.createElement(Button, {
@@ -69,7 +71,7 @@ const BackButtonWithContext = props => {
69
71
  data: {
70
72
  componentName: 'backButton',
71
73
  packageName: "@atlaskit/help-layout",
72
- packageVersion: "4.2.18"
74
+ packageVersion: "4.3.1"
73
75
  }
74
76
  }, /*#__PURE__*/React.createElement(BackButton, props));
75
77
  };
@@ -47,7 +47,7 @@ const CloseButtonWithContext = props => {
47
47
  data: {
48
48
  componentName: 'closeButton',
49
49
  packageName: "@atlaskit/help-layout",
50
- packageVersion: "4.2.18"
50
+ packageVersion: "4.3.1"
51
51
  }
52
52
  }, /*#__PURE__*/React.createElement(CloseButton, props));
53
53
  };