@atlaskit/onboarding 10.8.8 → 10.8.10
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 +68 -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 +2 -3
- 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/es2019/components/spotlight-target.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-target.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,60 +1,72 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 10.8.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41644) [`35821e3b157`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35821e3b157) - Wrap ReactElement in React.Fragment to fix typechecking under local consumption
|
|
8
|
+
|
|
9
|
+
## 10.8.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 10.8.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update type definitions to conform to inherited changes from `@types/react@16.14.15`.
|
|
19
|
+
- [#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
20
|
|
|
9
21
|
## 10.8.7
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
25
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
26
|
- Updated dependencies
|
|
15
27
|
|
|
16
28
|
## 10.8.6
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
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.
|
|
32
|
+
- [#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
33
|
|
|
22
34
|
## 10.8.5
|
|
23
35
|
|
|
24
36
|
### Patch Changes
|
|
25
37
|
|
|
26
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
38
|
+
- [#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
39
|
|
|
28
40
|
## 10.8.4
|
|
29
41
|
|
|
30
42
|
### Patch Changes
|
|
31
43
|
|
|
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.
|
|
44
|
+
- [#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
45
|
- Updated dependencies
|
|
34
46
|
|
|
35
47
|
## 10.8.3
|
|
36
48
|
|
|
37
49
|
### Patch Changes
|
|
38
50
|
|
|
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.
|
|
51
|
+
- [#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
52
|
|
|
41
53
|
## 10.8.2
|
|
42
54
|
|
|
43
55
|
### Patch Changes
|
|
44
56
|
|
|
45
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
57
|
+
- [#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
58
|
|
|
47
59
|
## 10.8.1
|
|
48
60
|
|
|
49
61
|
### Patch Changes
|
|
50
62
|
|
|
51
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
63
|
+
- [#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
64
|
|
|
53
65
|
## 10.8.0
|
|
54
66
|
|
|
55
67
|
### Minor Changes
|
|
56
68
|
|
|
57
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
69
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
@@ -64,19 +76,19 @@
|
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
79
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
68
80
|
|
|
69
81
|
## 10.7.1
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
73
|
-
- [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
|
|
85
|
+
- [#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
86
|
|
|
75
87
|
## 10.7.0
|
|
76
88
|
|
|
77
89
|
### Minor Changes
|
|
78
90
|
|
|
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.
|
|
91
|
+
- [#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
92
|
|
|
81
93
|
### Patch Changes
|
|
82
94
|
|
|
@@ -86,14 +98,14 @@
|
|
|
86
98
|
|
|
87
99
|
### Patch Changes
|
|
88
100
|
|
|
89
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
101
|
+
- [#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
102
|
- Updated dependencies
|
|
91
103
|
|
|
92
104
|
## 10.6.11
|
|
93
105
|
|
|
94
106
|
### Patch Changes
|
|
95
107
|
|
|
96
|
-
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
108
|
+
- [#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
109
|
|
|
98
110
|
## 10.6.10
|
|
99
111
|
|
|
@@ -111,19 +123,19 @@
|
|
|
111
123
|
|
|
112
124
|
### Patch Changes
|
|
113
125
|
|
|
114
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
126
|
+
- [#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
127
|
|
|
116
128
|
## 10.6.7
|
|
117
129
|
|
|
118
130
|
### Patch Changes
|
|
119
131
|
|
|
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.
|
|
132
|
+
- [#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
133
|
|
|
122
134
|
## 10.6.6
|
|
123
135
|
|
|
124
136
|
### Patch Changes
|
|
125
137
|
|
|
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
|
|
138
|
+
- [#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
139
|
|
|
128
140
|
## 10.6.5
|
|
129
141
|
|
|
@@ -153,13 +165,13 @@
|
|
|
153
165
|
|
|
154
166
|
### Patch Changes
|
|
155
167
|
|
|
156
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
168
|
+
- [#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
169
|
|
|
158
170
|
## 10.6.0
|
|
159
171
|
|
|
160
172
|
### Minor Changes
|
|
161
173
|
|
|
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.
|
|
174
|
+
- [#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
175
|
|
|
164
176
|
### Patch Changes
|
|
165
177
|
|
|
@@ -170,32 +182,32 @@
|
|
|
170
182
|
|
|
171
183
|
### Patch Changes
|
|
172
184
|
|
|
173
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
185
|
+
- [#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
186
|
|
|
175
187
|
## 10.5.3
|
|
176
188
|
|
|
177
189
|
### Patch Changes
|
|
178
190
|
|
|
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
|
|
191
|
+
- [#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
|
|
192
|
+
- [#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
193
|
|
|
182
194
|
## 10.5.2
|
|
183
195
|
|
|
184
196
|
### Patch Changes
|
|
185
197
|
|
|
186
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
198
|
+
- [#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
199
|
|
|
188
200
|
## 10.5.1
|
|
189
201
|
|
|
190
202
|
### Patch Changes
|
|
191
203
|
|
|
192
|
-
- [`994508770f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/994508770f7) - Bumps the `@atlaskit/heading` dependency forward to a higher minimum version.
|
|
204
|
+
- [#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
205
|
|
|
194
206
|
## 10.5.0
|
|
195
207
|
|
|
196
208
|
### Minor Changes
|
|
197
209
|
|
|
198
|
-
- [`0c0a8c64d54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8c64d54) - Removes internal usage of the deprecated theme prop.
|
|
210
|
+
- [#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
211
|
|
|
200
212
|
### Patch Changes
|
|
201
213
|
|
|
@@ -206,19 +218,19 @@
|
|
|
206
218
|
|
|
207
219
|
### Patch Changes
|
|
208
220
|
|
|
209
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
221
|
+
- [#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
222
|
|
|
211
223
|
## 10.4.1
|
|
212
224
|
|
|
213
225
|
### Patch Changes
|
|
214
226
|
|
|
215
|
-
- [`e4b612d1c48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4b612d1c48) - Internal migration to bind-event-listener for safer DOM Event cleanup
|
|
227
|
+
- [#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
228
|
|
|
217
229
|
## 10.4.0
|
|
218
230
|
|
|
219
231
|
### Minor Changes
|
|
220
232
|
|
|
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.
|
|
233
|
+
- [#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
234
|
|
|
223
235
|
### Patch Changes
|
|
224
236
|
|
|
@@ -228,7 +240,7 @@
|
|
|
228
240
|
|
|
229
241
|
### Patch Changes
|
|
230
242
|
|
|
231
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
243
|
+
- [#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
244
|
|
|
233
245
|
## 10.3.10
|
|
234
246
|
|
|
@@ -240,7 +252,7 @@
|
|
|
240
252
|
|
|
241
253
|
### Patch Changes
|
|
242
254
|
|
|
243
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
255
|
+
- [#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
256
|
- Updated dependencies
|
|
245
257
|
|
|
246
258
|
## 10.3.8
|
|
@@ -253,7 +265,7 @@
|
|
|
253
265
|
|
|
254
266
|
### Patch Changes
|
|
255
267
|
|
|
256
|
-
- [`ac9343c3ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac9343c3ed4) - Replaces usage of deprecated design tokens. No visual or functional changes
|
|
268
|
+
- [#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
269
|
- [`dcd92130cc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd92130cc4) - Migrate deleted background accent tokens to replacements
|
|
258
270
|
- [`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
271
|
- Updated dependencies
|
|
@@ -262,14 +274,14 @@
|
|
|
262
274
|
|
|
263
275
|
### Patch Changes
|
|
264
276
|
|
|
265
|
-
- [`bd38851d12f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bd38851d12f) - [ux] Fixed the missing Spotlight button border by updating the token usages.
|
|
277
|
+
- [#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
278
|
- Updated dependencies
|
|
267
279
|
|
|
268
280
|
## 10.3.5
|
|
269
281
|
|
|
270
282
|
### Patch Changes
|
|
271
283
|
|
|
272
|
-
- [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
|
|
284
|
+
- [#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
285
|
|
|
274
286
|
## 10.3.4
|
|
275
287
|
|
|
@@ -289,13 +301,13 @@
|
|
|
289
301
|
|
|
290
302
|
### Patch Changes
|
|
291
303
|
|
|
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.
|
|
304
|
+
- [#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
305
|
|
|
294
306
|
## 10.3.1
|
|
295
307
|
|
|
296
308
|
### Patch Changes
|
|
297
309
|
|
|
298
|
-
- [`3fced6aa641`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fced6aa641) - Bumped `react-focus-lock` to version `^2.2.1`.
|
|
310
|
+
- [#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
311
|
- [`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
312
|
- Updated dependencies
|
|
301
313
|
|
|
@@ -303,7 +315,7 @@
|
|
|
303
315
|
|
|
304
316
|
### Minor Changes
|
|
305
317
|
|
|
306
|
-
- [`50081f13de7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50081f13de7) - Instrumented `@atlaskit/onboarding` with the new theming package, `@atlaskit/tokens`.
|
|
318
|
+
- [#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
319
|
|
|
308
320
|
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
321
|
|
|
@@ -315,19 +327,19 @@
|
|
|
315
327
|
|
|
316
328
|
### Patch Changes
|
|
317
329
|
|
|
318
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
330
|
+
- [#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
331
|
|
|
320
332
|
## 10.2.5
|
|
321
333
|
|
|
322
334
|
### Patch Changes
|
|
323
335
|
|
|
324
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
336
|
+
- [#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
337
|
|
|
326
338
|
## 10.2.4
|
|
327
339
|
|
|
328
340
|
### Patch Changes
|
|
329
341
|
|
|
330
|
-
- [`d77725f926f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d77725f926f) - Replaced usage of `styled-components` with `@emotion/core`.
|
|
342
|
+
- [#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
343
|
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Internal changes to remove `@atlaskit/theme/math` usage.
|
|
332
344
|
- Updated dependencies
|
|
333
345
|
|
|
@@ -335,7 +347,7 @@
|
|
|
335
347
|
|
|
336
348
|
### Patch Changes
|
|
337
349
|
|
|
338
|
-
- [`115c009e2ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/115c009e2ef) - Refactor to use new modal dialog API.
|
|
350
|
+
- [#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
351
|
- Updated dependencies
|
|
340
352
|
|
|
341
353
|
## 10.2.2
|
|
@@ -348,13 +360,13 @@
|
|
|
348
360
|
|
|
349
361
|
### Patch Changes
|
|
350
362
|
|
|
351
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
363
|
+
- [#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
364
|
|
|
353
365
|
## 10.2.0
|
|
354
366
|
|
|
355
367
|
### Minor Changes
|
|
356
368
|
|
|
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.
|
|
369
|
+
- [#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
370
|
|
|
359
371
|
### Patch Changes
|
|
360
372
|
|
|
@@ -364,13 +376,13 @@
|
|
|
364
376
|
|
|
365
377
|
### Patch Changes
|
|
366
378
|
|
|
367
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
379
|
+
- [#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
380
|
|
|
369
381
|
## 10.1.8
|
|
370
382
|
|
|
371
383
|
### Patch Changes
|
|
372
384
|
|
|
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.
|
|
385
|
+
- [#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
386
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
375
387
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
376
388
|
|
|
@@ -384,7 +396,7 @@
|
|
|
384
396
|
|
|
385
397
|
### Patch Changes
|
|
386
398
|
|
|
387
|
-
- [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
|
|
399
|
+
- [#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
400
|
|
|
389
401
|
## 10.1.5
|
|
390
402
|
|
|
@@ -396,13 +408,13 @@
|
|
|
396
408
|
|
|
397
409
|
### Patch Changes
|
|
398
410
|
|
|
399
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
411
|
+
- [#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
412
|
|
|
401
413
|
## 10.1.3
|
|
402
414
|
|
|
403
415
|
### Patch Changes
|
|
404
416
|
|
|
405
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
417
|
+
- [#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
418
|
|
|
407
419
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
408
420
|
to prevent duplicates of tslib being bundled.
|
|
@@ -411,7 +423,7 @@
|
|
|
411
423
|
|
|
412
424
|
### Patch Changes
|
|
413
425
|
|
|
414
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
426
|
+
- [#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
427
|
|
|
416
428
|
## 10.1.1
|
|
417
429
|
|
|
@@ -423,7 +435,7 @@
|
|
|
423
435
|
|
|
424
436
|
### Minor Changes
|
|
425
437
|
|
|
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.
|
|
438
|
+
- [#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
439
|
|
|
428
440
|
### Patch Changes
|
|
429
441
|
|
|
@@ -433,7 +445,7 @@
|
|
|
433
445
|
|
|
434
446
|
### Major Changes
|
|
435
447
|
|
|
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.
|
|
448
|
+
- [#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
449
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
438
450
|
|
|
439
451
|
### Patch Changes
|
|
@@ -444,19 +456,19 @@
|
|
|
444
456
|
|
|
445
457
|
### Minor Changes
|
|
446
458
|
|
|
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.
|
|
459
|
+
- [#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
460
|
|
|
449
461
|
## 9.1.10
|
|
450
462
|
|
|
451
463
|
### Patch Changes
|
|
452
464
|
|
|
453
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
465
|
+
- [#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
466
|
|
|
455
467
|
## 9.1.9
|
|
456
468
|
|
|
457
469
|
### Patch Changes
|
|
458
470
|
|
|
459
|
-
- [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
471
|
+
- [#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
472
|
|
|
461
473
|
## 9.1.8
|
|
462
474
|
|
|
@@ -468,7 +480,7 @@
|
|
|
468
480
|
|
|
469
481
|
### Patch Changes
|
|
470
482
|
|
|
471
|
-
- [`6faa22760b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faa22760b) - Add modalButtonTheme, spotlightButtonTheme,- Updated dependencies
|
|
483
|
+
- [#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
484
|
|
|
473
485
|
## 9.1.6
|
|
474
486
|
|
|
@@ -1085,14 +1097,14 @@
|
|
|
1085
1097
|
|
|
1086
1098
|
## 6.1.2
|
|
1087
1099
|
|
|
1088
|
-
- [patch][2482922
|
|
1100
|
+
- [patch][2482922](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2482922"
|
|
1089
1101
|
d):
|
|
1090
1102
|
|
|
1091
1103
|
- Remove unecessary alt text for modal image to avoid redundancy for screenreaders
|
|
1092
1104
|
|
|
1093
1105
|
## 6.1.1
|
|
1094
1106
|
|
|
1095
|
-
- [patch][0c7a57d
|
|
1107
|
+
- [patch][0c7a57d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0c7a57d"
|
|
1096
1108
|
d):
|
|
1097
1109
|
|
|
1098
1110
|
- 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.10";
|
|
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
|
});
|
|
@@ -23,8 +23,7 @@ var SpotlightTarget = function SpotlightTarget(_ref) {
|
|
|
23
23
|
return /*#__PURE__*/_react.default.createElement(_spotlightManager.TargetConsumer, null, function (targetRef) {
|
|
24
24
|
return targetRef ? /*#__PURE__*/_react.default.createElement(_reactNodeResolver.default, {
|
|
25
25
|
innerRef: targetRef(name)
|
|
26
|
-
}, children) : children;
|
|
26
|
+
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children)) : children;
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
-
var _default = SpotlightTarget;
|
|
30
|
-
exports.default = _default;
|
|
29
|
+
var _default = exports.default = SpotlightTarget;
|
|
@@ -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.10";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -15,5 +15,5 @@ const SpotlightTarget = ({
|
|
|
15
15
|
name
|
|
16
16
|
}) => /*#__PURE__*/React.createElement(TargetConsumer, null, targetRef => targetRef ? /*#__PURE__*/React.createElement(NodeResolver, {
|
|
17
17
|
innerRef: targetRef(name)
|
|
18
|
-
}, children) : children);
|
|
18
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, children)) : children);
|
|
19
19
|
export default SpotlightTarget;
|
|
@@ -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.10";
|
|
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 SpotlightTarget = function SpotlightTarget(_ref) {
|
|
|
16
16
|
return /*#__PURE__*/React.createElement(TargetConsumer, null, function (targetRef) {
|
|
17
17
|
return targetRef ? /*#__PURE__*/React.createElement(NodeResolver, {
|
|
18
18
|
innerRef: targetRef(name)
|
|
19
|
-
}, children) : children;
|
|
19
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, children)) : children;
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
export default SpotlightTarget;
|
|
@@ -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.10",
|
|
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.26.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",
|