@atlaskit/onboarding 10.8.8 → 10.8.9
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 +62 -56
- package/dist/cjs/components/animation.js +4 -5
- package/dist/cjs/components/clone.js +1 -2
- package/dist/cjs/components/modal.js +2 -3
- package/dist/cjs/components/spotlight-card.js +1 -2
- package/dist/cjs/components/spotlight-dialog.js +5 -6
- package/dist/cjs/components/spotlight-inner.js +3 -4
- package/dist/cjs/components/spotlight-manager.js +6 -10
- package/dist/cjs/components/spotlight-target.js +1 -2
- package/dist/cjs/components/spotlight-transition.js +2 -4
- package/dist/cjs/components/spotlight.js +1 -2
- package/dist/cjs/components/theme.js +5 -7
- package/dist/cjs/components/value-changed.js +2 -3
- package/dist/cjs/styled/blanket.js +3 -4
- package/dist/cjs/styled/dialog.js +4 -7
- package/dist/cjs/styled/modal.js +6 -11
- package/dist/cjs/styled/target.js +7 -11
- package/dist/cjs/utils/use-element-box.js +3 -5
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/esm/components/animation.js +2 -2
- package/dist/esm/components/spotlight-dialog.js +3 -3
- package/dist/esm/components/spotlight-inner.js +2 -2
- package/dist/esm/components/spotlight-manager.js +2 -2
- package/dist/esm/components/theme.js +2 -2
- package/dist/esm/styled/blanket.js +2 -2
- package/dist/esm/styled/target.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,60 +1,66 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 10.8.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40647](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40647) [`0de92f17021`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0de92f17021) - Bump react-focus-lock to latest version
|
|
8
|
+
|
|
3
9
|
## 10.8.8
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update type definitions to conform to inherited changes from `@types/react@16.14.15`.
|
|
13
|
+
- [#39128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39128) [`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update type definitions to conform to inherited changes from `@types/react@16.14.15`.
|
|
8
14
|
|
|
9
15
|
## 10.8.7
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`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
|
|
14
20
|
- Updated dependencies
|
|
15
21
|
|
|
16
22
|
## 10.8.6
|
|
17
23
|
|
|
18
24
|
### Patch Changes
|
|
19
25
|
|
|
20
|
-
- [`36e3e86da5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36e3e86da5d) - SpotlightCard width prop now accepts either a number or the string `'100%'` and refactors how our range of 160px – 600px works via css `min-width` and `max-width` instead of raw math.
|
|
26
|
+
- [#38215](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38215) [`36e3e86da5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36e3e86da5d) - SpotlightCard width prop now accepts either a number or the string `'100%'` and refactors how our range of 160px – 600px works via css `min-width` and `max-width` instead of raw math.
|
|
21
27
|
|
|
22
28
|
## 10.8.5
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
32
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
27
33
|
|
|
28
34
|
## 10.8.4
|
|
29
35
|
|
|
30
36
|
### Patch Changes
|
|
31
37
|
|
|
32
|
-
- [`df6aac8c5a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df6aac8c5a6) - When providing an image path to `SpotlightCard`, there is no longer an additional space that appears between the image and content padding.
|
|
38
|
+
- [#35716](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35716) [`df6aac8c5a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df6aac8c5a6) - When providing an image path to `SpotlightCard`, there is no longer an additional space that appears between the image and content padding.
|
|
33
39
|
- Updated dependencies
|
|
34
40
|
|
|
35
41
|
## 10.8.3
|
|
36
42
|
|
|
37
43
|
### Patch Changes
|
|
38
44
|
|
|
39
|
-
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
45
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
40
46
|
|
|
41
47
|
## 10.8.2
|
|
42
48
|
|
|
43
49
|
### Patch Changes
|
|
44
50
|
|
|
45
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
51
|
+
- [#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
|
|
46
52
|
|
|
47
53
|
## 10.8.1
|
|
48
54
|
|
|
49
55
|
### Patch Changes
|
|
50
56
|
|
|
51
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
57
|
+
- [#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`
|
|
52
58
|
|
|
53
59
|
## 10.8.0
|
|
54
60
|
|
|
55
61
|
### Minor Changes
|
|
56
62
|
|
|
57
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
63
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
58
64
|
|
|
59
65
|
### Patch Changes
|
|
60
66
|
|
|
@@ -64,19 +70,19 @@
|
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
73
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
68
74
|
|
|
69
75
|
## 10.7.1
|
|
70
76
|
|
|
71
77
|
### Patch Changes
|
|
72
78
|
|
|
73
|
-
- [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
|
|
79
|
+
- [#32294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32294) [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
|
|
74
80
|
|
|
75
81
|
## 10.7.0
|
|
76
82
|
|
|
77
83
|
### Minor Changes
|
|
78
84
|
|
|
79
|
-
- [`e3fa4437cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3fa4437cf5) - [ux] Updates focus appearance of components using buttons and custom buttons. These states now use an offset outline which is consistent with other applications of focus in Atlassian components.
|
|
85
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`e3fa4437cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3fa4437cf5) - [ux] Updates focus appearance of components using buttons and custom buttons. These states now use an offset outline which is consistent with other applications of focus in Atlassian components.
|
|
80
86
|
|
|
81
87
|
### Patch Changes
|
|
82
88
|
|
|
@@ -86,14 +92,14 @@
|
|
|
86
92
|
|
|
87
93
|
### Patch Changes
|
|
88
94
|
|
|
89
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
95
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
90
96
|
- Updated dependencies
|
|
91
97
|
|
|
92
98
|
## 10.6.11
|
|
93
99
|
|
|
94
100
|
### Patch Changes
|
|
95
101
|
|
|
96
|
-
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
102
|
+
- [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125) [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
97
103
|
|
|
98
104
|
## 10.6.10
|
|
99
105
|
|
|
@@ -111,19 +117,19 @@
|
|
|
111
117
|
|
|
112
118
|
### Patch Changes
|
|
113
119
|
|
|
114
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
120
|
+
- [#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.
|
|
115
121
|
|
|
116
122
|
## 10.6.7
|
|
117
123
|
|
|
118
124
|
### Patch Changes
|
|
119
125
|
|
|
120
|
-
- [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
126
|
+
- [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227) [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
121
127
|
|
|
122
128
|
## 10.6.6
|
|
123
129
|
|
|
124
130
|
### Patch Changes
|
|
125
131
|
|
|
126
|
-
- [`716af1d3387`](https://bitbucket.org/atlassian/atlassian-frontend/commits/716af1d3387) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
|
|
132
|
+
- [#28159](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28159) [`716af1d3387`](https://bitbucket.org/atlassian/atlassian-frontend/commits/716af1d3387) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
|
|
127
133
|
|
|
128
134
|
## 10.6.5
|
|
129
135
|
|
|
@@ -153,13 +159,13 @@
|
|
|
153
159
|
|
|
154
160
|
### Patch Changes
|
|
155
161
|
|
|
156
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
162
|
+
- [#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.
|
|
157
163
|
|
|
158
164
|
## 10.6.0
|
|
159
165
|
|
|
160
166
|
### Minor Changes
|
|
161
167
|
|
|
162
|
-
- [`e0015d4e201`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0015d4e201) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
168
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`e0015d4e201`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0015d4e201) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
163
169
|
|
|
164
170
|
### Patch Changes
|
|
165
171
|
|
|
@@ -170,32 +176,32 @@
|
|
|
170
176
|
|
|
171
177
|
### Patch Changes
|
|
172
178
|
|
|
173
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
179
|
+
- [#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`
|
|
174
180
|
|
|
175
181
|
## 10.5.3
|
|
176
182
|
|
|
177
183
|
### Patch Changes
|
|
178
184
|
|
|
179
|
-
- [`7ca0e5a0c31`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ca0e5a0c31) - Update "subtle" action in Onboarding component to use correct tokens
|
|
180
|
-
- [`0e5102ee5ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e5102ee5ab) - Update "subtle-link" action in Onboarding component to use correct tokens
|
|
185
|
+
- [#25075](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25075) [`7ca0e5a0c31`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ca0e5a0c31) - Update "subtle" action in Onboarding component to use correct tokens
|
|
186
|
+
- [#25074](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25074) [`0e5102ee5ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e5102ee5ab) - Update "subtle-link" action in Onboarding component to use correct tokens
|
|
181
187
|
|
|
182
188
|
## 10.5.2
|
|
183
189
|
|
|
184
190
|
### Patch Changes
|
|
185
191
|
|
|
186
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
192
|
+
- [#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`.
|
|
187
193
|
|
|
188
194
|
## 10.5.1
|
|
189
195
|
|
|
190
196
|
### Patch Changes
|
|
191
197
|
|
|
192
|
-
- [`994508770f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/994508770f7) - Bumps the `@atlaskit/heading` dependency forward to a higher minimum version.
|
|
198
|
+
- [#24237](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24237) [`994508770f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/994508770f7) - Bumps the `@atlaskit/heading` dependency forward to a higher minimum version.
|
|
193
199
|
|
|
194
200
|
## 10.5.0
|
|
195
201
|
|
|
196
202
|
### Minor Changes
|
|
197
203
|
|
|
198
|
-
- [`0c0a8c64d54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8c64d54) - Removes internal usage of the deprecated theme prop.
|
|
204
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`0c0a8c64d54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8c64d54) - Removes internal usage of the deprecated theme prop.
|
|
199
205
|
|
|
200
206
|
### Patch Changes
|
|
201
207
|
|
|
@@ -206,19 +212,19 @@
|
|
|
206
212
|
|
|
207
213
|
### Patch Changes
|
|
208
214
|
|
|
209
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
215
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614) [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
210
216
|
|
|
211
217
|
## 10.4.1
|
|
212
218
|
|
|
213
219
|
### Patch Changes
|
|
214
220
|
|
|
215
|
-
- [`e4b612d1c48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4b612d1c48) - Internal migration to bind-event-listener for safer DOM Event cleanup
|
|
221
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`e4b612d1c48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4b612d1c48) - Internal migration to bind-event-listener for safer DOM Event cleanup
|
|
216
222
|
|
|
217
223
|
## 10.4.0
|
|
218
224
|
|
|
219
225
|
### Minor Changes
|
|
220
226
|
|
|
221
|
-
- [`3124aa6ae24`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3124aa6ae24) - The onboarding package now exports a `ModalTransition` component for use with the benefits modal. This resolves an issue that can occur when using `ModalTransition` from a different version of `@atlaskit/modal-dialog` than the one that Onboarding is bringing in.
|
|
227
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`3124aa6ae24`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3124aa6ae24) - The onboarding package now exports a `ModalTransition` component for use with the benefits modal. This resolves an issue that can occur when using `ModalTransition` from a different version of `@atlaskit/modal-dialog` than the one that Onboarding is bringing in.
|
|
222
228
|
|
|
223
229
|
### Patch Changes
|
|
224
230
|
|
|
@@ -228,7 +234,7 @@
|
|
|
228
234
|
|
|
229
235
|
### Patch Changes
|
|
230
236
|
|
|
231
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
237
|
+
- [#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
|
|
232
238
|
|
|
233
239
|
## 10.3.10
|
|
234
240
|
|
|
@@ -240,7 +246,7 @@
|
|
|
240
246
|
|
|
241
247
|
### Patch Changes
|
|
242
248
|
|
|
243
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
249
|
+
- [#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
|
|
244
250
|
- Updated dependencies
|
|
245
251
|
|
|
246
252
|
## 10.3.8
|
|
@@ -253,7 +259,7 @@
|
|
|
253
259
|
|
|
254
260
|
### Patch Changes
|
|
255
261
|
|
|
256
|
-
- [`ac9343c3ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac9343c3ed4) - Replaces usage of deprecated design tokens. No visual or functional changes
|
|
262
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`ac9343c3ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac9343c3ed4) - Replaces usage of deprecated design tokens. No visual or functional changes
|
|
257
263
|
- [`dcd92130cc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd92130cc4) - Migrate deleted background accent tokens to replacements
|
|
258
264
|
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
259
265
|
- Updated dependencies
|
|
@@ -262,14 +268,14 @@
|
|
|
262
268
|
|
|
263
269
|
### Patch Changes
|
|
264
270
|
|
|
265
|
-
- [`bd38851d12f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bd38851d12f) - [ux] Fixed the missing Spotlight button border by updating the token usages.
|
|
271
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`bd38851d12f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bd38851d12f) - [ux] Fixed the missing Spotlight button border by updating the token usages.
|
|
266
272
|
- Updated dependencies
|
|
267
273
|
|
|
268
274
|
## 10.3.5
|
|
269
275
|
|
|
270
276
|
### Patch Changes
|
|
271
277
|
|
|
272
|
-
- [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
|
|
278
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
|
|
273
279
|
|
|
274
280
|
## 10.3.4
|
|
275
281
|
|
|
@@ -289,13 +295,13 @@
|
|
|
289
295
|
|
|
290
296
|
### Patch Changes
|
|
291
297
|
|
|
292
|
-
- [`9a5740d1ec3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a5740d1ec3) - [ux] The `pulse` prop now works correctly for `<SpotlightPulse />`. Previously, it was applying the pulse to the `SpotlightPulse` target regardless of the `pulse` value. Now it checks the value of `pulse` and applies the animation accordingly.
|
|
298
|
+
- [#17672](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17672) [`9a5740d1ec3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a5740d1ec3) - [ux] The `pulse` prop now works correctly for `<SpotlightPulse />`. Previously, it was applying the pulse to the `SpotlightPulse` target regardless of the `pulse` value. Now it checks the value of `pulse` and applies the animation accordingly.
|
|
293
299
|
|
|
294
300
|
## 10.3.1
|
|
295
301
|
|
|
296
302
|
### Patch Changes
|
|
297
303
|
|
|
298
|
-
- [`3fced6aa641`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fced6aa641) - Bumped `react-focus-lock` to version `^2.2.1`.
|
|
304
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`3fced6aa641`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fced6aa641) - Bumped `react-focus-lock` to version `^2.2.1`.
|
|
299
305
|
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
300
306
|
- Updated dependencies
|
|
301
307
|
|
|
@@ -303,7 +309,7 @@
|
|
|
303
309
|
|
|
304
310
|
### Minor Changes
|
|
305
311
|
|
|
306
|
-
- [`50081f13de7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50081f13de7) - Instrumented `@atlaskit/onboarding` with the new theming package, `@atlaskit/tokens`.
|
|
312
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`50081f13de7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50081f13de7) - Instrumented `@atlaskit/onboarding` with the new theming package, `@atlaskit/tokens`.
|
|
307
313
|
|
|
308
314
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
309
315
|
|
|
@@ -315,19 +321,19 @@
|
|
|
315
321
|
|
|
316
322
|
### Patch Changes
|
|
317
323
|
|
|
318
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
324
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694) [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
319
325
|
|
|
320
326
|
## 10.2.5
|
|
321
327
|
|
|
322
328
|
### Patch Changes
|
|
323
329
|
|
|
324
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
330
|
+
- [#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.
|
|
325
331
|
|
|
326
332
|
## 10.2.4
|
|
327
333
|
|
|
328
334
|
### Patch Changes
|
|
329
335
|
|
|
330
|
-
- [`d77725f926f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d77725f926f) - Replaced usage of `styled-components` with `@emotion/core`.
|
|
336
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`d77725f926f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d77725f926f) - Replaced usage of `styled-components` with `@emotion/core`.
|
|
331
337
|
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Internal changes to remove `@atlaskit/theme/math` usage.
|
|
332
338
|
- Updated dependencies
|
|
333
339
|
|
|
@@ -335,7 +341,7 @@
|
|
|
335
341
|
|
|
336
342
|
### Patch Changes
|
|
337
343
|
|
|
338
|
-
- [`115c009e2ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/115c009e2ef) - Refactor to use new modal dialog API.
|
|
344
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`115c009e2ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/115c009e2ef) - Refactor to use new modal dialog API.
|
|
339
345
|
- Updated dependencies
|
|
340
346
|
|
|
341
347
|
## 10.2.2
|
|
@@ -348,13 +354,13 @@
|
|
|
348
354
|
|
|
349
355
|
### Patch Changes
|
|
350
356
|
|
|
351
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
357
|
+
- [#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`.
|
|
352
358
|
|
|
353
359
|
## 10.2.0
|
|
354
360
|
|
|
355
361
|
### Minor Changes
|
|
356
362
|
|
|
357
|
-
- [`1b1cb960767`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b1cb960767) - The `headingAfterElement` prop has been added to the spotlight component which can be used to add a supplementary action.
|
|
363
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`1b1cb960767`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b1cb960767) - The `headingAfterElement` prop has been added to the spotlight component which can be used to add a supplementary action.
|
|
358
364
|
|
|
359
365
|
### Patch Changes
|
|
360
366
|
|
|
@@ -364,13 +370,13 @@
|
|
|
364
370
|
|
|
365
371
|
### Patch Changes
|
|
366
372
|
|
|
367
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
373
|
+
- [#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
|
|
368
374
|
|
|
369
375
|
## 10.1.8
|
|
370
376
|
|
|
371
377
|
### Patch Changes
|
|
372
378
|
|
|
373
|
-
- [`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.
|
|
379
|
+
- [#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.
|
|
374
380
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
375
381
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
376
382
|
|
|
@@ -384,7 +390,7 @@
|
|
|
384
390
|
|
|
385
391
|
### Patch Changes
|
|
386
392
|
|
|
387
|
-
- [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
|
|
393
|
+
- [#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
|
|
388
394
|
|
|
389
395
|
## 10.1.5
|
|
390
396
|
|
|
@@ -396,13 +402,13 @@
|
|
|
396
402
|
|
|
397
403
|
### Patch Changes
|
|
398
404
|
|
|
399
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
405
|
+
- [#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
|
|
400
406
|
|
|
401
407
|
## 10.1.3
|
|
402
408
|
|
|
403
409
|
### Patch Changes
|
|
404
410
|
|
|
405
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
411
|
+
- [#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
|
|
406
412
|
|
|
407
413
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
408
414
|
to prevent duplicates of tslib being bundled.
|
|
@@ -411,7 +417,7 @@
|
|
|
411
417
|
|
|
412
418
|
### Patch Changes
|
|
413
419
|
|
|
414
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
420
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
415
421
|
|
|
416
422
|
## 10.1.1
|
|
417
423
|
|
|
@@ -423,7 +429,7 @@
|
|
|
423
429
|
|
|
424
430
|
### Minor Changes
|
|
425
431
|
|
|
426
|
-
- [`5d6c324306`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d6c324306) - Expose useSpotlight hook which returns #isTargetRendered function. We can use this function to check whether target is rendered or not.
|
|
432
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`5d6c324306`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d6c324306) - Expose useSpotlight hook which returns #isTargetRendered function. We can use this function to check whether target is rendered or not.
|
|
427
433
|
|
|
428
434
|
### Patch Changes
|
|
429
435
|
|
|
@@ -433,7 +439,7 @@
|
|
|
433
439
|
|
|
434
440
|
### Major Changes
|
|
435
441
|
|
|
436
|
-
- [`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.
|
|
442
|
+
- [#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.
|
|
437
443
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
438
444
|
|
|
439
445
|
### Patch Changes
|
|
@@ -444,19 +450,19 @@
|
|
|
444
450
|
|
|
445
451
|
### Minor Changes
|
|
446
452
|
|
|
447
|
-
- [`2c8d296246`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c8d296246) - Adds support for the `subtle` button appearance in the Spotlight dialog theme to align more closely with ADG guidelines. Also visually re-orders action items so that the primary item in the actions list appears on the right hand side, but still recieves focus first.
|
|
453
|
+
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`2c8d296246`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c8d296246) - Adds support for the `subtle` button appearance in the Spotlight dialog theme to align more closely with ADG guidelines. Also visually re-orders action items so that the primary item in the actions list appears on the right hand side, but still recieves focus first.
|
|
448
454
|
|
|
449
455
|
## 9.1.10
|
|
450
456
|
|
|
451
457
|
### Patch Changes
|
|
452
458
|
|
|
453
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
459
|
+
- [#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
|
|
454
460
|
|
|
455
461
|
## 9.1.9
|
|
456
462
|
|
|
457
463
|
### Patch Changes
|
|
458
464
|
|
|
459
|
-
- [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
465
|
+
- [#2677](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2677) [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
460
466
|
|
|
461
467
|
## 9.1.8
|
|
462
468
|
|
|
@@ -468,7 +474,7 @@
|
|
|
468
474
|
|
|
469
475
|
### Patch Changes
|
|
470
476
|
|
|
471
|
-
- [`6faa22760b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faa22760b) - Add modalButtonTheme, spotlightButtonTheme,- Updated dependencies
|
|
477
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`6faa22760b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faa22760b) - Add modalButtonTheme, spotlightButtonTheme,- Updated dependencies
|
|
472
478
|
|
|
473
479
|
## 9.1.6
|
|
474
480
|
|
|
@@ -1085,14 +1091,14 @@
|
|
|
1085
1091
|
|
|
1086
1092
|
## 6.1.2
|
|
1087
1093
|
|
|
1088
|
-
- [patch][2482922
|
|
1094
|
+
- [patch][2482922](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2482922"
|
|
1089
1095
|
d):
|
|
1090
1096
|
|
|
1091
1097
|
- Remove unecessary alt text for modal image to avoid redundancy for screenreaders
|
|
1092
1098
|
|
|
1093
1099
|
## 6.1.1
|
|
1094
1100
|
|
|
1095
|
-
- [patch][0c7a57d
|
|
1101
|
+
- [patch][0c7a57d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0c7a57d"
|
|
1096
1102
|
d):
|
|
1097
1103
|
|
|
1098
1104
|
- Fixes layering of blanket and spotlight components in IE11 and Edge
|
|
@@ -8,8 +8,8 @@ exports.Fade = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _reactTransitionGroup = require("react-transition-group");
|
|
11
|
-
function ownKeys(
|
|
12
|
-
function _objectSpread(
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
13
|
var duration = {
|
|
14
14
|
enter: 0,
|
|
15
15
|
exit: 100
|
|
@@ -21,7 +21,7 @@ var duration = {
|
|
|
21
21
|
*
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
|
-
var Fade = function Fade(_ref) {
|
|
24
|
+
var Fade = exports.Fade = function Fade(_ref) {
|
|
25
25
|
var hasEntered = _ref.hasEntered,
|
|
26
26
|
children = _ref.children,
|
|
27
27
|
onExited = _ref.onExited;
|
|
@@ -47,5 +47,4 @@ var Fade = function Fade(_ref) {
|
|
|
47
47
|
var style = _objectSpread(_objectSpread({}, base), anim[status]);
|
|
48
48
|
return children(style);
|
|
49
49
|
});
|
|
50
|
-
};
|
|
51
|
-
exports.Fade = Fade;
|
|
50
|
+
};
|
|
@@ -37,7 +37,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
37
37
|
* - [Code](https://atlassian.design/components/onboarding/benefits-modal/code)
|
|
38
38
|
* - [Usage](https://atlassian.design/components/onboarding/benefits-modal/usage)
|
|
39
39
|
*/
|
|
40
|
-
var BenefitsModal = /*#__PURE__*/function (_Component) {
|
|
40
|
+
var BenefitsModal = exports.default = /*#__PURE__*/function (_Component) {
|
|
41
41
|
(0, _inherits2.default)(BenefitsModal, _Component);
|
|
42
42
|
var _super = _createSuper(BenefitsModal);
|
|
43
43
|
function BenefitsModal() {
|
|
@@ -104,5 +104,4 @@ var BenefitsModal = /*#__PURE__*/function (_Component) {
|
|
|
104
104
|
}
|
|
105
105
|
}]);
|
|
106
106
|
return BenefitsModal;
|
|
107
|
-
}(_react.Component);
|
|
108
|
-
exports.default = BenefitsModal;
|
|
107
|
+
}(_react.Component);
|
|
@@ -144,5 +144,4 @@ var SpotlightCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
144
144
|
})));
|
|
145
145
|
});
|
|
146
146
|
SpotlightCard.displayName = 'SpotlightCard';
|
|
147
|
-
var _default = SpotlightCard;
|
|
148
|
-
exports.default = _default;
|
|
147
|
+
var _default = exports.default = SpotlightCard;
|
|
@@ -22,12 +22,12 @@ var _spotlightCard = _interopRequireDefault(require("./spotlight-card"));
|
|
|
22
22
|
var _valueChanged = _interopRequireDefault(require("./value-changed"));
|
|
23
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
-
function ownKeys(
|
|
26
|
-
function _objectSpread(
|
|
25
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27
27
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
28
28
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
29
29
|
var packageName = "@atlaskit/onboarding";
|
|
30
|
-
var packageVersion = "10.8.
|
|
30
|
+
var packageVersion = "10.8.9";
|
|
31
31
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
33
33
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -145,7 +145,7 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
|
145
145
|
return SpotlightDialog;
|
|
146
146
|
}(_react.Component);
|
|
147
147
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
148
|
-
var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
148
|
+
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
149
149
|
componentName: 'spotlight',
|
|
150
150
|
packageName: packageName,
|
|
151
151
|
packageVersion: packageVersion
|
|
@@ -159,5 +159,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
|
159
159
|
packageVersion: packageVersion
|
|
160
160
|
}
|
|
161
161
|
})
|
|
162
|
-
})(SpotlightDialog));
|
|
163
|
-
exports.default = _default;
|
|
162
|
+
})(SpotlightDialog));
|
|
@@ -25,8 +25,8 @@ var _animation = require("./animation");
|
|
|
25
25
|
var _clone = _interopRequireDefault(require("./clone"));
|
|
26
26
|
var _spotlightDialog = _interopRequireDefault(require("./spotlight-dialog"));
|
|
27
27
|
var _spotlightTransition = require("./spotlight-transition");
|
|
28
|
-
function ownKeys(
|
|
29
|
-
function _objectSpread(
|
|
28
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
29
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
31
31
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
32
|
/**
|
|
@@ -158,5 +158,4 @@ var SpotlightInner = /*#__PURE__*/function (_React$Component) {
|
|
|
158
158
|
dialogWidth: 400,
|
|
159
159
|
pulse: true
|
|
160
160
|
});
|
|
161
|
-
var _default = SpotlightInner;
|
|
162
|
-
exports.default = _default;
|
|
161
|
+
var _default = exports.default = SpotlightInner;
|
|
@@ -22,23 +22,20 @@ var _blanket = _interopRequireDefault(require("../styled/blanket"));
|
|
|
22
22
|
var _animation = require("./animation");
|
|
23
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
-
function ownKeys(
|
|
26
|
-
function _objectSpread(
|
|
25
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27
27
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
28
28
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
29
29
|
var _createContext = /*#__PURE__*/(0, _react.createContext)(undefined),
|
|
30
|
-
TargetConsumer = _createContext.Consumer,
|
|
30
|
+
TargetConsumer = exports.TargetConsumer = _createContext.Consumer,
|
|
31
31
|
TargetProvider = _createContext.Provider;
|
|
32
|
-
exports.
|
|
33
|
-
var SpotlightContext = /*#__PURE__*/(0, _react.createContext)({
|
|
32
|
+
var SpotlightContext = exports.SpotlightContext = /*#__PURE__*/(0, _react.createContext)({
|
|
34
33
|
opened: _noop.default,
|
|
35
34
|
closed: _noop.default,
|
|
36
35
|
targets: {}
|
|
37
36
|
});
|
|
38
|
-
exports.
|
|
39
|
-
var SpotlightStateConsumer = SpotlightContext.Consumer,
|
|
37
|
+
var SpotlightStateConsumer = exports.SpotlightConsumer = SpotlightContext.Consumer,
|
|
40
38
|
SpotlightStateProvider = SpotlightContext.Provider;
|
|
41
|
-
exports.SpotlightConsumer = SpotlightStateConsumer;
|
|
42
39
|
var Container = function Container(_ref) {
|
|
43
40
|
var Wrapper = _ref.component,
|
|
44
41
|
children = _ref.children;
|
|
@@ -54,7 +51,7 @@ var Container = function Container(_ref) {
|
|
|
54
51
|
* - [Code](https://atlassian.design/components/onboarding/code)
|
|
55
52
|
* - [Usage](https://atlassian.design/components/onboarding/usage)
|
|
56
53
|
*/
|
|
57
|
-
var SpotlightManager = /*#__PURE__*/function (_PureComponent) {
|
|
54
|
+
var SpotlightManager = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
58
55
|
(0, _inherits2.default)(SpotlightManager, _PureComponent);
|
|
59
56
|
var _super = _createSuper(SpotlightManager);
|
|
60
57
|
function SpotlightManager() {
|
|
@@ -137,7 +134,6 @@ var SpotlightManager = /*#__PURE__*/function (_PureComponent) {
|
|
|
137
134
|
}]);
|
|
138
135
|
return SpotlightManager;
|
|
139
136
|
}(_react.PureComponent);
|
|
140
|
-
exports.default = SpotlightManager;
|
|
141
137
|
(0, _defineProperty2.default)(SpotlightManager, "defaultProps", {
|
|
142
138
|
blanketIsTinted: true
|
|
143
139
|
});
|
|
@@ -89,7 +89,5 @@ var SpotlightTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
89
89
|
*
|
|
90
90
|
* @internal
|
|
91
91
|
*/
|
|
92
|
-
var SpotlightTransitionConsumer = SpotlightTransitionContext.Consumer;
|
|
93
|
-
exports.
|
|
94
|
-
var _default = SpotlightTransition;
|
|
95
|
-
exports.default = _default;
|
|
92
|
+
var SpotlightTransitionConsumer = exports.SpotlightTransitionConsumer = SpotlightTransitionContext.Consumer;
|
|
93
|
+
var _default = exports.default = SpotlightTransition;
|
|
@@ -14,8 +14,8 @@ var _excluded = ["buttonStyles"],
|
|
|
14
14
|
_excluded2 = ["buttonStyles"];
|
|
15
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
-
function ownKeys(
|
|
18
|
-
function _objectSpread(
|
|
17
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
19
|
var spotlightTheme = {
|
|
20
20
|
default: {
|
|
21
21
|
background: {
|
|
@@ -132,7 +132,7 @@ function extract(newTheme, _ref) {
|
|
|
132
132
|
* @deprecated
|
|
133
133
|
* Custom button themes are deprecated and will be removed in the future.
|
|
134
134
|
*/
|
|
135
|
-
var spotlightButtonTheme = function spotlightButtonTheme(current, themeProps) {
|
|
135
|
+
var spotlightButtonTheme = exports.spotlightButtonTheme = function spotlightButtonTheme(current, themeProps) {
|
|
136
136
|
var _current = current(themeProps),
|
|
137
137
|
buttonStyles = _current.buttonStyles,
|
|
138
138
|
rest = (0, _objectWithoutProperties2.default)(_current, _excluded);
|
|
@@ -145,13 +145,11 @@ var spotlightButtonTheme = function spotlightButtonTheme(current, themeProps) {
|
|
|
145
145
|
* @deprecated
|
|
146
146
|
* Custom button themes are deprecated and will be removed in the future.
|
|
147
147
|
*/
|
|
148
|
-
exports.
|
|
149
|
-
var modalButtonTheme = function modalButtonTheme(current, themeProps) {
|
|
148
|
+
var modalButtonTheme = exports.modalButtonTheme = function modalButtonTheme(current, themeProps) {
|
|
150
149
|
var _current2 = current(themeProps),
|
|
151
150
|
buttonStyles = _current2.buttonStyles,
|
|
152
151
|
rest = (0, _objectWithoutProperties2.default)(_current2, _excluded2);
|
|
153
152
|
return _objectSpread({
|
|
154
153
|
buttonStyles: _objectSpread(_objectSpread({}, buttonStyles), extract(modalTheme, themeProps))
|
|
155
154
|
}, rest);
|
|
156
|
-
};
|
|
157
|
-
exports.modalButtonTheme = modalButtonTheme;
|
|
155
|
+
};
|
|
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
17
17
|
// On update, it checks whether the current value prop is equal to the previous value prop.
|
|
18
18
|
// If they are different, it calls the onChange function.
|
|
19
19
|
// We use this for updating Popper when the SpotlightDialog width changes.
|
|
20
|
-
var ValueChanged = /*#__PURE__*/function (_React$Component) {
|
|
20
|
+
var ValueChanged = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
21
21
|
(0, _inherits2.default)(ValueChanged, _React$Component);
|
|
22
22
|
var _super = _createSuper(ValueChanged);
|
|
23
23
|
function ValueChanged() {
|
|
@@ -38,5 +38,4 @@ var ValueChanged = /*#__PURE__*/function (_React$Component) {
|
|
|
38
38
|
}
|
|
39
39
|
}]);
|
|
40
40
|
return ValueChanged;
|
|
41
|
-
}(_react.default.Component);
|
|
42
|
-
exports.default = ValueChanged;
|
|
41
|
+
}(_react.default.Component);
|
|
@@ -10,8 +10,8 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
11
11
|
var _components = require("@atlaskit/theme/components");
|
|
12
12
|
var _constants = require("@atlaskit/theme/constants");
|
|
13
|
-
function ownKeys(
|
|
14
|
-
function _objectSpread(
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
15
15
|
var backgroundColor = (0, _components.themed)({
|
|
16
16
|
light: "var(--ds-blanket, ".concat(_colors.N100A, ")"),
|
|
17
17
|
dark: "var(--ds-blanket, ".concat(_colors.DN90A, ")")
|
|
@@ -47,5 +47,4 @@ var Blanket = function Blanket(props) {
|
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
|
-
var _default = Blanket;
|
|
51
|
-
exports.default = _default;
|
|
50
|
+
var _default = exports.default = Blanket;
|
|
@@ -31,7 +31,7 @@ var actionItemStyles = (0, _react.css)({
|
|
|
31
31
|
*
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
|
-
var DialogImage = function DialogImage(_ref) {
|
|
34
|
+
var DialogImage = exports.DialogImage = function DialogImage(_ref) {
|
|
35
35
|
var alt = _ref.alt,
|
|
36
36
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
37
37
|
return (
|
|
@@ -50,8 +50,7 @@ var DialogImage = function DialogImage(_ref) {
|
|
|
50
50
|
*
|
|
51
51
|
* @internal
|
|
52
52
|
*/
|
|
53
|
-
exports.
|
|
54
|
-
var DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
|
|
53
|
+
var DialogActionItemContainer = exports.DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
|
|
55
54
|
var children = _ref2.children;
|
|
56
55
|
return (0, _react.jsx)("div", {
|
|
57
56
|
css: actionItemContainerStyles
|
|
@@ -65,11 +64,9 @@ var DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
|
|
|
65
64
|
*
|
|
66
65
|
* @internal
|
|
67
66
|
*/
|
|
68
|
-
exports.
|
|
69
|
-
var DialogActionItem = function DialogActionItem(_ref3) {
|
|
67
|
+
var DialogActionItem = exports.DialogActionItem = function DialogActionItem(_ref3) {
|
|
70
68
|
var children = _ref3.children;
|
|
71
69
|
return (0, _react.jsx)("div", {
|
|
72
70
|
css: actionItemStyles
|
|
73
71
|
}, children);
|
|
74
|
-
};
|
|
75
|
-
exports.DialogActionItem = DialogActionItem;
|
|
72
|
+
};
|
package/dist/cjs/styled/modal.js
CHANGED
|
@@ -59,7 +59,7 @@ var modalActionItemStyles = (0, _react.css)({
|
|
|
59
59
|
*
|
|
60
60
|
* @internal
|
|
61
61
|
*/
|
|
62
|
-
var ModalBody = function ModalBody(_ref) {
|
|
62
|
+
var ModalBody = exports.ModalBody = function ModalBody(_ref) {
|
|
63
63
|
var children = _ref.children;
|
|
64
64
|
return (0, _react.jsx)("div", {
|
|
65
65
|
css: modalBodyStyles
|
|
@@ -71,8 +71,7 @@ var ModalBody = function ModalBody(_ref) {
|
|
|
71
71
|
*
|
|
72
72
|
* @internal
|
|
73
73
|
*/
|
|
74
|
-
exports.
|
|
75
|
-
var ModalHeading = function ModalHeading(_ref2) {
|
|
74
|
+
var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
|
|
76
75
|
var children = _ref2.children;
|
|
77
76
|
var _useGlobalTheme = (0, _components.useGlobalTheme)(),
|
|
78
77
|
mode = _useGlobalTheme.mode;
|
|
@@ -86,8 +85,7 @@ var ModalHeading = function ModalHeading(_ref2) {
|
|
|
86
85
|
*
|
|
87
86
|
* @internal
|
|
88
87
|
*/
|
|
89
|
-
exports.
|
|
90
|
-
var ModalImage = function ModalImage(_ref3) {
|
|
88
|
+
var ModalImage = exports.ModalImage = function ModalImage(_ref3) {
|
|
91
89
|
var alt = _ref3.alt,
|
|
92
90
|
src = _ref3.src;
|
|
93
91
|
return (0, _react.jsx)("img", {
|
|
@@ -102,8 +100,7 @@ var ModalImage = function ModalImage(_ref3) {
|
|
|
102
100
|
*
|
|
103
101
|
* @internal
|
|
104
102
|
*/
|
|
105
|
-
exports.
|
|
106
|
-
var ModalActionContainer = function ModalActionContainer(_ref4) {
|
|
103
|
+
var ModalActionContainer = exports.ModalActionContainer = function ModalActionContainer(_ref4) {
|
|
107
104
|
var children = _ref4.children,
|
|
108
105
|
shouldReverseButtonOrder = _ref4.shouldReverseButtonOrder;
|
|
109
106
|
return (0, _react.jsx)("div", {
|
|
@@ -116,11 +113,9 @@ var ModalActionContainer = function ModalActionContainer(_ref4) {
|
|
|
116
113
|
*
|
|
117
114
|
* @internal
|
|
118
115
|
*/
|
|
119
|
-
exports.
|
|
120
|
-
var ModalActionItem = function ModalActionItem(_ref5) {
|
|
116
|
+
var ModalActionItem = exports.ModalActionItem = function ModalActionItem(_ref5) {
|
|
121
117
|
var children = _ref5.children;
|
|
122
118
|
return (0, _react.jsx)("div", {
|
|
123
119
|
css: modalActionItemStyles
|
|
124
120
|
}, children);
|
|
125
|
-
};
|
|
126
|
-
exports.ModalActionItem = ModalActionItem;
|
|
121
|
+
};
|
|
@@ -15,8 +15,8 @@ var _excluded = ["children", "bgColor", "radius", "style", "testId"],
|
|
|
15
15
|
_excluded2 = ["children", "pulse"],
|
|
16
16
|
_excluded3 = ["children", "pulse", "testId"];
|
|
17
17
|
/** @jsx jsx */
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
18
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
// NOTE:
|
|
21
21
|
// Pulse color "rgb(101, 84, 192)" derived from "colors.P300"
|
|
22
22
|
var baseShadow = "0 0 0 2px ".concat("var(--ds-border-discovery, ".concat(_colors.P300, ")"));
|
|
@@ -30,8 +30,7 @@ var pulseKeyframes = (0, _react.keyframes)({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
// This is needed for unit tests
|
|
33
|
-
var pulseKeyframesName = pulseKeyframes.name;
|
|
34
|
-
exports.pulseKeyframesName = pulseKeyframesName;
|
|
33
|
+
var pulseKeyframesName = exports.pulseKeyframesName = pulseKeyframes.name;
|
|
35
34
|
var animationStyles = (0, _react.css)({
|
|
36
35
|
animation: "".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite")
|
|
37
36
|
});
|
|
@@ -66,7 +65,7 @@ var Base = function Base(_ref) {
|
|
|
66
65
|
*
|
|
67
66
|
* @internal
|
|
68
67
|
*/
|
|
69
|
-
var TargetInner = function TargetInner(_ref2) {
|
|
68
|
+
var TargetInner = exports.TargetInner = function TargetInner(_ref2) {
|
|
70
69
|
var children = _ref2.children,
|
|
71
70
|
pulse = _ref2.pulse,
|
|
72
71
|
props = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
|
|
@@ -77,7 +76,6 @@ var TargetInner = function TargetInner(_ref2) {
|
|
|
77
76
|
}), children)
|
|
78
77
|
);
|
|
79
78
|
};
|
|
80
|
-
exports.TargetInner = TargetInner;
|
|
81
79
|
var targetOverlayStyles = (0, _react.css)({
|
|
82
80
|
width: '100%',
|
|
83
81
|
height: '100%',
|
|
@@ -96,7 +94,7 @@ var targetOverlayStyles = (0, _react.css)({
|
|
|
96
94
|
*
|
|
97
95
|
* @internal
|
|
98
96
|
*/
|
|
99
|
-
var TargetOverlay = function TargetOverlay(props) {
|
|
97
|
+
var TargetOverlay = exports.TargetOverlay = function TargetOverlay(props) {
|
|
100
98
|
return (0, _react.jsx)("div", (0, _extends2.default)({}, props, {
|
|
101
99
|
css: targetOverlayStyles,
|
|
102
100
|
style: {
|
|
@@ -114,8 +112,7 @@ var TargetOverlay = function TargetOverlay(props) {
|
|
|
114
112
|
* - [Code](https://atlassian.design/components/onboarding/code)
|
|
115
113
|
* - [Usage](https://atlassian.design/components/onboarding/usage)
|
|
116
114
|
*/
|
|
117
|
-
exports.
|
|
118
|
-
var Pulse = function Pulse(_ref3) {
|
|
115
|
+
var Pulse = exports.Pulse = function Pulse(_ref3) {
|
|
119
116
|
var children = _ref3.children,
|
|
120
117
|
_ref3$pulse = _ref3.pulse,
|
|
121
118
|
pulse = _ref3$pulse === void 0 ? true : _ref3$pulse,
|
|
@@ -128,5 +125,4 @@ var Pulse = function Pulse(_ref3) {
|
|
|
128
125
|
testId: testId
|
|
129
126
|
}), children)
|
|
130
127
|
);
|
|
131
|
-
};
|
|
132
|
-
exports.Pulse = Pulse;
|
|
128
|
+
};
|
|
@@ -27,7 +27,7 @@ var getElementRect = function getElementRect(element) {
|
|
|
27
27
|
* Not using ResizeObserver because of IE11 support.
|
|
28
28
|
* @param element HTMLElement to watch when resizing.
|
|
29
29
|
*/
|
|
30
|
-
var useElementBox = function useElementBox(element) {
|
|
30
|
+
var useElementBox = exports.useElementBox = function useElementBox(element) {
|
|
31
31
|
var _useState = (0, _react.useState)({
|
|
32
32
|
width: 0,
|
|
33
33
|
height: 0,
|
|
@@ -61,9 +61,7 @@ var useElementBox = function useElementBox(element) {
|
|
|
61
61
|
*
|
|
62
62
|
* @internal
|
|
63
63
|
*/
|
|
64
|
-
exports.
|
|
65
|
-
var ElementBox = function ElementBox(props) {
|
|
64
|
+
var ElementBox = exports.ElementBox = function ElementBox(props) {
|
|
66
65
|
var box = useElementBox(props.element);
|
|
67
66
|
return props.children(box);
|
|
68
|
-
};
|
|
69
|
-
exports.ElementBox = ElementBox;
|
|
67
|
+
};
|
|
@@ -7,7 +7,7 @@ import { DialogImage } from '../styled/dialog';
|
|
|
7
7
|
import SpotlightCard from './spotlight-card';
|
|
8
8
|
import ValueChanged from './value-changed';
|
|
9
9
|
const packageName = "@atlaskit/onboarding";
|
|
10
|
-
const packageVersion = "10.8.
|
|
10
|
+
const packageVersion = "10.8.9";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { Transition } from 'react-transition-group';
|
|
6
6
|
var duration = {
|
|
@@ -5,8 +5,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
5
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
import React, { Component } from 'react';
|
|
@@ -17,7 +17,7 @@ import { DialogImage } from '../styled/dialog';
|
|
|
17
17
|
import SpotlightCard from './spotlight-card';
|
|
18
18
|
import ValueChanged from './value-changed';
|
|
19
19
|
var packageName = "@atlaskit/onboarding";
|
|
20
|
-
var packageVersion = "10.8.
|
|
20
|
+
var packageVersion = "10.8.9";
|
|
21
21
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(SpotlightDialog, _Component);
|
|
23
23
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -6,8 +6,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
6
6
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
7
7
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
8
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
-
function ownKeys(
|
|
10
|
-
function _objectSpread(
|
|
9
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
12
12
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
13
13
|
import React from 'react';
|
|
@@ -5,8 +5,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
5
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
import React, { createContext, PureComponent } from 'react';
|
|
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
import _typeof from "@babel/runtime/helpers/typeof";
|
|
4
4
|
var _excluded = ["buttonStyles"],
|
|
5
5
|
_excluded2 = ["buttonStyles"];
|
|
6
|
-
function ownKeys(
|
|
7
|
-
function _objectSpread(
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
9
|
var spotlightTheme = {
|
|
10
10
|
default: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { DN90A, N100A } from '@atlaskit/theme/colors';
|
|
@@ -4,8 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["children", "bgColor", "radius", "style", "testId"],
|
|
5
5
|
_excluded2 = ["children", "pulse"],
|
|
6
6
|
_excluded3 = ["children", "pulse", "testId"];
|
|
7
|
-
function ownKeys(
|
|
8
|
-
function _objectSpread(
|
|
7
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
11
|
import { css, jsx, keyframes } from '@emotion/react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "10.8.
|
|
3
|
+
"version": "10.8.9",
|
|
4
4
|
"description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
37
|
-
"@atlaskit/button": "^16.
|
|
37
|
+
"@atlaskit/button": "^16.10.0",
|
|
38
38
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
39
|
-
"@atlaskit/heading": "^1.
|
|
40
|
-
"@atlaskit/modal-dialog": "^12.
|
|
39
|
+
"@atlaskit/heading": "^1.4.0",
|
|
40
|
+
"@atlaskit/modal-dialog": "^12.8.0",
|
|
41
41
|
"@atlaskit/popper": "^5.5.0",
|
|
42
42
|
"@atlaskit/portal": "^4.3.0",
|
|
43
|
-
"@atlaskit/theme": "^12.
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/theme": "^12.6.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.25.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"bind-event-listener": "^2.1.1",
|
|
48
48
|
"exenv": "^1.2.2",
|
|
49
49
|
"memoize-one": "^6.0.0",
|
|
50
|
-
"react-focus-lock": "^2.5
|
|
50
|
+
"react-focus-lock": "^2.9.5",
|
|
51
51
|
"react-node-resolver": "^1.0.1",
|
|
52
52
|
"react-scrolllock": "^5.0.1",
|
|
53
53
|
"react-transition-group": "^4.4.1",
|