@atlaskit/popper 7.1.7 → 7.1.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,12 @@
1
1
  # @atlaskit/popper
2
2
 
3
+ ## 7.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5db9e3f21a52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5db9e3f21a52f) -
8
+ Internal refactoring
9
+
3
10
  ## 7.1.7
4
11
 
5
12
  ### Patch Changes
@@ -1,21 +1,25 @@
1
+ import type { ModifierArguments } from '@popperjs/core';
1
2
  export declare function getMaxSizeModifiers({ viewportPadding }: {
2
3
  viewportPadding: number;
3
- }): [{
4
- /**
5
- * Performing DOM measurements in the 'read' phase,
6
- * which is the convention for popper modifiers
7
- */
8
- readonly name: "maxSizeData";
9
- readonly enabled: true;
10
- readonly phase: "read";
11
- readonly fn: ({ state, name }: import("@popperjs/core").ModifierArguments<any>) => void;
12
- }, {
13
- /**
14
- * Applying max size CSS
15
- */
16
- readonly name: "maxSize";
17
- readonly enabled: true;
18
- readonly phase: "beforeWrite";
19
- readonly requiresIfExists: ["offset", "preventOverflow", "flip"];
20
- readonly fn: ({ state }: import("@popperjs/core").ModifierArguments<any>) => void;
21
- }];
4
+ }): [
5
+ {
6
+ /**
7
+ * Performing DOM measurements in the 'read' phase,
8
+ * which is the convention for popper modifiers
9
+ */
10
+ readonly name: 'maxSizeData';
11
+ readonly enabled: true;
12
+ readonly phase: 'read';
13
+ readonly fn: ({ state, name }: ModifierArguments<any>) => void;
14
+ },
15
+ {
16
+ /**
17
+ * Applying max size CSS
18
+ */
19
+ readonly name: 'maxSize';
20
+ readonly enabled: true;
21
+ readonly phase: 'beforeWrite';
22
+ readonly requiresIfExists: ['offset', 'preventOverflow', 'flip'];
23
+ readonly fn: ({ state }: ModifierArguments<any>) => void;
24
+ }
25
+ ];
@@ -1,3 +1,4 @@
1
+ import type { ModifierArguments } from '@popperjs/core';
1
2
  export declare function getMaxSizeModifiers({ viewportPadding }: {
2
3
  viewportPadding: number;
3
4
  }): [
@@ -6,23 +7,23 @@ export declare function getMaxSizeModifiers({ viewportPadding }: {
6
7
  * Performing DOM measurements in the 'read' phase,
7
8
  * which is the convention for popper modifiers
8
9
  */
9
- readonly name: "maxSizeData";
10
+ readonly name: 'maxSizeData';
10
11
  readonly enabled: true;
11
- readonly phase: "read";
12
- readonly fn: ({ state, name }: import("@popperjs/core").ModifierArguments<any>) => void;
12
+ readonly phase: 'read';
13
+ readonly fn: ({ state, name }: ModifierArguments<any>) => void;
13
14
  },
14
15
  {
15
16
  /**
16
17
  * Applying max size CSS
17
18
  */
18
- readonly name: "maxSize";
19
+ readonly name: 'maxSize';
19
20
  readonly enabled: true;
20
- readonly phase: "beforeWrite";
21
+ readonly phase: 'beforeWrite';
21
22
  readonly requiresIfExists: [
22
- "offset",
23
- "preventOverflow",
24
- "flip"
23
+ 'offset',
24
+ 'preventOverflow',
25
+ 'flip'
25
26
  ];
26
- readonly fn: ({ state }: import("@popperjs/core").ModifierArguments<any>) => void;
27
+ readonly fn: ({ state }: ModifierArguments<any>) => void;
27
28
  }
28
29
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "7.1.7",
3
+ "version": "7.1.8",
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/"
@@ -35,15 +35,15 @@
35
35
  "@af/accessibility-testing": "workspace:^",
36
36
  "@af/integration-testing": "workspace:^",
37
37
  "@af/visual-regression": "workspace:^",
38
- "@atlaskit/button": "^23.6.0",
39
- "@atlaskit/docs": "^11.2.0",
38
+ "@atlaskit/button": "^23.9.0",
39
+ "@atlaskit/docs": "^11.4.0",
40
40
  "@atlaskit/ds-lib": "^5.3.0",
41
- "@atlaskit/link": "^3.2.0",
42
- "@atlaskit/section-message": "^8.9.0",
43
- "@atlaskit/tokens": "^8.4.0",
41
+ "@atlaskit/link": "^3.3.0",
42
+ "@atlaskit/section-message": "^8.12.0",
43
+ "@atlaskit/tokens": "^11.0.0",
44
44
  "@atlassian/ssr-tests": "workspace:^",
45
45
  "@compiled/react": "^0.18.6",
46
- "@testing-library/react": "^13.4.0",
46
+ "@testing-library/react": "^16.3.0",
47
47
  "@testing-library/user-event": "^14.4.3",
48
48
  "react-dom": "^18.2.0",
49
49
  "react-lorem-component": "^0.13.0"