@atlaskit/right-side-panel 1.2.0 → 1.2.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 +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +13 -4
- package/tmp/api-report-tmp.d.ts +74 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/right-side-panel
|
|
2
2
|
|
|
3
|
+
## 1.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
8
|
+
|
|
9
|
+
## 1.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`7e051bad115`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e051bad115) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
14
|
+
|
|
3
15
|
## 1.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/right-side-panel",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "A cross-product right-side-panel component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"atlaskit:src": "src/index.ts",
|
|
17
25
|
"atlassian": {
|
|
@@ -24,7 +32,7 @@
|
|
|
24
32
|
},
|
|
25
33
|
"dependencies": {
|
|
26
34
|
"@atlaskit/theme": "^12.5.0",
|
|
27
|
-
"@atlaskit/tokens": "^1.
|
|
35
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
28
36
|
"@babel/runtime": "^7.0.0",
|
|
29
37
|
"@emotion/styled": "^10.0.7",
|
|
30
38
|
"exenv": "^1.2.2",
|
|
@@ -44,7 +52,7 @@
|
|
|
44
52
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
45
53
|
"enzyme": "^3.10.0",
|
|
46
54
|
"react-test-renderer": "^16.8.0",
|
|
47
|
-
"typescript": "4.
|
|
55
|
+
"typescript": "~4.9.5"
|
|
48
56
|
},
|
|
49
57
|
"keywords": [
|
|
50
58
|
"atlaskit",
|
|
@@ -57,7 +65,8 @@
|
|
|
57
65
|
"techstack": {
|
|
58
66
|
"@repo/internal": {
|
|
59
67
|
"design-tokens": [
|
|
60
|
-
"color"
|
|
68
|
+
"color",
|
|
69
|
+
"spacing"
|
|
61
70
|
]
|
|
62
71
|
}
|
|
63
72
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/right-side-panel"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { ClassAttributes } from 'react';
|
|
10
|
+
import { Component } from 'react';
|
|
11
|
+
import { DetailedHTMLProps } from 'react';
|
|
12
|
+
import { HTMLAttributes } from 'react';
|
|
13
|
+
import { default as React_2 } from 'react';
|
|
14
|
+
import { ReactNode } from 'react';
|
|
15
|
+
import { StyledComponent } from '@emotion/styled-base';
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
export const ContentWrapper: StyledComponent<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement>>, object>;
|
|
19
|
+
|
|
20
|
+
// @public (undocumented)
|
|
21
|
+
export const FlexContainer: StyledComponent<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement>>, object>;
|
|
22
|
+
|
|
23
|
+
// @public (undocumented)
|
|
24
|
+
interface Props {
|
|
25
|
+
// (undocumented)
|
|
26
|
+
attachPanelTo: string;
|
|
27
|
+
// (undocumented)
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
// (undocumented)
|
|
30
|
+
disableEnterAnimation?: boolean;
|
|
31
|
+
// (undocumented)
|
|
32
|
+
disableExitAnimation?: boolean;
|
|
33
|
+
// (undocumented)
|
|
34
|
+
isOpen: boolean;
|
|
35
|
+
// (undocumented)
|
|
36
|
+
mountOnEnter?: boolean;
|
|
37
|
+
// (undocumented)
|
|
38
|
+
onCloseAnimationFinished?: () => void;
|
|
39
|
+
// (undocumented)
|
|
40
|
+
onOpenAnimationFinished?: () => void;
|
|
41
|
+
// (undocumented)
|
|
42
|
+
skipAnimationOnMount?: boolean;
|
|
43
|
+
// (undocumented)
|
|
44
|
+
unmountOnExit?: boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// @public (undocumented)
|
|
48
|
+
export class RightSidePanel extends Component<Props, State> {
|
|
49
|
+
// (undocumented)
|
|
50
|
+
attachPanelTo: string;
|
|
51
|
+
// (undocumented)
|
|
52
|
+
componentDidMount(): void;
|
|
53
|
+
// (undocumented)
|
|
54
|
+
render(): React_2.ReactNode;
|
|
55
|
+
// (undocumented)
|
|
56
|
+
renderDrawer(Container: HTMLElement): ReactNode;
|
|
57
|
+
// (undocumented)
|
|
58
|
+
state: {
|
|
59
|
+
entered: boolean;
|
|
60
|
+
container: undefined;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// @public (undocumented)
|
|
65
|
+
interface State {
|
|
66
|
+
// (undocumented)
|
|
67
|
+
container?: Element | null;
|
|
68
|
+
// (undocumented)
|
|
69
|
+
entered: boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// (No @packageDocumentation comment for this package)
|
|
73
|
+
|
|
74
|
+
```
|