@atlaskit/side-navigation 1.2.7 → 1.2.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 1.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
8
+
3
9
  ## 1.2.7
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "sideEffects": false
5
5
  }
@@ -21,7 +21,7 @@ export declare const outerContainerCSS: (opts: StyleOpts & {
21
21
  readonly right: number;
22
22
  readonly height: 2;
23
23
  readonly borderRadius: 1;
24
- readonly backgroundColor: string;
24
+ readonly backgroundColor: "var(--ds-menu-seperator-color, var(--ds-border))";
25
25
  readonly position: "absolute";
26
26
  readonly zIndex: 1;
27
27
  };
@@ -36,7 +36,7 @@ export declare const outerContainerCSS: (opts: StyleOpts & {
36
36
  readonly right: number;
37
37
  readonly bottom: 0;
38
38
  readonly zIndex: 1;
39
- readonly backgroundColor: string;
39
+ readonly backgroundColor: "var(--ds-menu-seperator-color, var(--ds-border))";
40
40
  };
41
41
  };
42
42
  /**
@@ -54,7 +54,7 @@ export declare const innerContainerCSS: (opts: StyleOpts) => {
54
54
  readonly marginTop: "auto";
55
55
  readonly position: "relative";
56
56
  readonly zIndex: 2;
57
- readonly backgroundColor: string;
57
+ readonly backgroundColor: "var(--ds-menu-scroll-indicator-color, var(--ds-surface))";
58
58
  };
59
59
  readonly '&::before'?: {
60
60
  readonly borderRadius: 1;
@@ -62,11 +62,11 @@ export declare const innerContainerCSS: (opts: StyleOpts) => {
62
62
  readonly left: 0;
63
63
  readonly right: 0;
64
64
  readonly height: 2;
65
- readonly backgroundColor: string;
65
+ readonly backgroundColor: "var(--ds-menu-scroll-indicator-color, var(--ds-surface))";
66
66
  readonly position: "absolute";
67
67
  readonly display: "block";
68
68
  readonly zIndex: 2;
69
- };
69
+ } | undefined;
70
70
  readonly display: "flex";
71
71
  readonly overflow: "auto";
72
72
  readonly width: "100%";
@@ -87,5 +87,5 @@ export interface NestingItemProps<TCustomComponentProps = CustomItemComponentPro
87
87
  * When not open - it will render itself as an item.
88
88
  * When open - it will render its children.
89
89
  */
90
- declare const NestingItem: <TCustomComponentProps extends CustomItemComponentProps>(props: NestingItemProps<TCustomComponentProps> & Pick<TCustomComponentProps, Exclude<keyof TCustomComponentProps, "ref" | "children" | "onClick" | "onMouseDown" | "className" | "data-testid" | "onDragStart" | "draggable" | "tabIndex" | "disabled">>) => JSX.Element;
90
+ declare const NestingItem: <TCustomComponentProps extends CustomItemComponentProps>(props: NestingItemProps<TCustomComponentProps> & Omit<TCustomComponentProps, keyof CustomItemComponentProps>) => JSX.Element;
91
91
  export default NestingItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "A highly composable side navigation component that supports nested views.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@atlaskit/atlassian-navigation": "^2.1.0",
40
- "@atlaskit/button": "^16.2.0",
40
+ "@atlaskit/button": "^16.3.0",
41
41
  "@atlaskit/docs": "*",
42
42
  "@atlaskit/logo": "^13.5.0",
43
43
  "@atlaskit/onboarding": "^10.3.0",
@@ -54,7 +54,7 @@
54
54
  "jscodeshift": "^0.13.0",
55
55
  "raf-stub": "^2.0.1",
56
56
  "react-beautiful-dnd": "^12.1.1",
57
- "typescript": "3.9.10"
57
+ "typescript": "4.2.4"
58
58
  },
59
59
  "techstack": {
60
60
  "@atlassian/frontend": {