@atlaskit/react-ufo 3.6.3 → 3.6.5

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/ufo-interaction-ignore
2
2
 
3
+ ## 3.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#145191](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145191)
8
+ [`cd21ebedb9a08`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd21ebedb9a08) -
9
+ Internal change to move towards Compiled CSS-in-JS styling.
10
+
11
+ ## 3.6.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [#144654](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/144654)
16
+ [`f01bae7a69fc9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f01bae7a69fc9) -
17
+ remove withProfiling wrappers for intersection observer callbacks
18
+
3
19
  ## 3.6.3
4
20
 
5
21
  ### Patch Changes
@@ -59,15 +59,15 @@ function createIntersectionObserver(args) {
59
59
  });
60
60
  var observer = new IntersectionObserver(intersectionObserverCallback);
61
61
  return {
62
- disconnect: (0, _selfMeasurements.withProfiling)(function disconnect() {
62
+ disconnect: function disconnect() {
63
63
  observer.disconnect();
64
- }, ['vc']),
65
- unobserve: (0, _selfMeasurements.withProfiling)(function unobserve(target) {
64
+ },
65
+ unobserve: function unobserve(target) {
66
66
  observer.unobserve(target);
67
- }, ['vc']),
68
- watchAndTag: (0, _selfMeasurements.withProfiling)(function watchAndTag(target, tagOrCallback) {
67
+ },
68
+ watchAndTag: function watchAndTag(target, tagOrCallback) {
69
69
  callbacksPerElement.set(target, tagOrCallback);
70
70
  observer.observe(target);
71
- }, ['vc'])
71
+ }
72
72
  };
73
73
  }
@@ -54,15 +54,15 @@ export function createIntersectionObserver(args) {
54
54
  });
55
55
  const observer = new IntersectionObserver(intersectionObserverCallback);
56
56
  return {
57
- disconnect: withProfiling(function disconnect() {
57
+ disconnect: () => {
58
58
  observer.disconnect();
59
- }, ['vc']),
60
- unobserve: withProfiling(function unobserve(target) {
59
+ },
60
+ unobserve: target => {
61
61
  observer.unobserve(target);
62
- }, ['vc']),
63
- watchAndTag: withProfiling(function watchAndTag(target, tagOrCallback) {
62
+ },
63
+ watchAndTag: (target, tagOrCallback) => {
64
64
  callbacksPerElement.set(target, tagOrCallback);
65
65
  observer.observe(target);
66
- }, ['vc'])
66
+ }
67
67
  };
68
68
  }
@@ -53,15 +53,15 @@ export function createIntersectionObserver(args) {
53
53
  });
54
54
  var observer = new IntersectionObserver(intersectionObserverCallback);
55
55
  return {
56
- disconnect: withProfiling(function disconnect() {
56
+ disconnect: function disconnect() {
57
57
  observer.disconnect();
58
- }, ['vc']),
59
- unobserve: withProfiling(function unobserve(target) {
58
+ },
59
+ unobserve: function unobserve(target) {
60
60
  observer.unobserve(target);
61
- }, ['vc']),
62
- watchAndTag: withProfiling(function watchAndTag(target, tagOrCallback) {
61
+ },
62
+ watchAndTag: function watchAndTag(target, tagOrCallback) {
63
63
  callbacksPerElement.set(target, tagOrCallback);
64
64
  observer.observe(target);
65
- }, ['vc'])
65
+ }
66
66
  };
67
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",