Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/analytics-next

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/analytics-next - npm Package Compare versions

Comparing version 7.0.3 to 7.1.0

createAndFireEvents/package.json

8

AnalyticsContext/package.json
{
"name": "@atlaskit/analytics-next/AnalyticsContext",
"main": "../dist/cjs/AnalyticsContext.js",
"module": "../dist/esm/AnalyticsContext.js",
"module:es2019": "../dist/es2019/AnalyticsContext.js",
"types": "../dist/cjs/AnalyticsContext.d.ts"
"main": "../dist/cjs/components/AnalyticsContext/index.js",
"module": "../dist/esm/components/AnalyticsContext/index.js",
"module:es2019": "../dist/es2019/components/AnalyticsContext/index.js",
"types": "../dist/cjs/components/AnalyticsContext/index.d.ts"
}
{
"name": "@atlaskit/analytics-next/AnalyticsErrorBoundary",
"main": "../dist/cjs/AnalyticsErrorBoundary.js",
"module": "../dist/esm/AnalyticsErrorBoundary.js",
"module:es2019": "../dist/es2019/AnalyticsErrorBoundary.js",
"types": "../dist/cjs/AnalyticsErrorBoundary.d.ts"
"main": "../dist/cjs/components/AnalyticsErrorBoundary.js",
"module": "../dist/esm/components/AnalyticsErrorBoundary.js",
"module:es2019": "../dist/es2019/components/AnalyticsErrorBoundary.js",
"types": "../dist/cjs/components/AnalyticsErrorBoundary.d.ts"
}
{
"name": "@atlaskit/analytics-next/AnalyticsEvent",
"main": "../dist/cjs/AnalyticsEvent.js",
"module": "../dist/esm/AnalyticsEvent.js",
"module:es2019": "../dist/es2019/AnalyticsEvent.js",
"types": "../dist/cjs/AnalyticsEvent.d.ts"
"main": "../dist/cjs/events/AnalyticsEvent.js",
"module": "../dist/esm/events/AnalyticsEvent.js",
"module:es2019": "../dist/es2019/events/AnalyticsEvent.js",
"types": "../dist/cjs/events/AnalyticsEvent.d.ts"
}
{
"name": "@atlaskit/analytics-next/AnalyticsListener",
"main": "../dist/cjs/AnalyticsListener.js",
"module": "../dist/esm/AnalyticsListener.js",
"module:es2019": "../dist/es2019/AnalyticsListener.js",
"types": "../dist/cjs/AnalyticsListener.d.ts"
"main": "../dist/cjs/components/AnalyticsListener/index.js",
"module": "../dist/esm/components/AnalyticsListener/index.js",
"module:es2019": "../dist/es2019/components/AnalyticsListener/index.js",
"types": "../dist/cjs/components/AnalyticsListener/index.d.ts"
}
# @atlaskit/analytics-next
## 7.1.0
### Minor Changes
- [`0e2a914932`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2a914932) - ### Additions
- Added a new hook `useAnalyticsEventHandler` for sole use in Atlaskit components
### Removals
- Removed some entry points that were unintentionally exposed
- `AnalyticsContextConsumer`
- `withAnalyticsHook`
- `usePatchedProps`
- `cleanProps`
- `AnalyticsReactContext`
- `AnalyticsEventMap`
### Improvements
- Optimization of components to prevent unnecessary re-renders via inline callbacks or jsons
- Conversion to Function Components where possible
- Preparation for dropping legacy React context in a future major release (see note below)
- Documentation improvements
- Improved directory structure
- Adoption of new standards
### IMPORTANT: Note on React Context changes
(Legacy React context)[https://reactjs.org/docs/legacy-context.html] will be removed in a future version of React.
In addition its presence can be (problematic for performance)[https://twitter.com/dan_abramov/status/1064559184010723330].
As a result, we have taken steps to migrate away from it and use the new (React Context API)[https://reactjs.org/docs/context.html].
To achieve this we are rolling the drop out in 2 phases:
#### Phase I (this release)
We have changed analytics components to receive modern context. Listeners and the Context layer will provide both modern and legacy context by default.
At their own risk, package consumers can opt in to no longer supply legacy context by using the environment variable
ANALYTICS_NEXT_MODERN_CONTEXT=true.
When doing so, any analytics consumers that rely on legacy context will not receive any, and events may be lost! This would happen when using old atlaskit packages that consume a version of @atlaskit/analytics-next before this version.
#### Phase II (future major)
In a future release (TBA) we will remove all legacy context support and clean up the branching around ANALYTICS_NEXT_MODERN_CONTEXT.
After this point, @atlaskit/analytics-next will not work with components that use a version prior to this one.
### Patch Changes
- [`967279b3f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967279b3f8) - Fix for type names that ship with new hook
## 7.0.3

@@ -4,0 +59,0 @@

export { CreateUIAnalyticsEvent } from './types';
export { default as AnalyticsEvent, AnalyticsEventPayload, } from './AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './UIAnalyticsEvent';
export { default as AnalyticsListener } from './AnalyticsListener';
export { default as AnalyticsContext } from './AnalyticsContext';
export { default as withAnalyticsContext } from './withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './withAnalyticsEvents';
export { AnalyticsReactContext, AnalyticsReactContextInterface, } from './AnalyticsReactContext';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './useCallbackWithAnalytics';
export { default as createAndFireEvent } from './createAndFireEvent';
export { default as cleanProps } from './cleanProps';
export { default as AnalyticsEvent, AnalyticsEventPayload, AnalyticsEventProps, } from './events/AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './events/UIAnalyticsEvent';
export { default as AnalyticsListener } from './components/AnalyticsListener/index';
export { default as AnalyticsContext } from './components/AnalyticsContext/index';
export { default as withAnalyticsContext } from './hocs/withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './components/AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './hocs/withAnalyticsEvents';
export { default as AnalyticsReactContext, AnalyticsReactContextInterface, } from '@atlaskit/analytics-next-stable-react-context';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './hooks/useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './hooks/useCallbackWithAnalytics';
export { UsePlatformLeafEventHandlerHookArgs, UsePlatformLeafEventHandlerHook, usePlatformLeafEventHandler, } from './hooks/usePlatformLeafEventHandler';
export { default as createAndFireEvent } from './utils/createAndFireEvent';
export { default as cleanProps } from './utils/cleanProps';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Analytics event classes
var AnalyticsEvent_1 = require("./AnalyticsEvent");
var AnalyticsEvent_1 = require("./events/AnalyticsEvent");
Object.defineProperty(exports, "AnalyticsEvent", { enumerable: true, get: function () { return AnalyticsEvent_1.default; } });
var UIAnalyticsEvent_1 = require("./UIAnalyticsEvent");
var UIAnalyticsEvent_1 = require("./events/UIAnalyticsEvent");
Object.defineProperty(exports, "UIAnalyticsEvent", { enumerable: true, get: function () { return UIAnalyticsEvent_1.default; } });
// AnalyticsListener component
var AnalyticsListener_1 = require("./AnalyticsListener");
Object.defineProperty(exports, "AnalyticsListener", { enumerable: true, get: function () { return AnalyticsListener_1.default; } });
var index_1 = require("./components/AnalyticsListener/index");
Object.defineProperty(exports, "AnalyticsListener", { enumerable: true, get: function () { return index_1.default; } });
// AnalyticsContext component and HOC
var AnalyticsContext_1 = require("./AnalyticsContext");
Object.defineProperty(exports, "AnalyticsContext", { enumerable: true, get: function () { return AnalyticsContext_1.default; } });
var withAnalyticsContext_1 = require("./withAnalyticsContext");
var index_2 = require("./components/AnalyticsContext/index");
Object.defineProperty(exports, "AnalyticsContext", { enumerable: true, get: function () { return index_2.default; } });
var withAnalyticsContext_1 = require("./hocs/withAnalyticsContext");
Object.defineProperty(exports, "withAnalyticsContext", { enumerable: true, get: function () { return withAnalyticsContext_1.default; } });
// AnalyticsErrorBoundary component
var AnalyticsErrorBoundary_1 = require("./AnalyticsErrorBoundary");
var AnalyticsErrorBoundary_1 = require("./components/AnalyticsErrorBoundary");
Object.defineProperty(exports, "AnalyticsErrorBoundary", { enumerable: true, get: function () { return AnalyticsErrorBoundary_1.default; } });
// createAnalyticsEvent HOC
var withAnalyticsEvents_1 = require("./withAnalyticsEvents");
var withAnalyticsEvents_1 = require("./hocs/withAnalyticsEvents");
Object.defineProperty(exports, "withAnalyticsEvents", { enumerable: true, get: function () { return withAnalyticsEvents_1.default; } });
// React context
var AnalyticsReactContext_1 = require("./AnalyticsReactContext");
Object.defineProperty(exports, "AnalyticsReactContext", { enumerable: true, get: function () { return AnalyticsReactContext_1.AnalyticsReactContext; } });
var analytics_next_stable_react_context_1 = require("@atlaskit/analytics-next-stable-react-context");
Object.defineProperty(exports, "AnalyticsReactContext", { enumerable: true, get: function () { return analytics_next_stable_react_context_1.default; } });
// Hook for creating and firing analytics events
var useAnalyticsEvents_1 = require("./useAnalyticsEvents");
var useAnalyticsEvents_1 = require("./hooks/useAnalyticsEvents");
Object.defineProperty(exports, "useAnalyticsEvents", { enumerable: true, get: function () { return useAnalyticsEvents_1.useAnalyticsEvents; } });
var useCallbackWithAnalytics_1 = require("./useCallbackWithAnalytics");
var useCallbackWithAnalytics_1 = require("./hooks/useCallbackWithAnalytics");
Object.defineProperty(exports, "useCallbackWithAnalytics", { enumerable: true, get: function () { return useCallbackWithAnalytics_1.useCallbackWithAnalytics; } });
var usePlatformLeafEventHandler_1 = require("./hooks/usePlatformLeafEventHandler");
Object.defineProperty(exports, "usePlatformLeafEventHandler", { enumerable: true, get: function () { return usePlatformLeafEventHandler_1.usePlatformLeafEventHandler; } });
// Helper functions
var createAndFireEvent_1 = require("./createAndFireEvent");
var createAndFireEvent_1 = require("./utils/createAndFireEvent");
Object.defineProperty(exports, "createAndFireEvent", { enumerable: true, get: function () { return createAndFireEvent_1.default; } });
var cleanProps_1 = require("./cleanProps");
var cleanProps_1 = require("./utils/cleanProps");
Object.defineProperty(exports, "cleanProps", { enumerable: true, get: function () { return cleanProps_1.default; } });
//# sourceMappingURL=index.js.map

@@ -1,5 +0,6 @@

import UIAnalyticsEvent from './UIAnalyticsEvent';
import { AnalyticsEventPayload } from './AnalyticsEvent';
import { AnalyticsEventPayload } from './events/AnalyticsEvent';
import UIAnalyticsEvent from './events/UIAnalyticsEvent';
export declare type CreateUIAnalyticsEvent = (payload: AnalyticsEventPayload) => UIAnalyticsEvent;
export declare type AnalyticsEventCreator = (create: CreateUIAnalyticsEvent, props: Record<string, any>) => UIAnalyticsEvent | undefined;
export declare type CreateEventMap = Record<string, AnalyticsEventPayload | AnalyticsEventCreator>;
export declare type CreateEventMapValue = AnalyticsEventPayload | AnalyticsEventCreator;
export declare type CreateEventMap = Record<string, CreateEventMapValue>;
export { CreateUIAnalyticsEvent } from './types';
export { default as AnalyticsEvent, AnalyticsEventPayload, } from './AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './UIAnalyticsEvent';
export { default as AnalyticsListener } from './AnalyticsListener';
export { default as AnalyticsContext } from './AnalyticsContext';
export { default as withAnalyticsContext } from './withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './withAnalyticsEvents';
export { AnalyticsReactContext, AnalyticsReactContextInterface, } from './AnalyticsReactContext';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './useCallbackWithAnalytics';
export { default as createAndFireEvent } from './createAndFireEvent';
export { default as cleanProps } from './cleanProps';
export { default as AnalyticsEvent, AnalyticsEventPayload, AnalyticsEventProps, } from './events/AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './events/UIAnalyticsEvent';
export { default as AnalyticsListener } from './components/AnalyticsListener/index';
export { default as AnalyticsContext } from './components/AnalyticsContext/index';
export { default as withAnalyticsContext } from './hocs/withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './components/AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './hocs/withAnalyticsEvents';
export { default as AnalyticsReactContext, AnalyticsReactContextInterface, } from '@atlaskit/analytics-next-stable-react-context';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './hooks/useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './hooks/useCallbackWithAnalytics';
export { UsePlatformLeafEventHandlerHookArgs, UsePlatformLeafEventHandlerHook, usePlatformLeafEventHandler, } from './hooks/usePlatformLeafEventHandler';
export { default as createAndFireEvent } from './utils/createAndFireEvent';
export { default as cleanProps } from './utils/cleanProps';
// Analytics event classes
export { default as AnalyticsEvent, } from './AnalyticsEvent';
export { default as UIAnalyticsEvent, } from './UIAnalyticsEvent';
export { default as AnalyticsEvent, } from './events/AnalyticsEvent';
export { default as UIAnalyticsEvent, } from './events/UIAnalyticsEvent';
// AnalyticsListener component
export { default as AnalyticsListener } from './AnalyticsListener';
export { default as AnalyticsListener } from './components/AnalyticsListener/index';
// AnalyticsContext component and HOC
export { default as AnalyticsContext } from './AnalyticsContext';
export { default as withAnalyticsContext } from './withAnalyticsContext';
export { default as AnalyticsContext } from './components/AnalyticsContext/index';
export { default as withAnalyticsContext } from './hocs/withAnalyticsContext';
// AnalyticsErrorBoundary component
export { default as AnalyticsErrorBoundary, } from './AnalyticsErrorBoundary';
export { default as AnalyticsErrorBoundary, } from './components/AnalyticsErrorBoundary';
// createAnalyticsEvent HOC
export { default as withAnalyticsEvents, } from './withAnalyticsEvents';
export { default as withAnalyticsEvents, } from './hocs/withAnalyticsEvents';
// React context
export { AnalyticsReactContext, } from './AnalyticsReactContext';
export { default as AnalyticsReactContext, } from '@atlaskit/analytics-next-stable-react-context';
// Hook for creating and firing analytics events
export { useAnalyticsEvents, } from './useAnalyticsEvents';
export { useCallbackWithAnalytics, } from './useCallbackWithAnalytics';
export { useAnalyticsEvents, } from './hooks/useAnalyticsEvents';
export { useCallbackWithAnalytics, } from './hooks/useCallbackWithAnalytics';
export { usePlatformLeafEventHandler, } from './hooks/usePlatformLeafEventHandler';
// Helper functions
export { default as createAndFireEvent } from './createAndFireEvent';
export { default as cleanProps } from './cleanProps';
export { default as createAndFireEvent } from './utils/createAndFireEvent';
export { default as cleanProps } from './utils/cleanProps';
//# sourceMappingURL=index.js.map

@@ -1,5 +0,6 @@

import UIAnalyticsEvent from './UIAnalyticsEvent';
import { AnalyticsEventPayload } from './AnalyticsEvent';
import { AnalyticsEventPayload } from './events/AnalyticsEvent';
import UIAnalyticsEvent from './events/UIAnalyticsEvent';
export declare type CreateUIAnalyticsEvent = (payload: AnalyticsEventPayload) => UIAnalyticsEvent;
export declare type AnalyticsEventCreator = (create: CreateUIAnalyticsEvent, props: Record<string, any>) => UIAnalyticsEvent | undefined;
export declare type CreateEventMap = Record<string, AnalyticsEventPayload | AnalyticsEventCreator>;
export declare type CreateEventMapValue = AnalyticsEventPayload | AnalyticsEventCreator;
export declare type CreateEventMap = Record<string, CreateEventMapValue>;
export { CreateUIAnalyticsEvent } from './types';
export { default as AnalyticsEvent, AnalyticsEventPayload, } from './AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './UIAnalyticsEvent';
export { default as AnalyticsListener } from './AnalyticsListener';
export { default as AnalyticsContext } from './AnalyticsContext';
export { default as withAnalyticsContext } from './withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './withAnalyticsEvents';
export { AnalyticsReactContext, AnalyticsReactContextInterface, } from './AnalyticsReactContext';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './useCallbackWithAnalytics';
export { default as createAndFireEvent } from './createAndFireEvent';
export { default as cleanProps } from './cleanProps';
export { default as AnalyticsEvent, AnalyticsEventPayload, AnalyticsEventProps, } from './events/AnalyticsEvent';
export { default as UIAnalyticsEvent, UIAnalyticsEventProps, UIAnalyticsEventHandler, } from './events/UIAnalyticsEvent';
export { default as AnalyticsListener } from './components/AnalyticsListener/index';
export { default as AnalyticsContext } from './components/AnalyticsContext/index';
export { default as withAnalyticsContext } from './hocs/withAnalyticsContext';
export { default as AnalyticsErrorBoundary, AnalyticsErrorBoundaryProps, } from './components/AnalyticsErrorBoundary';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps, } from './hocs/withAnalyticsEvents';
export { default as AnalyticsReactContext, AnalyticsReactContextInterface, } from '@atlaskit/analytics-next-stable-react-context';
export { useAnalyticsEvents, UseAnalyticsEventsHook, } from './hooks/useAnalyticsEvents';
export { useCallbackWithAnalytics, UseCallbackWithAnalyticsHook, } from './hooks/useCallbackWithAnalytics';
export { UsePlatformLeafEventHandlerHookArgs, UsePlatformLeafEventHandlerHook, usePlatformLeafEventHandler, } from './hooks/usePlatformLeafEventHandler';
export { default as createAndFireEvent } from './utils/createAndFireEvent';
export { default as cleanProps } from './utils/cleanProps';
// Analytics event classes
export { default as AnalyticsEvent, } from './AnalyticsEvent';
export { default as UIAnalyticsEvent, } from './UIAnalyticsEvent';
export { default as AnalyticsEvent, } from './events/AnalyticsEvent';
export { default as UIAnalyticsEvent, } from './events/UIAnalyticsEvent';
// AnalyticsListener component
export { default as AnalyticsListener } from './AnalyticsListener';
export { default as AnalyticsListener } from './components/AnalyticsListener/index';
// AnalyticsContext component and HOC
export { default as AnalyticsContext } from './AnalyticsContext';
export { default as withAnalyticsContext } from './withAnalyticsContext';
export { default as AnalyticsContext } from './components/AnalyticsContext/index';
export { default as withAnalyticsContext } from './hocs/withAnalyticsContext';
// AnalyticsErrorBoundary component
export { default as AnalyticsErrorBoundary, } from './AnalyticsErrorBoundary';
export { default as AnalyticsErrorBoundary, } from './components/AnalyticsErrorBoundary';
// createAnalyticsEvent HOC
export { default as withAnalyticsEvents, } from './withAnalyticsEvents';
export { default as withAnalyticsEvents, } from './hocs/withAnalyticsEvents';
// React context
export { AnalyticsReactContext, } from './AnalyticsReactContext';
export { default as AnalyticsReactContext, } from '@atlaskit/analytics-next-stable-react-context';
// Hook for creating and firing analytics events
export { useAnalyticsEvents, } from './useAnalyticsEvents';
export { useCallbackWithAnalytics, } from './useCallbackWithAnalytics';
export { useAnalyticsEvents, } from './hooks/useAnalyticsEvents';
export { useCallbackWithAnalytics, } from './hooks/useCallbackWithAnalytics';
export { usePlatformLeafEventHandler, } from './hooks/usePlatformLeafEventHandler';
// Helper functions
export { default as createAndFireEvent } from './createAndFireEvent';
export { default as cleanProps } from './cleanProps';
export { default as createAndFireEvent } from './utils/createAndFireEvent';
export { default as cleanProps } from './utils/cleanProps';
//# sourceMappingURL=index.js.map

@@ -1,5 +0,6 @@

import UIAnalyticsEvent from './UIAnalyticsEvent';
import { AnalyticsEventPayload } from './AnalyticsEvent';
import { AnalyticsEventPayload } from './events/AnalyticsEvent';
import UIAnalyticsEvent from './events/UIAnalyticsEvent';
export declare type CreateUIAnalyticsEvent = (payload: AnalyticsEventPayload) => UIAnalyticsEvent;
export declare type AnalyticsEventCreator = (create: CreateUIAnalyticsEvent, props: Record<string, any>) => UIAnalyticsEvent | undefined;
export declare type CreateEventMap = Record<string, AnalyticsEventPayload | AnalyticsEventCreator>;
export declare type CreateEventMapValue = AnalyticsEventPayload | AnalyticsEventCreator;
export declare type CreateEventMap = Record<string, CreateEventMapValue>;
{
"name": "@atlaskit/analytics-next",
"version": "7.0.3",
"description": "The 🆕 Atlaskit component analytics framework",
"version": "7.1.0",
"description": "React components, HOCs and hooks to assist with tracking user activity with React components",
"publishConfig": {

@@ -19,3 +19,2 @@ "registry": "https://registry.npmjs.org/"

"team": "AFP: App Infrastructure",
"deprecatedAutoEntryPoints": true,
"releaseModel": "scheduled",

@@ -26,2 +25,18 @@ "website": {

},
"./types": "./src/types.ts",
"af:exports": {
"./types": "./src/types.ts",
"./AnalyticsContext": "./src/components/AnalyticsContext/index.tsx",
"./AnalyticsListener": "./src/components/AnalyticsListener/index.tsx",
"./AnalyticsErrorBoundary": "./src/components/AnalyticsErrorBoundary.tsx",
"./withAnalyticsEvents": "./src/hocs/withAnalyticsEvents.tsx",
"./withAnalyticsContext": "./src/hocs/withAnalyticsContext.tsx",
"./usePlatformLeafEventHandler": "./src/hooks/usePlatformLeafEventHandler.ts",
"./useAnalyticsEvents": "./src/hooks/useAnalyticsEvents.ts",
"./useCallbackWithAnalytics": "./src/hooks/useCallbackWithAnalytics.ts",
"./usePatchedProps": "./src/hooks/usePatchedProps.ts",
"./AnalyticsEvent": "./src/events/AnalyticsEvent.ts",
"./UIAnalyticsEvent": "./src/events/UIAnalyticsEvent.ts",
"./createAndFireEvents": "./src/utils/createAndFireEvent.ts"
},
"dependencies": {

@@ -38,3 +53,3 @@ "@atlaskit/analytics-next-stable-react-context": "1.0.1",

"@atlaskit/build-utils": "*",
"@atlaskit/button": "^14.0.0",
"@atlaskit/button": "^15.0.0",
"@atlaskit/docs": "*",

@@ -46,4 +61,24 @@ "@atlaskit/ssr": "*",

"react-dom": "^16.8.0",
"redux": "^3.7.2"
"redux": "^3.7.2",
"storybook-addon-performance": "0.12.0"
},
"techstack": {
"@atlassian/frontend": {
"import-structure": "atlassian-conventions"
},
"@repo/internal": {
"ui-components": [
"lite-mode"
],
"analytics": [
"analytics-next"
],
"theming": [
"new-theming-api"
],
"deprecation": [
"no-deprecated-imports"
]
}
}
}
{
"name": "@atlaskit/analytics-next/UIAnalyticsEvent",
"main": "../dist/cjs/UIAnalyticsEvent.js",
"module": "../dist/esm/UIAnalyticsEvent.js",
"module:es2019": "../dist/es2019/UIAnalyticsEvent.js",
"types": "../dist/cjs/UIAnalyticsEvent.d.ts"
"main": "../dist/cjs/events/UIAnalyticsEvent.js",
"module": "../dist/esm/events/UIAnalyticsEvent.js",
"module:es2019": "../dist/es2019/events/UIAnalyticsEvent.js",
"types": "../dist/cjs/events/UIAnalyticsEvent.d.ts"
}
{
"name": "@atlaskit/analytics-next/useAnalyticsEvents",
"main": "../dist/cjs/useAnalyticsEvents.js",
"module": "../dist/esm/useAnalyticsEvents.js",
"module:es2019": "../dist/es2019/useAnalyticsEvents.js",
"types": "../dist/cjs/useAnalyticsEvents.d.ts"
"main": "../dist/cjs/hooks/useAnalyticsEvents.js",
"module": "../dist/esm/hooks/useAnalyticsEvents.js",
"module:es2019": "../dist/es2019/hooks/useAnalyticsEvents.js",
"types": "../dist/cjs/hooks/useAnalyticsEvents.d.ts"
}
{
"name": "@atlaskit/analytics-next/useCallbackWithAnalytics",
"main": "../dist/cjs/useCallbackWithAnalytics.js",
"module": "../dist/esm/useCallbackWithAnalytics.js",
"module:es2019": "../dist/es2019/useCallbackWithAnalytics.js",
"types": "../dist/cjs/useCallbackWithAnalytics.d.ts"
"main": "../dist/cjs/hooks/useCallbackWithAnalytics.js",
"module": "../dist/esm/hooks/useCallbackWithAnalytics.js",
"module:es2019": "../dist/es2019/hooks/useCallbackWithAnalytics.js",
"types": "../dist/cjs/hooks/useCallbackWithAnalytics.d.ts"
}
{
"name": "@atlaskit/analytics-next/usePatchedProps",
"main": "../dist/cjs/usePatchedProps.js",
"module": "../dist/esm/usePatchedProps.js",
"module:es2019": "../dist/es2019/usePatchedProps.js",
"types": "../dist/cjs/usePatchedProps.d.ts"
"main": "../dist/cjs/hooks/usePatchedProps.js",
"module": "../dist/esm/hooks/usePatchedProps.js",
"module:es2019": "../dist/es2019/hooks/usePatchedProps.js",
"types": "../dist/cjs/hooks/usePatchedProps.d.ts"
}
{
"name": "@atlaskit/analytics-next/withAnalyticsContext",
"main": "../dist/cjs/withAnalyticsContext.js",
"module": "../dist/esm/withAnalyticsContext.js",
"module:es2019": "../dist/es2019/withAnalyticsContext.js",
"types": "../dist/cjs/withAnalyticsContext.d.ts"
"main": "../dist/cjs/hocs/withAnalyticsContext.js",
"module": "../dist/esm/hocs/withAnalyticsContext.js",
"module:es2019": "../dist/es2019/hocs/withAnalyticsContext.js",
"types": "../dist/cjs/hocs/withAnalyticsContext.d.ts"
}
{
"name": "@atlaskit/analytics-next/withAnalyticsEvents",
"main": "../dist/cjs/withAnalyticsEvents.js",
"module": "../dist/esm/withAnalyticsEvents.js",
"module:es2019": "../dist/es2019/withAnalyticsEvents.js",
"types": "../dist/cjs/withAnalyticsEvents.d.ts"
"main": "../dist/cjs/hocs/withAnalyticsEvents.js",
"module": "../dist/esm/hocs/withAnalyticsEvents.js",
"module:es2019": "../dist/es2019/hocs/withAnalyticsEvents.js",
"types": "../dist/cjs/hocs/withAnalyticsEvents.d.ts"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc