@atlaskit/popup 4.0.0 → 4.1.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 +8 -0
- package/dist/types/types.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +4 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#142168](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142168)
|
|
8
|
+
[`92095a01848e7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/92095a01848e7) -
|
|
9
|
+
The bounded style overrides prop (xcss) now supports logical longhand properties for padding.
|
|
10
|
+
|
|
3
11
|
## 4.0.0
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -92,7 +92,10 @@ interface BaseProps {
|
|
|
92
92
|
* The "UNSAFE_modal-below-sm" appearance makes the popup appear as a modal when the viewport is smaller than "sm".
|
|
93
93
|
*/
|
|
94
94
|
appearance?: 'default' | 'UNSAFE_modal-below-sm';
|
|
95
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Bounded style overrides.
|
|
97
|
+
*/
|
|
98
|
+
xcss?: StrictXCSSProp<'padding' | 'paddingInline' | 'paddingBlock' | 'paddingInlineStart' | 'paddingInlineEnd' | 'paddingBlockStart' | 'paddingBlockEnd' | 'width', never>;
|
|
96
99
|
/**
|
|
97
100
|
* Use this to either show or hide the popup.
|
|
98
101
|
* When set to `false` the popup will not render anything to the DOM.
|
|
@@ -92,7 +92,10 @@ interface BaseProps {
|
|
|
92
92
|
* The "UNSAFE_modal-below-sm" appearance makes the popup appear as a modal when the viewport is smaller than "sm".
|
|
93
93
|
*/
|
|
94
94
|
appearance?: 'default' | 'UNSAFE_modal-below-sm';
|
|
95
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Bounded style overrides.
|
|
97
|
+
*/
|
|
98
|
+
xcss?: StrictXCSSProp<'padding' | 'paddingInline' | 'paddingBlock' | 'paddingInlineStart' | 'paddingInlineEnd' | 'paddingBlockStart' | 'paddingBlockEnd' | 'width', never>;
|
|
96
99
|
/**
|
|
97
100
|
* Use this to either show or hide the popup.
|
|
98
101
|
* When set to `false` the popup will not render anything to the DOM.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/popper": "^7.0.0",
|
|
46
46
|
"@atlaskit/portal": "^5.1.0",
|
|
47
|
-
"@atlaskit/primitives": "^14.
|
|
48
|
-
"@atlaskit/tokens": "^4.
|
|
47
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
48
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@compiled/react": "^0.18.3",
|
|
51
51
|
"bind-event-listener": "^3.0.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@atlaskit/code": "^17.0.0",
|
|
66
66
|
"@atlaskit/docs": "^10.0.0",
|
|
67
67
|
"@atlaskit/form": "^12.0.0",
|
|
68
|
-
"@atlaskit/heading": "^5.
|
|
69
|
-
"@atlaskit/icon": "^25.
|
|
68
|
+
"@atlaskit/heading": "^5.2.0",
|
|
69
|
+
"@atlaskit/icon": "^25.6.0",
|
|
70
70
|
"@atlaskit/link": "^3.1.0",
|
|
71
71
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
72
72
|
"@atlaskit/section-message": "^8.2.0",
|