@atlaskit/popup 1.31.0 → 1.31.2

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.31.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.31.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.31.0
4
16
 
5
17
  ### Minor Changes
@@ -24,7 +24,7 @@ export type PopupProps = {
24
24
  * </Popup>
25
25
  * ```
26
26
  */
27
- export declare const Popup: ({ children, id: providedId, isOpen }: PopupProps) => JSX.Element;
27
+ export declare const Popup: ({ children, id: providedId, isOpen }: PopupProps) => React.JSX.Element;
28
28
  export type PopupTriggerProps = {
29
29
  children: (props: TriggerProps) => React.ReactNode;
30
30
  };
@@ -35,7 +35,7 @@ export type PopupTriggerProps = {
35
35
  *
36
36
  * It must be a child of the Popup component.
37
37
  */
38
- export declare const PopupTrigger: ({ children }: PopupTriggerProps) => JSX.Element;
38
+ export declare const PopupTrigger: ({ children }: PopupTriggerProps) => React.JSX.Element;
39
39
  type CommonContentPopupProps = Pick<LegacyPopupProps, 'xcss' | 'appearance' | 'boundary' | 'offset' | 'onClose' | 'testId' | 'placement' | 'fallbackPlacements' | 'popupComponent' | 'shouldFlip' | 'rootBoundary' | 'autoFocus' | 'shouldRenderToParent' | 'shouldUseCaptureOnOutsideClick' | 'shouldDisableFocusLock' | 'strategy' | 'zIndex' | 'shouldFitViewport'> & {
40
40
  children: (props: ContentProps) => React.ReactNode;
41
41
  /**
@@ -67,5 +67,5 @@ export type PopupContentProps = ShouldFitContainerContentPopupProps | StandardPo
67
67
  *
68
68
  * It must be a child of the Popup component.
69
69
  */
70
- export declare const PopupContent: ({ xcss, appearance: inAppearance, children, boundary, offset, strategy, onClose, testId, rootBoundary, shouldFlip, placement, fallbackPlacements, popupComponent, autoFocus, zIndex, shouldUseCaptureOnOutsideClick, shouldRenderToParent: inShouldRenderToParent, shouldDisableFocusLock, shouldFitContainer, shouldFitViewport, shouldDisableGpuAcceleration, }: PopupContentProps) => JSX.Element | null;
70
+ export declare const PopupContent: ({ xcss, appearance: inAppearance, children, boundary, offset, strategy, onClose, testId, rootBoundary, shouldFlip, placement, fallbackPlacements, popupComponent, autoFocus, zIndex, shouldUseCaptureOnOutsideClick, shouldRenderToParent: inShouldRenderToParent, shouldDisableFocusLock, shouldFitContainer, shouldFitViewport, shouldDisableGpuAcceleration, }: PopupContentProps) => React.JSX.Element | null;
71
71
  export {};
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type RepositionOnUpdateProps } from './types';
3
- export declare const RepositionOnUpdate: ({ children, update }: RepositionOnUpdateProps) => JSX.Element;
3
+ export declare const RepositionOnUpdate: ({ children, update }: RepositionOnUpdateProps) => React.JSX.Element;
@@ -24,7 +24,7 @@ export type PopupProps = {
24
24
  * </Popup>
25
25
  * ```
26
26
  */
27
- export declare const Popup: ({ children, id: providedId, isOpen }: PopupProps) => JSX.Element;
27
+ export declare const Popup: ({ children, id: providedId, isOpen }: PopupProps) => React.JSX.Element;
28
28
  export type PopupTriggerProps = {
29
29
  children: (props: TriggerProps) => React.ReactNode;
30
30
  };
@@ -35,7 +35,7 @@ export type PopupTriggerProps = {
35
35
  *
36
36
  * It must be a child of the Popup component.
37
37
  */
38
- export declare const PopupTrigger: ({ children }: PopupTriggerProps) => JSX.Element;
38
+ export declare const PopupTrigger: ({ children }: PopupTriggerProps) => React.JSX.Element;
39
39
  type CommonContentPopupProps = Pick<LegacyPopupProps, 'xcss' | 'appearance' | 'boundary' | 'offset' | 'onClose' | 'testId' | 'placement' | 'fallbackPlacements' | 'popupComponent' | 'shouldFlip' | 'rootBoundary' | 'autoFocus' | 'shouldRenderToParent' | 'shouldUseCaptureOnOutsideClick' | 'shouldDisableFocusLock' | 'strategy' | 'zIndex' | 'shouldFitViewport'> & {
40
40
  children: (props: ContentProps) => React.ReactNode;
41
41
  /**
@@ -67,5 +67,5 @@ export type PopupContentProps = ShouldFitContainerContentPopupProps | StandardPo
67
67
  *
68
68
  * It must be a child of the Popup component.
69
69
  */
70
- export declare const PopupContent: ({ xcss, appearance: inAppearance, children, boundary, offset, strategy, onClose, testId, rootBoundary, shouldFlip, placement, fallbackPlacements, popupComponent, autoFocus, zIndex, shouldUseCaptureOnOutsideClick, shouldRenderToParent: inShouldRenderToParent, shouldDisableFocusLock, shouldFitContainer, shouldFitViewport, shouldDisableGpuAcceleration, }: PopupContentProps) => JSX.Element | null;
70
+ export declare const PopupContent: ({ xcss, appearance: inAppearance, children, boundary, offset, strategy, onClose, testId, rootBoundary, shouldFlip, placement, fallbackPlacements, popupComponent, autoFocus, zIndex, shouldUseCaptureOnOutsideClick, shouldRenderToParent: inShouldRenderToParent, shouldDisableFocusLock, shouldFitContainer, shouldFitViewport, shouldDisableGpuAcceleration, }: PopupContentProps) => React.JSX.Element | null;
71
71
  export {};
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type RepositionOnUpdateProps } from './types';
3
- export declare const RepositionOnUpdate: ({ children, update }: RepositionOnUpdateProps) => JSX.Element;
3
+ export declare const RepositionOnUpdate: ({ children, update }: RepositionOnUpdateProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.31.0",
3
+ "version": "1.31.2",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,11 +42,11 @@
42
42
  "@atlaskit/ds-lib": "^3.5.0",
43
43
  "@atlaskit/focus-ring": "^2.1.0",
44
44
  "@atlaskit/layering": "^1.1.0",
45
- "@atlaskit/platform-feature-flags": "^0.3.0",
45
+ "@atlaskit/platform-feature-flags": "^1.0.0",
46
46
  "@atlaskit/popper": "^6.4.0",
47
47
  "@atlaskit/portal": "^4.11.0",
48
48
  "@atlaskit/primitives": "^13.4.0",
49
- "@atlaskit/theme": "^14.1.0",
49
+ "@atlaskit/theme": "^15.0.0",
50
50
  "@atlaskit/tokens": "^3.3.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
@@ -63,8 +63,8 @@
63
63
  "@af/accessibility-testing": "*",
64
64
  "@af/integration-testing": "*",
65
65
  "@af/visual-regression": "*",
66
- "@atlaskit/button": "^20.4.0",
67
- "@atlaskit/icon": "^23.5.0",
66
+ "@atlaskit/button": "^20.5.0",
67
+ "@atlaskit/icon": "^23.7.0",
68
68
  "@atlaskit/ssr": "*",
69
69
  "@atlaskit/textfield": "^6.8.0",
70
70
  "@atlaskit/toggle": "^14.1.0",