@atlaskit/navigation-system 11.4.2 → 11.5.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 +22 -0
- package/constellation/layout/code.mdx +28 -0
- package/dist/cjs/ui/page-layout/panel-splitter/get-panel-growth-side.js +19 -0
- package/dist/cjs/ui/page-layout/panel-splitter/panel-splitter.compiled.css +2 -0
- package/dist/cjs/ui/page-layout/panel-splitter/panel-splitter.js +25 -7
- package/dist/cjs/ui/page-layout/top-nav/top-nav-element-context.js +9 -0
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.compiled.css +10 -3
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.js +52 -15
- package/dist/cjs/ui/page-layout/top-nav/top-nav-middle.compiled.css +6 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-middle.js +4 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.compiled.css +5 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.js +6 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav.compiled.css +26 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav.js +75 -7
- package/dist/cjs/ui/page-layout/top-nav/use-measured-top-nav-breakpoints.js +75 -0
- package/dist/cjs/ui/page-layout/top-nav/use-top-nav-breakpoints.js +19 -0
- package/dist/cjs/ui/page-layout/top-nav/use-top-nav-end-focus.js +102 -0
- package/dist/cjs/ui/top-nav-items/custom-title.compiled.css +2 -1
- package/dist/cjs/ui/top-nav-items/custom-title.js +6 -3
- package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.compiled.css +2 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.js +4 -2
- package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.compiled.css +3 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.js +9 -4
- package/dist/cjs/ui/top-nav-items/search.compiled.css +34 -2
- package/dist/cjs/ui/top-nav-items/search.js +106 -11
- package/dist/es2019/ui/page-layout/panel-splitter/get-panel-growth-side.js +14 -0
- package/dist/es2019/ui/page-layout/panel-splitter/panel-splitter.compiled.css +2 -0
- package/dist/es2019/ui/page-layout/panel-splitter/panel-splitter.js +22 -6
- package/dist/es2019/ui/page-layout/top-nav/top-nav-element-context.js +3 -0
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.compiled.css +10 -3
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.js +53 -14
- package/dist/es2019/ui/page-layout/top-nav/top-nav-middle.compiled.css +6 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-middle.js +4 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.compiled.css +5 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.js +6 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav.compiled.css +26 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav.js +54 -8
- package/dist/es2019/ui/page-layout/top-nav/use-measured-top-nav-breakpoints.js +48 -0
- package/dist/es2019/ui/page-layout/top-nav/use-top-nav-breakpoints.js +14 -0
- package/dist/es2019/ui/page-layout/top-nav/use-top-nav-end-focus.js +97 -0
- package/dist/es2019/ui/top-nav-items/custom-title.compiled.css +2 -1
- package/dist/es2019/ui/top-nav-items/custom-title.js +6 -3
- package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.compiled.css +2 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.js +4 -2
- package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.compiled.css +3 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.js +9 -4
- package/dist/es2019/ui/top-nav-items/search.compiled.css +34 -2
- package/dist/es2019/ui/top-nav-items/search.js +105 -10
- package/dist/esm/ui/page-layout/panel-splitter/get-panel-growth-side.js +13 -0
- package/dist/esm/ui/page-layout/panel-splitter/panel-splitter.compiled.css +2 -0
- package/dist/esm/ui/page-layout/panel-splitter/panel-splitter.js +25 -7
- package/dist/esm/ui/page-layout/top-nav/top-nav-element-context.js +3 -0
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.compiled.css +10 -3
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.js +53 -15
- package/dist/esm/ui/page-layout/top-nav/top-nav-middle.compiled.css +6 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-middle.js +4 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.compiled.css +5 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.js +6 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav.compiled.css +26 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav.js +75 -8
- package/dist/esm/ui/page-layout/top-nav/use-measured-top-nav-breakpoints.js +68 -0
- package/dist/esm/ui/page-layout/top-nav/use-top-nav-breakpoints.js +14 -0
- package/dist/esm/ui/page-layout/top-nav/use-top-nav-end-focus.js +96 -0
- package/dist/esm/ui/top-nav-items/custom-title.compiled.css +2 -1
- package/dist/esm/ui/top-nav-items/custom-title.js +6 -3
- package/dist/esm/ui/top-nav-items/nav-logo/app-logo.compiled.css +2 -1
- package/dist/esm/ui/top-nav-items/nav-logo/app-logo.js +4 -2
- package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.compiled.css +3 -1
- package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.js +9 -4
- package/dist/esm/ui/top-nav-items/search.compiled.css +34 -2
- package/dist/esm/ui/top-nav-items/search.js +107 -11
- package/dist/types/ui/page-layout/panel-splitter/get-panel-growth-side.d.ts +10 -0
- package/dist/types/ui/page-layout/top-nav/top-nav-element-context.d.ts +5 -0
- package/dist/types/ui/page-layout/top-nav/top-nav-end.d.ts +1 -0
- package/dist/types/ui/page-layout/top-nav/use-measured-top-nav-breakpoints.d.ts +2 -0
- package/dist/types/ui/page-layout/top-nav/use-top-nav-breakpoints.d.ts +10 -0
- package/dist/types/ui/page-layout/top-nav/use-top-nav-end-focus.d.ts +12 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 11.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`872ac4f53e5e9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/872ac4f53e5e9) -
|
|
8
|
+
Make TopNav layout, Search and action overflow respond to container width, behind
|
|
9
|
+
`platform-dst-chat-panel-layout`.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 11.4.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`e3025d3052440`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3025d3052440) -
|
|
20
|
+
PanelSplitter: behind `platform-dst-panel-splitter-resize-direction`, the tooltip side and the
|
|
21
|
+
keyboard arrow keys follow the panel's resize direction, which comes from `position` and the text
|
|
22
|
+
direction. For `position="start"` in left-to-right languages, the tooltip shows on the left and
|
|
23
|
+
ArrowLeft increases the width.
|
|
24
|
+
|
|
3
25
|
## 11.4.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -17,6 +17,7 @@ props:
|
|
|
17
17
|
- SideNavFooter
|
|
18
18
|
- Main
|
|
19
19
|
- MainStickyHeader
|
|
20
|
+
- PanelLayout
|
|
20
21
|
- Panel
|
|
21
22
|
- PanelSplitter
|
|
22
23
|
- SideNavToggleButton
|
|
@@ -102,6 +103,33 @@ The sticky header of the main layout area.
|
|
|
102
103
|
|
|
103
104
|
<TSMorphProps exportName="MainStickyHeader" packageName="@atlaskit/navigation-system" />
|
|
104
105
|
|
|
106
|
+
### PanelLayout
|
|
107
|
+
|
|
108
|
+
Use `PanelLayout` to render a local panel beside page content inside `Main`. It manages responsive
|
|
109
|
+
inline and overlay positioning, sizing, and pointer and keyboard resizing. The caller supplies the
|
|
110
|
+
panel content and controls whether it is open; no panel-system provider is required.
|
|
111
|
+
|
|
112
|
+
```tsx
|
|
113
|
+
import { PanelLayout } from '@atlaskit/navigation-system/layout/panel-layout';
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Mount one local-panel host per navigation `Root`, including closed `PanelLayout` and
|
|
117
|
+
`LayoutWithPanel` instances. Keep the host mounted and use `isPanelOpen` to open or close it so that
|
|
118
|
+
resized widths are retained. Switch content through the same host using `panel` and `panelKey`.
|
|
119
|
+
|
|
120
|
+
Use `defaultPanelWidth` for an initial width, or pair `panelWidth` with `onPanelWidthChange` to
|
|
121
|
+
control it. Available space can constrain the rendered width. Use `onResizeEnd` for persistence or
|
|
122
|
+
analytics after a completed resize, and provide localized `panelLabel` and `resizeLabel` values.
|
|
123
|
+
|
|
124
|
+
`PanelLayout` contains the layout and resizing responsibilities extracted from
|
|
125
|
+
`@atlassian/panel-system`. That package's `LayoutWithPanel` remains an adapter that connects panel
|
|
126
|
+
state and routed content to `PanelLayout`.
|
|
127
|
+
|
|
128
|
+
The separate [`Panel`](#panel) component is a layout area rendered alongside `Main` under `Root`.
|
|
129
|
+
`PanelLayout` wraps content inside `Main` and includes its own resize control.
|
|
130
|
+
|
|
131
|
+
<TSMorphProps exportName="PanelLayout" packageName="@atlaskit/navigation-system" />
|
|
132
|
+
|
|
105
133
|
### Panel
|
|
106
134
|
|
|
107
135
|
The Panel layout area is rendered to the right (inline end) of the Main area. On small viewports,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getPanelGrowthSide = getPanelGrowthSide;
|
|
7
|
+
/**
|
|
8
|
+
* Returns the physical side the panel grows towards when the splitter is dragged away from it.
|
|
9
|
+
*
|
|
10
|
+
* `position: 'end'` grows towards the inline-end, which is the right in left-to-right languages, and
|
|
11
|
+
* `position: 'start'` grows towards the inline-start.
|
|
12
|
+
*/
|
|
13
|
+
function getPanelGrowthSide(_ref) {
|
|
14
|
+
var position = _ref.position,
|
|
15
|
+
textDirection = _ref.textDirection;
|
|
16
|
+
var isGrowingTowardsInlineEnd = position === 'end';
|
|
17
|
+
var isInlineEndOnTheRight = textDirection === 'ltr';
|
|
18
|
+
return isGrowingTowardsInlineEnd === isInlineEndOnTheRight ? 'right' : 'left';
|
|
19
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._12ji1r31{outline-color:currentColor}
|
|
2
|
+
._12l2196n{margin-inline-end:var(--ds-space-negative-075,-6px)}
|
|
2
3
|
._12y31o36{outline-width:medium}
|
|
3
4
|
._152tidpf{inset-block-start:0}
|
|
4
5
|
._1bsb1l7b{width:3px}
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
._6fl41ytf{transition-timing-function:ease-in-out}
|
|
18
19
|
._85i5ze3t{padding-block-end:var(--ds-space-0,0)}
|
|
19
20
|
._ahbq196n{margin-inline-start:var(--ds-space-negative-075,-6px)}
|
|
21
|
+
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
20
22
|
._bfhk1j28{background-color:transparent}
|
|
21
23
|
._bfhk1r31{background-color:currentColor}
|
|
22
24
|
._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
|
|
@@ -36,6 +36,7 @@ var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/
|
|
|
36
36
|
var _constants = require("../constants");
|
|
37
37
|
var _layoutAreaSizingContext = require("../layout-area-sizing-context");
|
|
38
38
|
var _convertResizeBoundToPixels = require("./convert-resize-bound-to-pixels");
|
|
39
|
+
var _getPanelGrowthSide = require("./get-panel-growth-side");
|
|
39
40
|
var _getPercentageWithinPixelBounds = require("./get-percentage-within-pixel-bounds");
|
|
40
41
|
var _getPixelWidth = require("./get-pixel-width");
|
|
41
42
|
var _getWidthFromDragLocation = require("./get-width-from-drag-location");
|
|
@@ -64,7 +65,8 @@ var lineStyles = {
|
|
|
64
65
|
root: "_kqswstnw _1e0c1ule _1bsb1l7b _4t3i1osq _syaz1kw7 _bfhk1r31 _1e021v6z"
|
|
65
66
|
};
|
|
66
67
|
var tooltipStyles = {
|
|
67
|
-
root: "_ahbq196n _1bsb1ris"
|
|
68
|
+
root: "_ahbq196n _1bsb1ris",
|
|
69
|
+
placedLeft: "_ahbqze3t _12l2196n"
|
|
68
70
|
};
|
|
69
71
|
var PanelSplitterTooltip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
70
72
|
var children = _ref.children,
|
|
@@ -102,7 +104,7 @@ var PanelSplitterTooltip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, r
|
|
|
102
104
|
// Must be statically passed
|
|
103
105
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/no-unsafe-style-overrides
|
|
104
106
|
,
|
|
105
|
-
className: (0, _runtime.ax)([tooltipStyles.root, className])
|
|
107
|
+
className: (0, _runtime.ax)([tooltipStyles.root, props.placement === 'left' && tooltipStyles.placedLeft, className])
|
|
106
108
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
|
|
107
109
|
,
|
|
108
110
|
|
|
@@ -117,6 +119,7 @@ var PanelSplitterTooltip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, r
|
|
|
117
119
|
var MaybeTooltip = function MaybeTooltip(_ref2) {
|
|
118
120
|
var tooltipContent = _ref2.tooltipContent,
|
|
119
121
|
shortcut = _ref2.shortcut,
|
|
122
|
+
mousePosition = _ref2.mousePosition,
|
|
120
123
|
children = _ref2.children,
|
|
121
124
|
testId = _ref2.testId;
|
|
122
125
|
if (tooltipContent) {
|
|
@@ -125,7 +128,7 @@ var MaybeTooltip = function MaybeTooltip(_ref2) {
|
|
|
125
128
|
content: tooltipContent,
|
|
126
129
|
shortcut: shortcut,
|
|
127
130
|
position: "mouse-y",
|
|
128
|
-
mousePosition:
|
|
131
|
+
mousePosition: mousePosition,
|
|
129
132
|
isScreenReaderAnnouncementDisabled: true,
|
|
130
133
|
component: PanelSplitterTooltip,
|
|
131
134
|
shouldAlwaysFadeIn: true,
|
|
@@ -134,6 +137,13 @@ var MaybeTooltip = function MaybeTooltip(_ref2) {
|
|
|
134
137
|
}
|
|
135
138
|
return children;
|
|
136
139
|
};
|
|
140
|
+
|
|
141
|
+
// Browsers increase an RTL range input's value on ArrowLeft, so the arrow key pointing towards the
|
|
142
|
+
// panel's growth side widens it.
|
|
143
|
+
var rangeInputDirs = {
|
|
144
|
+
left: 'rtl',
|
|
145
|
+
right: 'ltr'
|
|
146
|
+
};
|
|
137
147
|
function getTextDirection(element) {
|
|
138
148
|
var _window$getComputedSt = window.getComputedStyle(element),
|
|
139
149
|
direction = _window$getComputedSt.direction;
|
|
@@ -169,6 +179,12 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
169
179
|
unregisterSplitter.current = element && prepareResize ? registerSplitter === null || registerSplitter === void 0 ? void 0 : registerSplitter(element) : undefined;
|
|
170
180
|
}, [prepareResize, registerSplitter]);
|
|
171
181
|
var labelId = (0, _useId.useId)();
|
|
182
|
+
var panelGrowthSide = (0, _react.useMemo)(function () {
|
|
183
|
+
return (0, _fg.fg)('platform-dst-panel-splitter-resize-direction') ? (0, _getPanelGrowthSide.getPanelGrowthSide)({
|
|
184
|
+
position: position,
|
|
185
|
+
textDirection: getTextDirection(panel)
|
|
186
|
+
}) : undefined;
|
|
187
|
+
}, [position, panel]);
|
|
172
188
|
// Separate state used for the input range width to remove the UI's dependency on the "persisted" layout state value being updated
|
|
173
189
|
var _useState = (0, _react.useState)(panelWidth),
|
|
174
190
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -422,7 +438,7 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
422
438
|
var pendingKeyboardWidth = (0, _react.useRef)(null);
|
|
423
439
|
var handleSliderInputChange = (0, _react.useCallback)( /*#__PURE__*/function () {
|
|
424
440
|
var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(event, pendingKey) {
|
|
425
|
-
var isManagedResize, sequence, value, bounds, min, max, _pendingKeyboardWidth, current,
|
|
441
|
+
var isManagedResize, sequence, value, bounds, min, max, _pendingKeyboardWidth, current, doesArrowRightIncrease, increase, step, _t2, _t3;
|
|
426
442
|
return _regenerator.default.wrap(function (_context2) {
|
|
427
443
|
while (1) switch (_context2.prev = _context2.next) {
|
|
428
444
|
case 0:
|
|
@@ -466,8 +482,8 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
466
482
|
// Native range inputs would apply these keys to the placeholder bounds.
|
|
467
483
|
// Preserve the intent until the chunk provides the real bounds instead.
|
|
468
484
|
current = (_pendingKeyboardWidth = pendingKeyboardWidth.current) !== null && _pendingKeyboardWidth !== void 0 ? _pendingKeyboardWidth : (0, _getPixelWidth.getPixelWidth)(panel);
|
|
469
|
-
|
|
470
|
-
increase = pendingKey === 'ArrowUp' || pendingKey === (
|
|
485
|
+
doesArrowRightIncrease = panelGrowthSide ? panelGrowthSide === 'right' : getTextDirection(panel) === 'ltr';
|
|
486
|
+
increase = pendingKey === 'ArrowUp' || pendingKey === (doesArrowRightIncrease ? 'ArrowRight' : 'ArrowLeft') || pendingKey === 'PageUp';
|
|
471
487
|
step = pendingKey.startsWith('Page') ? Math.max(20, (max - min) / 10) : 20;
|
|
472
488
|
value = pendingKey === 'End' ? max : pendingKey === 'Home' ? min : current + (increase ? step : -step);
|
|
473
489
|
}
|
|
@@ -498,7 +514,7 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
498
514
|
return function (_x, _x2) {
|
|
499
515
|
return _ref8.apply(this, arguments);
|
|
500
516
|
};
|
|
501
|
-
}(), [getResizeBounds, onCompleteResize, onResizeInternal, panelWidth, keyboardResizeManager, panel, prepareResize]);
|
|
517
|
+
}(), [getResizeBounds, onCompleteResize, onResizeInternal, panelWidth, keyboardResizeManager, panel, prepareResize, panelGrowthSide]);
|
|
502
518
|
var handleSliderKeyDown = (0, _react.useCallback)(function (event) {
|
|
503
519
|
if (prepareResize && !keyboardBoundsReady.current && ['Home', 'End', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'PageUp', 'PageDown'].includes(event.key)) {
|
|
504
520
|
event.preventDefault();
|
|
@@ -610,6 +626,7 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
610
626
|
}, /*#__PURE__*/React.createElement(MaybeTooltip, {
|
|
611
627
|
tooltipContent: tooltipContent,
|
|
612
628
|
shortcut: shortcut,
|
|
629
|
+
mousePosition: panelGrowthSide !== null && panelGrowthSide !== void 0 ? panelGrowthSide : 'right',
|
|
613
630
|
testId: testId ? "".concat(testId, "-tooltip") : undefined
|
|
614
631
|
}, /*#__PURE__*/React.createElement("div", {
|
|
615
632
|
ref: setSplitterRef,
|
|
@@ -618,6 +635,7 @@ var PortaledPanelSplitter = function PortaledPanelSplitter(_ref3) {
|
|
|
618
635
|
className: (0, _runtime.ax)([grabAreaStyles.root, (0, _fg.fg)('platform-dst-tokens-finesse') && grabAreaStyles.rootFinesse])
|
|
619
636
|
}, /*#__PURE__*/React.createElement(_visuallyHidden.default, null, /*#__PURE__*/React.createElement("input", {
|
|
620
637
|
type: "range",
|
|
638
|
+
dir: panelGrowthSide ? rangeInputDirs[panelGrowthSide] : undefined,
|
|
621
639
|
value: rangeInputValue,
|
|
622
640
|
step: 20,
|
|
623
641
|
min: rangeInputBounds.min,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TopNavElementContext = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
// Null outside a gated TopNav: consumers retain their viewport-based behaviour.
|
|
9
|
+
var TopNavElementContext = exports.TopNavElementContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
._1yt4u2gc{padding:var(--ds-space-100,8px)}
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
|
-
.
|
|
3
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
4
|
+
._yyhy11wp{grid-column:3}._10fph9n0{justify-self:end}
|
|
5
|
+
._1bahh9n0{justify-content:end}
|
|
6
|
+
._1bsb14ik{width:var(--n_tnSideWidth,auto)}
|
|
7
|
+
._1e0c1bgi{display:contents}
|
|
8
|
+
._1e0c1cgg{display:var(--n_tnActionsDisplay,none)}
|
|
4
9
|
._1e0c1txw{display:flex}
|
|
5
10
|
._1e0cglyw{display:none}
|
|
11
|
+
._1ul98ox3{min-width:var(--n_tnEndMinWidth,2pc)}
|
|
6
12
|
._1ul9zwfg{min-width:2pc}
|
|
7
13
|
._4cvr1h6o{align-items:center}
|
|
8
|
-
|
|
9
|
-
@media (min-width:
|
|
14
|
+
._vchhusvi{box-sizing:border-box}
|
|
15
|
+
@media (min-width:48rem){._181n1txw{display:flex}._181nz5ha{display:var(--n_tnActionsDisplay,flex)}._1d2y1ris{min-width:max-content}._1d2yioy8{min-width:var(--n_tnEndMinWidth,max-content)}}
|
|
16
|
+
@media (min-width:64rem){._glte1ris{width:max-content}._15rip2n4{min-width:330px}._1gs5usvi{box-sizing:border-box}._ndwch9n0{justify-self:end}._gltexl30{width:var(--n_tnSideWidth,max-content)}._15riwpqv{min-width:var(--n_tnEndMinWidth,330px)}}
|
|
@@ -13,6 +13,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
13
13
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _react2 = require("@compiled/react");
|
|
16
|
+
var _mergeRefs = _interopRequireDefault(require("@atlaskit/ds-lib/merge-refs"));
|
|
16
17
|
var _useLayoutEffect = require("@atlaskit/ds-lib/use-layout-effect");
|
|
17
18
|
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
18
19
|
var _openLayerObserverNamespaceProvider = require("@atlaskit/layering/open-layer-observer-namespace-provider");
|
|
@@ -23,13 +24,20 @@ var _list = require("../../../components/list");
|
|
|
23
24
|
var _hasCustomThemeContext = require("../../top-nav-items/themed/has-custom-theme-context");
|
|
24
25
|
var _iconButton = require("../../top-nav-items/themed/icon-button");
|
|
25
26
|
var _constants = require("../constants");
|
|
27
|
+
var _useTopNavBreakpoints = require("./use-top-nav-breakpoints");
|
|
28
|
+
var _useTopNavEndFocus2 = require("./use-top-nav-end-focus");
|
|
26
29
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
30
|
+
// Compiled supports the inherited container-layout widths outside @atlaskit/css's bounded values.
|
|
27
31
|
var containerStyles = {
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
focusScope: "_1e0c1bgi",
|
|
33
|
+
root: "_yyhy11wp _1e0c1txw _1bahh9n0 _1ul9zwfg",
|
|
34
|
+
withPersistentItems: "_zulpu2gc _4cvr1h6o",
|
|
35
|
+
container: "_1bsb14ik _1ul98ox3 _vchhusvi _10fph9n0 _1d2yioy8 _gltexl30 _15riwpqv",
|
|
36
|
+
viewport: "_1d2y1ris _glte1ris _15rip2n4 _1gs5usvi _ndwch9n0"
|
|
30
37
|
};
|
|
31
38
|
var listStyles = {
|
|
32
39
|
root: "_zulp1b66 _4cvr1h6o _1e0c1txw",
|
|
40
|
+
container: "_1e0c1cgg _181nz5ha",
|
|
33
41
|
hideOnSmallViewport: "_1e0cglyw _181n1txw",
|
|
34
42
|
popupContainer: "_1yt4u2gc"
|
|
35
43
|
};
|
|
@@ -43,12 +51,15 @@ var listStyles = {
|
|
|
43
51
|
* This is to prevent the actions from overflowing the top navigation.
|
|
44
52
|
*/
|
|
45
53
|
function TopNavEnd(_ref) {
|
|
54
|
+
var _breakpoints$belowSm;
|
|
46
55
|
var children = _ref.children,
|
|
47
56
|
persistentItems = _ref.persistentItems,
|
|
48
57
|
_ref$label = _ref.label,
|
|
49
58
|
label = _ref$label === void 0 ? 'Actions' : _ref$label,
|
|
50
59
|
_ref$showMoreButtonLa = _ref.showMoreButtonLabel,
|
|
51
60
|
showMoreButtonLabel = _ref$showMoreButtonLa === void 0 ? 'Show more' : _ref$showMoreButtonLa;
|
|
61
|
+
var breakpoints = (0, _useTopNavBreakpoints.useTopNavBreakpoints)();
|
|
62
|
+
var hasContainerBreakpoints = breakpoints != null;
|
|
52
63
|
var hasPersistentItems = (0, _fg.fg)('platform-dst-chat-panel-layout') && persistentItems != null;
|
|
53
64
|
var _useState = (0, _react.useState)(false),
|
|
54
65
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -57,21 +68,40 @@ function TopNavEnd(_ref) {
|
|
|
57
68
|
// Always setting to `false` for the initial render (will flip in an effect for mobile)
|
|
58
69
|
var _useState3 = (0, _react.useState)(false),
|
|
59
70
|
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
60
|
-
|
|
61
|
-
|
|
71
|
+
isMobileViewport = _useState4[0],
|
|
72
|
+
setIsMobileViewport = _useState4[1];
|
|
62
73
|
// Note: `query` is a stable value between renders
|
|
63
74
|
var query = (0, _useMediaQuery.UNSAFE_useMediaQuery)('below.sm', function onChange(event) {
|
|
64
|
-
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
|
|
75
|
+
setIsMobileViewport(event.matches);
|
|
76
|
+
// Container mode closes only when the effective layout changes below.
|
|
77
|
+
// Keep the existing viewport behavior outside the rollout / provider.
|
|
78
|
+
if ((0, _fg.fg)('platform-dst-chat-panel-layout')) {
|
|
79
|
+
if (!hasContainerBreakpoints) {
|
|
80
|
+
setIsOpen(false);
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
setIsOpen(false);
|
|
84
|
+
}
|
|
68
85
|
});
|
|
69
86
|
(0, _useLayoutEffect.useLayoutEffect)(function () {
|
|
70
87
|
var _query$matches;
|
|
71
88
|
// The default is `false`, and desktop will remain as `false` (no re-render).
|
|
72
89
|
// Mobile will flip from `false` to `true`.
|
|
73
|
-
|
|
90
|
+
setIsMobileViewport((_query$matches = query === null || query === void 0 ? void 0 : query.matches) !== null && _query$matches !== void 0 ? _query$matches : false);
|
|
74
91
|
}, [query]);
|
|
92
|
+
var isMobile = (_breakpoints$belowSm = breakpoints === null || breakpoints === void 0 ? void 0 : breakpoints.belowSm) !== null && _breakpoints$belowSm !== void 0 ? _breakpoints$belowSm : isMobileViewport;
|
|
93
|
+
var _useTopNavEndFocus = (0, _useTopNavEndFocus2.useTopNavEndFocus)({
|
|
94
|
+
isMobile: isMobile,
|
|
95
|
+
enabled: (0, _fg.fg)('platform-dst-chat-panel-layout')
|
|
96
|
+
}),
|
|
97
|
+
actionsRef = _useTopNavEndFocus.actionsRef,
|
|
98
|
+
triggerRef = _useTopNavEndFocus.triggerRef,
|
|
99
|
+
onFocusCapture = _useTopNavEndFocus.onFocusCapture;
|
|
100
|
+
(0, _useLayoutEffect.useLayoutEffect)(function () {
|
|
101
|
+
if ((0, _fg.fg)('platform-dst-chat-panel-layout') && hasContainerBreakpoints) {
|
|
102
|
+
setIsOpen(false);
|
|
103
|
+
}
|
|
104
|
+
}, [isMobile, hasContainerBreakpoints]);
|
|
75
105
|
|
|
76
106
|
// The shared provider also covers the mobile overflow popup itself. Keep the
|
|
77
107
|
// previous content-only namespace coverage when the layout gate is disabled.
|
|
@@ -79,10 +109,7 @@ function TopNavEnd(_ref) {
|
|
|
79
109
|
var actions = (0, _fg.fg)('platform-dst-chat-panel-layout') || (0, _fg.fg)('platform-dst-top-layer') ? children : /*#__PURE__*/_react.default.createElement(_openLayerObserverNamespaceProvider.OpenLayerObserverNamespaceProvider, {
|
|
80
110
|
namespace: _constants.openLayerObserverTopNavEndNamespace
|
|
81
111
|
}, children);
|
|
82
|
-
var
|
|
83
|
-
"aria-label": label,
|
|
84
|
-
className: (0, _runtime.ax)([containerStyles.root, hasPersistentItems && containerStyles.withPersistentItems])
|
|
85
|
-
}, isMobile ? /*#__PURE__*/_react.default.createElement(_popup.Popup, {
|
|
112
|
+
var regularActions = isMobile ? /*#__PURE__*/_react.default.createElement(_popup.Popup, {
|
|
86
113
|
isOpen: isOpen,
|
|
87
114
|
onClose: function onClose() {
|
|
88
115
|
return setIsOpen(false);
|
|
@@ -97,11 +124,13 @@ function TopNavEnd(_ref) {
|
|
|
97
124
|
return /*#__PURE__*/_react.default.createElement(_hasCustomThemeContext.HasCustomThemeContext.Provider, {
|
|
98
125
|
value: false
|
|
99
126
|
}, /*#__PURE__*/_react.default.createElement(_list.List, {
|
|
127
|
+
ref: actionsRef,
|
|
100
128
|
xcss: (0, _react2.cx)(listStyles.root, listStyles.popupContainer)
|
|
101
129
|
}, actions));
|
|
102
130
|
},
|
|
103
131
|
trigger: function trigger(triggerProps) {
|
|
104
132
|
return /*#__PURE__*/_react.default.createElement(_iconButton.IconButton, (0, _extends2.default)({}, triggerProps, {
|
|
133
|
+
ref: (0, _fg.fg)('platform-dst-chat-panel-layout') ? (0, _mergeRefs.default)([triggerProps.ref, triggerRef]) : triggerProps.ref,
|
|
105
134
|
label: showMoreButtonLabel,
|
|
106
135
|
isSelected: isOpen,
|
|
107
136
|
onClick: function onClick() {
|
|
@@ -112,8 +141,16 @@ function TopNavEnd(_ref) {
|
|
|
112
141
|
}));
|
|
113
142
|
}
|
|
114
143
|
}) : /*#__PURE__*/_react.default.createElement(_list.List, {
|
|
115
|
-
|
|
116
|
-
|
|
144
|
+
ref: actionsRef,
|
|
145
|
+
xcss: (0, _react2.cx)(listStyles.root, (0, _fg.fg)('platform-dst-chat-panel-layout') ? listStyles.container : listStyles.hideOnSmallViewport)
|
|
146
|
+
}, actions);
|
|
147
|
+
var content = /*#__PURE__*/_react.default.createElement("nav", {
|
|
148
|
+
"aria-label": label,
|
|
149
|
+
className: (0, _runtime.ax)([containerStyles.root, (0, _fg.fg)('platform-dst-chat-panel-layout') ? containerStyles.container : containerStyles.viewport, hasPersistentItems && containerStyles.withPersistentItems])
|
|
150
|
+
}, (0, _fg.fg)('platform-dst-chat-panel-layout') ? /*#__PURE__*/_react.default.createElement("div", {
|
|
151
|
+
onFocusCapture: onFocusCapture,
|
|
152
|
+
className: (0, _runtime.ax)([containerStyles.focusScope])
|
|
153
|
+
}, regularActions) : regularActions, hasPersistentItems && persistentItems);
|
|
117
154
|
return (0, _fg.fg)('platform-dst-chat-panel-layout') && !(0, _fg.fg)('platform-dst-top-layer') ? /*#__PURE__*/_react.default.createElement(_openLayerObserverNamespaceProvider.OpenLayerObserverNamespaceProvider, {
|
|
118
155
|
namespace: _constants.openLayerObserverTopNavEndNamespace
|
|
119
156
|
}, content) : content;
|
|
@@ -2,5 +2,10 @@
|
|
|
2
2
|
._yyhycs5v{grid-column:2}._1bahh9n0{justify-content:end}
|
|
3
3
|
._1bsb1osq{width:100%}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
5
|
+
._1e0cqgwa{display:var(--n_tnMiddleDisplay,flex)}
|
|
6
|
+
._1eji1ris{grid-auto-columns:max-content}
|
|
5
7
|
._4cvr1h6o{align-items:center}
|
|
6
|
-
|
|
8
|
+
._6a6zh9n0{justify-items:end}
|
|
9
|
+
._wij21bp4{grid-auto-flow:column}
|
|
10
|
+
._yv0e15b0{grid-template-columns:minmax(min-content,780px)}
|
|
11
|
+
@media (min-width:48rem){._181n11p5{display:grid}._1j8b15b0{grid-template-columns:minmax(min-content,780px)}._lagd1bp4{grid-auto-flow:column}._1t4c1ris{grid-auto-columns:max-content}._12e8h9n0{justify-items:end}._181n1pe1{display:var(--n_tnMiddleDisplay,grid)}}
|
|
@@ -13,7 +13,9 @@ var _openLayerObserverNamespaceProvider = require("@atlaskit/layering/open-layer
|
|
|
13
13
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
14
|
var _constants = require("../constants");
|
|
15
15
|
var styles = {
|
|
16
|
-
root: "_zulpu2gc _yyhycs5v _1bsb1osq _4cvr1h6o _1e0c1txw _1bahh9n0
|
|
16
|
+
root: "_zulpu2gc _yyhycs5v _1bsb1osq _4cvr1h6o _1e0c1txw _1bahh9n0",
|
|
17
|
+
container: "_1e0cqgwa _yv0e15b0 _wij21bp4 _1eji1ris _6a6zh9n0 _181n1pe1",
|
|
18
|
+
viewport: "_181n11p5 _1j8b15b0 _lagd1bp4 _1t4c1ris _12e8h9n0"
|
|
17
19
|
};
|
|
18
20
|
|
|
19
21
|
/**
|
|
@@ -27,7 +29,7 @@ var styles = {
|
|
|
27
29
|
function TopNavMiddle(_ref) {
|
|
28
30
|
var children = _ref.children;
|
|
29
31
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
30
|
-
className: (0, _runtime.ax)([styles.root])
|
|
32
|
+
className: (0, _runtime.ax)([styles.root, (0, _fg.fg)('platform-dst-chat-panel-layout') ? styles.container : styles.viewport])
|
|
31
33
|
}, (0, _fg.fg)('platform-dst-top-layer') ? children : /*#__PURE__*/_react.default.createElement(_openLayerObserverNamespaceProvider.OpenLayerObserverNamespaceProvider, {
|
|
32
34
|
namespace: _constants.openLayerObserverTopNavMiddleNamespace
|
|
33
35
|
}, children));
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
2
|
-
._yyhykb7n{grid-column:1}.
|
|
2
|
+
._yyhykb7n{grid-column:1}._1bsb14ik{width:var(--n_tnSideWidth,auto)}
|
|
3
|
+
._1e0c1txw{display:flex}
|
|
4
|
+
._1ul91wqq{min-width:var(--n_tnStartMinWidth,0)}
|
|
3
5
|
._4cvr1h6o{align-items:center}
|
|
4
6
|
._4t3i1osq{height:100%}
|
|
5
|
-
|
|
7
|
+
._vchhusvi{box-sizing:border-box}
|
|
8
|
+
@media (min-width:64rem){._glte1ris{width:max-content}._15rip2n4{min-width:330px}._1gs5usvi{box-sizing:border-box}._gltexl30{width:var(--n_tnSideWidth,max-content)}._15ritp0n{min-width:var(--n_tnStartMinWidth,330px)}}
|
|
@@ -9,13 +9,17 @@ exports.TopNavStart = TopNavStart;
|
|
|
9
9
|
require("./top-nav-start.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
12
13
|
var _topNavStartAttachRef = require("../../../context/top-nav-start/top-nav-start-attach-ref");
|
|
13
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
14
15
|
/**
|
|
15
16
|
* Styles for the TopNavStart element.
|
|
16
17
|
*/
|
|
18
|
+
|
|
17
19
|
var innerStyles = {
|
|
18
|
-
root: "_zulp1b66 _yyhykb7n _4t3i1osq _4cvr1h6o _1e0c1txw
|
|
20
|
+
root: "_zulp1b66 _yyhykb7n _4t3i1osq _4cvr1h6o _1e0c1txw",
|
|
21
|
+
container: "_1bsb14ik _1ul91wqq _vchhusvi _gltexl30 _15ritp0n",
|
|
22
|
+
viewport: "_glte1ris _15rip2n4 _1gs5usvi"
|
|
19
23
|
};
|
|
20
24
|
/**
|
|
21
25
|
* __TopNavStart__
|
|
@@ -37,6 +41,6 @@ function TopNavStart(_ref) {
|
|
|
37
41
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
38
42
|
ref: elementRef,
|
|
39
43
|
"data-testid": testId,
|
|
40
|
-
className: (0, _runtime.ax)([innerStyles.root])
|
|
44
|
+
className: (0, _runtime.ax)([innerStyles.root, (0, _fg.fg)('platform-dst-chat-panel-layout') ? innerStyles.container : innerStyles.viewport])
|
|
41
45
|
}, sideNavToggleButton, children);
|
|
42
46
|
}
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
._nd5l8cbt{grid-area:top-bar}
|
|
2
2
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
3
|
+
._18zridpf{padding-inline:0}
|
|
3
4
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
4
|
-
._179ria51{border-block-end:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}.
|
|
5
|
+
._179ria51{border-block-end:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._121jglyw{--n_tnLogoDisplay:none}
|
|
6
|
+
._152t1nws{inset-block-start:var(--n_bnrM,0)}
|
|
7
|
+
._17hf1ris{--n_tnStartMinWidth:max-content}
|
|
8
|
+
._17sxglyw{--n_tnActionsDisplay:none}
|
|
9
|
+
._1bsb1j6v{width:1rem}
|
|
5
10
|
._1e0c11p5{display:grid}
|
|
11
|
+
._1e0c1ule{display:block}
|
|
12
|
+
._1f38jrq2{container-name:navigation-top-nav}
|
|
13
|
+
._1gd11txw{--n_tnSearchIconDisplay:flex}
|
|
14
|
+
._1oae1txw{--n_tnMiddleDisplay:flex}
|
|
6
15
|
._1pbyegat{z-index:4}
|
|
16
|
+
._1ul9idpf{min-width:0}
|
|
17
|
+
._1v3t1vi7{--n_tnEndMinWidth:32px}
|
|
18
|
+
._3um015vq{visibility:hidden}
|
|
19
|
+
._40201vi7{--n_tnSearchWidth:32px}
|
|
7
20
|
._4cvr1h6o{align-items:center}
|
|
21
|
+
._4gtwglyw{--n_tnSearchDisplay:none}
|
|
8
22
|
._4t3i1dgc{height:var(--n_tNvM)}
|
|
23
|
+
._4t3i1osq{height:100%}
|
|
24
|
+
._4t3iidpf{height:0}
|
|
25
|
+
._7cca15wb{container-type:inline-size}
|
|
26
|
+
._andq1wug{--n_tnSideWidth:auto}
|
|
9
27
|
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
10
28
|
._d6vu1bgi >span[data-ep-placeholder-id=top_navigation_skeleton]{display:contents}
|
|
29
|
+
._dv901txw{--n_tnIconDisplay:flex}
|
|
11
30
|
._kqsw1if8{position:sticky}
|
|
31
|
+
._kqswstnw{position:absolute}
|
|
32
|
+
._lcxvglyw{pointer-events:none}
|
|
12
33
|
._vchhusvi{box-sizing:border-box}
|
|
34
|
+
._yv0e14iv{grid-template-columns:auto minmax(0,1fr) auto}
|
|
13
35
|
._yv0e1mfv{grid-template-columns:auto 1fr auto}
|
|
36
|
+
@container navigation-top-nav (min-width: 30rem){._1vdu11p5{--n_tnSearchDisplay:grid}._tyr51osq{--n_tnSearchWidth:100%}._t7c0glyw{--n_tnSearchIconDisplay:none}}
|
|
37
|
+
@container navigation-top-nav (min-width: 48rem){._f4az18ax{grid-template-columns:1fr minmax(min-content,max-content) 1fr}._1nd111p5{--n_tnMiddleDisplay:grid}._1py31ris{--n_tnEndMinWidth:max-content}._orr21txw{--n_tnActionsDisplay:flex}}
|
|
38
|
+
@container navigation-top-nav (min-width: 64rem){._gaza1ris{--n_tnSideWidth:max-content}._e5ixp2n4{--n_tnStartMinWidth:330px}._8hhxp2n4{--n_tnEndMinWidth:330px}._pdk61txw{--n_tnLogoDisplay:flex}._1x9fglyw{--n_tnIconDisplay:none}}
|
|
14
39
|
@media (min-width:48rem){._1j8b18ax{grid-template-columns:1fr minmax(min-content,max-content) 1fr}}
|