@atlaskit/analytics-next 11.1.4 → 11.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.
Files changed (44) hide show
  1. package/AnalyticsReactContext/package.json +15 -0
  2. package/CHANGELOG.md +7 -0
  3. package/afm-cc/tsconfig.json +0 -1
  4. package/afm-jira/tsconfig.json +3 -6
  5. package/afm-products/tsconfig.json +0 -1
  6. package/cleanProps/package.json +15 -0
  7. package/dist/cjs/components/AnalyticsReactContext.js +13 -0
  8. package/dist/cjs/index.js +2 -2
  9. package/dist/cjs/utils/isModernContextEnabledEnv.js +2 -1
  10. package/dist/es2019/components/AnalyticsReactContext.js +1 -0
  11. package/dist/es2019/index.js +1 -1
  12. package/dist/es2019/utils/isModernContextEnabledEnv.js +2 -1
  13. package/dist/esm/components/AnalyticsReactContext.js +1 -0
  14. package/dist/esm/index.js +1 -1
  15. package/dist/esm/utils/isModernContextEnabledEnv.js +2 -1
  16. package/dist/types/components/AnalyticsContext/index.d.ts +1 -1
  17. package/dist/types/components/AnalyticsContext/types.d.ts +1 -1
  18. package/dist/types/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +1 -1
  19. package/dist/types/components/AnalyticsListener/index.d.ts +1 -1
  20. package/dist/types/components/AnalyticsListener/types.d.ts +1 -1
  21. package/dist/types/components/AnalyticsReactContext.d.ts +2 -0
  22. package/dist/types/hocs/withAnalyticsEvents.d.ts +1 -1
  23. package/dist/types/hooks/useAnalyticsEvents.d.ts +1 -1
  24. package/dist/types/hooks/usePatchedProps.d.ts +1 -1
  25. package/dist/types/index.d.ts +2 -2
  26. package/dist/types/types.d.ts +1 -1
  27. package/dist/types/utils/createAndFireEvent.d.ts +2 -2
  28. package/dist/types/utils/isModernContextEnabledEnv.d.ts +2 -2
  29. package/dist/types-ts4.5/components/AnalyticsContext/index.d.ts +1 -1
  30. package/dist/types-ts4.5/components/AnalyticsContext/types.d.ts +1 -1
  31. package/dist/types-ts4.5/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +1 -1
  32. package/dist/types-ts4.5/components/AnalyticsListener/index.d.ts +1 -1
  33. package/dist/types-ts4.5/components/AnalyticsListener/types.d.ts +1 -1
  34. package/dist/types-ts4.5/components/AnalyticsReactContext.d.ts +2 -0
  35. package/dist/types-ts4.5/hocs/withAnalyticsEvents.d.ts +1 -1
  36. package/dist/types-ts4.5/hooks/useAnalyticsEvents.d.ts +1 -1
  37. package/dist/types-ts4.5/hooks/usePatchedProps.d.ts +1 -1
  38. package/dist/types-ts4.5/index.d.ts +2 -2
  39. package/dist/types-ts4.5/types.d.ts +1 -1
  40. package/dist/types-ts4.5/utils/createAndFireEvent.d.ts +2 -2
  41. package/dist/types-ts4.5/utils/isModernContextEnabledEnv.d.ts +2 -2
  42. package/package.json +1 -1
  43. package/tsconfig.json +1 -2
  44. package/usePlatformLeafSyntheticEventHandler/package.json +15 -0
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/analytics-next/AnalyticsReactContext",
3
+ "main": "../dist/cjs/components/AnalyticsReactContext.js",
4
+ "module": "../dist/esm/components/AnalyticsReactContext.js",
5
+ "module:es2019": "../dist/es2019/components/AnalyticsReactContext.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/components/AnalyticsReactContext.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/components/AnalyticsReactContext.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/analytics-next
2
2
 
3
+ ## 11.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a0a0a9bcde425`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0a0a9bcde425) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
3
10
  ## 11.1.4
