@atlaskit/popup 1.30.4 → 1.30.5

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,13 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 1.30.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103594)
8
+ [`7b1a8574e9c29`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7b1a8574e9c29) -
9
+ Fix or temporarily ignore TypeScript errors that occur in internal React 18 suites.
10
+
3
11
  ## 1.30.4
4
12
 
5
13
  ### Patch Changes
@@ -153,7 +153,7 @@ interface BaseProps {
153
153
  * The result of the `content` prop will be placed as children here.
154
154
  * The default is an element with an elevation of `e200` with _no padding_.
155
155
  */
156
- popupComponent?: ComponentType<PopupComponentProps>;
156
+ popupComponent?: ComponentType<PopupComponentProps> | React.ForwardRefExoticComponent<React.PropsWithoutRef<PopupComponentProps> & React.RefAttributes<HTMLDivElement>>;
157
157
  /**
158
158
  * This controls whether the popup takes focus when opening.
159
159
  * This changes the `popupComponent` component tabIndex to `null`.
@@ -156,7 +156,7 @@ interface BaseProps {
156
156
  * The result of the `content` prop will be placed as children here.
157
157
  * The default is an element with an elevation of `e200` with _no padding_.
158
158
  */
159
- popupComponent?: ComponentType<PopupComponentProps>;
159
+ popupComponent?: ComponentType<PopupComponentProps> | React.ForwardRefExoticComponent<React.PropsWithoutRef<PopupComponentProps> & React.RefAttributes<HTMLDivElement>>;
160
160
  /**
161
161
  * This controls whether the popup takes focus when opening.
162
162
  * This changes the `popupComponent` component tabIndex to `null`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.30.4",
3
+ "version": "1.30.5",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/portal": "^4.10.0",
48
48
  "@atlaskit/primitives": "^13.3.0",
49
49
  "@atlaskit/theme": "^14.0.0",
50
- "@atlaskit/tokens": "^3.0.0",
50
+ "@atlaskit/tokens": "^3.1.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
53
53
  "bind-event-listener": "^3.0.0",
@@ -64,7 +64,7 @@
64
64
  "@af/integration-testing": "*",
65
65
  "@af/visual-regression": "*",
66
66
  "@atlaskit/button": "^20.3.0",
67
- "@atlaskit/icon": "^23.3.0",
67
+ "@atlaskit/icon": "^23.4.0",
68
68
  "@atlaskit/ssr": "*",
69
69
  "@atlaskit/textfield": "^6.7.0",
70
70
  "@atlaskit/toggle": "^14.0.0",