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

@atlaskit/inline-dialog

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/inline-dialog - npm Package Compare versions

Comparing version 7.1.3 to 8.0.0

24

CHANGELOG.md
# @atlaskit/inline-dialog
## 8.0.0
- [major] Provides analytics for common component interations. See the [Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section for more details. If you are using enzyme for testing you will have to use [our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme). [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
- [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- [major] Updated dependencies [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
- @atlaskit/select@5.0.0
- @atlaskit/single-select@6.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/layer@5.0.0
- @atlaskit/datetime-picker@6.0.0
- @atlaskit/icon@13.0.0
- [major] Updated dependencies [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- @atlaskit/select@5.0.0
- @atlaskit/single-select@6.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/layer@5.0.0
- @atlaskit/datetime-picker@6.0.0
- @atlaskit/icon@13.0.0
## 7.1.3

@@ -4,0 +28,0 @@ - [patch] Fix $FlowFixMe and release packages [25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)

29

dist/cjs/InlineDialog/index.js

@@ -6,2 +6,3 @@ 'use strict';

});
exports.InlineDialogWithoutAnalytics = undefined;

@@ -36,2 +37,4 @@ var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');

var _analyticsNext = require('@atlaskit/analytics-next');
var _layer = require('@atlaskit/layer');

@@ -43,2 +46,4 @@

var _package = require('../../package.json');
var _styled = require('./styled');

@@ -48,5 +53,2 @@

// TODO: expose applicable props from Layer and pull in here
// TODO: expose positions and flipPositions from Layer and pull in here

@@ -147,2 +149,21 @@

};
exports.default = InlineDialog;
exports.InlineDialogWithoutAnalytics = InlineDialog;
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
exports.default = (0, _analyticsNext.withAnalyticsContext)({
componentName: 'inlineDialog',
packageName: _package.name,
packageVersion: _package.version
})((0, _analyticsNext.withAnalyticsEvents)({
onClose: createAndFireEventOnAtlaskit({
action: 'closed',
actionSubject: 'inlineDialog',
attributes: {
componentName: 'inlineDialog',
packageName: _package.name,
packageVersion: _package.version
}
})
})(InlineDialog));

@@ -8,4 +8,6 @@ import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';

import ReactDOM from 'react-dom';
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
import Layer from '@atlaskit/layer';
import { gridSize } from '@atlaskit/theme';
import { name as packageName, version as packageVersion } from '../../package.json';
import { Container } from './styled';

@@ -15,3 +17,2 @@

// TODO: expose applicable props from Layer and pull in here
var InlineDialog = function (_Component) {

@@ -111,2 +112,22 @@ _inherits(InlineDialog, _Component);

};
export default InlineDialog;
export { InlineDialog as InlineDialogWithoutAnalytics };
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
export default withAnalyticsContext({
componentName: 'inlineDialog',
packageName: packageName,
packageVersion: packageVersion
})(withAnalyticsEvents({
onClose: createAndFireEventOnAtlaskit({
action: 'closed',
actionSubject: 'inlineDialog',
attributes: {
componentName: 'inlineDialog',
packageName: packageName,
packageVersion: packageVersion
}
})
})(InlineDialog));

2

dist/package.json
{
"name": "@atlaskit/inline-dialog",
"version": "7.1.2"
"version": "7.1.3"
}
{
"name": "@atlaskit/inline-dialog",
"version": "7.1.3",
"version": "8.0.0",
"description": "An inline dialog React component for secondary content and controls that are displayed on user request",

@@ -21,17 +21,18 @@ "license": "Apache-2.0",

"dependencies": {
"@atlaskit/layer": "^4.0.3",
"@atlaskit/theme": "^4.0.4"
"@atlaskit/analytics-next": "^3.0.0",
"@atlaskit/layer": "^5.0.0",
"@atlaskit/theme": "^5.0.0"
},
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"styled-components": "^3.2.6"
},
"devDependencies": {
"@atlaskit/button": "^8.2.2",
"@atlaskit/datetime-picker": "^5.2.1",
"@atlaskit/docs": "^4.1.1",
"@atlaskit/icon": "^12.3.1",
"@atlaskit/select": "^4.3.1",
"@atlaskit/single-select": "^5.2.1",
"@atlaskit/button": "^9.0.0",
"@atlaskit/datetime-picker": "^6.0.0",
"@atlaskit/docs": "^5.0.0",
"@atlaskit/icon": "^13.0.0",
"@atlaskit/select": "^5.0.0",
"@atlaskit/single-select": "^6.0.0",
"enzyme": "https://registry.npmjs.org/@pgleeson/enzyme/-/enzyme-3.3.7.tgz"

@@ -38,0 +39,0 @@ },

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