@atlaskit/popup 4.3.6 → 4.3.8
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 +14 -0
- package/dist/types/popper-wrapper.d.ts +0 -1
- package/dist/types/types.d.ts +13 -0
- package/dist/types-ts4.5/popper-wrapper.d.ts +0 -1
- package/dist/types-ts4.5/types.d.ts +13 -0
- package/experimental/package.json +1 -1
- package/package.json +9 -10
- package/types/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 4.3.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`87980402df1c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87980402df1c7) -
|
|
8
|
+
Adds props descriptions for `TriggerProps` type.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.3.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.3.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type PopperWrapperProps } from './types';
|
|
3
2
|
declare function PopperWrapper({ xcss, isOpen, id, offset, testId, content, fallbackPlacements, onClose, boundary, rootBoundary, shouldFlip, placement, popupComponent: PopupContainer, autoFocus, triggerRef, shouldUseCaptureOnOutsideClick, shouldRenderToParent, shouldFitContainer, shouldDisableFocusLock, shouldReturnFocus, strategy, role, label, titleId, modifiers, shouldFitViewport, appearance, }: PopperWrapperProps): JSX.Element;
|
|
4
3
|
export default PopperWrapper;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2,9 +2,22 @@ import { type ComponentType, type CSSProperties, type Dispatch, type PropsWithCh
|
|
|
2
2
|
import { type StrictXCSSProp } from '@atlaskit/css';
|
|
3
3
|
import { type Modifier, type Placement, type PopperChildrenProps } from '@atlaskit/popper';
|
|
4
4
|
export interface TriggerProps {
|
|
5
|
+
/**
|
|
6
|
+
* React ref that will be attached to the trigger element.
|
|
7
|
+
*/
|
|
5
8
|
ref: Ref<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Identifies the popup element that the trigger controls.
|
|
11
|
+
* Should match the `id` of the popup content for screen readers to understand the relationship.
|
|
12
|
+
*/
|
|
6
13
|
'aria-controls'?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Announces to assistive technology whether the popup is currently open or closed.
|
|
16
|
+
*/
|
|
7
17
|
'aria-expanded': boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Informs assistive technology that this element triggers a popup.
|
|
20
|
+
*/
|
|
8
21
|
'aria-haspopup': boolean | 'dialog';
|
|
9
22
|
'data-ds--level'?: string;
|
|
10
23
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type PopperWrapperProps } from './types';
|
|
3
2
|
declare function PopperWrapper({ xcss, isOpen, id, offset, testId, content, fallbackPlacements, onClose, boundary, rootBoundary, shouldFlip, placement, popupComponent: PopupContainer, autoFocus, triggerRef, shouldUseCaptureOnOutsideClick, shouldRenderToParent, shouldFitContainer, shouldDisableFocusLock, shouldReturnFocus, strategy, role, label, titleId, modifiers, shouldFitViewport, appearance, }: PopperWrapperProps): JSX.Element;
|
|
4
3
|
export default PopperWrapper;
|
|
@@ -2,9 +2,22 @@ import { type ComponentType, type CSSProperties, type Dispatch, type PropsWithCh
|
|
|
2
2
|
import { type StrictXCSSProp } from '@atlaskit/css';
|
|
3
3
|
import { type Modifier, type Placement, type PopperChildrenProps } from '@atlaskit/popper';
|
|
4
4
|
export interface TriggerProps {
|
|
5
|
+
/**
|
|
6
|
+
* React ref that will be attached to the trigger element.
|
|
7
|
+
*/
|
|
5
8
|
ref: Ref<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Identifies the popup element that the trigger controls.
|
|
11
|
+
* Should match the `id` of the popup content for screen readers to understand the relationship.
|
|
12
|
+
*/
|
|
6
13
|
'aria-controls'?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Announces to assistive technology whether the popup is currently open or closed.
|
|
16
|
+
*/
|
|
7
17
|
'aria-expanded': boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Informs assistive technology that this element triggers a popup.
|
|
20
|
+
*/
|
|
8
21
|
'aria-haspopup': boolean | 'dialog';
|
|
9
22
|
'data-ds--level'?: string;
|
|
10
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.8",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/popper": "^7.1.0",
|
|
45
45
|
"@atlaskit/portal": "^5.1.0",
|
|
46
|
-
"@atlaskit/primitives": "^14.
|
|
47
|
-
"@atlaskit/tokens": "^
|
|
46
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
47
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.3",
|
|
50
50
|
"bind-event-listener": "^3.0.0",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"@af/accessibility-testing": "workspace:^",
|
|
61
61
|
"@af/integration-testing": "workspace:^",
|
|
62
62
|
"@af/visual-regression": "workspace:^",
|
|
63
|
-
"@atlaskit/button": "^23.
|
|
63
|
+
"@atlaskit/button": "^23.4.0",
|
|
64
64
|
"@atlaskit/code": "^17.2.0",
|
|
65
65
|
"@atlaskit/docs": "^11.0.0",
|
|
66
|
-
"@atlaskit/form": "^12.
|
|
66
|
+
"@atlaskit/form": "^12.1.0",
|
|
67
67
|
"@atlaskit/heading": "^5.2.0",
|
|
68
|
-
"@atlaskit/icon": "^
|
|
68
|
+
"@atlaskit/icon": "^28.0.0",
|
|
69
69
|
"@atlaskit/link": "^3.2.0",
|
|
70
70
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
71
|
-
"@atlaskit/section-message": "^8.
|
|
71
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
72
72
|
"@atlaskit/ssr": "workspace:^",
|
|
73
73
|
"@atlaskit/textfield": "^8.0.0",
|
|
74
|
-
"@atlaskit/toggle": "^15.
|
|
74
|
+
"@atlaskit/toggle": "^15.1.0",
|
|
75
75
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
76
76
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
77
77
|
"@testing-library/react": "^13.4.0",
|
|
@@ -80,8 +80,7 @@
|
|
|
80
80
|
"ast-types": "^0.13.3",
|
|
81
81
|
"jscodeshift": "^17.0.0",
|
|
82
82
|
"raf-stub": "^2.0.1",
|
|
83
|
-
"react-dom": "^18.2.0"
|
|
84
|
-
"typescript": "~5.4.2"
|
|
83
|
+
"react-dom": "^18.2.0"
|
|
85
84
|
},
|
|
86
85
|
"keywords": [
|
|
87
86
|
"atlaskit",
|