@atlaskit/popup 4.4.2 → 4.4.4
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 +12 -8
- package/dist/cjs/popper-wrapper.js +1 -3
- package/dist/es2019/popper-wrapper.js +1 -3
- package/dist/esm/popper-wrapper.js +1 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 4.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.4.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 4.4.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -164,7 +176,6 @@
|
|
|
164
176
|
[`a832dd489aab3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a832dd489aab3) - -
|
|
165
177
|
Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
|
|
166
178
|
the rest of the Atlaskit techstack, and support React 18 Streaming SSR.
|
|
167
|
-
|
|
168
179
|
- Added a `className` prop for applying a focus ring to the custom popup container (Currently
|
|
169
180
|
controlled by the feature flag `platform-design-system-apply-popup-wrapper-focus`). See usage
|
|
170
181
|
example [here](https://atlassian.design/components/popup/examples#customization).
|
|
@@ -1342,12 +1353,10 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1342
1353
|
well.
|
|
1343
1354
|
|
|
1344
1355
|
These changes have ⚙️ codemod support:
|
|
1345
|
-
|
|
1346
1356
|
- ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now [0, 8])
|
|
1347
1357
|
- ⚙️ `boundariesElement` has been replaced with two props: `boundary` and `rootBoundary`. The
|
|
1348
1358
|
three supported values from the boundariesElement prop have been split between the two as
|
|
1349
1359
|
follows:
|
|
1350
|
-
|
|
1351
1360
|
- `boundariesElement = "scrollParents"` has been renamed: use `boundary = "clippingParents"`.
|
|
1352
1361
|
- `boundariesElement = "window"` has been renamed: use `rootBoundary = "document"`, and acts in
|
|
1353
1362
|
a similar fashion.
|
|
@@ -1355,7 +1364,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1355
1364
|
- **✨new** the `boundary` prop now supports custom elements.
|
|
1356
1365
|
|
|
1357
1366
|
- Components passed into the `content` have a change to render props:
|
|
1358
|
-
|
|
1359
1367
|
- ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
|
|
1360
1368
|
Promise.
|
|
1361
1369
|
|
|
@@ -1534,7 +1542,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1534
1542
|
|
|
1535
1543
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1536
1544
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1537
|
-
|
|
1538
1545
|
- @atlaskit/docs@8.3.2
|
|
1539
1546
|
- @atlaskit/visual-regression@0.1.9
|
|
1540
1547
|
- @atlaskit/button@13.3.7
|
|
@@ -1568,7 +1575,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1568
1575
|
### Minor Changes
|
|
1569
1576
|
|
|
1570
1577
|
- [minor][0946fdd319](https://bitbucket.org/atlassian/atlassian-frontend/commits/0946fdd319):
|
|
1571
|
-
|
|
1572
1578
|
- **BREAKING** - Changes `content` prop to expect render props instead of a component. This is
|
|
1573
1579
|
primarily to stop your components remounting when not having a stable reference.
|
|
1574
1580
|
|
|
@@ -1655,7 +1661,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1655
1661
|
### Minor Changes
|
|
1656
1662
|
|
|
1657
1663
|
- [minor][6e0bcc75ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e0bcc75ac):
|
|
1658
|
-
|
|
1659
1664
|
- Adds the ability to render class components as children of Popup.
|
|
1660
1665
|
- Removes redundatnt onOpen callback prop for Popup
|
|
1661
1666
|
|
|
@@ -1680,7 +1685,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1680
1685
|
### Patch Changes
|
|
1681
1686
|
|
|
1682
1687
|
- [patch][28e9c65acd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/28e9c65acd):
|
|
1683
|
-
|
|
1684
1688
|
- Add multiple popups example
|
|
1685
1689
|
- Add unit tests
|
|
1686
1690
|
- Add useCloseManager
|
|
@@ -143,9 +143,7 @@ function PopperWrapper(_ref) {
|
|
|
143
143
|
, {
|
|
144
144
|
className: (0, _runtime.ax)([xcss,
|
|
145
145
|
// @ts-expect-error: `ax` is not typed correctly
|
|
146
|
-
!initialFocusRef &&
|
|
147
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
148
|
-
(0, _platformFeatureFlags.fg)('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
146
|
+
!initialFocusRef && (0, _platformFeatureFlags.fg)('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
149
147
|
appearance: appearance,
|
|
150
148
|
id: id,
|
|
151
149
|
"data-ds--level": currentLevel,
|
|
@@ -123,9 +123,7 @@ function PopperWrapper({
|
|
|
123
123
|
, {
|
|
124
124
|
className: ax([xcss,
|
|
125
125
|
// @ts-expect-error: `ax` is not typed correctly
|
|
126
|
-
!initialFocusRef &&
|
|
127
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
128
|
-
fg('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
126
|
+
!initialFocusRef && fg('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
129
127
|
appearance: appearance,
|
|
130
128
|
id: id,
|
|
131
129
|
"data-ds--level": currentLevel,
|
|
@@ -134,9 +134,7 @@ function PopperWrapper(_ref) {
|
|
|
134
134
|
, {
|
|
135
135
|
className: ax([xcss,
|
|
136
136
|
// @ts-expect-error: `ax` is not typed correctly
|
|
137
|
-
!initialFocusRef &&
|
|
138
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
139
|
-
fg('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
137
|
+
!initialFocusRef && fg('platform-design-system-apply-popup-wrapper-focus') && focusRingStyles.root]),
|
|
140
138
|
appearance: appearance,
|
|
141
139
|
id: id,
|
|
142
140
|
"data-ds--level": currentLevel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/css": "^0.
|
|
35
|
+
"@atlaskit/css": "^0.15.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
37
|
-
"@atlaskit/layering": "^3.
|
|
37
|
+
"@atlaskit/layering": "^3.1.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/popper": "^7.1.0",
|
|
40
40
|
"@atlaskit/portal": "^5.1.0",
|
|
41
|
-
"@atlaskit/primitives": "^
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
42
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
|
-
"@compiled/react": "^0.18.
|
|
44
|
+
"@compiled/react": "^0.18.6",
|
|
45
45
|
"bind-event-listener": "^3.0.0",
|
|
46
46
|
"focus-trap": "^2.4.5",
|
|
47
47
|
"memoize-one": "^6.0.0",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"@af/accessibility-testing": "workspace:^",
|
|
56
56
|
"@af/integration-testing": "workspace:^",
|
|
57
57
|
"@af/visual-regression": "workspace:^",
|
|
58
|
-
"@atlaskit/button": "^23.
|
|
58
|
+
"@atlaskit/button": "^23.5.0",
|
|
59
59
|
"@atlaskit/code": "^17.2.0",
|
|
60
|
-
"@atlaskit/docs": "^11.
|
|
60
|
+
"@atlaskit/docs": "^11.2.0",
|
|
61
61
|
"@atlaskit/form": "^14.2.0",
|
|
62
62
|
"@atlaskit/heading": "^5.2.0",
|
|
63
|
-
"@atlaskit/icon": "^28.
|
|
63
|
+
"@atlaskit/icon": "^28.5.0",
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
|
-
"@atlaskit/modal-dialog": "^14.
|
|
65
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
66
66
|
"@atlaskit/section-message": "^8.7.0",
|
|
67
67
|
"@atlaskit/ssr": "workspace:^",
|
|
68
68
|
"@atlaskit/textfield": "^8.0.0",
|