@atlaskit/onboarding 10.8.7 → 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 +67 -55
- 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 +3 -5
- 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/es2019/components/spotlight-transition.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/spotlight-transition.js +1 -1
- 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,54 +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
|
+
|
|
9
|
+
## 10.8.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
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`.
|
|
14
|
+
|
|
3
15
|
## 10.8.7
|
|
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
|
## 10.8.6
|
|
11
23
|
|
|
12
24
|
### Patch Changes
|
|
13
25
|
|
|
14
|
-
- [`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.
|
|
15
27
|
|
|
16
28
|
## 10.8.5
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
20
|
-
- [`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.
|
|
21
33
|
|
|
22
34
|
## 10.8.4
|
|
23
35
|
|
|
24
36
|
### Patch Changes
|
|
25
37
|
|
|
26
|
-
- [`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.
|
|
27
39
|
- Updated dependencies
|
|
28
40
|
|
|
29
41
|
## 10.8.3
|
|
30
42
|
|
|
31
43
|
### Patch Changes
|
|
32
44
|
|
|
33
|
-
- [`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.
|
|
34
46
|
|
|
35
47
|
## 10.8.2
|
|
36
48
|
|
|
37
49
|
### Patch Changes
|
|
38
50
|
|
|
39
|
-
- [`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
|
|
40
52
|
|
|
41
53
|
## 10.8.1
|
|
42
54
|
|
|
43
55
|
### Patch Changes
|
|
44
56
|
|
|
45
|
-
- [`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`
|
|
46
58
|
|
|
47
59
|
## 10.8.0
|
|
48
60
|
|
|
49
61
|
### Minor Changes
|
|
50
62
|
|
|
51
|
-
- [`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
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
@@ -58,19 +70,19 @@
|
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
61
|
-
- [`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.
|
|
62
74
|
|
|
63
75
|
## 10.7.1
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`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.
|
|
68
80
|
|
|
69
81
|
## 10.7.0
|
|
70
82
|
|
|
71
83
|
### Minor Changes
|
|
72
84
|
|
|
73
|
-
- [`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.
|
|
74
86
|
|
|
75
87
|
### Patch Changes
|
|
76
88
|
|
|
@@ -80,14 +92,14 @@
|
|
|
80
92
|
|
|
81
93
|
### Patch Changes
|
|
82
94
|
|
|
83
|
-
- [`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.
|
|
84
96
|
- Updated dependencies
|
|
85
97
|
|
|
86
98
|
## 10.6.11
|
|
87
99
|
|
|
88
100
|
### Patch Changes
|
|
89
101
|
|
|
90
|
-
- [`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.
|
|
91
103
|
|
|
92
104
|
## 10.6.10
|
|
93
105
|
|
|
@@ -105,19 +117,19 @@
|
|
|
105
117
|
|
|
106
118
|
### Patch Changes
|
|
107
119
|
|
|
108
|
-
- [`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.
|
|
109
121
|
|
|
110
122
|
## 10.6.7
|
|
111
123
|
|
|
112
124
|
### Patch Changes
|
|
113
125
|
|
|
114
|
-
- [`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.
|
|
115
127
|
|
|
116
128
|
## 10.6.6
|
|
117
129
|
|
|
118
130
|
### Patch Changes
|
|
119
131
|
|
|
120
|
-
- [`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
|
|
121
133
|
|
|
122
134
|
## 10.6.5
|
|
123
135
|
|
|
@@ -147,13 +159,13 @@
|
|
|
147
159
|
|
|
148
160
|
### Patch Changes
|
|
149
161
|
|
|
150
|
-
- [`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.
|
|
151
163
|
|
|
152
164
|
## 10.6.0
|
|
153
165
|
|
|
154
166
|
### Minor Changes
|
|
155
167
|
|
|
156
|
-
- [`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.
|
|
157
169
|
|
|
158
170
|
### Patch Changes
|
|
159
171
|
|
|
@@ -164,32 +176,32 @@
|
|
|
164
176
|
|
|
165
177
|
### Patch Changes
|
|
166
178
|
|
|
167
|
-
- [`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`
|
|
168
180
|
|
|
169
181
|
## 10.5.3
|
|
170
182
|
|
|
171
183
|
### Patch Changes
|
|
172
184
|
|
|
173
|
-
- [`7ca0e5a0c31`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ca0e5a0c31) - Update "subtle" action in Onboarding component to use correct tokens
|
|
174
|
-
- [`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
|
|
175
187
|
|
|
176
188
|
## 10.5.2
|
|
177
189
|
|
|
178
190
|
### Patch Changes
|
|
179
191
|
|
|
180
|
-
- [`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`.
|
|
181
193
|
|
|
182
194
|
## 10.5.1
|
|
183
195
|
|
|
184
196
|
### Patch Changes
|
|
185
197
|
|
|
186
|
-
- [`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.
|
|
187
199
|
|
|
188
200
|
## 10.5.0
|
|
189
201
|
|
|
190
202
|
### Minor Changes
|
|
191
203
|
|
|
192
|
-
- [`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.
|
|
193
205
|
|
|
194
206
|
### Patch Changes
|
|
195
207
|
|
|
@@ -200,19 +212,19 @@
|
|
|
200
212
|
|
|
201
213
|
### Patch Changes
|
|
202
214
|
|
|
203
|
-
- [`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
|
|
204
216
|
|
|
205
217
|
## 10.4.1
|
|
206
218
|
|
|
207
219
|
### Patch Changes
|
|
208
220
|
|
|
209
|
-
- [`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
|
|
210
222
|
|
|
211
223
|
## 10.4.0
|
|
212
224
|
|
|
213
225
|
### Minor Changes
|
|
214
226
|
|
|
215
|
-
- [`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.
|
|
216
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
@@ -222,7 +234,7 @@
|
|
|
222
234
|
|
|
223
235
|
### Patch Changes
|
|
224
236
|
|
|
225
|
-
- [`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
|
|
226
238
|
|
|
227
239
|
## 10.3.10
|
|
228
240
|
|
|
@@ -234,7 +246,7 @@
|
|
|
234
246
|
|
|
235
247
|
### Patch Changes
|
|
236
248
|
|
|
237
|
-
- [`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
|
|
238
250
|
- Updated dependencies
|
|
239
251
|
|
|
240
252
|
## 10.3.8
|
|
@@ -247,7 +259,7 @@
|
|
|
247
259
|
|
|
248
260
|
### Patch Changes
|
|
249
261
|
|
|
250
|
-
- [`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
|
|
251
263
|
- [`dcd92130cc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd92130cc4) - Migrate deleted background accent tokens to replacements
|
|
252
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.
|
|
253
265
|
- Updated dependencies
|
|
@@ -256,14 +268,14 @@
|
|
|
256
268
|
|
|
257
269
|
### Patch Changes
|
|
258
270
|
|
|
259
|
-
- [`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.
|
|
260
272
|
- Updated dependencies
|
|
261
273
|
|
|
262
274
|
## 10.3.5
|
|
263
275
|
|
|
264
276
|
### Patch Changes
|
|
265
277
|
|
|
266
|
-
- [`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.
|
|
267
279
|
|
|
268
280
|
## 10.3.4
|
|
269
281
|
|
|
@@ -283,13 +295,13 @@
|
|
|
283
295
|
|
|
284
296
|
### Patch Changes
|
|
285
297
|
|
|
286
|
-
- [`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.
|
|
287
299
|
|
|
288
300
|
## 10.3.1
|
|
289
301
|
|
|
290
302
|
### Patch Changes
|
|
291
303
|
|
|
292
|
-
- [`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`.
|
|
293
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.
|
|
294
306
|
- Updated dependencies
|
|
295
307
|
|
|
@@ -297,7 +309,7 @@
|
|
|
297
309
|
|
|
298
310
|
### Minor Changes
|
|
299
311
|
|
|
300
|
-
- [`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`.
|
|
301
313
|
|
|
302
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.
|
|
303
315
|
|
|
@@ -309,19 +321,19 @@
|
|
|
309
321
|
|
|
310
322
|
### Patch Changes
|
|
311
323
|
|
|
312
|
-
- [`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
|
|
313
325
|
|
|
314
326
|
## 10.2.5
|
|
315
327
|
|
|
316
328
|
### Patch Changes
|
|
317
329
|
|
|
318
|
-
- [`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.
|
|
319
331
|
|
|
320
332
|
## 10.2.4
|
|
321
333
|
|
|
322
334
|
### Patch Changes
|
|
323
335
|
|
|
324
|
-
- [`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`.
|
|
325
337
|
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Internal changes to remove `@atlaskit/theme/math` usage.
|
|
326
338
|
- Updated dependencies
|
|
327
339
|
|
|
@@ -329,7 +341,7 @@
|
|
|
329
341
|
|
|
330
342
|
### Patch Changes
|
|
331
343
|
|
|
332
|
-
- [`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.
|
|
333
345
|
- Updated dependencies
|
|
334
346
|
|
|
335
347
|
## 10.2.2
|
|
@@ -342,13 +354,13 @@
|
|
|
342
354
|
|
|
343
355
|
### Patch Changes
|
|
344
356
|
|
|
345
|
-
- [`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`.
|
|
346
358
|
|
|
347
359
|
## 10.2.0
|
|
348
360
|
|
|
349
361
|
### Minor Changes
|
|
350
362
|
|
|
351
|
-
- [`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.
|
|
352
364
|
|
|
353
365
|
### Patch Changes
|
|
354
366
|
|
|
@@ -358,13 +370,13 @@
|
|
|
358
370
|
|
|
359
371
|
### Patch Changes
|
|
360
372
|
|
|
361
|
-
- [`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
|
|
362
374
|
|
|
363
375
|
## 10.1.8
|
|
364
376
|
|
|
365
377
|
### Patch Changes
|
|
366
378
|
|
|
367
|
-
- [`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.
|
|
368
380
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
369
381
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
370
382
|
|
|
@@ -378,7 +390,7 @@
|
|
|
378
390
|
|
|
379
391
|
### Patch Changes
|
|
380
392
|
|
|
381
|
-
- [`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
|
|
382
394
|
|
|
383
395
|
## 10.1.5
|
|
384
396
|
|
|
@@ -390,13 +402,13 @@
|
|
|
390
402
|
|
|
391
403
|
### Patch Changes
|
|
392
404
|
|
|
393
|
-
- [`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
|
|
394
406
|
|
|
395
407
|
## 10.1.3
|
|
396
408
|
|
|
397
409
|
### Patch Changes
|
|
398
410
|
|
|
399
|
-
- [`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
|
|
400
412
|
|
|
401
413
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
402
414
|
to prevent duplicates of tslib being bundled.
|
|
@@ -405,7 +417,7 @@
|
|
|
405
417
|
|
|
406
418
|
### Patch Changes
|
|
407
419
|
|
|
408
|
-
- [`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
|
|
409
421
|
|
|
410
422
|
## 10.1.1
|
|
411
423
|
|
|
@@ -417,7 +429,7 @@
|
|
|
417
429
|
|
|
418
430
|
### Minor Changes
|
|
419
431
|
|
|
420
|
-
- [`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.
|
|
421
433
|
|
|
422
434
|
### Patch Changes
|
|
423
435
|
|
|
@@ -427,7 +439,7 @@
|
|
|
427
439
|
|
|
428
440
|
### Major Changes
|
|
429
441
|
|
|
430
|
-
- [`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.
|
|
431
443
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
432
444
|
|
|
433
445
|
### Patch Changes
|
|
@@ -438,19 +450,19 @@
|
|
|
438
450
|
|
|
439
451
|
### Minor Changes
|
|
440
452
|
|
|
441
|
-
- [`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.
|
|
442
454
|
|
|
443
455
|
## 9.1.10
|
|
444
456
|
|
|
445
457
|
### Patch Changes
|
|
446
458
|
|
|
447
|
-
- [`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
|
|
448
460
|
|
|
449
461
|
## 9.1.9
|
|
450
462
|
|
|
451
463
|
### Patch Changes
|
|
452
464
|
|
|
453
|
-
- [`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
|
|
454
466
|
|
|
455
467
|
## 9.1.8
|
|
456
468
|
|
|
@@ -462,7 +474,7 @@
|
|
|
462
474
|
|
|
463
475
|
### Patch Changes
|
|
464
476
|
|
|
465
|
-
- [`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
|
|
466
478
|
|
|
467
479
|
## 9.1.6
|
|
468
480
|
|
|
@@ -1079,14 +1091,14 @@
|
|
|
1079
1091
|
|
|
1080
1092
|
## 6.1.2
|
|
1081
1093
|
|
|
1082
|
-
- [patch][2482922
|
|
1094
|
+
- [patch][2482922](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2482922"
|
|
1083
1095
|
d):
|
|
1084
1096
|
|
|
1085
1097
|
- Remove unecessary alt text for modal image to avoid redundancy for screenreaders
|
|
1086
1098
|
|
|
1087
1099
|
## 6.1.1
|
|
1088
1100
|
|
|
1089
|
-
- [patch][0c7a57d
|
|
1101
|
+
- [patch][0c7a57d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0c7a57d"
|
|
1090
1102
|
d):
|
|
1091
1103
|
|
|
1092
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
|
});
|
|
@@ -26,7 +26,7 @@ var SpotlightTransitionContext = /*#__PURE__*/(0, _react.createContext)({
|
|
|
26
26
|
|
|
27
27
|
// checks if children exist and are truthy
|
|
28
28
|
var hasChildren = function hasChildren(children) {
|
|
29
|
-
return _react.default.Children.count(children) > 0 && _react.default.Children.map(children, function (child) {
|
|
29
|
+
return _react.default.Children.count(children) > 0 && _react.default.Children.map(children || false, function (child) {
|
|
30
30
|
return !!child;
|
|
31
31
|
}).filter(Boolean).length > 0;
|
|
32
32
|
};
|
|
@@ -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);
|
|
@@ -7,7 +7,7 @@ const SpotlightTransitionContext = /*#__PURE__*/createContext({
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
// checks if children exist and are truthy
|
|
10
|
-
const hasChildren = children => React.Children.count(children) > 0 && React.Children.map(children, child => !!child).filter(Boolean).length > 0;
|
|
10
|
+
const hasChildren = children => React.Children.count(children) > 0 && React.Children.map(children || false, child => !!child).filter(Boolean).length > 0;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* __Spotlight transition__
|
|
@@ -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';
|
|
@@ -16,7 +16,7 @@ var SpotlightTransitionContext = /*#__PURE__*/createContext({
|
|
|
16
16
|
|
|
17
17
|
// checks if children exist and are truthy
|
|
18
18
|
var hasChildren = function hasChildren(children) {
|
|
19
|
-
return React.Children.count(children) > 0 && React.Children.map(children, function (child) {
|
|
19
|
+
return React.Children.count(children) > 0 && React.Children.map(children || false, function (child) {
|
|
20
20
|
return !!child;
|
|
21
21
|
}).filter(Boolean).length > 0;
|
|
22
22
|
};
|
|
@@ -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",
|