@atlaskit/popper 5.5.1 → 5.5.3

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,17 @@
1
1
  # @atlaskit/popper
2
2
 
3
+ ## 5.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
8
+
9
+ ## 5.5.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
14
+
3
15
  ## 5.5.1
4
16
 
5
17
  ### Patch Changes
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/popper.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/popper.d.ts"
11
+ "../dist/types-ts4.5/popper.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,6 @@
1
1
  /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
2
4
  import { InProductTestPageObject } from '@atlaskit/in-product-testing';
3
5
  export declare class BasePopperPageObject extends InProductTestPageObject {
4
6
  assertPopperStyle(elementSelector: keyof HTMLElementTagNameMap | string): Cypress.Chainable<JQuery<HTMLElement>>;
@@ -4,7 +4,7 @@ import { PopperChildrenProps, PopperProps } from 'react-popper';
4
4
  export { placements } from '@popperjs/core';
5
5
  export type { Placement, VirtualElement } from '@popperjs/core';
6
6
  export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, } from 'react-popper';
7
- declare type Offset = [number | null | undefined, number | null | undefined];
7
+ type Offset = [number | null | undefined, number | null | undefined];
8
8
  export interface CustomPopperProps<Modifiers> {
9
9
  /**
10
10
  * Returns the element to be positioned.
@@ -4,7 +4,7 @@ import { PopperChildrenProps, PopperProps } from 'react-popper';
4
4
  export { placements } from '@popperjs/core';
5
5
  export type { Placement, VirtualElement } from '@popperjs/core';
6
6
  export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, } from 'react-popper';
7
- declare type Offset = [
7
+ type Offset = [
8
8
  number | null | undefined,
9
9
  number | null | undefined
10
10
  ];
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/in-product.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/in-product.d.ts"
11
+ "../dist/types-ts4.5/in-product.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -13,10 +13,10 @@
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
15
  "typesVersions": {
16
- ">=4.0 <4.5": {
16
+ ">=4.5 <4.9": {
17
17
  "*": [
18
- "dist/types-ts4.0/*",
19
- "dist/types-ts4.0/index.d.ts"
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
20
  ]
21
21
  }
22
22
  },
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/section-message": "^6.4.0",
55
55
  "@atlaskit/ssr": "*",
56
56
  "@atlaskit/theme": "^12.5.0",
57
- "@atlaskit/tokens": "^1.3.0",
57
+ "@atlaskit/tokens": "^1.4.0",
58
58
  "@atlaskit/visual-regression": "*",
59
59
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
60
60
  "@emotion/react": "^11.7.1",
@@ -66,7 +66,7 @@
66
66
  "jscodeshift": "^0.13.0",
67
67
  "react-dom": "^16.8.0",
68
68
  "react-lorem-component": "^0.13.0",
69
- "typescript": "4.5.5",
69
+ "typescript": "~4.9.5",
70
70
  "wait-for-expect": "^1.2.0"
71
71
  },
72
72
  "keywords": [
File without changes