4
11
 
5
12
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "declaration": true,
5
4
  "target": "es5",
6
5
  "outDir": "../../../../../confluence/tsDist/@atlaskit__analytics-next",
7
6
  "rootDir": "../",
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "declaration": true,
5
4
  "target": "es5",
6
5
  "outDir": "../../../../../jira/tsDist/@atlaskit__analytics-next/app",
7
6
  "rootDir": "../",
8
7
  "composite": true,
9
- "noCheck": true
8
+ "noCheck": true,
9
+ "isolatedDeclarations": true
10
10
  },
11
- "include": [
12
- "../src/**/*.ts",
13
- "../src/**/*.tsx"
14
- ],
11
+ "include": ["../src/**/*.ts", "../src/**/*.tsx"],
15
12
  "exclude": [
16
13
  "../src/**/__tests__/*",
17
14
  "../src/**/*.test.*",
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "declaration": true,
5
4
  "target": "es5",
6
5
  "outDir": "../../../../../tsDist/@atlaskit__analytics-next/app",
7
6
  "rootDir": "../",
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/analytics-next/cleanProps",
3
+ "main": "../dist/cjs/utils/cleanProps.js",
4
+ "module": "../dist/esm/utils/cleanProps.js",
5
+ "module:es2019": "../dist/es2019/utils/cleanProps.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/utils/cleanProps.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/utils/cleanProps.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _analyticsNextStableReactContext.default;
11
+ }
12
+ });
13
+ var _analyticsNextStableReactContext = _interopRequireDefault(require("@atlaskit/analytics-next-stable-react-context"));
package/dist/cjs/index.js CHANGED
@@ -44,7 +44,7 @@ Object.defineProperty(exports, "AnalyticsListener", {
44
44
  Object.defineProperty(exports, "AnalyticsReactContext", {
45
45
  enumerable: true,
46
46
  get: function get() {
47
- return _analyticsNextStableReactContext.default;
47
+ return _AnalyticsReactContext.default;
48
48
  }
49
49
  });
50
50
  Object.defineProperty(exports, "UIAnalyticsEvent", {
@@ -126,7 +126,7 @@ var _index2 = _interopRequireDefault(require("./components/AnalyticsContext/inde
126
126
  var _withAnalyticsContext = _interopRequireDefault(require("./hocs/withAnalyticsContext"));
127
127
  var _AnalyticsErrorBoundary = _interopRequireDefault(require("./components/AnalyticsErrorBoundary"));
128
128
  var _withAnalyticsEvents = _interopRequireDefault(require("./hocs/withAnalyticsEvents"));
129
- var _analyticsNextStableReactContext = _interopRequireDefault(require("@atlaskit/analytics-next-stable-react-context"));
129
+ var _AnalyticsReactContext = _interopRequireDefault(require("./components/AnalyticsReactContext"));
130
130
  var _useAnalyticsEvents = require("./hooks/useAnalyticsEvents");
131
131
  var _useCallbackWithAnalytics = require("./hooks/useCallbackWithAnalytics");
132
132
  var _usePlatformLeafEventHandler = require("./hooks/usePlatformLeafEventHandler");
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _process$env;
8
8
  /// <reference types="node" />
9
- var _default = exports.default = typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
9
+ var _default_1 = typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
10
+ var _default = exports.default = _default_1;
@@ -0,0 +1 @@
1
+ export { default } from '@atlaskit/analytics-next-stable-react-context';
@@ -12,7 +12,7 @@ export { default as AnalyticsErrorBoundary } from './components/AnalyticsErrorBo
12
12
  // createAnalyticsEvent HOC
13
13
  export { default as withAnalyticsEvents } from './hocs/withAnalyticsEvents';
14
14
  // React context
15
- export { default as AnalyticsReactContext } from '@atlaskit/analytics-next-stable-react-context';
15
+ export { default as AnalyticsReactContext } from './components/AnalyticsReactContext';
16
16
  // Hook for creating and firing analytics events
17
17
  export { useAnalyticsEvents } from './hooks/useAnalyticsEvents';
18
18
  export { useCallbackWithAnalytics } from './hooks/useCallbackWithAnalytics';
@@ -1,3 +1,4 @@
1
1
  var _process$env;
2
2
  /// <reference types="node" />
3
- export default typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
3
+ const _default_1 = typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
4
+ export default _default_1;
@@ -0,0 +1 @@
1
+ export { default } from '@atlaskit/analytics-next-stable-react-context';
package/dist/esm/index.js CHANGED
@@ -12,7 +12,7 @@ export { default as AnalyticsErrorBoundary } from './components/AnalyticsErrorBo
12
12
  // createAnalyticsEvent HOC
13
13
  export { default as withAnalyticsEvents } from './hocs/withAnalyticsEvents';
14
14
  // React context
15
- export { default as AnalyticsReactContext } from '@atlaskit/analytics-next-stable-react-context';
15
+ export { default as AnalyticsReactContext } from './components/AnalyticsReactContext';
16
16
  // Hook for creating and firing analytics events
17
17
  export { useAnalyticsEvents } from './hooks/useAnalyticsEvents';
18
18
  export { useCallbackWithAnalytics } from './hooks/useCallbackWithAnalytics';
@@ -1,3 +1,4 @@
1
1
  var _process$env;
2
2
  /// <reference types="node" />
3
- export default typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
3
+ var _default_1 = typeof process !== 'undefined' && process !== null && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env['ANALYTICS_NEXT_MODERN_CONTEXT']);
4
+ export default _default_1;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsContextFunction } from './types';
1
+ import type { AnalyticsContextFunction } from './types';
2
2
  declare const AnalyticsContext: AnalyticsContextFunction;
3
3
  export default AnalyticsContext;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
1
+ import type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
2
2
  export type AnalyticsContextFunction = (props: {
3
3
  /** Children! */
4
4
  children: React.ReactNode;
@@ -24,8 +24,8 @@ declare class AnalyticsListener extends Component<Props> {
24
24
  contextValue: AnalyticsReactContextInterface;
25
25
  constructor(props: Props);
26
26
  getChildContext: () => {
27
- getAtlaskitAnalyticsEventHandlers: () => any[];
28
27
  getAtlaskitAnalyticsContext: () => any;
28
+ getAtlaskitAnalyticsEventHandlers: () => any[];
29
29
  };
30
30
  getAnalyticsEventHandlers: () => any[];
31
31
  getAtlaskitAnalyticsContext: () => any;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsListenerFunction } from './types';
1
+ import type { AnalyticsListenerFunction } from './types';
2
2
  declare const AnalyticsListener: AnalyticsListenerFunction;
3
3
  export default AnalyticsListener;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
1
+ import type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
2
2
  import type UIAnalyticsEvent from '../../events/UIAnalyticsEvent';
3
3
  export type AnalyticsListenerFunction = (props: {
4
4
  /** The channel to listen for events on. */
@@ -0,0 +1,2 @@
1
+ export { default } from '@atlaskit/analytics-next-stable-react-context';
2
+ export type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type CreateEventMap, type CreateUIAnalyticsEvent } from '../types';
2
+ import type { CreateEventMap, CreateUIAnalyticsEvent } from '../types';
3
3
  export interface WithAnalyticsEventsProps {
4
4
  /**
5
5
  * You should not be accessing this prop under any circumstances.
@@ -1,4 +1,4 @@
1
- import { type CreateUIAnalyticsEvent } from '../types';
1
+ import type { CreateUIAnalyticsEvent } from '../types';
2
2
  export type UseAnalyticsEventsHook = {
3
3
  createAnalyticsEvent: CreateUIAnalyticsEvent;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type CreateEventMap } from '../types';
1
+ import type { CreateEventMap } from '../types';
2
2
  export type PatchedPropsHook = {
3
3
  patchedEventProps: CreateEventMap;
4
4
  };
@@ -11,8 +11,8 @@ export { default as AnalyticsErrorBoundary } from './components/AnalyticsErrorBo
11
11
  export type { AnalyticsErrorBoundaryProps } from './components/AnalyticsErrorBoundary';
12
12
  export { default as withAnalyticsEvents } from './hocs/withAnalyticsEvents';
13
13
  export type { WithAnalyticsEventsProps } from './hocs/withAnalyticsEvents';
14
- export { default as AnalyticsReactContext } from '@atlaskit/analytics-next-stable-react-context';
15
- export type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
14
+ export { default as AnalyticsReactContext } from './components/AnalyticsReactContext';
15
+ export type { AnalyticsReactContextInterface } from './components/AnalyticsReactContext';
16
16
  export { useAnalyticsEvents } from './hooks/useAnalyticsEvents';
17
17
  export type { UseAnalyticsEventsHook } from './hooks/useAnalyticsEvents';
18
18
  export { useCallbackWithAnalytics } from './hooks/useCallbackWithAnalytics';
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from './events/AnalyticsEvent';
1
+ import type { AnalyticsEventPayload } from './events/AnalyticsEvent';
2
2
  import type UIAnalyticsEvent from './events/UIAnalyticsEvent';
3
3
  export type CreateUIAnalyticsEvent = (payload: AnalyticsEventPayload) => UIAnalyticsEvent;
4
4
  export type AnalyticsEventCreator = (create: CreateUIAnalyticsEvent, props: Record<string, any>) => UIAnalyticsEvent | undefined;
@@ -1,5 +1,5 @@
1
- import { type AnalyticsEventPayload } from '../events/AnalyticsEvent';
1
+ import type { AnalyticsEventPayload } from '../events/AnalyticsEvent';
2
2
  import type UIAnalyticsEvent from '../events/UIAnalyticsEvent';
3
- import { type CreateUIAnalyticsEvent } from '../types';
3
+ import type { CreateUIAnalyticsEvent } from '../types';
4
4
  declare const _default: (channel?: string) => (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => UIAnalyticsEvent;
5
5
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: string | false | undefined;
2
- export default _default;
1
+ declare const _default_1: string | false | undefined;
2
+ export default _default_1;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsContextFunction } from './types';
1
+ import type { AnalyticsContextFunction } from './types';
2
2
  declare const AnalyticsContext: AnalyticsContextFunction;
3
3
  export default AnalyticsContext;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
1
+ import type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
2
2
  export type AnalyticsContextFunction = (props: {
3
3
  /** Children! */
4
4
  children: React.ReactNode;
@@ -24,8 +24,8 @@ declare class AnalyticsListener extends Component<Props> {
24
24
  contextValue: AnalyticsReactContextInterface;
25
25
  constructor(props: Props);
26
26
  getChildContext: () => {
27
- getAtlaskitAnalyticsEventHandlers: () => any[];
28
27
  getAtlaskitAnalyticsContext: () => any;
28
+ getAtlaskitAnalyticsEventHandlers: () => any[];
29
29
  };
30
30
  getAnalyticsEventHandlers: () => any[];
31
31
  getAtlaskitAnalyticsContext: () => any;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsListenerFunction } from './types';
1
+ import type { AnalyticsListenerFunction } from './types';
2
2
  declare const AnalyticsListener: AnalyticsListenerFunction;
3
3
  export default AnalyticsListener;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
1
+ import type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
2
2
  import type UIAnalyticsEvent from '../../events/UIAnalyticsEvent';
3
3
  export type AnalyticsListenerFunction = (props: {
4
4
  /** The channel to listen for events on. */
@@ -0,0 +1,2 @@
1
+ export { default } from '@atlaskit/analytics-next-stable-react-context';
2
+ export type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type CreateEventMap, type CreateUIAnalyticsEvent } from '../types';
2
+ import type { CreateEventMap, CreateUIAnalyticsEvent } from '../types';
3
3
  export interface WithAnalyticsEventsProps {
4
4
  /**
5
5
  * You should not be accessing this prop under any circumstances.
@@ -1,4 +1,4 @@
1
- import { type CreateUIAnalyticsEvent } from '../types';
1
+ import type { CreateUIAnalyticsEvent } from '../types';
2
2
  export type UseAnalyticsEventsHook = {
3
3
  createAnalyticsEvent: CreateUIAnalyticsEvent;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type CreateEventMap } from '../types';
1
+ import type { CreateEventMap } from '../types';
2
2
  export type PatchedPropsHook = {
3
3
  patchedEventProps: CreateEventMap;
4
4
  };
@@ -11,8 +11,8 @@ export { default as AnalyticsErrorBoundary } from './components/AnalyticsErrorBo
11
11
  export type { AnalyticsErrorBoundaryProps } from './components/AnalyticsErrorBoundary';
12
12
  export { default as withAnalyticsEvents } from './hocs/withAnalyticsEvents';
13
13
  export type { WithAnalyticsEventsProps } from './hocs/withAnalyticsEvents';
14
- export { default as AnalyticsReactContext } from '@atlaskit/analytics-next-stable-react-context';
15
- export type { AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
14
+ export { default as AnalyticsReactContext } from './components/AnalyticsReactContext';
15
+ export type { AnalyticsReactContextInterface } from './components/AnalyticsReactContext';
16
16
  export { useAnalyticsEvents } from './hooks/useAnalyticsEvents';
17
17
  export type { UseAnalyticsEventsHook } from './hooks/useAnalyticsEvents';
18
18
  export { useCallbackWithAnalytics } from './hooks/useCallbackWithAnalytics';
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from './events/AnalyticsEvent';
1
+ import type { AnalyticsEventPayload } from './events/AnalyticsEvent';
2
2
  import type UIAnalyticsEvent from './events/UIAnalyticsEvent';
3
3
  export type CreateUIAnalyticsEvent = (payload: AnalyticsEventPayload) => UIAnalyticsEvent;
4
4
  export type AnalyticsEventCreator = (create: CreateUIAnalyticsEvent, props: Record<string, any>) => UIAnalyticsEvent | undefined;
@@ -1,5 +1,5 @@
1
- import { type AnalyticsEventPayload } from '../events/AnalyticsEvent';
1
+ import type { AnalyticsEventPayload } from '../events/AnalyticsEvent';
2
2
  import type UIAnalyticsEvent from '../events/UIAnalyticsEvent';
3
- import { type CreateUIAnalyticsEvent } from '../types';
3
+ import type { CreateUIAnalyticsEvent } from '../types';
4
4
  declare const _default: (channel?: string) => (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => UIAnalyticsEvent;
5
5
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: string | false | undefined;
2
- export default _default;
1
+ declare const _default_1: string | false | undefined;
2
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-next",
3
- "version": "11.1.4",
3
+ "version": "11.2.0",
4
4
  "description": "React components, HOCs and hooks to assist with tracking user activity with React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
package/tsconfig.json CHANGED
@@ -15,6 +15,5 @@
15
15
  "**/stories/*.tsx",
16
16
  "**/stories/**/*.ts",
17
17
  "**/stories/**/*.tsx"
18
- ],
19
- "compilerOptions": {}
18
+ ]
20
19
  }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/analytics-next/usePlatformLeafSyntheticEventHandler",
3
+ "main": "../dist/cjs/hooks/usePlatformLeafSyntheticEventHandler.js",
4
+ "module": "../dist/esm/hooks/usePlatformLeafSyntheticEventHandler.js",
5
+ "module:es2019": "../dist/es2019/hooks/usePlatformLeafSyntheticEventHandler.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/hooks/usePlatformLeafSyntheticEventHandler.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/hooks/usePlatformLeafSyntheticEventHandler.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }