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

@atlaskit/blanket

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/blanket - npm Package Compare versions

Comparing version 12.2.16 to 12.3.0

6

CHANGELOG.md
# @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 @@

16

dist/cjs/blanket.js

@@ -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" />

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