@atlaskit/blanket
Advanced tools
Comparing version 12.2.16 to 12.3.0
# @atlaskit/blanket | ||
## 12.3.0 | ||
### Minor Changes | ||
- [`f2fe91811eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2fe91811eb) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change. | ||
## 12.2.16 | ||
@@ -4,0 +10,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
var _core = require("@emotion/core"); | ||
var _react2 = require("@emotion/react"); | ||
@@ -32,3 +32,3 @@ var _usePlatformLeafEventHandler = require("@atlaskit/analytics-next/usePlatformLeafEventHandler"); | ||
var packageName = "@atlaskit/blanket"; | ||
var packageVersion = "12.2.16"; | ||
var packageVersion = "12.3.0"; | ||
var analyticsAttributes = { | ||
@@ -39,3 +39,3 @@ componentName: 'blanket', | ||
}; | ||
var baseStyles = (0, _core.css)({ | ||
var baseStyles = (0, _react2.css)({ | ||
position: 'fixed', | ||
@@ -50,12 +50,12 @@ zIndex: _constants.layers.blanket(), | ||
}); | ||
var shouldAllowClickThroughStyles = (0, _core.css)({ | ||
var shouldAllowClickThroughStyles = (0, _react2.css)({ | ||
pointerEvents: 'none' | ||
}); | ||
var invisibleStyles = (0, _core.css)({ | ||
var invisibleStyles = (0, _react2.css)({ | ||
backgroundColor: 'transparent' | ||
}); | ||
var lightBgStyles = (0, _core.css)({ | ||
var lightBgStyles = (0, _react2.css)({ | ||
backgroundColor: "var(--ds-blanket, ".concat(_colors.N100A, ")") | ||
}); | ||
var darkBgStyles = (0, _core.css)({ | ||
var darkBgStyles = (0, _react2.css)({ | ||
backgroundColor: "var(--ds-blanket, ".concat(_colors.DN90A, ")") | ||
@@ -98,3 +98,3 @@ }); | ||
var onClick = shouldAllowClickThrough ? undefined : blanketClickOutsideChildren; | ||
return (0, _core.jsx)("div", { | ||
return (0, _react2.jsx)("div", { | ||
role: "presentation", | ||
@@ -101,0 +101,0 @@ css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles], |
{ | ||
"name": "@atlaskit/blanket", | ||
"version": "12.2.16", | ||
"version": "12.3.0", | ||
"sideEffects": false | ||
} |
/** @jsx jsx */ | ||
import { forwardRef, memo, useCallback } from 'react'; | ||
import { css, jsx } from '@emotion/core'; | ||
import { css, jsx } from '@emotion/react'; | ||
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatformLeafEventHandler'; | ||
@@ -10,3 +10,3 @@ import noop from '@atlaskit/ds-lib/noop'; | ||
const packageName = "@atlaskit/blanket"; | ||
const packageVersion = "12.2.16"; | ||
const packageVersion = "12.3.0"; | ||
const analyticsAttributes = { | ||
@@ -13,0 +13,0 @@ componentName: 'blanket', |
{ | ||
"name": "@atlaskit/blanket", | ||
"version": "12.2.16", | ||
"version": "12.3.0", | ||
"sideEffects": false | ||
} |
@@ -9,3 +9,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { forwardRef, memo, useCallback } from 'react'; | ||
import { css, jsx } from '@emotion/core'; | ||
import { css, jsx } from '@emotion/react'; | ||
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatformLeafEventHandler'; | ||
@@ -17,3 +17,3 @@ import noop from '@atlaskit/ds-lib/noop'; | ||
var packageName = "@atlaskit/blanket"; | ||
var packageVersion = "12.2.16"; | ||
var packageVersion = "12.3.0"; | ||
var analyticsAttributes = { | ||
@@ -20,0 +20,0 @@ componentName: 'blanket', |
{ | ||
"name": "@atlaskit/blanket", | ||
"version": "12.2.16", | ||
"version": "12.3.0", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/blanket", | ||
"version": "12.2.16", | ||
"version": "12.3.0", | ||
"description": "A blanket covers the underlying UI for a layered component, such as a modal dialog or a tooltip.", | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
"@babel/runtime": "^7.0.0", | ||
"@emotion/core": "^10.0.9" | ||
"@emotion/react": "^11.7.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "peerDependencies": { |
@@ -1,5 +0,7 @@ | ||
## API Report File for "@atlaskit/blanket" | ||
## API Report File for "@atlaskit/blanket". | ||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/). | ||
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports) | ||
```ts | ||
@@ -6,0 +8,0 @@ /// <reference types="react" /> |
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
58313
+ Added@emotion/react@^11.7.1
- Removed@emotion/core@^10.0.9
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@emotion/cache@10.0.29(transitive)
- Removed@emotion/core@10.3.1(transitive)
- Removed@emotion/css@10.0.27(transitive)
- Removed@emotion/hash@0.8.0(transitive)
- Removed@emotion/memoize@0.7.4(transitive)
- Removed@emotion/serialize@0.11.16(transitive)
- Removed@emotion/sheet@0.9.4(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@emotion/utils@0.11.3(transitive)
- Removed@emotion/weak-memoize@0.2.5(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedbabel-plugin-emotion@10.2.2(transitive)
- Removedbabel-plugin-macros@2.8.0(transitive)
- Removedbabel-plugin-syntax-jsx@6.18.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcosmiconfig@6.0.0(transitive)
- Removedcsstype@2.6.21(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfind-root@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedresolve@1.22.8(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedyaml@1.10.2(transitive)