@atlaskit/drawer 7.0.1 → 7.1.0
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 +8 -0
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/components/primitives/icon-button.js +2 -2
- package/dist/cjs/components/primitives/index.js +1 -1
- package/dist/cjs/components/primitives/sidebar.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/index.js +1 -1
- package/dist/es2019/components/primitives/icon-button.js +2 -2
- package/dist/es2019/components/primitives/index.js +1 -1
- package/dist/es2019/components/primitives/sidebar.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/primitives/icon-button.js +2 -2
- package/dist/esm/components/primitives/index.js +1 -1
- package/dist/esm/components/primitives/sidebar.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/drawer
|
|
2
2
|
|
|
3
|
+
## 7.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d19fa028010`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d19fa028010) - Instrumented `@atlaskit/drawer` with the new theming package, `@atlaskit/tokens`.
|
|
8
|
+
|
|
9
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
10
|
+
|
|
3
11
|
## 7.0.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -52,7 +52,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
52
52
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
53
53
|
|
|
54
54
|
var packageName = "@atlaskit/drawer";
|
|
55
|
-
var packageVersion = "7.0
|
|
55
|
+
var packageVersion = "7.1.0";
|
|
56
56
|
|
|
57
57
|
var OnlyChild = function OnlyChild(_ref) {
|
|
58
58
|
var children = _ref.children;
|
|
@@ -29,10 +29,10 @@ var iconButtonStyles = (0, _core.css)({
|
|
|
29
29
|
fontSize: 'inherit',
|
|
30
30
|
lineHeight: 1,
|
|
31
31
|
'&:hover': {
|
|
32
|
-
backgroundColor: _colors.N30A
|
|
32
|
+
backgroundColor: "var(--ds-background-transparentNeutral-hover, ".concat(_colors.N30A, ")")
|
|
33
33
|
},
|
|
34
34
|
'&:active': {
|
|
35
|
-
backgroundColor: _colors.B50,
|
|
35
|
+
backgroundColor: "var(--ds-background-transparentNeutral-pressed, ".concat(_colors.B50, ")"),
|
|
36
36
|
outline: 0
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -21,7 +21,7 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
21
21
|
var defaultStyle = {
|
|
22
22
|
alignItems: 'center',
|
|
23
23
|
boxSizing: 'border-box',
|
|
24
|
-
color: _colors.N500,
|
|
24
|
+
color: "var(--ds-text-mediumEmphasis, ".concat(_colors.N500, ")"),
|
|
25
25
|
display: 'flex',
|
|
26
26
|
flexShrink: 0,
|
|
27
27
|
flexDirection: 'column',
|
package/dist/cjs/version.json
CHANGED
|
@@ -10,7 +10,7 @@ import FocusLock from './focus-lock';
|
|
|
10
10
|
import DrawerPrimitive from './primitives';
|
|
11
11
|
import { Fade } from './transitions';
|
|
12
12
|
const packageName = "@atlaskit/drawer";
|
|
13
|
-
const packageVersion = "7.0
|
|
13
|
+
const packageVersion = "7.1.0";
|
|
14
14
|
|
|
15
15
|
const OnlyChild = ({
|
|
16
16
|
children
|
|
@@ -19,10 +19,10 @@ const iconButtonStyles = css({
|
|
|
19
19
|
fontSize: 'inherit',
|
|
20
20
|
lineHeight: 1,
|
|
21
21
|
'&:hover': {
|
|
22
|
-
backgroundColor: N30A
|
|
22
|
+
backgroundColor: `var(--ds-background-transparentNeutral-hover, ${N30A})`
|
|
23
23
|
},
|
|
24
24
|
'&:active': {
|
|
25
|
-
backgroundColor: B50
|
|
25
|
+
backgroundColor: `var(--ds-background-transparentNeutral-pressed, ${B50})`,
|
|
26
26
|
outline: 0
|
|
27
27
|
}
|
|
28
28
|
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -21,7 +21,7 @@ import FocusLock from './focus-lock';
|
|
|
21
21
|
import DrawerPrimitive from './primitives';
|
|
22
22
|
import { Fade } from './transitions';
|
|
23
23
|
var packageName = "@atlaskit/drawer";
|
|
24
|
-
var packageVersion = "7.0
|
|
24
|
+
var packageVersion = "7.1.0";
|
|
25
25
|
|
|
26
26
|
var OnlyChild = function OnlyChild(_ref) {
|
|
27
27
|
var children = _ref.children;
|
|
@@ -19,10 +19,10 @@ var iconButtonStyles = css({
|
|
|
19
19
|
fontSize: 'inherit',
|
|
20
20
|
lineHeight: 1,
|
|
21
21
|
'&:hover': {
|
|
22
|
-
backgroundColor: N30A
|
|
22
|
+
backgroundColor: "var(--ds-background-transparentNeutral-hover, ".concat(N30A, ")")
|
|
23
23
|
},
|
|
24
24
|
'&:active': {
|
|
25
|
-
backgroundColor: B50,
|
|
25
|
+
backgroundColor: "var(--ds-background-transparentNeutral-pressed, ".concat(B50, ")"),
|
|
26
26
|
outline: 0
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -8,7 +8,7 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
8
8
|
var defaultStyle = {
|
|
9
9
|
alignItems: 'center',
|
|
10
10
|
boxSizing: 'border-box',
|
|
11
|
-
color: N500,
|
|
11
|
+
color: "var(--ds-text-mediumEmphasis, ".concat(N500, ")"),
|
|
12
12
|
display: 'flex',
|
|
13
13
|
flexShrink: 0,
|
|
14
14
|
flexDirection: 'column',
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "React component the renders a Drawer from the left of the screen",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"@atlaskit/icon": "^21.9.0",
|
|
30
30
|
"@atlaskit/portal": "^4.0.0",
|
|
31
31
|
"@atlaskit/theme": "^12.0.0",
|
|
32
|
+
"@atlaskit/tokens": "^0.4.0",
|
|
32
33
|
"@babel/runtime": "^7.0.0",
|
|
33
34
|
"@emotion/core": "^10.0.9",
|
|
34
35
|
"exenv": "^1.2.2",
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
},
|
|
64
65
|
"@repo/internal": {
|
|
65
66
|
"analytics": "analytics-next",
|
|
67
|
+
"theming": "tokens",
|
|
66
68
|
"styling": [
|
|
67
69
|
"static",
|
|
68
70
|
"emotion"
|