@atlaskit/popup 1.31.3 → 1.32.0

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 1.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138)
8
+ [`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) -
9
+ Bump to the latest version of @compiled/react
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.31.3
4
16
 
5
17
  ### Patch Changes
@@ -66,8 +66,9 @@ var DefaultPopupComponent = /*#__PURE__*/(0, _react.forwardRef)(function (props,
66
66
  xcss = props.xcss,
67
67
  htmlAttributes = (0, _objectWithoutProperties2.default)(props, _excluded);
68
68
  return (0, _react2.jsx)("div", (0, _extends2.default)({
69
- // We suppress this for now as we can't use the Compiled pragma until this module has migrated to Compiled.
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @compiled/jsx-pragma
69
+ // Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
70
+ // When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
71
72
  className: xcss,
72
73
  css: [rootStyles, appearance === 'UNSAFE_modal-below-sm' && modalStyles, !shouldRenderToParent && scrollableStyles, shouldFitContainer && fullWidthStyles]
73
74
  }, htmlAttributes, {
@@ -58,8 +58,9 @@ const DefaultPopupComponent = /*#__PURE__*/forwardRef((props, ref) => {
58
58
  ...htmlAttributes
59
59
  } = props;
60
60
  return jsx("div", _extends({
61
- // We suppress this for now as we can't use the Compiled pragma until this module has migrated to Compiled.
62
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @compiled/jsx-pragma
61
+ // Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
62
+ // When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
63
64
  className: xcss,
64
65
  css: [rootStyles, appearance === 'UNSAFE_modal-below-sm' && modalStyles, !shouldRenderToParent && scrollableStyles, shouldFitContainer && fullWidthStyles]
65
66
  }, htmlAttributes, {
@@ -59,8 +59,9 @@ var DefaultPopupComponent = /*#__PURE__*/forwardRef(function (props, ref) {
59
59
  xcss = props.xcss,
60
60
  htmlAttributes = _objectWithoutProperties(props, _excluded);
61
61
  return jsx("div", _extends({
62
- // We suppress this for now as we can't use the Compiled pragma until this module has migrated to Compiled.
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @compiled/jsx-pragma
62
+ // Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
63
+ // When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
64
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
64
65
  className: xcss,
65
66
  css: [rootStyles, appearance === 'UNSAFE_modal-below-sm' && modalStyles, !shouldRenderToParent && scrollableStyles, shouldFitContainer && fullWidthStyles]
66
67
  }, htmlAttributes, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.31.3",
3
+ "version": "1.32.0",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,14 +38,14 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@atlaskit/css": "^0.8.0",
41
+ "@atlaskit/css": "^0.9.0",
42
42
  "@atlaskit/ds-lib": "^3.5.0",
43
43
  "@atlaskit/focus-ring": "^2.1.0",
44
44
  "@atlaskit/layering": "^1.1.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
46
  "@atlaskit/popper": "^6.4.0",
47
47
  "@atlaskit/portal": "^4.11.0",
48
- "@atlaskit/primitives": "^13.5.0",
48
+ "@atlaskit/primitives": "^13.6.0",
49
49
  "@atlaskit/theme": "^16.0.0",
50
50
  "@atlaskit/tokens": "^3.3.0",
51
51
  "@babel/runtime": "^7.0.0",
@@ -64,13 +64,13 @@
64
64
  "@af/integration-testing": "*",
65
65
  "@af/visual-regression": "*",
66
66
  "@atlaskit/button": "^20.5.0",
67
- "@atlaskit/icon": "^23.9.0",
67
+ "@atlaskit/icon": "^23.10.0",
68
68
  "@atlaskit/ssr": "*",
69
- "@atlaskit/textfield": "^6.8.0",
70
- "@atlaskit/toggle": "^14.1.0",
69
+ "@atlaskit/textfield": "^7.0.0",
70
+ "@atlaskit/toggle": "^14.2.0",
71
71
  "@atlaskit/visual-regression": "*",
72
72
  "@atlassian/feature-flags-test-utils": "*",
73
- "@compiled/react": "^0.18.1",
73
+ "@compiled/react": "^0.18.2",
74
74
  "@testing-library/dom": "^10.1.0",
75
75
  "@testing-library/react": "^13.4.0",
76
76
  "@testing-library/react-hooks": "^8.0.1",