@atlaskit/page-layout 4.2.34 → 4.2.35
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/resize-control/grab-area.js +1 -1
- package/dist/cjs/components/resize-control/shadow.js +2 -4
- package/dist/cjs/components/skip-links/skip-link-components.js +1 -1
- package/dist/es2019/components/resize-control/grab-area.js +1 -1
- package/dist/es2019/components/resize-control/shadow.js +2 -9
- package/dist/es2019/components/skip-links/skip-link-components.js +1 -1
- package/dist/esm/components/resize-control/grab-area.js +1 -1
- package/dist/esm/components/resize-control/shadow.js +2 -4
- package/dist/esm/components/skip-links/skip-link-components.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/page-layout
|
|
2
2
|
|
|
3
|
+
## 4.2.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e2085d35701ca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2085d35701ca) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.2.34
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -42,7 +42,7 @@ var grabAreaStyles = (0, _react2.css)({
|
|
|
42
42
|
'&:enabled:hover, &:enabled:focus, &:enabled:active': (0, _defineProperty2.default)({}, varLineColor, "var(--ds-border-selected, #1868DB)")
|
|
43
43
|
});
|
|
44
44
|
var grabAreaCollapsedStyles = (0, _react2.css)({
|
|
45
|
-
height: "calc(100% - ".concat("var(--ds-space-600,
|
|
45
|
+
height: "calc(100% - ".concat("var(--ds-space-600, 48px)", " * 2)"),
|
|
46
46
|
padding: 0,
|
|
47
47
|
position: 'absolute',
|
|
48
48
|
backgroundColor: 'transparent',
|
|
@@ -14,13 +14,11 @@ var _hooks = require("../../common/hooks");
|
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
16
16
|
|
|
17
|
-
var colorStops = "\n rgba(0, 0, 0, 0.2) 0px,\n rgba(0, 0, 0, 0.2) 1px,\n rgba(0, 0, 0, 0.1) 1px,\n rgba(0, 0, 0, 0) 100%\n ";
|
|
18
|
-
var direction = 'to left';
|
|
19
17
|
var transitionDuration = '0.22s';
|
|
20
18
|
var shadowStyles = (0, _react.css)({
|
|
21
19
|
width: 3,
|
|
22
20
|
position: 'absolute',
|
|
23
|
-
background: "var(--ds-border,
|
|
21
|
+
background: "var(--ds-border, #0B120E24)",
|
|
24
22
|
insetBlockEnd: 0,
|
|
25
23
|
insetBlockStart: 0,
|
|
26
24
|
insetInlineStart: -1,
|
|
@@ -32,7 +30,7 @@ var shadowStyles = (0, _react.css)({
|
|
|
32
30
|
});
|
|
33
31
|
var draggingStyles = (0, _react.css)({
|
|
34
32
|
width: 6,
|
|
35
|
-
background: "var(--ds-background-neutral-subtle,
|
|
33
|
+
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
36
34
|
insetInlineStart: "var(--ds-space-negative-075, -6px)",
|
|
37
35
|
opacity: 0.8
|
|
38
36
|
});
|
|
@@ -20,7 +20,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
21
21
|
var prefersReducedMotionStyles = (0, _react.css)((0, _motion.prefersReducedMotion)());
|
|
22
22
|
var skipLinkStyles = (0, _react.css)({
|
|
23
|
-
margin: "var(--ds-space-250,
|
|
23
|
+
margin: "var(--ds-space-250, 20px)",
|
|
24
24
|
padding: '0.8rem 1rem',
|
|
25
25
|
position: 'fixed',
|
|
26
26
|
zIndex: -1,
|
|
@@ -32,7 +32,7 @@ const grabAreaStyles = css({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
const grabAreaCollapsedStyles = css({
|
|
35
|
-
height: `calc(100% - ${"var(--ds-space-600,
|
|
35
|
+
height: `calc(100% - ${"var(--ds-space-600, 48px)"} * 2)`,
|
|
36
36
|
padding: 0,
|
|
37
37
|
position: 'absolute',
|
|
38
38
|
backgroundColor: 'transparent',
|
|
@@ -7,18 +7,11 @@
|
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { easeOut } from '@atlaskit/motion';
|
|
9
9
|
import { useIsSidebarDragging } from '../../common/hooks';
|
|
10
|
-
const colorStops = `
|
|
11
|
-
rgba(0, 0, 0, 0.2) 0px,
|
|
12
|
-
rgba(0, 0, 0, 0.2) 1px,
|
|
13
|
-
rgba(0, 0, 0, 0.1) 1px,
|
|
14
|
-
rgba(0, 0, 0, 0) 100%
|
|
15
|
-
`;
|
|
16
|
-
const direction = 'to left';
|
|
17
10
|
const transitionDuration = '0.22s';
|
|
18
11
|
const shadowStyles = css({
|
|
19
12
|
width: 3,
|
|
20
13
|
position: 'absolute',
|
|
21
|
-
background:
|
|
14
|
+
background: "var(--ds-border, #0B120E24)",
|
|
22
15
|
insetBlockEnd: 0,
|
|
23
16
|
insetBlockStart: 0,
|
|
24
17
|
insetInlineStart: -1,
|
|
@@ -30,7 +23,7 @@ const shadowStyles = css({
|
|
|
30
23
|
});
|
|
31
24
|
const draggingStyles = css({
|
|
32
25
|
width: 6,
|
|
33
|
-
background:
|
|
26
|
+
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
34
27
|
insetInlineStart: "var(--ds-space-negative-075, -6px)",
|
|
35
28
|
opacity: 0.8
|
|
36
29
|
});
|
|
@@ -13,7 +13,7 @@ import { useSkipLinks } from '../../controllers';
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
14
|
const prefersReducedMotionStyles = css(prefersReducedMotion());
|
|
15
15
|
const skipLinkStyles = css({
|
|
16
|
-
margin: "var(--ds-space-250,
|
|
16
|
+
margin: "var(--ds-space-250, 20px)",
|
|
17
17
|
padding: '0.8rem 1rem',
|
|
18
18
|
position: 'fixed',
|
|
19
19
|
zIndex: -1,
|
|
@@ -33,7 +33,7 @@ var grabAreaStyles = css({
|
|
|
33
33
|
'&:enabled:hover, &:enabled:focus, &:enabled:active': _defineProperty({}, varLineColor, "var(--ds-border-selected, #1868DB)")
|
|
34
34
|
});
|
|
35
35
|
var grabAreaCollapsedStyles = css({
|
|
36
|
-
height: "calc(100% - ".concat("var(--ds-space-600,
|
|
36
|
+
height: "calc(100% - ".concat("var(--ds-space-600, 48px)", " * 2)"),
|
|
37
37
|
padding: 0,
|
|
38
38
|
position: 'absolute',
|
|
39
39
|
backgroundColor: 'transparent',
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { easeOut } from '@atlaskit/motion';
|
|
9
9
|
import { useIsSidebarDragging } from '../../common/hooks';
|
|
10
|
-
var colorStops = "\n rgba(0, 0, 0, 0.2) 0px,\n rgba(0, 0, 0, 0.2) 1px,\n rgba(0, 0, 0, 0.1) 1px,\n rgba(0, 0, 0, 0) 100%\n ";
|
|
11
|
-
var direction = 'to left';
|
|
12
10
|
var transitionDuration = '0.22s';
|
|
13
11
|
var shadowStyles = css({
|
|
14
12
|
width: 3,
|
|
15
13
|
position: 'absolute',
|
|
16
|
-
background: "var(--ds-border,
|
|
14
|
+
background: "var(--ds-border, #0B120E24)",
|
|
17
15
|
insetBlockEnd: 0,
|
|
18
16
|
insetBlockStart: 0,
|
|
19
17
|
insetInlineStart: -1,
|
|
@@ -25,7 +23,7 @@ var shadowStyles = css({
|
|
|
25
23
|
});
|
|
26
24
|
var draggingStyles = css({
|
|
27
25
|
width: 6,
|
|
28
|
-
background: "var(--ds-background-neutral-subtle,
|
|
26
|
+
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
29
27
|
insetInlineStart: "var(--ds-space-negative-075, -6px)",
|
|
30
28
|
opacity: 0.8
|
|
31
29
|
});
|
|
@@ -17,7 +17,7 @@ import { useSkipLinks } from '../../controllers';
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
18
18
|
var prefersReducedMotionStyles = css(prefersReducedMotion());
|
|
19
19
|
var skipLinkStyles = css({
|
|
20
|
-
margin: "var(--ds-space-250,
|
|
20
|
+
margin: "var(--ds-space-250, 20px)",
|
|
21
21
|
padding: '0.8rem 1rem',
|
|
22
22
|
position: 'fixed',
|
|
23
23
|
zIndex: -1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/page-layout",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.35",
|
|
4
4
|
"description": "A collection of components which let you compose an application's page layout.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"homepage": "https://atlassian.design/components/page-layout/",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
41
|
-
"@atlaskit/icon": "^
|
|
41
|
+
"@atlaskit/icon": "^34.0.0",
|
|
42
42
|
"@atlaskit/link": "^3.3.0",
|
|
43
43
|
"@atlaskit/motion": "^5.5.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"@atlaskit/docs": "^11.7.0",
|
|
63
63
|
"@atlaskit/logo": "^19.10.0",
|
|
64
64
|
"@atlaskit/menu": "^8.4.0",
|
|
65
|
-
"@atlaskit/popup": "^4.
|
|
65
|
+
"@atlaskit/popup": "^4.16.0",
|
|
66
66
|
"@atlaskit/section-message": "^8.12.0",
|
|
67
67
|
"@atlaskit/side-navigation": "^11.1.0",
|
|
68
|
-
"@atlaskit/tooltip": "^21.
|
|
68
|
+
"@atlaskit/tooltip": "^21.1.0",
|
|
69
69
|
"@atlassian/ssr-tests": "workspace:^",
|
|
70
70
|
"@testing-library/react": "^16.3.0",
|
|
71
71
|
"@types/raf-schd": "^4.0.1",
|