@atlaskit/page-layout 1.2.8 → 1.3.1
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 +16 -0
- package/__perf__/utils/perf-example.tsx +1 -1
- package/__perf__/utils/product-integration/atlassian-navigation.tsx +1 -1
- package/__perf__/utils/product-integration/notifications-popup.tsx +1 -1
- package/__perf__/utils/product-integration/sample-footer.tsx +1 -1
- package/__perf__/utils/product-integration/sample-header.tsx +1 -1
- package/__perf__/utils/product-integration/side-navigation.tsx +1 -1
- package/dist/cjs/components/resize-control/grab-area.js +6 -6
- package/dist/cjs/components/resize-control/index.js +7 -7
- package/dist/cjs/components/resize-control/resize-button.js +7 -7
- package/dist/cjs/components/resize-control/shadow.js +4 -4
- package/dist/cjs/components/skip-links/skip-link-components.js +10 -10
- package/dist/cjs/components/slots/banner.js +6 -6
- package/dist/cjs/components/slots/content.js +3 -3
- package/dist/cjs/components/slots/internal/left-sidebar-inner.js +7 -7
- package/dist/cjs/components/slots/internal/left-sidebar-outer.js +9 -9
- package/dist/cjs/components/slots/internal/resizable-children-wrapper.js +7 -7
- package/dist/cjs/components/slots/internal/slot-focus-ring.js +4 -4
- package/dist/cjs/components/slots/left-panel.js +6 -6
- package/dist/cjs/components/slots/left-sidebar-without-resize.js +4 -4
- package/dist/cjs/components/slots/left-sidebar.js +6 -6
- package/dist/cjs/components/slots/main.js +7 -7
- package/dist/cjs/components/slots/page-layout.js +5 -5
- package/dist/cjs/components/slots/right-panel.js +6 -6
- package/dist/cjs/components/slots/right-sidebar.js +9 -9
- package/dist/cjs/components/slots/top-navigation.js +6 -6
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/resize-control/grab-area.js +1 -1
- package/dist/es2019/components/resize-control/index.js +1 -1
- package/dist/es2019/components/resize-control/resize-button.js +1 -1
- package/dist/es2019/components/resize-control/shadow.js +1 -1
- package/dist/es2019/components/skip-links/skip-link-components.js +1 -1
- package/dist/es2019/components/slots/banner.js +1 -1
- package/dist/es2019/components/slots/content.js +1 -1
- package/dist/es2019/components/slots/internal/left-sidebar-inner.js +1 -1
- package/dist/es2019/components/slots/internal/left-sidebar-outer.js +1 -1
- package/dist/es2019/components/slots/internal/resizable-children-wrapper.js +1 -1
- package/dist/es2019/components/slots/internal/slot-focus-ring.js +1 -1
- package/dist/es2019/components/slots/left-panel.js +1 -1
- package/dist/es2019/components/slots/left-sidebar-without-resize.js +1 -1
- package/dist/es2019/components/slots/left-sidebar.js +1 -1
- package/dist/es2019/components/slots/main.js +1 -1
- package/dist/es2019/components/slots/page-layout.js +1 -1
- package/dist/es2019/components/slots/right-panel.js +1 -1
- package/dist/es2019/components/slots/right-sidebar.js +1 -1
- package/dist/es2019/components/slots/top-navigation.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/resize-control/grab-area.js +1 -1
- package/dist/esm/components/resize-control/index.js +1 -1
- package/dist/esm/components/resize-control/resize-button.js +1 -1
- package/dist/esm/components/resize-control/shadow.js +1 -1
- package/dist/esm/components/skip-links/skip-link-components.js +1 -1
- package/dist/esm/components/slots/banner.js +1 -1
- package/dist/esm/components/slots/content.js +1 -1
- package/dist/esm/components/slots/internal/left-sidebar-inner.js +1 -1
- package/dist/esm/components/slots/internal/left-sidebar-outer.js +1 -1
- package/dist/esm/components/slots/internal/resizable-children-wrapper.js +1 -1
- package/dist/esm/components/slots/internal/slot-focus-ring.js +1 -1
- package/dist/esm/components/slots/left-panel.js +1 -1
- package/dist/esm/components/slots/left-sidebar-without-resize.js +1 -1
- package/dist/esm/components/slots/left-sidebar.js +1 -1
- package/dist/esm/components/slots/main.js +1 -1
- package/dist/esm/components/slots/page-layout.js +1 -1
- package/dist/esm/components/slots/right-panel.js +1 -1
- package/dist/esm/components/slots/right-sidebar.js +1 -1
- package/dist/esm/components/slots/top-navigation.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/components/resize-control/grab-area.d.ts +2 -1
- package/dist/types/components/resize-control/index.d.ts +2 -2
- package/dist/types/components/resize-control/resize-button.d.ts +2 -2
- package/dist/types/components/resize-control/shadow.d.ts +2 -2
- package/dist/types/components/skip-links/skip-link-components.d.ts +3 -2
- package/dist/types/components/slots/banner.d.ts +2 -2
- package/dist/types/components/slots/content.d.ts +2 -1
- package/dist/types/components/slots/internal/left-sidebar-inner.d.ts +2 -1
- package/dist/types/components/slots/internal/resizable-children-wrapper.d.ts +2 -1
- package/dist/types/components/slots/internal/slot-focus-ring.d.ts +2 -1
- package/dist/types/components/slots/left-panel.d.ts +2 -2
- package/dist/types/components/slots/left-sidebar-without-resize.d.ts +2 -2
- package/dist/types/components/slots/left-sidebar.d.ts +2 -2
- package/dist/types/components/slots/main.d.ts +2 -2
- package/dist/types/components/slots/page-layout.d.ts +2 -2
- package/dist/types/components/slots/right-panel.d.ts +2 -2
- package/dist/types/components/slots/right-sidebar.d.ts +2 -2
- package/dist/types/components/slots/top-navigation.d.ts +2 -2
- package/dist/types-ts4.0/common/constants.d.ts +47 -0
- package/dist/types-ts4.0/common/hooks/index.d.ts +2 -0
- package/dist/types-ts4.0/common/hooks/use-is-sidebar-collapsing.d.ts +2 -0
- package/dist/types-ts4.0/common/hooks/use-is-sidebar-dragging.d.ts +2 -0
- package/dist/types-ts4.0/common/safe-local-storage.d.ts +2 -0
- package/dist/types-ts4.0/common/types.d.ts +117 -0
- package/dist/types-ts4.0/common/utils.d.ts +13 -0
- package/dist/types-ts4.0/components/index.d.ts +12 -0
- package/dist/types-ts4.0/components/resize-control/grab-area.d.ts +9 -0
- package/dist/types-ts4.0/components/resize-control/index.d.ts +4 -0
- package/dist/types-ts4.0/components/resize-control/resize-button.d.ts +4 -0
- package/dist/types-ts4.0/components/resize-control/shadow.d.ts +6 -0
- package/dist/types-ts4.0/components/resize-control/types.d.ts +25 -0
- package/dist/types-ts4.0/components/skip-links/index.d.ts +2 -0
- package/dist/types-ts4.0/components/skip-links/skip-link-components.d.ts +11 -0
- package/dist/types-ts4.0/components/skip-links/types.d.ts +8 -0
- package/dist/types-ts4.0/components/skip-links/use-custom-skip-link.d.ts +2 -0
- package/dist/types-ts4.0/components/slots/banner.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/content.d.ts +23 -0
- package/dist/types-ts4.0/components/slots/internal/left-sidebar-inner.d.ts +10 -0
- package/dist/types-ts4.0/components/slots/internal/left-sidebar-outer.d.ts +13 -0
- package/dist/types-ts4.0/components/slots/internal/resizable-children-wrapper.d.ts +11 -0
- package/dist/types-ts4.0/components/slots/internal/slot-focus-ring.d.ts +20 -0
- package/dist/types-ts4.0/components/slots/left-panel.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/left-sidebar-without-resize.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/left-sidebar.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/main.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/page-layout.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/right-panel.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/right-sidebar.d.ts +12 -0
- package/dist/types-ts4.0/components/slots/slot-dimensions.d.ts +7 -0
- package/dist/types-ts4.0/components/slots/top-navigation.d.ts +12 -0
- package/dist/types-ts4.0/controllers/index.d.ts +6 -0
- package/dist/types-ts4.0/controllers/sidebar-resize-context.d.ts +42 -0
- package/dist/types-ts4.0/controllers/sidebar-resize-controller.d.ts +3 -0
- package/dist/types-ts4.0/controllers/skip-link-context.d.ts +5 -0
- package/dist/types-ts4.0/controllers/skip-link-controller.d.ts +2 -0
- package/dist/types-ts4.0/controllers/types.d.ts +22 -0
- package/dist/types-ts4.0/controllers/use-page-layout-grid.d.ts +3 -0
- package/dist/types-ts4.0/controllers/use-update-css-vars.d.ts +2 -0
- package/dist/types-ts4.0/index.d.ts +4 -0
- package/package.json +17 -10
|
@@ -11,7 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react2 = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _constants = require("../../common/constants");
|
|
17
17
|
|
|
@@ -51,14 +51,14 @@ var LeftSidebarWithoutResize = function LeftSidebarWithoutResize(props) {
|
|
|
51
51
|
};
|
|
52
52
|
}, [leftSidebarWidth]);
|
|
53
53
|
(0, _controllers.useSkipLink)(id, skipLinkTitle);
|
|
54
|
-
return (0,
|
|
54
|
+
return (0, _react2.jsx)(_leftSidebarOuter.default, {
|
|
55
55
|
id: id,
|
|
56
56
|
testId: testId,
|
|
57
57
|
isFixed: isFixed
|
|
58
|
-
}, (0,
|
|
58
|
+
}, (0, _react2.jsx)(_slotDimensions.default, {
|
|
59
59
|
variableName: _constants.VAR_LEFT_SIDEBAR_WIDTH,
|
|
60
60
|
value: leftSidebarWidth
|
|
61
|
-
}), (0,
|
|
61
|
+
}), (0, _react2.jsx)(_leftSidebarInner.default, {
|
|
62
62
|
isFixed: isFixed
|
|
63
63
|
}, children));
|
|
64
64
|
};
|
|
@@ -11,7 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react2 = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _constants = require("../../common/constants");
|
|
17
17
|
|
|
@@ -237,7 +237,7 @@ var LeftSidebar = function LeftSidebar(props) {
|
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
return (// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
|
|
240
|
-
(0,
|
|
240
|
+
(0, _react2.jsx)(_leftSidebarOuter.default, {
|
|
241
241
|
ref: leftSideBarRef,
|
|
242
242
|
testId: testId,
|
|
243
243
|
onMouseOver: onMouseOver,
|
|
@@ -245,17 +245,17 @@ var LeftSidebar = function LeftSidebar(props) {
|
|
|
245
245
|
id: id,
|
|
246
246
|
isFixed: isFixed,
|
|
247
247
|
isFlyoutOpen: isFlyoutOpen
|
|
248
|
-
}, (0,
|
|
248
|
+
}, (0, _react2.jsx)(_slotDimensions.default, {
|
|
249
249
|
variableName: _constants.VAR_LEFT_SIDEBAR_WIDTH,
|
|
250
250
|
value: notFirstRun.current ? leftSidebarWidth : leftSidebarWidthOnMount
|
|
251
|
-
}), (0,
|
|
251
|
+
}), (0, _react2.jsx)(_leftSidebarInner.default, {
|
|
252
252
|
isFixed: isFixed,
|
|
253
253
|
isFlyoutOpen: isFlyoutOpen
|
|
254
|
-
}, (0,
|
|
254
|
+
}, (0, _react2.jsx)(_resizableChildrenWrapper.default, {
|
|
255
255
|
isFlyoutOpen: isFlyoutOpen,
|
|
256
256
|
isLeftSidebarCollapsed: isLeftSidebarCollapsed,
|
|
257
257
|
hasCollapsedState: !notFirstRun.current && collapsedState === 'collapsed'
|
|
258
|
-
}, children), (0,
|
|
258
|
+
}, children), (0, _react2.jsx)(_resizeControl.default, {
|
|
259
259
|
testId: testId,
|
|
260
260
|
resizeGrabAreaLabel: resizeGrabAreaLabel,
|
|
261
261
|
resizeButtonLabel: resizeButtonLabel // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react2 = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _accessibility = require("@atlaskit/motion/accessibility");
|
|
17
17
|
|
|
@@ -29,8 +29,8 @@ var _slotFocusRing = _interopRequireDefault(require("./internal/slot-focus-ring"
|
|
|
29
29
|
|
|
30
30
|
/** @jsx jsx */
|
|
31
31
|
// eslint-disable-next-line @repo/internal/react/consistent-css-prop-usage
|
|
32
|
-
var prefersReducedMotionStyles = (0,
|
|
33
|
-
var mainStyles = (0,
|
|
32
|
+
var prefersReducedMotionStyles = (0, _react2.css)((0, _accessibility.prefersReducedMotion)());
|
|
33
|
+
var mainStyles = (0, _react2.css)({
|
|
34
34
|
minWidth: 0,
|
|
35
35
|
marginLeft: 0,
|
|
36
36
|
// Prevent flex container from blowing up when there's super wide content.
|
|
@@ -38,7 +38,7 @@ var mainStyles = (0, _core.css)({
|
|
|
38
38
|
// Transition negative margin on main in sync with the increase in width of leftSidebar.
|
|
39
39
|
transition: "margin-left ".concat(_constants.TRANSITION_DURATION, "ms ").concat(_curves.easeOut, " 0s")
|
|
40
40
|
});
|
|
41
|
-
var draggingStyles = (0,
|
|
41
|
+
var draggingStyles = (0, _react2.css)({
|
|
42
42
|
cursor: 'ew-resize',
|
|
43
43
|
// Make sure drag to resize remains snappy.
|
|
44
44
|
transition: 'none'
|
|
@@ -50,7 +50,7 @@ var draggingStyles = (0, _core.css)({
|
|
|
50
50
|
* while main remains in place.
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
|
-
var flyoutStyles = (0,
|
|
53
|
+
var flyoutStyles = (0, _react2.css)({
|
|
54
54
|
marginLeft: "calc(-1 * var(--".concat(_constants.VAR_LEFT_SIDEBAR_FLYOUT, ", ").concat(_constants.DEFAULT_LEFT_SIDEBAR_FLYOUT_WIDTH, "px) + ").concat(_constants.COLLAPSED_LEFT_SIDEBAR_WIDTH, "px)")
|
|
55
55
|
});
|
|
56
56
|
/**
|
|
@@ -75,9 +75,9 @@ var Main = function Main(props) {
|
|
|
75
75
|
isFlyoutOpen = _useContext$leftSideb.isFlyoutOpen,
|
|
76
76
|
isFixed = _useContext$leftSideb.isFixed;
|
|
77
77
|
|
|
78
|
-
return (0,
|
|
78
|
+
return (0, _react2.jsx)(_slotFocusRing.default, null, function (_ref) {
|
|
79
79
|
var className = _ref.className;
|
|
80
|
-
return (0,
|
|
80
|
+
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
81
81
|
"data-testid": testId,
|
|
82
82
|
css: [mainStyles, isDragging && draggingStyles, isFlyoutOpen && !isFixed && flyoutStyles, prefersReducedMotionStyles],
|
|
83
83
|
className: className,
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _constants = require("../../common/constants");
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ var _skipLinks = require("../skip-links");
|
|
|
24
24
|
/** @jsx jsx */
|
|
25
25
|
var pageLayoutSelector = (0, _defineProperty2.default)({}, _constants.PAGE_LAYOUT_CONTAINER_SELECTOR, true);
|
|
26
26
|
var gridTemplateAreas = "\n \"".concat(_constants.LEFT_PANEL, " ").concat(_constants.BANNER, " ").concat(_constants.RIGHT_PANEL, "\"\n \"").concat(_constants.LEFT_PANEL, " ").concat(_constants.TOP_NAVIGATION, " ").concat(_constants.RIGHT_PANEL, "\"\n \"").concat(_constants.LEFT_PANEL, " ").concat(_constants.CONTENT, " ").concat(_constants.RIGHT_PANEL, "\"\n ");
|
|
27
|
-
var gridStyles = (0,
|
|
27
|
+
var gridStyles = (0, _react2.css)({
|
|
28
28
|
display: 'grid',
|
|
29
29
|
height: '100%',
|
|
30
30
|
gridTemplateAreas: gridTemplateAreas,
|
|
@@ -48,13 +48,13 @@ var PageLayout = function PageLayout(_ref) {
|
|
|
48
48
|
testId = _ref.testId,
|
|
49
49
|
onLeftSidebarExpand = _ref.onLeftSidebarExpand,
|
|
50
50
|
onLeftSidebarCollapse = _ref.onLeftSidebarCollapse;
|
|
51
|
-
return (0,
|
|
51
|
+
return (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_controllers.SkipLinksController, null, (0, _react2.jsx)(_skipLinks.SkipLinkWrapper, {
|
|
52
52
|
skipLinksLabel: skipLinksLabel
|
|
53
|
-
}), (0,
|
|
53
|
+
}), (0, _react2.jsx)("div", (0, _extends2.default)({}, pageLayoutSelector, {
|
|
54
54
|
"data-testid": testId,
|
|
55
55
|
css: gridStyles,
|
|
56
56
|
tabIndex: -1
|
|
57
|
-
}), (0,
|
|
57
|
+
}), (0, _react2.jsx)(_controllers.SidebarResizeController, {
|
|
58
58
|
onLeftSidebarCollapse: onLeftSidebarCollapse,
|
|
59
59
|
onLeftSidebarExpand: onLeftSidebarExpand
|
|
60
60
|
}, children))));
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _constants = require("../../common/constants");
|
|
19
19
|
|
|
@@ -26,10 +26,10 @@ var _slotFocusRing = _interopRequireDefault(require("./internal/slot-focus-ring"
|
|
|
26
26
|
var _slotDimensions = _interopRequireDefault(require("./slot-dimensions"));
|
|
27
27
|
|
|
28
28
|
/** @jsx jsx */
|
|
29
|
-
var baseStyles = (0,
|
|
29
|
+
var baseStyles = (0, _react2.css)({
|
|
30
30
|
gridArea: _constants.RIGHT_PANEL
|
|
31
31
|
});
|
|
32
|
-
var fixedStyles = (0,
|
|
32
|
+
var fixedStyles = (0, _react2.css)({
|
|
33
33
|
width: _constants.RIGHT_PANEL_WIDTH,
|
|
34
34
|
position: 'fixed',
|
|
35
35
|
top: 0,
|
|
@@ -62,14 +62,14 @@ var RightPanel = function RightPanel(props) {
|
|
|
62
62
|
};
|
|
63
63
|
}, [rightPanelWidth]);
|
|
64
64
|
(0, _controllers.useSkipLink)(id, skipLinkTitle);
|
|
65
|
-
return (0,
|
|
65
|
+
return (0, _react2.jsx)(_slotFocusRing.default, null, function (_ref) {
|
|
66
66
|
var className = _ref.className;
|
|
67
|
-
return (0,
|
|
67
|
+
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
68
68
|
css: [baseStyles, isFixed && fixedStyles],
|
|
69
69
|
className: className,
|
|
70
70
|
"data-testid": testId,
|
|
71
71
|
id: id
|
|
72
|
-
}, (0, _utils.getPageLayoutSlotSelector)('right-panel')), (0,
|
|
72
|
+
}, (0, _utils.getPageLayoutSlotSelector)('right-panel')), (0, _react2.jsx)(_slotDimensions.default, {
|
|
73
73
|
variableName: _constants.VAR_RIGHT_PANEL_WIDTH,
|
|
74
74
|
value: rightPanelWidth
|
|
75
75
|
}), children);
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _constants = require("../../common/constants");
|
|
19
19
|
|
|
@@ -33,7 +33,7 @@ var _slotDimensions = _interopRequireDefault(require("./slot-dimensions"));
|
|
|
33
33
|
* If we were to apply `position: fixed` to the outer wrapper, it will be popped
|
|
34
34
|
* out of its flex container and Main would stretch to occupy all the space.
|
|
35
35
|
*/
|
|
36
|
-
var fixedInnerStyles = (0,
|
|
36
|
+
var fixedInnerStyles = (0, _react2.css)({
|
|
37
37
|
/**
|
|
38
38
|
* This width on the inner wrapper is required when it is using fixed
|
|
39
39
|
* positioning. Otherwise its width is slightly off.
|
|
@@ -44,10 +44,10 @@ var fixedInnerStyles = (0, _core.css)({
|
|
|
44
44
|
right: "calc(".concat(_constants.RIGHT_PANEL_WIDTH, ")"),
|
|
45
45
|
bottom: 0
|
|
46
46
|
});
|
|
47
|
-
var staticInnerStyles = (0,
|
|
47
|
+
var staticInnerStyles = (0, _react2.css)({
|
|
48
48
|
height: '100%'
|
|
49
49
|
});
|
|
50
|
-
var outerStyles = (0,
|
|
50
|
+
var outerStyles = (0, _react2.css)({
|
|
51
51
|
width: _constants.RIGHT_SIDEBAR_WIDTH
|
|
52
52
|
});
|
|
53
53
|
/**
|
|
@@ -56,7 +56,7 @@ var outerStyles = (0, _core.css)({
|
|
|
56
56
|
* so the pseudo element forces it to take up the necessary width.
|
|
57
57
|
*/
|
|
58
58
|
|
|
59
|
-
var fixedOuterStyles = (0,
|
|
59
|
+
var fixedOuterStyles = (0, _react2.css)({
|
|
60
60
|
'&::after': {
|
|
61
61
|
display: 'inline-block',
|
|
62
62
|
width: _constants.RIGHT_SIDEBAR_WIDTH,
|
|
@@ -89,19 +89,19 @@ var RightSidebar = function RightSidebar(props) {
|
|
|
89
89
|
};
|
|
90
90
|
}, [rightSidebarWidth, id]);
|
|
91
91
|
(0, _controllers.useSkipLink)(id, skipLinkTitle);
|
|
92
|
-
return (0,
|
|
92
|
+
return (0, _react2.jsx)(_slotFocusRing.default, {
|
|
93
93
|
isSidebar: true
|
|
94
94
|
}, function (_ref) {
|
|
95
95
|
var className = _ref.className;
|
|
96
|
-
return (0,
|
|
96
|
+
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
97
97
|
"data-testid": testId,
|
|
98
98
|
css: [outerStyles, isFixed && fixedOuterStyles],
|
|
99
99
|
className: className,
|
|
100
100
|
id: id
|
|
101
|
-
}, (0, _utils.getPageLayoutSlotSelector)('right-sidebar')), (0,
|
|
101
|
+
}, (0, _utils.getPageLayoutSlotSelector)('right-sidebar')), (0, _react2.jsx)(_slotDimensions.default, {
|
|
102
102
|
variableName: _constants.VAR_RIGHT_SIDEBAR_WIDTH,
|
|
103
103
|
value: rightSidebarWidth
|
|
104
|
-
}), (0,
|
|
104
|
+
}), (0, _react2.jsx)("div", {
|
|
105
105
|
css: [isFixed && fixedInnerStyles, !isFixed && staticInnerStyles]
|
|
106
106
|
}, children));
|
|
107
107
|
});
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _constants = require("../../common/constants");
|
|
19
19
|
|
|
@@ -26,11 +26,11 @@ var _slotFocusRing = _interopRequireDefault(require("./internal/slot-focus-ring"
|
|
|
26
26
|
var _slotDimensions = _interopRequireDefault(require("./slot-dimensions"));
|
|
27
27
|
|
|
28
28
|
/** @jsx jsx */
|
|
29
|
-
var topNavigationStyles = (0,
|
|
29
|
+
var topNavigationStyles = (0, _react2.css)({
|
|
30
30
|
height: _constants.TOP_NAVIGATION_HEIGHT,
|
|
31
31
|
gridArea: _constants.TOP_NAVIGATION
|
|
32
32
|
});
|
|
33
|
-
var fixedStyles = (0,
|
|
33
|
+
var fixedStyles = (0, _react2.css)({
|
|
34
34
|
position: 'fixed',
|
|
35
35
|
zIndex: 2,
|
|
36
36
|
top: _constants.BANNER_HEIGHT,
|
|
@@ -64,14 +64,14 @@ var TopNavigation = function TopNavigation(props) {
|
|
|
64
64
|
};
|
|
65
65
|
}, [topNavigationHeight]);
|
|
66
66
|
(0, _controllers.useSkipLink)(id, skipLinkTitle);
|
|
67
|
-
return (0,
|
|
67
|
+
return (0, _react2.jsx)(_slotFocusRing.default, null, function (_ref) {
|
|
68
68
|
var className = _ref.className;
|
|
69
|
-
return (0,
|
|
69
|
+
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
70
70
|
css: [topNavigationStyles, isFixed && fixedStyles],
|
|
71
71
|
className: className,
|
|
72
72
|
"data-testid": testId,
|
|
73
73
|
id: id
|
|
74
|
-
}, (0, _utils.getPageLayoutSlotSelector)('top-navigation')), (0,
|
|
74
|
+
}, (0, _utils.getPageLayoutSlotSelector)('top-navigation')), (0, _react2.jsx)(_slotDimensions.default, {
|
|
75
75
|
variableName: _constants.VAR_TOP_NAVIGATION_HEIGHT,
|
|
76
76
|
value: topNavigationHeight
|
|
77
77
|
}), children);
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { B100, B200 } from '@atlaskit/theme/colors';
|
|
6
6
|
import { GRAB_AREA_LINE_SELECTOR, GRAB_AREA_SELECTOR } from '../../common/constants';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useCallback, useContext, useMemo, useRef, useState } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { bindAll } from 'bind-event-listener';
|
|
7
7
|
import rafSchd from 'raf-schd';
|
|
8
8
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_WIDTH, IS_SIDEBAR_DRAGGING, MIN_LEFT_SIDEBAR_DRAG_THRESHOLD, RESIZE_BUTTON_SELECTOR, RESIZE_CONTROL_SELECTOR, VAR_LEFT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import ChevronRight from '@atlaskit/icon/glyph/chevron-right';
|
|
6
6
|
import { easeOut } from '@atlaskit/motion/curves';
|
|
7
7
|
import { mediumDurationMs, smallDurationMs } from '@atlaskit/motion/durations';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/dom-events/no-unsafe-event-listeners */
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
6
6
|
import { N30A, N60A } from '@atlaskit/theme/colors';
|
|
7
7
|
import { PAGE_LAYOUT_CONTAINER_SELECTOR } from '../../common/constants';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { BANNER, BANNER_HEIGHT, DEFAULT_BANNER_HEIGHT, LEFT_PANEL_WIDTH, RIGHT_PANEL_WIDTH, VAR_BANNER_HEIGHT } from '../../common/constants';
|
|
7
7
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { css, jsx } from '@emotion/
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
3
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
4
4
|
import { BANNER_HEIGHT, LEFT_PANEL_WIDTH, LEFT_SIDEBAR_FLYOUT_WIDTH, LEFT_SIDEBAR_WIDTH, TOP_NAVIGATION_HEIGHT, TRANSITION_DURATION } from '../../../common/constants';
|
|
5
5
|
import { useIsSidebarDragging } from '../../../common/hooks';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
7
7
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, LEFT_SIDEBAR_FLYOUT_WIDTH, LEFT_SIDEBAR_WIDTH, TRANSITION_DURATION } from '../../../common/constants';
|
|
8
8
|
import { useIsSidebarDragging } from '../../../common/hooks';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { css, jsx } from '@emotion/
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
3
|
import { prefersReducedMotion } from '@atlaskit/motion';
|
|
4
4
|
import { TRANSITION_DURATION } from '../../../common/constants';
|
|
5
5
|
import { useIsSidebarCollapsing } from '../../../common/hooks';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { DEFAULT_LEFT_PANEL_WIDTH, LEFT_PANEL, LEFT_PANEL_WIDTH, VAR_LEFT_PANEL_WIDTH } from '../../common/constants';
|
|
7
7
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
4
|
import { VAR_LEFT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
5
5
|
import { resolveDimension } from '../../common/utils';
|
|
6
6
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useContext, useEffect, useRef } from 'react';
|
|
5
|
-
import { jsx } from '@emotion/
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
6
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_WIDTH, FLYOUT_DELAY, RESIZE_BUTTON_SELECTOR, VAR_LEFT_SIDEBAR_FLYOUT, VAR_LEFT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
7
7
|
import { getGridStateFromStorage, mergeGridStateIntoStorage, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, SidebarResizeContext, useSkipLink } from '../../controllers';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useContext } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { prefersReducedMotion } from '@atlaskit/motion/accessibility';
|
|
7
7
|
import { easeOut } from '@atlaskit/motion/curves';
|
|
8
8
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_FLYOUT_WIDTH, TRANSITION_DURATION, VAR_LEFT_SIDEBAR_FLYOUT } from '../../common/constants';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { Fragment } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { BANNER, BANNER_HEIGHT, CONTENT, DEFAULT_I18N_PROPS_SKIP_LINKS, LEFT_PANEL, LEFT_PANEL_WIDTH, PAGE_LAYOUT_CONTAINER_SELECTOR, RIGHT_PANEL, RIGHT_PANEL_WIDTH, TOP_NAVIGATION, TOP_NAVIGATION_HEIGHT } from '../../common/constants';
|
|
7
7
|
import { SidebarResizeController, SkipLinksController } from '../../controllers';
|
|
8
8
|
import { SkipLinkWrapper } from '../skip-links';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { DEFAULT_RIGHT_PANEL_WIDTH, RIGHT_PANEL, RIGHT_PANEL_WIDTH, VAR_RIGHT_PANEL_WIDTH } from '../../common/constants';
|
|
7
7
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { BANNER_HEIGHT, DEFAULT_RIGHT_SIDEBAR_WIDTH, RIGHT_PANEL_WIDTH, RIGHT_SIDEBAR_WIDTH, TOP_NAVIGATION_HEIGHT, VAR_RIGHT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
7
7
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { BANNER_HEIGHT, DEFAULT_TOP_NAVIGATION_HEIGHT, LEFT_PANEL_WIDTH, RIGHT_PANEL_WIDTH, TOP_NAVIGATION, TOP_NAVIGATION_HEIGHT, VAR_TOP_NAVIGATION_HEIGHT } from '../../common/constants';
|
|
7
7
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|
package/dist/es2019/version.json
CHANGED
|
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
var _excluded = ["testId", "isLeftSidebarCollapsed"];
|
|
5
5
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { B100, B200 } from '@atlaskit/theme/colors';
|
|
9
9
|
import { GRAB_AREA_LINE_SELECTOR, GRAB_AREA_SELECTOR } from '../../common/constants';
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
import { useCallback, useContext, useMemo, useRef, useState } from 'react';
|
|
11
|
-
import { css, jsx } from '@emotion/
|
|
11
|
+
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import { bindAll } from 'bind-event-listener';
|
|
13
13
|
import rafSchd from 'raf-schd';
|
|
14
14
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_WIDTH, IS_SIDEBAR_DRAGGING, MIN_LEFT_SIDEBAR_DRAG_THRESHOLD, RESIZE_BUTTON_SELECTOR, RESIZE_CONTROL_SELECTOR, VAR_LEFT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
var _excluded = ["isLeftSidebarCollapsed", "label", "testId"];
|
|
5
5
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import ChevronRight from '@atlaskit/icon/glyph/chevron-right';
|
|
9
9
|
import { easeOut } from '@atlaskit/motion/curves';
|
|
10
10
|
import { mediumDurationMs, smallDurationMs } from '@atlaskit/motion/durations';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { css, jsx } from '@emotion/
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
3
|
import { easeOut } from '@atlaskit/motion';
|
|
4
4
|
import { useIsSidebarDragging } from '../../common/hooks';
|
|
5
5
|
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 ";
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
/* eslint-disable @repo/internal/dom-events/no-unsafe-event-listeners */
|
|
9
9
|
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
-
import { css, jsx } from '@emotion/
|
|
11
|
+
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
13
13
|
import { N30A, N60A } from '@atlaskit/theme/colors';
|
|
14
14
|
import { PAGE_LAYOUT_CONTAINER_SELECTOR } from '../../common/constants';
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
|
-
import { css, jsx } from '@emotion/
|
|
6
|
+
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { BANNER, BANNER_HEIGHT, DEFAULT_BANNER_HEIGHT, LEFT_PANEL_WIDTH, RIGHT_PANEL_WIDTH, VAR_BANNER_HEIGHT } from '../../common/constants';
|
|
8
8
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
9
9
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { css, jsx } from '@emotion/
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
3
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
4
4
|
import { BANNER_HEIGHT, LEFT_PANEL_WIDTH, LEFT_SIDEBAR_FLYOUT_WIDTH, LEFT_SIDEBAR_WIDTH, TOP_NAVIGATION_HEIGHT, TRANSITION_DURATION } from '../../../common/constants';
|
|
5
5
|
import { useIsSidebarDragging } from '../../../common/hooks';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { easeOut, prefersReducedMotion } from '@atlaskit/motion';
|
|
7
7
|
import { COLLAPSED_LEFT_SIDEBAR_WIDTH, LEFT_SIDEBAR_FLYOUT_WIDTH, LEFT_SIDEBAR_WIDTH, TRANSITION_DURATION } from '../../../common/constants';
|
|
8
8
|
import { useIsSidebarDragging } from '../../../common/hooks';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { css, jsx } from '@emotion/
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
3
|
import { prefersReducedMotion } from '@atlaskit/motion';
|
|
4
4
|
import { TRANSITION_DURATION } from '../../../common/constants';
|
|
5
5
|
import { useIsSidebarCollapsing } from '../../../common/hooks';
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
|
-
import { css, jsx } from '@emotion/
|
|
6
|
+
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { DEFAULT_LEFT_PANEL_WIDTH, LEFT_PANEL, LEFT_PANEL_WIDTH, VAR_LEFT_PANEL_WIDTH } from '../../common/constants';
|
|
8
8
|
import { getPageLayoutSlotSelector, resolveDimension } from '../../common/utils';
|
|
9
9
|
import { publishGridState, useSkipLink } from '../../controllers';
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import { jsx } from '@emotion/
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
6
|
import { VAR_LEFT_SIDEBAR_WIDTH } from '../../common/constants';
|
|
7
7
|
import { resolveDimension } from '../../common/utils';
|
|
8
8
|
import { publishGridState, useSkipLink } from '../../controllers';
|