@atlaskit/page-layout 3.10.1 → 3.10.2
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 +6 -0
- package/__perf__/utils/product-integration/side-navigation.tsx +1 -0
- package/dist/cjs/components/resize-control/resize-button.js +3 -2
- package/dist/cjs/controllers/sidebar-resize-controller.js +1 -1
- package/dist/cjs/controllers/skip-link-controller.js +1 -1
- package/dist/es2019/components/resize-control/resize-button.js +3 -2
- package/dist/esm/components/resize-control/resize-button.js +3 -2
- package/package.json +12 -16
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
|
-
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/
|
|
12
|
+
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-right"));
|
|
13
13
|
var _curves = require("@atlaskit/motion/curves");
|
|
14
14
|
var _durations = require("@atlaskit/motion/durations");
|
|
15
15
|
var _responsive = require("@atlaskit/primitives/responsive");
|
|
@@ -93,7 +93,8 @@ var ResizeButton = function ResizeButton(_ref) {
|
|
|
93
93
|
onMouseDown: preventDefault
|
|
94
94
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
95
95
|
}, props), (0, _react.jsx)(_chevronRight.default, {
|
|
96
|
-
label: ""
|
|
96
|
+
label: "",
|
|
97
|
+
color: "currentColor"
|
|
97
98
|
}), (0, _react.jsx)("span", {
|
|
98
99
|
css: increaseHitAreaStyles
|
|
99
100
|
}));
|
|
@@ -16,7 +16,7 @@ var _constants = require("../common/constants");
|
|
|
16
16
|
var _utils = require("../common/utils");
|
|
17
17
|
var _sidebarResizeContext = require("./sidebar-resize-context");
|
|
18
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
20
|
var handleDataAttributesAndCb = function handleDataAttributesAndCb() {
|
|
21
21
|
var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _noop.default;
|
|
22
22
|
var leftSidebarState = arguments.length > 1 ? arguments[1] : undefined;
|
|
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _constants = require("../common/constants");
|
|
13
13
|
var _skipLinkContext = require("./skip-link-context");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
var byDOMOrder = function byDOMOrder(a, b) {
|
|
17
17
|
var _a$listIndex, _b$listIndex;
|
|
18
18
|
var elems = Array.from(document.querySelectorAll("[".concat(_constants.PAGE_LAYOUT_SLOT_SELECTOR, "]")));
|
|
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import ChevronRight from '@atlaskit/icon/
|
|
9
|
+
import ChevronRight from '@atlaskit/icon/utility/migration/chevron-right';
|
|
10
10
|
import { easeOut } from '@atlaskit/motion/curves';
|
|
11
11
|
import { mediumDurationMs, smallDurationMs } from '@atlaskit/motion/durations';
|
|
12
12
|
import { UNSAFE_media } from '@atlaskit/primitives/responsive';
|
|
@@ -91,7 +91,8 @@ const ResizeButton = ({
|
|
|
91
91
|
onMouseDown: preventDefault
|
|
92
92
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
93
93
|
}, props), jsx(ChevronRight, {
|
|
94
|
-
label: ""
|
|
94
|
+
label: "",
|
|
95
|
+
color: "currentColor"
|
|
95
96
|
}), jsx("span", {
|
|
96
97
|
css: increaseHitAreaStyles
|
|
97
98
|
}));
|
|
@@ -9,7 +9,7 @@ var _excluded = ["isLeftSidebarCollapsed", "label", "testId"];
|
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
|
-
import ChevronRight from '@atlaskit/icon/
|
|
12
|
+
import ChevronRight from '@atlaskit/icon/utility/migration/chevron-right';
|
|
13
13
|
import { easeOut } from '@atlaskit/motion/curves';
|
|
14
14
|
import { mediumDurationMs, smallDurationMs } from '@atlaskit/motion/durations';
|
|
15
15
|
import { UNSAFE_media } from '@atlaskit/primitives/responsive';
|
|
@@ -87,7 +87,8 @@ var ResizeButton = function ResizeButton(_ref) {
|
|
|
87
87
|
onMouseDown: preventDefault
|
|
88
88
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
89
89
|
}, props), jsx(ChevronRight, {
|
|
90
|
-
label: ""
|
|
90
|
+
label: "",
|
|
91
|
+
color: "currentColor"
|
|
91
92
|
}), jsx("span", {
|
|
92
93
|
css: increaseHitAreaStyles
|
|
93
94
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/page-layout",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.2",
|
|
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/"
|
|
@@ -27,10 +27,6 @@
|
|
|
27
27
|
},
|
|
28
28
|
"atlassian": {
|
|
29
29
|
"team": "Design System Team",
|
|
30
|
-
"releaseModel": "continuous",
|
|
31
|
-
"productPushConsumption": [
|
|
32
|
-
"jira"
|
|
33
|
-
],
|
|
34
30
|
"website": {
|
|
35
31
|
"name": "Page layout",
|
|
36
32
|
"category": "Components"
|
|
@@ -39,13 +35,13 @@
|
|
|
39
35
|
},
|
|
40
36
|
"homepage": "https://atlassian.design/components/page-layout/",
|
|
41
37
|
"dependencies": {
|
|
42
|
-
"@atlaskit/ds-lib": "^2.
|
|
43
|
-
"@atlaskit/icon": "^22.
|
|
38
|
+
"@atlaskit/ds-lib": "^2.6.0",
|
|
39
|
+
"@atlaskit/icon": "^22.18.0",
|
|
44
40
|
"@atlaskit/link": "^1.2.0",
|
|
45
41
|
"@atlaskit/motion": "^1.9.0",
|
|
46
|
-
"@atlaskit/primitives": "^12.
|
|
42
|
+
"@atlaskit/primitives": "^12.2.0",
|
|
47
43
|
"@atlaskit/theme": "^13.0.0",
|
|
48
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/tokens": "^2.0.0",
|
|
49
45
|
"@babel/runtime": "^7.0.0",
|
|
50
46
|
"@emotion/react": "^11.7.1",
|
|
51
47
|
"bind-event-listener": "^3.0.0",
|
|
@@ -58,17 +54,17 @@
|
|
|
58
54
|
"devDependencies": {
|
|
59
55
|
"@af/accessibility-testing": "*",
|
|
60
56
|
"@af/integration-testing": "*",
|
|
61
|
-
"@atlaskit/atlassian-navigation": "^4.
|
|
57
|
+
"@atlaskit/atlassian-navigation": "^4.7.0",
|
|
62
58
|
"@atlaskit/atlassian-notifications": "^0.4.0",
|
|
63
|
-
"@atlaskit/drawer": "^
|
|
64
|
-
"@atlaskit/logo": "^14.
|
|
59
|
+
"@atlaskit/drawer": "^9.0.0",
|
|
60
|
+
"@atlaskit/logo": "^14.3.0",
|
|
65
61
|
"@atlaskit/menu": "^2.12.0",
|
|
66
|
-
"@atlaskit/notification-indicator": "^9.
|
|
62
|
+
"@atlaskit/notification-indicator": "^9.3.0",
|
|
67
63
|
"@atlaskit/notification-log-client": "^6.1.0",
|
|
68
|
-
"@atlaskit/popup": "^1.
|
|
69
|
-
"@atlaskit/side-navigation": "^3.
|
|
64
|
+
"@atlaskit/popup": "^1.27.0",
|
|
65
|
+
"@atlaskit/side-navigation": "^3.5.0",
|
|
70
66
|
"@atlaskit/ssr": "*",
|
|
71
|
-
"@atlaskit/toggle": "^13.
|
|
67
|
+
"@atlaskit/toggle": "^13.4.0",
|
|
72
68
|
"@atlaskit/tooltip": "^18.7.0",
|
|
73
69
|
"@atlaskit/visual-regression": "*",
|
|
74
70
|
"@testing-library/dom": "^10.1.0",
|