@atlaskit/onboarding
Advanced tools
Comparing version 11.0.0 to 11.1.0
# @atlaskit/onboarding | ||
## 11.1.0 | ||
### Minor Changes | ||
- [#58176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58176) [`32032c9c1289`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32032c9c1289) - [ux] Fix spotlight padding and font style issues on tabs. | ||
## 11.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -10,5 +10,10 @@ "use strict"; | ||
var _target = require("../styled/target"); | ||
var computedStyleAttributesToClone = ['fontSize', 'fontWeight', 'lineHeight', 'padding', 'color', 'textOverflow']; | ||
function cloneAndOverrideStyles(node) { | ||
var shouldCloneChildren = true; | ||
var clonedNode = node.cloneNode(shouldCloneChildren); | ||
var computedStyles = getComputedStyle(node); | ||
computedStyleAttributesToClone.forEach(function (attribute) { | ||
clonedNode.style[attribute] = computedStyles[attribute]; | ||
}); | ||
clonedNode.style.margin = '0'; | ||
@@ -15,0 +20,0 @@ clonedNode.style.position = 'static'; |
@@ -30,3 +30,3 @@ "use strict"; | ||
var packageName = "@atlaskit/onboarding"; | ||
var packageVersion = "11.0.0"; | ||
var packageVersion = "11.1.0"; | ||
var SpotlightDialog = /*#__PURE__*/function (_Component) { | ||
@@ -33,0 +33,0 @@ (0, _inherits2.default)(SpotlightDialog, _Component); |
import React from 'react'; | ||
import { TargetInner, TargetOverlay } from '../styled/target'; | ||
const computedStyleAttributesToClone = ['fontSize', 'fontWeight', 'lineHeight', 'padding', 'color', 'textOverflow']; | ||
function cloneAndOverrideStyles(node) { | ||
const shouldCloneChildren = true; | ||
const clonedNode = node.cloneNode(shouldCloneChildren); | ||
const computedStyles = getComputedStyle(node); | ||
computedStyleAttributesToClone.forEach(attribute => { | ||
clonedNode.style[attribute] = computedStyles[attribute]; | ||
}); | ||
clonedNode.style.margin = '0'; | ||
@@ -7,0 +12,0 @@ clonedNode.style.position = 'static'; |
@@ -10,3 +10,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
const packageName = "@atlaskit/onboarding"; | ||
const packageVersion = "11.0.0"; | ||
const packageVersion = "11.1.0"; | ||
class SpotlightDialog extends Component { | ||
@@ -13,0 +13,0 @@ constructor(...args) { |
import React from 'react'; | ||
import { TargetInner, TargetOverlay } from '../styled/target'; | ||
var computedStyleAttributesToClone = ['fontSize', 'fontWeight', 'lineHeight', 'padding', 'color', 'textOverflow']; | ||
function cloneAndOverrideStyles(node) { | ||
var shouldCloneChildren = true; | ||
var clonedNode = node.cloneNode(shouldCloneChildren); | ||
var computedStyles = getComputedStyle(node); | ||
computedStyleAttributesToClone.forEach(function (attribute) { | ||
clonedNode.style[attribute] = computedStyles[attribute]; | ||
}); | ||
clonedNode.style.margin = '0'; | ||
@@ -7,0 +12,0 @@ clonedNode.style.position = 'static'; |
@@ -20,3 +20,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
var packageName = "@atlaskit/onboarding"; | ||
var packageVersion = "11.0.0"; | ||
var packageVersion = "11.1.0"; | ||
var SpotlightDialog = /*#__PURE__*/function (_Component) { | ||
@@ -23,0 +23,0 @@ _inherits(SpotlightDialog, _Component); |
{ | ||
"name": "@atlaskit/onboarding", | ||
"version": "11.0.0", | ||
"version": "11.1.0", | ||
"description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.", | ||
@@ -40,3 +40,3 @@ "publishConfig": { | ||
"@atlaskit/heading": "^1.4.0", | ||
"@atlaskit/modal-dialog": "^12.9.0", | ||
"@atlaskit/modal-dialog": "^12.10.0", | ||
"@atlaskit/popper": "^5.5.0", | ||
@@ -63,2 +63,4 @@ "@atlaskit/portal": "^4.4.0", | ||
"@af/accessibility-testing": "*", | ||
"@af/integration-testing": "*", | ||
"@af/visual-regression": "*", | ||
"@atlaskit/ssr": "*", | ||
@@ -65,0 +67,0 @@ "@atlaskit/visual-regression": "*", |
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
297333
6029
16