@atlaskit/right-side-panel 1.1.13 → 1.2.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/right-side-panel
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 1.1.14
14
+
15
+ ### Patch Changes
16
+
17
+ - [`ad5cbfa5a71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad5cbfa5a71) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
18
+
3
19
  ## 1.1.13
4
20
 
5
21
  ### Patch Changes
@@ -35,15 +35,15 @@ var ENTERED = 'entered';
35
35
  exports.ENTERED = ENTERED;
36
36
  var EXITING = 'exiting';
37
37
  exports.EXITING = EXITING;
38
- var TransitionStatus;
39
- exports.TransitionStatus = TransitionStatus;
40
- (function (TransitionStatus) {
38
+ var TransitionStatus = /*#__PURE__*/function (TransitionStatus) {
41
39
  TransitionStatus["UNMOUNTED"] = "unmounted";
42
40
  TransitionStatus["EXITED"] = "exited";
43
41
  TransitionStatus["ENTERING"] = "entering";
44
42
  TransitionStatus["ENTERED"] = "entered";
45
43
  TransitionStatus["EXITING"] = "exiting";
46
- })(TransitionStatus || (exports.TransitionStatus = TransitionStatus = {}));
44
+ return TransitionStatus;
45
+ }({});
46
+ exports.TransitionStatus = TransitionStatus;
47
47
  var defaultStyle = {
48
48
  transition: "width ".concat(_constants.transitionDurationMs, "ms,\n flex ").concat(_constants.transitionDurationMs, "ms"),
49
49
  width: "0",
@@ -11,6 +11,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
12
12
  var _constants = require("./constants");
13
13
  var _templateObject, _templateObject2;
14
+ /** @jsx jsx */
14
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
17
  var RightSidePanelDrawer = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "px;\n flex: 0 0 ", "px;\n position: relative;\n overflow: hidden;\n"])), _constants.panelWidth, _constants.panelWidth);
@@ -8,6 +8,7 @@ exports.FlexContainer = exports.ContentWrapper = void 0;
8
8
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _templateObject, _templateObject2;
11
+ /** @jsx jsx */
11
12
  var FlexContainer = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n"])));
12
13
  exports.FlexContainer = FlexContainer;
13
14
  var ContentWrapper = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n min-width: 0;\n flex: 1 1 auto;\n overflow-x: hidden;\n"])));
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/right-side-panel",
3
- "version": "1.1.13",
3
+ "version": "1.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -11,14 +11,14 @@ export const EXITED = 'exited';
11
11
  export const ENTERING = 'entering';
12
12
  export const ENTERED = 'entered';
13
13
  export const EXITING = 'exiting';
14
- export let TransitionStatus;
15
- (function (TransitionStatus) {
14
+ export let TransitionStatus = /*#__PURE__*/function (TransitionStatus) {
16
15
  TransitionStatus["UNMOUNTED"] = "unmounted";
17
16
  TransitionStatus["EXITED"] = "exited";
18
17
  TransitionStatus["ENTERING"] = "entering";
19
18
  TransitionStatus["ENTERED"] = "entered";
20
19
  TransitionStatus["EXITING"] = "exiting";
21
- })(TransitionStatus || (TransitionStatus = {}));
20
+ return TransitionStatus;
21
+ }({});
22
22
  const defaultStyle = {
23
23
  transition: `width ${transitionDurationMs}ms,
24
24
  flex ${transitionDurationMs}ms`,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/right-side-panel",
3
- "version": "1.1.13",
3
+ "version": "1.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -21,14 +21,14 @@ export var EXITED = 'exited';
21
21
  export var ENTERING = 'entering';
22
22
  export var ENTERED = 'entered';
23
23
  export var EXITING = 'exiting';
24
- export var TransitionStatus;
25
- (function (TransitionStatus) {
24
+ export var TransitionStatus = /*#__PURE__*/function (TransitionStatus) {
26
25
  TransitionStatus["UNMOUNTED"] = "unmounted";
27
26
  TransitionStatus["EXITED"] = "exited";
28
27
  TransitionStatus["ENTERING"] = "entering";
29
28
  TransitionStatus["ENTERED"] = "entered";
30
29
  TransitionStatus["EXITING"] = "exiting";
31
- })(TransitionStatus || (TransitionStatus = {}));
30
+ return TransitionStatus;
31
+ }({});
32
32
  var defaultStyle = {
33
33
  transition: "width ".concat(transitionDurationMs, "ms,\n flex ").concat(transitionDurationMs, "ms"),
34
34
  width: "0",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/right-side-panel",
3
- "version": "1.1.13",
3
+ "version": "1.2.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/right-side-panel",
3
- "version": "1.1.13",
3
+ "version": "1.2.0",
4
4
  "description": "A cross-product right-side-panel component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,8 +23,8 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/theme": "^12.2.0",
27
- "@atlaskit/tokens": "^1.0.0",
26
+ "@atlaskit/theme": "^12.5.0",
27
+ "@atlaskit/tokens": "^1.3.0",
28
28
  "@babel/runtime": "^7.0.0",
29
29
  "@emotion/styled": "^10.0.7",
30
30
  "exenv": "^1.2.2",
@@ -36,11 +36,11 @@
36
36
  "react-intl-next": "npm:react-intl@^5.18.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@atlaskit/button": "^16.5.0",
39
+ "@atlaskit/button": "^16.7.0",
40
40
  "@atlaskit/docs": "*",
41
41
  "@atlaskit/navigation": "^37.0.0",
42
- "@atlaskit/page": "^12.2.0",
43
- "@atlaskit/section-message": "^6.3.0",
42
+ "@atlaskit/page": "^12.3.0",
43
+ "@atlaskit/section-message": "^6.4.0",
44
44
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
45
45
  "enzyme": "^3.10.0",
46
46
  "react-test-renderer": "^16.8.0",
@@ -56,7 +56,9 @@
56
56
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
57
57
  "techstack": {
58
58
  "@repo/internal": {
59
- "theming": "tokens"
59
+ "design-tokens": [
60
+ "color"
61
+ ]
60
62
  }
61
63
  }
62
64
  }
@@ -1,74 +0,0 @@
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
- ```