@atlaskit/inline-message 11.5.5 → 11.5.7
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 +43 -31
- package/dist/cjs/components/inline-message/index.js +5 -11
- package/dist/cjs/components/message-icon/index.js +1 -2
- package/dist/cjs/constants.js +2 -4
- package/dist/es2019/components/inline-message/index.js +4 -9
- package/dist/esm/components/inline-message/index.js +4 -9
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,41 +1,53 @@
|
|
|
1
1
|
# @atlaskit/inline-message
|
|
2
2
|
|
|
3
|
+
## 11.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40650) [`07aa588c8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07aa588c8a4) - Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.
|
|
8
|
+
|
|
9
|
+
## 11.5.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40832](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40832) [`89fccc9c758`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89fccc9c758) - Add aria-expanded to communicate expanded/ collapsed state
|
|
14
|
+
|
|
3
15
|
## 11.5.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
20
|
- Updated dependencies
|
|
9
21
|
|
|
10
22
|
## 11.5.4
|
|
11
23
|
|
|
12
24
|
### Patch Changes
|
|
13
25
|
|
|
14
|
-
- [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
26
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
15
27
|
|
|
16
28
|
## 11.5.3
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
20
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
32
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
21
33
|
|
|
22
34
|
## 11.5.2
|
|
23
35
|
|
|
24
36
|
### Patch Changes
|
|
25
37
|
|
|
26
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
38
|
+
- [#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
|
|
27
39
|
|
|
28
40
|
## 11.5.1
|
|
29
41
|
|
|
30
42
|
### Patch Changes
|
|
31
43
|
|
|
32
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
44
|
+
- [#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`
|
|
33
45
|
|
|
34
46
|
## 11.5.0
|
|
35
47
|
|
|
36
48
|
### Minor Changes
|
|
37
49
|
|
|
38
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
50
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
39
51
|
|
|
40
52
|
### Patch Changes
|
|
41
53
|
|
|
@@ -45,7 +57,7 @@
|
|
|
45
57
|
|
|
46
58
|
### Patch Changes
|
|
47
59
|
|
|
48
|
-
- [`f6d92b4a378`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6d92b4a378) - Migrates unit tests from enzyme to RTL.
|
|
60
|
+
- [#31552](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31552) [`f6d92b4a378`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6d92b4a378) - Migrates unit tests from enzyme to RTL.
|
|
49
61
|
|
|
50
62
|
## 11.4.9
|
|
51
63
|
|
|
@@ -57,19 +69,19 @@
|
|
|
57
69
|
|
|
58
70
|
### Patch Changes
|
|
59
71
|
|
|
60
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
72
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
61
73
|
|
|
62
74
|
## 11.4.7
|
|
63
75
|
|
|
64
76
|
### Patch Changes
|
|
65
77
|
|
|
66
|
-
- [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
78
|
+
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064) [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
67
79
|
|
|
68
80
|
## 11.4.6
|
|
69
81
|
|
|
70
82
|
### Patch Changes
|
|
71
83
|
|
|
72
|
-
- [`25902de2d93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25902de2d93) - [ux] Added pressed (active) state styles for the secondary text.
|
|
84
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`25902de2d93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25902de2d93) - [ux] Added pressed (active) state styles for the secondary text.
|
|
73
85
|
|
|
74
86
|
## 11.4.5
|
|
75
87
|
|
|
@@ -93,19 +105,19 @@
|
|
|
93
105
|
|
|
94
106
|
### Patch Changes
|
|
95
107
|
|
|
96
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
108
|
+
- [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408) [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
97
109
|
|
|
98
110
|
## 11.4.1
|
|
99
111
|
|
|
100
112
|
### Patch Changes
|
|
101
113
|
|
|
102
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
114
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
103
115
|
|
|
104
116
|
## 11.4.0
|
|
105
117
|
|
|
106
118
|
### Minor Changes
|
|
107
119
|
|
|
108
|
-
- [`bcf29b33526`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bcf29b33526) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
120
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`bcf29b33526`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bcf29b33526) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
109
121
|
|
|
110
122
|
### Patch Changes
|
|
111
123
|
|
|
@@ -115,19 +127,19 @@
|
|
|
115
127
|
|
|
116
128
|
### Patch Changes
|
|
117
129
|
|
|
118
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
130
|
+
- [#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`.
|
|
119
131
|
|
|
120
132
|
## 11.3.0
|
|
121
133
|
|
|
122
134
|
### Minor Changes
|
|
123
135
|
|
|
124
|
-
- [`38469010a1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38469010a1c) - Replaces usage of the `type` prop with `appearance`.
|
|
136
|
+
- [#23573](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23573) [`38469010a1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38469010a1c) - Replaces usage of the `type` prop with `appearance`.
|
|
125
137
|
|
|
126
138
|
## 11.2.8
|
|
127
139
|
|
|
128
140
|
### Patch Changes
|
|
129
141
|
|
|
130
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
142
|
+
- [#21545](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21545) [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
131
143
|
|
|
132
144
|
## 11.2.7
|
|
133
145
|
|
|
@@ -139,7 +151,7 @@
|
|
|
139
151
|
|
|
140
152
|
### Patch Changes
|
|
141
153
|
|
|
142
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
154
|
+
- [#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
|
|
143
155
|
- Updated dependencies
|
|
144
156
|
|
|
145
157
|
## 11.2.5
|
|
@@ -176,7 +188,7 @@
|
|
|
176
188
|
|
|
177
189
|
### Minor Changes
|
|
178
190
|
|
|
179
|
-
- [`3d6d3a581d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d6d3a581d6) - Instrumented `@atlaskit/inline-message` with the new theming package, `@atlaskit/tokens`.
|
|
191
|
+
- [#16759](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16759) [`3d6d3a581d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d6d3a581d6) - Instrumented `@atlaskit/inline-message` with the new theming package, `@atlaskit/tokens`.
|
|
180
192
|
|
|
181
193
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
182
194
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
@@ -185,7 +197,7 @@
|
|
|
185
197
|
|
|
186
198
|
### Patch Changes
|
|
187
199
|
|
|
188
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
200
|
+
- [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
189
201
|
|
|
190
202
|
## 11.1.4
|
|
191
203
|
|
|
@@ -197,27 +209,27 @@
|
|
|
197
209
|
|
|
198
210
|
### Patch Changes
|
|
199
211
|
|
|
200
|
-
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal changes to supress eslint rules.
|
|
212
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal changes to supress eslint rules.
|
|
201
213
|
- Updated dependencies
|
|
202
214
|
|
|
203
215
|
## 11.1.2
|
|
204
216
|
|
|
205
217
|
### Patch Changes
|
|
206
218
|
|
|
207
|
-
- [`8279380176b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8279380176b) - Internal code changes.
|
|
219
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`8279380176b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8279380176b) - Internal code changes.
|
|
208
220
|
- Updated dependencies
|
|
209
221
|
|
|
210
222
|
## 11.1.1
|
|
211
223
|
|
|
212
224
|
### Patch Changes
|
|
213
225
|
|
|
214
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
226
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
215
227
|
|
|
216
228
|
## 11.1.0
|
|
217
229
|
|
|
218
230
|
### Minor Changes
|
|
219
231
|
|
|
220
|
-
- [`1489097139d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1489097139d) - Added iconLabel prop to provide useful information to users with screen readers
|
|
232
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`1489097139d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1489097139d) - Added iconLabel prop to provide useful information to users with screen readers
|
|
221
233
|
- [`65388bb777d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65388bb777d) - Removes the `styled-components` dependency from the package. Still has a transitive reliance on `styled-components` via `inline-dialog`. There should be no visual or UX change.
|
|
222
234
|
|
|
223
235
|
### Patch Changes
|
|
@@ -229,13 +241,13 @@
|
|
|
229
241
|
|
|
230
242
|
### Patch Changes
|
|
231
243
|
|
|
232
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
244
|
+
- [#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
|
|
233
245
|
|
|
234
246
|
## 11.0.7
|
|
235
247
|
|
|
236
248
|
### Patch Changes
|
|
237
249
|
|
|
238
|
-
- [`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.
|
|
250
|
+
- [#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.
|
|
239
251
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
240
252
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
241
253
|
|
|
@@ -255,13 +267,13 @@
|
|
|
255
267
|
|
|
256
268
|
### Patch Changes
|
|
257
269
|
|
|
258
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
270
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
259
271
|
|
|
260
272
|
## 11.0.3
|
|
261
273
|
|
|
262
274
|
### Patch Changes
|
|
263
275
|
|
|
264
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
276
|
+
- [#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
|
|
265
277
|
|
|
266
278
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
267
279
|
to prevent duplicates of tslib being bundled.
|
|
@@ -270,19 +282,19 @@
|
|
|
270
282
|
|
|
271
283
|
### Patch Changes
|
|
272
284
|
|
|
273
|
-
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
285
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
274
286
|
|
|
275
287
|
## 11.0.1
|
|
276
288
|
|
|
277
289
|
### Patch Changes
|
|
278
290
|
|
|
279
|
-
- [`94ba4f2381`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94ba4f2381) - Formatted testId prop description. The prop description was formatted incorrectly.
|
|
291
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`94ba4f2381`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94ba4f2381) - Formatted testId prop description. The prop description was formatted incorrectly.
|
|
280
292
|
|
|
281
293
|
## 11.0.0
|
|
282
294
|
|
|
283
295
|
### Major Changes
|
|
284
296
|
|
|
285
|
-
- [`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.
|
|
297
|
+
- [#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.
|
|
286
298
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
287
299
|
|
|
288
300
|
### Patch Changes
|
|
@@ -293,7 +305,7 @@
|
|
|
293
305
|
|
|
294
306
|
### Patch Changes
|
|
295
307
|
|
|
296
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
308
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
297
309
|
|
|
298
310
|
## 10.1.7
|
|
299
311
|
|
|
@@ -32,15 +32,9 @@ var titleStyles = (0, _react2.css)({
|
|
|
32
32
|
var textStyles = (0, _react2.css)({
|
|
33
33
|
padding: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)"),
|
|
34
34
|
color: "var(".concat(_constants.VAR_SECONDARY_TEXT_COLOR, ")"),
|
|
35
|
+
overflow: 'hidden',
|
|
35
36
|
textOverflow: 'ellipsis',
|
|
36
|
-
whiteSpace: 'nowrap'
|
|
37
|
-
// Use "clip" overflow to allow ellipses on x-axis without clipping descenders
|
|
38
|
-
'@supports not (overflow-x: clip)': {
|
|
39
|
-
overflow: 'hidden'
|
|
40
|
-
},
|
|
41
|
-
'@supports (overflow-x: clip)': {
|
|
42
|
-
overflowX: 'clip'
|
|
43
|
-
}
|
|
37
|
+
whiteSpace: 'nowrap'
|
|
44
38
|
});
|
|
45
39
|
var rootStyles = (0, _react2.css)({
|
|
46
40
|
display: 'inline-block',
|
|
@@ -168,7 +162,8 @@ var InlineMessage = function InlineMessage(_ref) {
|
|
|
168
162
|
appearance: "subtle-link",
|
|
169
163
|
onClick: toggleDialog,
|
|
170
164
|
spacing: "none",
|
|
171
|
-
testId: testId && "".concat(testId, "--button")
|
|
165
|
+
testId: testId && "".concat(testId, "--button"),
|
|
166
|
+
"aria-expanded": isOpen
|
|
172
167
|
}, (0, _react2.jsx)("div", {
|
|
173
168
|
css: buttonContentsStyles
|
|
174
169
|
}, (0, _react2.jsx)(_messageIcon.default, {
|
|
@@ -192,5 +187,4 @@ var InlineMessage = function InlineMessage(_ref) {
|
|
|
192
187
|
"data-testid": testId && "".concat(testId, "--text")
|
|
193
188
|
}, secondaryText)))));
|
|
194
189
|
};
|
|
195
|
-
var _default = InlineMessage;
|
|
196
|
-
exports.default = _default;
|
|
190
|
+
var _default = exports.default = InlineMessage;
|
package/dist/cjs/constants.js
CHANGED
|
@@ -9,7 +9,7 @@ var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/check-ci
|
|
|
9
9
|
var _error = _interopRequireDefault(require("@atlaskit/icon/glyph/error"));
|
|
10
10
|
var _info = _interopRequireDefault(require("@atlaskit/icon/glyph/info"));
|
|
11
11
|
var _warning = _interopRequireDefault(require("@atlaskit/icon/glyph/warning"));
|
|
12
|
-
var typesMapping = {
|
|
12
|
+
var typesMapping = exports.typesMapping = {
|
|
13
13
|
connectivity: {
|
|
14
14
|
icon: _warning.default,
|
|
15
15
|
defaultLabel: 'connectivity inline message'
|
|
@@ -31,6 +31,4 @@ var typesMapping = {
|
|
|
31
31
|
defaultLabel: 'error inline message'
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
exports.
|
|
35
|
-
var VAR_SECONDARY_TEXT_COLOR = '--secondary-text-color';
|
|
36
|
-
exports.VAR_SECONDARY_TEXT_COLOR = VAR_SECONDARY_TEXT_COLOR;
|
|
34
|
+
var VAR_SECONDARY_TEXT_COLOR = exports.VAR_SECONDARY_TEXT_COLOR = '--secondary-text-color';
|
|
@@ -19,15 +19,9 @@ const titleStyles = css({
|
|
|
19
19
|
const textStyles = css({
|
|
20
20
|
padding: `${"var(--ds-space-0, 0px)"} ${"var(--ds-space-050, 4px)"}`,
|
|
21
21
|
color: `var(${VAR_SECONDARY_TEXT_COLOR})`,
|
|
22
|
+
overflow: 'hidden',
|
|
22
23
|
textOverflow: 'ellipsis',
|
|
23
|
-
whiteSpace: 'nowrap'
|
|
24
|
-
// Use "clip" overflow to allow ellipses on x-axis without clipping descenders
|
|
25
|
-
'@supports not (overflow-x: clip)': {
|
|
26
|
-
overflow: 'hidden'
|
|
27
|
-
},
|
|
28
|
-
'@supports (overflow-x: clip)': {
|
|
29
|
-
overflowX: 'clip'
|
|
30
|
-
}
|
|
24
|
+
whiteSpace: 'nowrap'
|
|
31
25
|
});
|
|
32
26
|
const rootStyles = css({
|
|
33
27
|
display: 'inline-block',
|
|
@@ -145,7 +139,8 @@ const InlineMessage = ({
|
|
|
145
139
|
appearance: "subtle-link",
|
|
146
140
|
onClick: toggleDialog,
|
|
147
141
|
spacing: "none",
|
|
148
|
-
testId: testId && `${testId}--button
|
|
142
|
+
testId: testId && `${testId}--button`,
|
|
143
|
+
"aria-expanded": isOpen
|
|
149
144
|
}, jsx("div", {
|
|
150
145
|
css: buttonContentsStyles
|
|
151
146
|
}, jsx(MessageIcon, {
|
|
@@ -21,15 +21,9 @@ var titleStyles = css({
|
|
|
21
21
|
var textStyles = css({
|
|
22
22
|
padding: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)"),
|
|
23
23
|
color: "var(".concat(VAR_SECONDARY_TEXT_COLOR, ")"),
|
|
24
|
+
overflow: 'hidden',
|
|
24
25
|
textOverflow: 'ellipsis',
|
|
25
|
-
whiteSpace: 'nowrap'
|
|
26
|
-
// Use "clip" overflow to allow ellipses on x-axis without clipping descenders
|
|
27
|
-
'@supports not (overflow-x: clip)': {
|
|
28
|
-
overflow: 'hidden'
|
|
29
|
-
},
|
|
30
|
-
'@supports (overflow-x: clip)': {
|
|
31
|
-
overflowX: 'clip'
|
|
32
|
-
}
|
|
26
|
+
whiteSpace: 'nowrap'
|
|
33
27
|
});
|
|
34
28
|
var rootStyles = css({
|
|
35
29
|
display: 'inline-block',
|
|
@@ -157,7 +151,8 @@ var InlineMessage = function InlineMessage(_ref) {
|
|
|
157
151
|
appearance: "subtle-link",
|
|
158
152
|
onClick: toggleDialog,
|
|
159
153
|
spacing: "none",
|
|
160
|
-
testId: testId && "".concat(testId, "--button")
|
|
154
|
+
testId: testId && "".concat(testId, "--button"),
|
|
155
|
+
"aria-expanded": isOpen
|
|
161
156
|
}, jsx("div", {
|
|
162
157
|
css: buttonContentsStyles
|
|
163
158
|
}, jsx(MessageIcon, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-message",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.7",
|
|
4
4
|
"description": "An inline message lets users know when important information is available or when an action is required.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/button": "^16.
|
|
27
|
+
"@atlaskit/button": "^16.10.0",
|
|
28
28
|
"@atlaskit/icon": "^21.12.0",
|
|
29
29
|
"@atlaskit/inline-dialog": "^13.6.0",
|
|
30
|
-
"@atlaskit/theme": "^12.
|
|
31
|
-
"@atlaskit/tokens": "^1.
|
|
30
|
+
"@atlaskit/theme": "^12.6.0",
|
|
31
|
+
"@atlaskit/tokens": "^1.26.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/react": "^11.7.1"
|
|
34
34
|
},
|