@atlaskit/inline-dialog 13.1.8 → 13.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/InlineDialog/index.js +1 -1
- package/dist/cjs/InlineDialog/styled/container.js +6 -8
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/InlineDialog/index.js +1 -1
- package/dist/es2019/InlineDialog/styled/container.js +6 -7
- package/dist/es2019/version.json +1 -1
- package/dist/esm/InlineDialog/index.js +1 -1
- package/dist/esm/InlineDialog/styled/container.js +6 -7
- package/dist/esm/version.json +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 13.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 13.1.8
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -31,7 +31,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
31
31
|
|
|
32
32
|
/** @jsx jsx */
|
|
33
33
|
var packageName = "@atlaskit/inline-dialog";
|
|
34
|
-
var packageVersion = "13.1.
|
|
34
|
+
var packageVersion = "13.1.9";
|
|
35
35
|
|
|
36
36
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
37
37
|
if (!node) {
|
|
@@ -21,8 +21,6 @@ var _components = require("@atlaskit/theme/components");
|
|
|
21
21
|
|
|
22
22
|
var _constants = require("@atlaskit/theme/constants");
|
|
23
23
|
|
|
24
|
-
var _tokens = require("@atlaskit/tokens");
|
|
25
|
-
|
|
26
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
25
|
|
|
28
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -32,16 +30,16 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
32
30
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
33
31
|
|
|
34
32
|
var themedBackground = (0, _components.themed)({
|
|
35
|
-
light: (
|
|
36
|
-
dark: (
|
|
33
|
+
light: "var(--ds-background-overlay, ".concat(_colors.N0, ")"),
|
|
34
|
+
dark: "var(--ds-background-overlay, ".concat(_colors.DN50, ")")
|
|
37
35
|
});
|
|
38
36
|
var themedColor = (0, _components.themed)({
|
|
39
|
-
light: (
|
|
40
|
-
dark: (
|
|
37
|
+
light: "var(--ds-text-highEmphasis, ".concat(_colors.N900, ")"),
|
|
38
|
+
dark: "var(--ds-text-highEmphasis, ".concat(_colors.DN600, ")")
|
|
41
39
|
});
|
|
42
40
|
var themedBoxShadow = (0, _components.themed)({
|
|
43
|
-
light: (
|
|
44
|
-
dark: (
|
|
41
|
+
light: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
|
|
42
|
+
dark: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(_colors.DN50A, ", 0 0 1px ").concat(_colors.DN60A), ")")
|
|
45
43
|
});
|
|
46
44
|
var borderRadius = (0, _constants.borderRadius)();
|
|
47
45
|
var gridSize = (0, _constants.gridSize)();
|
package/dist/cjs/version.json
CHANGED
|
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
8
8
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
9
9
|
import { Container } from './styled/container';
|
|
10
10
|
const packageName = "@atlaskit/inline-dialog";
|
|
11
|
-
const packageVersion = "13.1.
|
|
11
|
+
const packageVersion = "13.1.9";
|
|
12
12
|
|
|
13
13
|
const checkIsChildOfPortal = node => {
|
|
14
14
|
if (!node) {
|
|
@@ -8,18 +8,17 @@ import { css, jsx } from '@emotion/core';
|
|
|
8
8
|
import { DN50, DN50A, DN600, DN60A, N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
9
9
|
import { themed, useGlobalTheme } from '@atlaskit/theme/components';
|
|
10
10
|
import { borderRadius as getBorderRadius, gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
|
|
11
|
-
import { token } from '@atlaskit/tokens';
|
|
12
11
|
const themedBackground = themed({
|
|
13
|
-
light:
|
|
14
|
-
dark:
|
|
12
|
+
light: `var(--ds-background-overlay, ${N0})`,
|
|
13
|
+
dark: `var(--ds-background-overlay, ${DN50})`
|
|
15
14
|
});
|
|
16
15
|
const themedColor = themed({
|
|
17
|
-
light:
|
|
18
|
-
dark:
|
|
16
|
+
light: `var(--ds-text-highEmphasis, ${N900})`,
|
|
17
|
+
dark: `var(--ds-text-highEmphasis, ${DN600})`
|
|
19
18
|
});
|
|
20
19
|
const themedBoxShadow = themed({
|
|
21
|
-
light:
|
|
22
|
-
dark:
|
|
20
|
+
light: `var(--ds-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
|
|
21
|
+
dark: `var(--ds-overlay, ${`0 4px 8px -2px ${DN50A}, 0 0 1px ${DN60A}`})`
|
|
23
22
|
});
|
|
24
23
|
const borderRadius = getBorderRadius();
|
|
25
24
|
const gridSize = getGridSize();
|
package/dist/es2019/version.json
CHANGED
|
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
8
8
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
9
9
|
import { Container } from './styled/container';
|
|
10
10
|
var packageName = "@atlaskit/inline-dialog";
|
|
11
|
-
var packageVersion = "13.1.
|
|
11
|
+
var packageVersion = "13.1.9";
|
|
12
12
|
|
|
13
13
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
14
14
|
if (!node) {
|
|
@@ -14,18 +14,17 @@ import { css, jsx } from '@emotion/core';
|
|
|
14
14
|
import { DN50, DN50A, DN600, DN60A, N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
15
15
|
import { themed, useGlobalTheme } from '@atlaskit/theme/components';
|
|
16
16
|
import { borderRadius as getBorderRadius, gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
|
|
17
|
-
import { token } from '@atlaskit/tokens';
|
|
18
17
|
var themedBackground = themed({
|
|
19
|
-
light:
|
|
20
|
-
dark:
|
|
18
|
+
light: "var(--ds-background-overlay, ".concat(N0, ")"),
|
|
19
|
+
dark: "var(--ds-background-overlay, ".concat(DN50, ")")
|
|
21
20
|
});
|
|
22
21
|
var themedColor = themed({
|
|
23
|
-
light:
|
|
24
|
-
dark:
|
|
22
|
+
light: "var(--ds-text-highEmphasis, ".concat(N900, ")"),
|
|
23
|
+
dark: "var(--ds-text-highEmphasis, ".concat(DN600, ")")
|
|
25
24
|
});
|
|
26
25
|
var themedBoxShadow = themed({
|
|
27
|
-
light:
|
|
28
|
-
dark:
|
|
26
|
+
light: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
|
|
27
|
+
dark: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(DN50A, ", 0 0 1px ").concat(DN60A), ")")
|
|
29
28
|
});
|
|
30
29
|
var borderRadius = getBorderRadius();
|
|
31
30
|
var gridSize = getGridSize();
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-dialog",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.9",
|
|
4
4
|
"description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@atlaskit/ds-lib": "^1.3.0",
|
|
29
29
|
"@atlaskit/popper": "^5.0.0",
|
|
30
30
|
"@atlaskit/theme": "^12.0.0",
|
|
31
|
-
"@atlaskit/tokens": "^0.
|
|
31
|
+
"@atlaskit/tokens": "^0.4.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/core": "^10.0.9",
|
|
34
34
|
"bind-event-listener": "^1.0.2",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/datetime-picker": "^11.1.0",
|
|
44
44
|
"@atlaskit/docs": "*",
|
|
45
45
|
"@atlaskit/icon": "^21.9.0",
|
|
46
|
-
"@atlaskit/modal-dialog": "^12.
|
|
46
|
+
"@atlaskit/modal-dialog": "^12.2.0",
|
|
47
47
|
"@atlaskit/section-message": "^6.1.0",
|
|
48
48
|
"@atlaskit/select": "^15.0.0",
|
|
49
49
|
"@atlaskit/ssr": "*",
|
|
@@ -72,7 +72,10 @@
|
|
|
72
72
|
"react-context",
|
|
73
73
|
"tokens"
|
|
74
74
|
],
|
|
75
|
-
"styling":
|
|
75
|
+
"styling": [
|
|
76
|
+
"static",
|
|
77
|
+
"emotion"
|
|
78
|
+
],
|
|
76
79
|
"design-system": "v1",
|
|
77
80
|
"deprecation": "no-deprecated-imports"
|
|
78
81
|
}
|