@atlaskit/inline-dialog
Advanced tools
Comparing version 7.1.3 to 8.0.0
# @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) |
@@ -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)); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39459
301
6
+ Added@atlaskit/analytics-next@3.2.1(transitive)
+ Added@atlaskit/layer@5.1.0(transitive)
+ Added@atlaskit/theme@5.1.3(transitive)
+ Added@babel/runtime@7.26.0(transitive)
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedpopper.js@1.16.1(transitive)
+ Addedraf-schd@2.1.2(transitive)
+ Addedregenerator-runtime@0.11.10.14.1(transitive)
- Removed@atlaskit/layer@4.2.0(transitive)
- Removed@atlaskit/theme@4.1.0(transitive)
Updated@atlaskit/layer@^5.0.0
Updated@atlaskit/theme@^5.0.0