@atlaskit/popup 1.18.0 → 1.19.1
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 +19 -0
- package/__perf__/default.tsx +4 -0
- package/dist/cjs/popper-wrapper.js +4 -1
- package/dist/cjs/popup.js +5 -0
- package/dist/es2019/popper-wrapper.js +4 -1
- package/dist/es2019/popup.js +5 -0
- package/dist/esm/popper-wrapper.js +4 -1
- package/dist/esm/popup.js +5 -0
- package/dist/types/popup.d.ts +3 -0
- package/dist/types-ts4.5/popup.d.ts +3 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 1.19.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.19.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#110836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110836)
|
|
14
|
+
[`a8bd419fd70b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8bd419fd70b9) -
|
|
15
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
16
|
+
is implicitly set to automatic.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 1.18.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/__perf__/default.tsx
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import { useState } from 'react';
|
|
3
6
|
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
8
|
import { css, jsx } from '@emotion/react';
|
|
5
9
|
|
|
6
10
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
@@ -22,8 +22,11 @@ var _useCloseManager = require("./use-close-manager");
|
|
|
22
22
|
var _useFocusManager = require("./use-focus-manager");
|
|
23
23
|
var _excluded = ["shouldRenderToParent", "shouldFitContainer", "children"];
|
|
24
24
|
var _css;
|
|
25
|
+
/**
|
|
26
|
+
* @jsxRuntime classic
|
|
27
|
+
*/
|
|
25
28
|
/** @jsx jsx */
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Ignored via go/DSP-18766
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
30
|
var popupFullWidthStyles = (0, _react2.css)({
|
|
28
31
|
width: '100%'
|
|
29
32
|
});
|
package/dist/cjs/popup.js
CHANGED
|
@@ -17,8 +17,13 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
17
17
|
var _popperWrapper = _interopRequireDefault(require("./popper-wrapper"));
|
|
18
18
|
var _useGetMemoizedMergedTriggerRef = require("./use-get-memoized-merged-trigger-ref");
|
|
19
19
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
20
|
+
/**
|
|
21
|
+
* @jsxRuntime classic
|
|
22
|
+
*/
|
|
20
23
|
/** @jsx jsx */
|
|
21
24
|
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
|
+
|
|
22
27
|
var defaultLayer = _constants.layers.layer();
|
|
23
28
|
var wrapperStyles = (0, _primitives.xcss)({
|
|
24
29
|
position: 'relative'
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
*/
|
|
2
5
|
/** @jsx jsx */
|
|
3
6
|
import { forwardRef, useMemo, useState } from 'react';
|
|
4
7
|
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
9
|
import { css, Global, jsx } from '@emotion/react';
|
|
7
10
|
import { UNSAFE_useLayering } from '@atlaskit/layering';
|
|
8
11
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
package/dist/es2019/popup.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
*/
|
|
2
5
|
/** @jsx jsx */
|
|
3
6
|
import { memo, useState } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
9
|
import { jsx } from '@emotion/react';
|
|
5
10
|
import { useUID } from 'react-uid';
|
|
6
11
|
import { UNSAFE_LAYERING } from '@atlaskit/layering';
|
|
@@ -4,10 +4,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
5
|
var _excluded = ["shouldRenderToParent", "shouldFitContainer", "children"];
|
|
6
6
|
var _css;
|
|
7
|
+
/**
|
|
8
|
+
* @jsxRuntime classic
|
|
9
|
+
*/
|
|
7
10
|
/** @jsx jsx */
|
|
8
11
|
import { forwardRef, useMemo, useState } from 'react';
|
|
9
12
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Ignored via go/DSP-18766
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
14
|
import { css, Global, jsx } from '@emotion/react';
|
|
12
15
|
import { UNSAFE_useLayering } from '@atlaskit/layering';
|
|
13
16
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
package/dist/esm/popup.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
+
/**
|
|
4
|
+
* @jsxRuntime classic
|
|
5
|
+
*/
|
|
3
6
|
/** @jsx jsx */
|
|
4
7
|
import { memo, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
10
|
import { jsx } from '@emotion/react';
|
|
6
11
|
import { useUID } from 'react-uid';
|
|
7
12
|
import { UNSAFE_LAYERING } from '@atlaskit/layering';
|
package/dist/types/popup.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
44
44
|
"@atlaskit/layering": "^0.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
46
|
-
"@atlaskit/popper": "^6.
|
|
47
|
-
"@atlaskit/portal": "^4.
|
|
48
|
-
"@atlaskit/primitives": "^
|
|
49
|
-
"@atlaskit/theme": "^12.
|
|
50
|
-
"@atlaskit/tokens": "^1.
|
|
46
|
+
"@atlaskit/popper": "^6.1.0",
|
|
47
|
+
"@atlaskit/portal": "^4.6.0",
|
|
48
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
49
|
+
"@atlaskit/theme": "^12.10.0",
|
|
50
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
53
53
|
"bind-event-listener": "^3.0.0",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@af/accessibility-testing": "*",
|
|
65
65
|
"@af/visual-regression": "*",
|
|
66
|
-
"@atlaskit/button": "^17.
|
|
67
|
-
"@atlaskit/icon": "^22.
|
|
66
|
+
"@atlaskit/button": "^17.22.0",
|
|
67
|
+
"@atlaskit/icon": "^22.4.0",
|
|
68
68
|
"@atlaskit/ssr": "*",
|
|
69
|
-
"@atlaskit/textfield": "^6.
|
|
70
|
-
"@atlaskit/toggle": "^13.
|
|
69
|
+
"@atlaskit/textfield": "^6.4.0",
|
|
70
|
+
"@atlaskit/toggle": "^13.2.0",
|
|
71
71
|
"@atlaskit/visual-regression": "*",
|
|
72
72
|
"@atlassian/feature-flags-test-utils": "*",
|
|
73
73
|
"@testing-library/dom": "^8.17.1",
|