@atlaskit/popup 4.13.3 → 4.13.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 +6 -0
- package/dist/cjs/popper-wrapper.js +1 -1
- package/dist/cjs/popup.js +1 -1
- package/dist/es2019/popper-wrapper.js +1 -1
- package/dist/es2019/popup.js +1 -1
- package/dist/esm/popper-wrapper.js +1 -1
- package/dist/esm/popup.js +1 -1
- package/dist/types/compositional/popup.d.ts +2 -2
- package/dist/types/use-appearance.d.ts +1 -1
- package/dist/types-ts4.5/compositional/popup.d.ts +2 -2
- package/dist/types-ts4.5/use-appearance.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/dist/cjs/popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* popper-wrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* popper-wrapper.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./popper-wrapper.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
package/dist/es2019/popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* popper-wrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* popper-wrapper.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _extends from "@babel/runtime/helpers/extends";
|
package/dist/esm/popup.js
CHANGED
|
@@ -25,7 +25,7 @@ export type PopupProps = {
|
|
|
25
25
|
* </Popup>
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const Popup: ({ children, id: providedId, isOpen, role }: PopupProps) => React.JSX.Element;
|
|
28
|
+
export declare const Popup: ({ children, id: providedId, isOpen, role, }: PopupProps) => React.JSX.Element;
|
|
29
29
|
export type PopupTriggerProps = {
|
|
30
30
|
children: (props: TriggerProps) => React.ReactNode;
|
|
31
31
|
};
|
|
@@ -68,5 +68,5 @@ export type PopupContentProps = ShouldFitContainerContentPopupProps | StandardPo
|
|
|
68
68
|
*
|
|
69
69
|
* It must be a child of the Popup component.
|
|
70
70
|
*/
|
|
71
|
-
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, role, titleId }: PopupContentProps) => React.JSX.Element | null;
|
|
71
|
+
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, role, titleId, }: PopupContentProps) => React.JSX.Element | null;
|
|
72
72
|
export {};
|
|
@@ -10,6 +10,6 @@ export declare function usePopupAppearance({ appearance: _appearance, shouldRend
|
|
|
10
10
|
appearance: 'default' | 'UNSAFE_modal-below-sm';
|
|
11
11
|
shouldRenderToParent?: boolean;
|
|
12
12
|
}): {
|
|
13
|
-
appearance:
|
|
13
|
+
appearance: 'default' | 'UNSAFE_modal-below-sm';
|
|
14
14
|
shouldRenderToParent: boolean | undefined;
|
|
15
15
|
};
|
|
@@ -25,7 +25,7 @@ export type PopupProps = {
|
|
|
25
25
|
* </Popup>
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const Popup: ({ children, id: providedId, isOpen, role }: PopupProps) => React.JSX.Element;
|
|
28
|
+
export declare const Popup: ({ children, id: providedId, isOpen, role, }: PopupProps) => React.JSX.Element;
|
|
29
29
|
export type PopupTriggerProps = {
|
|
30
30
|
children: (props: TriggerProps) => React.ReactNode;
|
|
31
31
|
};
|
|
@@ -68,5 +68,5 @@ export type PopupContentProps = ShouldFitContainerContentPopupProps | StandardPo
|
|
|
68
68
|
*
|
|
69
69
|
* It must be a child of the Popup component.
|
|
70
70
|
*/
|
|
71
|
-
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, role, titleId }: PopupContentProps) => React.JSX.Element | null;
|
|
71
|
+
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, role, titleId, }: PopupContentProps) => React.JSX.Element | null;
|
|
72
72
|
export {};
|
|
@@ -10,6 +10,6 @@ export declare function usePopupAppearance({ appearance: _appearance, shouldRend
|
|
|
10
10
|
appearance: 'default' | 'UNSAFE_modal-below-sm';
|
|
11
11
|
shouldRenderToParent?: boolean;
|
|
12
12
|
}): {
|
|
13
|
-
appearance:
|
|
13
|
+
appearance: 'default' | 'UNSAFE_modal-below-sm';
|
|
14
14
|
shouldRenderToParent: boolean | undefined;
|
|
15
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.4",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/css": "^0.19.0",
|
|
36
|
-
"@atlaskit/ds-lib": "^
|
|
36
|
+
"@atlaskit/ds-lib": "^6.0.0",
|
|
37
37
|
"@atlaskit/layering": "^3.6.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/popper": "^7.1.0",
|
|
40
40
|
"@atlaskit/portal": "^5.2.0",
|
|
41
41
|
"@atlaskit/primitives": "^18.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^11.
|
|
42
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
|
-
"@compiled/react": "^0.
|
|
44
|
+
"@compiled/react": "^0.20.0",
|
|
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.10.0",
|
|
59
59
|
"@atlaskit/code": "^17.4.0",
|
|
60
|
-
"@atlaskit/docs": "^11.
|
|
61
|
-
"@atlaskit/form": "^15.
|
|
60
|
+
"@atlaskit/docs": "^11.6.0",
|
|
61
|
+
"@atlaskit/form": "^15.4.0",
|
|
62
62
|
"@atlaskit/heading": "^5.3.0",
|
|
63
|
-
"@atlaskit/icon": "^
|
|
63
|
+
"@atlaskit/icon": "^32.0.0",
|
|
64
64
|
"@atlaskit/link": "^3.3.0",
|
|
65
|
-
"@atlaskit/modal-dialog": "^14.
|
|
65
|
+
"@atlaskit/modal-dialog": "^14.11.0",
|
|
66
66
|
"@atlaskit/section-message": "^8.12.0",
|
|
67
67
|
"@atlaskit/textfield": "^8.2.0",
|
|
68
68
|
"@atlaskit/toggle": "^15.2.0",
|