@atlaskit/navigation-system 11.2.1 → 11.2.3
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 +18 -0
- package/dist/cjs/components/skip-links/skip-link.js +2 -2
- package/dist/cjs/components/skip-links/skip-links-container.js +2 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.js +2 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.js +2 -2
- package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.js +7 -5
- package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.js +2 -2
- package/dist/cjs/ui/top-nav-items/search.js +6 -4
- package/dist/cjs/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-anchor.js +4 -6
- package/dist/cjs/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-pressable.js +4 -6
- package/dist/es2019/components/skip-links/skip-link.js +1 -1
- package/dist/es2019/components/skip-links/skip-links-container.js +1 -1
- package/dist/es2019/ui/page-layout/chat-panel.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.js +1 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.js +3 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
- package/dist/es2019/ui/top-nav-items/search.js +3 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-anchor.js +3 -5
- package/dist/es2019/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-pressable.js +3 -5
- package/dist/esm/components/skip-links/skip-link.js +1 -1
- package/dist/esm/components/skip-links/skip-links-container.js +1 -1
- package/dist/esm/ui/page-layout/chat-panel.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.js +1 -1
- package/dist/esm/ui/top-nav-items/nav-logo/app-logo.js +3 -1
- package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
- package/dist/esm/ui/top-nav-items/search.js +3 -1
- package/dist/esm/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/themed/themed-anchor.js +3 -5
- package/dist/esm/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/themed/themed-pressable.js +3 -5
- package/dist/types/ui/page-layout/dangerously-hoist-css-var-to-document-root.d.ts +1 -1
- package/dist/types/ui/page-layout/panel-splitter/get-width-from-drag-location.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-anchor.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-button.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-icon-button.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-link-button.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-link-icon-button.d.ts +1 -1
- package/dist/types/ui/top-nav-items/themed/themed-pressable.d.ts +1 -1
- package/package.json +8 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 11.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`21c13edb525f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21c13edb525f8) -
|
|
8
|
+
Inline the ChatPanel width custom-property name and overlay z-index as checked literals so its
|
|
9
|
+
styles can be statically extracted by Atlaspack. No runtime change.
|
|
10
|
+
|
|
11
|
+
## 11.2.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`13952a4f4a1a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/13952a4f4a1a0) -
|
|
16
|
+
Cleanup `feature_gate` `platform-dst-motion-uplift-button`. The motion uplift for buttons and
|
|
17
|
+
other interactive surfaces (button, lozenge dropdown trigger, inline edit read view, page layout
|
|
18
|
+
resize control grab area, and top nav themed anchors/pressables) is now always on.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 11.2.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ require("./skip-link.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
13
|
-
var
|
|
13
|
+
var _anchor = require("@atlaskit/primitives/compiled/anchor");
|
|
14
14
|
var _focusElement = require("./focus-element");
|
|
15
15
|
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); }
|
|
16
16
|
var styles = {
|
|
@@ -75,7 +75,7 @@ var SkipLink = exports.SkipLink = function SkipLink(_ref) {
|
|
|
75
75
|
}, [id, onBeforeNavigate, navigate]);
|
|
76
76
|
return /*#__PURE__*/_react.default.createElement("li", {
|
|
77
77
|
className: (0, _runtime.ax)([styles.skipLinkListItem, (0, _fg.fg)('platform_dst_nav4_skip_link_a11y_1') && styles.skipLinkListItemNew])
|
|
78
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
78
|
+
}, /*#__PURE__*/_react.default.createElement(_anchor.Anchor
|
|
79
79
|
/**
|
|
80
80
|
* It looks like Safari handles link clicks during `pointerdown` unless it has an explicit `tabIndex={0}` :/
|
|
81
81
|
*
|
|
@@ -14,7 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
|
-
var
|
|
17
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
18
18
|
var _skipLink = require("./skip-link");
|
|
19
19
|
var _skipLinksPopup = require("./skip-links-popup");
|
|
20
20
|
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); }
|
|
@@ -119,7 +119,7 @@ function SkipLinksContainer(_ref) {
|
|
|
119
119
|
onKeyDown: closeOnEscape,
|
|
120
120
|
"data-testid": testId ? "".concat(testId, "--skip-links-container") : undefined,
|
|
121
121
|
className: (0, _runtime.ax)([styles.root])
|
|
122
|
-
}, !isEmptyLabel && /*#__PURE__*/React.createElement(
|
|
122
|
+
}, !isEmptyLabel && /*#__PURE__*/React.createElement(_text.Text, {
|
|
123
123
|
weight: "bold",
|
|
124
124
|
testId: testId ? "".concat(testId, "--skip-links-container--label") : undefined
|
|
125
125
|
}, label), /*#__PURE__*/React.createElement("ol", {
|
|
@@ -18,7 +18,7 @@ var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/sh
|
|
|
18
18
|
var _openLayerObserverNamespaceProvider = require("@atlaskit/layering/open-layer-observer-namespace-provider");
|
|
19
19
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
20
|
var _popup = require("@atlaskit/popup/popup");
|
|
21
|
-
var
|
|
21
|
+
var _useMediaQuery = require("@atlaskit/primitives/compiled/use-media-query");
|
|
22
22
|
var _list = require("../../../components/list");
|
|
23
23
|
var _useIsFhsEnabled = require("../../fhs-rollout/use-is-fhs-enabled");
|
|
24
24
|
var _hasCustomThemeContext = require("../../top-nav-items/themed/has-custom-theme-context");
|
|
@@ -63,7 +63,7 @@ function TopNavEnd(_ref) {
|
|
|
63
63
|
isMobile = _useState4[0],
|
|
64
64
|
setIsMobile = _useState4[1];
|
|
65
65
|
// Note: `query` is a stable value between renders
|
|
66
|
-
var query = (0,
|
|
66
|
+
var query = (0, _useMediaQuery.UNSAFE_useMediaQuery)('below.sm', function onChange(event) {
|
|
67
67
|
setIsMobile(event.matches);
|
|
68
68
|
// Any time we shift between mobile and desktop
|
|
69
69
|
// We always close the popup
|
|
@@ -14,7 +14,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _useStableRef = _interopRequireDefault(require("@atlaskit/ds-lib/use-stable-ref"));
|
|
15
15
|
var _openLayerObserverNamespaceProvider = require("@atlaskit/layering/open-layer-observer-namespace-provider");
|
|
16
16
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
|
-
var
|
|
17
|
+
var _useMediaQuery = require("@atlaskit/primitives/compiled/use-media-query");
|
|
18
18
|
var _topNavStartAttachRef = require("../../../context/top-nav-start/top-nav-start-attach-ref");
|
|
19
19
|
var _useIsFhsEnabled = require("../../fhs-rollout/use-is-fhs-enabled");
|
|
20
20
|
var _hasCustomThemeContext = require("../../top-nav-items/themed/has-custom-theme-context");
|
|
@@ -192,7 +192,7 @@ function TopNavStart(_ref3) {
|
|
|
192
192
|
setIsDesktop(window.matchMedia('(min-width: 64rem)').matches);
|
|
193
193
|
}
|
|
194
194
|
}, []);
|
|
195
|
-
(0,
|
|
195
|
+
(0, _useMediaQuery.UNSAFE_useMediaQuery)('above.md', function (event) {
|
|
196
196
|
setIsDesktop(event.matches);
|
|
197
197
|
});
|
|
198
198
|
var _useState3 = (0, _react.useState)({
|
|
@@ -12,7 +12,9 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _react2 = require("@compiled/react");
|
|
14
14
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
15
|
-
var
|
|
15
|
+
var _anchor = require("@atlaskit/primitives/compiled/anchor");
|
|
16
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
17
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
16
18
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
17
19
|
var _useIsFhsEnabled = require("../../fhs-rollout/use-is-fhs-enabled");
|
|
18
20
|
var _hasCustomThemeContext = require("../themed/has-custom-theme-context");
|
|
@@ -70,7 +72,7 @@ var AppLogo = exports.AppLogo = function AppLogo(_ref) {
|
|
|
70
72
|
var text = nameRef.current;
|
|
71
73
|
return Boolean(text && isTextClamped(text));
|
|
72
74
|
}, []);
|
|
73
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
75
|
+
return /*#__PURE__*/_react.default.createElement(_anchor.Anchor, {
|
|
74
76
|
ref: ref,
|
|
75
77
|
"aria-label": label,
|
|
76
78
|
href: href
|
|
@@ -79,7 +81,7 @@ var AppLogo = exports.AppLogo = function AppLogo(_ref) {
|
|
|
79
81
|
,
|
|
80
82
|
xcss: (0, _react2.cx)(anchorStyles.root, hasCustomTheme ? anchorStyles.interactionStatesCustomTheming : anchorStyles.interactionStates, isFhsEnabled && anchorStyles.fullHeightSidebar),
|
|
81
83
|
onClick: onClick
|
|
82
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
84
|
+
}, /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
83
85
|
space: "space.075",
|
|
84
86
|
alignBlock: "center",
|
|
85
87
|
xcss: (0, _react2.cx)(logoWrapperStyles.root, isFhsEnabled && logoWrapperStyles.fullHeightSidebar)
|
|
@@ -100,7 +102,7 @@ var AppLogo = exports.AppLogo = function AppLogo(_ref) {
|
|
|
100
102
|
isScreenReaderAnnouncementDisabled: true,
|
|
101
103
|
canAppear: canTooltipAppear
|
|
102
104
|
}, function (tooltipProps) {
|
|
103
|
-
return /*#__PURE__*/_react.default.createElement("span", tooltipProps, /*#__PURE__*/_react.default.createElement(
|
|
105
|
+
return /*#__PURE__*/_react.default.createElement("span", tooltipProps, /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
104
106
|
"aria-hidden": true,
|
|
105
107
|
color: "inherit",
|
|
106
108
|
weight: "semibold",
|
|
@@ -109,7 +111,7 @@ var AppLogo = exports.AppLogo = function AppLogo(_ref) {
|
|
|
109
111
|
}, name));
|
|
110
112
|
}), showSecondaryName && /*#__PURE__*/_react.default.createElement("span", {
|
|
111
113
|
className: (0, _runtime.ax)([secondaryNameStyles.root])
|
|
112
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
114
|
+
}, /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
113
115
|
"aria-hidden": true,
|
|
114
116
|
color: "color.text.subtlest",
|
|
115
117
|
weight: "regular",
|
|
@@ -10,7 +10,7 @@ require("./custom-logo.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _react2 = require("@compiled/react");
|
|
13
|
-
var
|
|
13
|
+
var _anchor = require("@atlaskit/primitives/compiled/anchor");
|
|
14
14
|
var _useIsFhsEnabled = require("../../fhs-rollout/use-is-fhs-enabled");
|
|
15
15
|
var _hasCustomThemeContext = require("../themed/has-custom-theme-context");
|
|
16
16
|
var _logoRenderer = require("./logo-renderer");
|
|
@@ -80,7 +80,7 @@ var CustomLogo = exports.CustomLogo = function CustomLogo(_ref) {
|
|
|
80
80
|
}, []);
|
|
81
81
|
var hasCustomTheme = (0, _hasCustomThemeContext.useHasCustomTheme)();
|
|
82
82
|
var isFhsEnabled = (0, _useIsFhsEnabled.useIsFhsEnabled)();
|
|
83
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
83
|
+
return /*#__PURE__*/_react.default.createElement(_anchor.Anchor, {
|
|
84
84
|
ref: ref,
|
|
85
85
|
"aria-label": label,
|
|
86
86
|
href: href
|
|
@@ -13,7 +13,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _css = require("@atlaskit/css");
|
|
14
14
|
var _search = _interopRequireDefault(require("@atlaskit/icon/core/search"));
|
|
15
15
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
|
-
var
|
|
16
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
17
|
+
var _show = require("@atlaskit/primitives/compiled/show");
|
|
18
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
17
19
|
var _useIsFhsEnabled = require("../fhs-rollout/use-is-fhs-enabled");
|
|
18
20
|
var _iconButton = require("./themed/icon-button");
|
|
19
21
|
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); }
|
|
@@ -38,7 +40,7 @@ var Search = exports.Search = function Search(_ref) {
|
|
|
38
40
|
interactionName = _ref.interactionName,
|
|
39
41
|
ariaHaspopup = _ref['aria-haspopup'];
|
|
40
42
|
var isFhsEnabled = (0, _useIsFhsEnabled.useIsFhsEnabled)();
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_pressable.Pressable, {
|
|
42
44
|
style: {
|
|
43
45
|
// To win the specificity war against Emotion we move this into inline styles
|
|
44
46
|
// When Emotion has been stripped from the Design System move this to Compiled.
|
|
@@ -58,11 +60,11 @@ var Search = exports.Search = function Search(_ref) {
|
|
|
58
60
|
label: ""
|
|
59
61
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
60
62
|
className: (0, _runtime.ax)([styles.buttonText])
|
|
61
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
63
|
+
}, /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
62
64
|
color: "color.text.subtlest"
|
|
63
65
|
}, label)), elemAfter && /*#__PURE__*/_react.default.createElement("span", {
|
|
64
66
|
className: (0, _runtime.ax)([styles.elemAfter])
|
|
65
|
-
}, elemAfter)), /*#__PURE__*/_react.default.createElement(
|
|
67
|
+
}, elemAfter)), /*#__PURE__*/_react.default.createElement(_show.Show, {
|
|
66
68
|
below: "xs"
|
|
67
69
|
}, /*#__PURE__*/_react.default.createElement(_iconButton.IconButton, {
|
|
68
70
|
label: label,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -13,13 +13,11 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _react2 = require("@compiled/react");
|
|
15
15
|
var _forwardRefWithGeneric = _interopRequireDefault(require("@atlaskit/ds-lib/forward-ref-with-generic"));
|
|
16
|
-
var
|
|
17
|
-
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
|
+
var _anchor = require("@atlaskit/primitives/compiled/anchor");
|
|
18
17
|
var _getPrimitivesSpreadProps = require("./get-primitives-spread-props");
|
|
19
18
|
var _excluded = ["appearance", "shape", "isSelected", "isDisabled"];
|
|
20
19
|
var styles = {
|
|
21
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
22
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
20
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
23
21
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
24
22
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
25
23
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -51,7 +49,7 @@ function ThemedAnchorFn(_ref, ref) {
|
|
|
51
49
|
isDisabled = _ref.isDisabled,
|
|
52
50
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
53
51
|
var hasBorder = appearance === 'default' || isSelected;
|
|
54
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
52
|
+
return /*#__PURE__*/_react.default.createElement(_anchor.Anchor, (0, _extends2.default)({}, (0, _getPrimitivesSpreadProps.getPrimitiveSpreadProps)(props), {
|
|
55
53
|
ref: ref
|
|
56
54
|
/**
|
|
57
55
|
* We are using some style values that are outside of the strict
|
|
@@ -60,7 +58,7 @@ function ThemedAnchorFn(_ref, ref) {
|
|
|
60
58
|
// @ts-expect-error
|
|
61
59
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
62
60
|
,
|
|
63
|
-
xcss: (0, _react2.cx)(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
61
|
+
xcss: (0, _react2.cx)(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled)
|
|
64
62
|
}));
|
|
65
63
|
}
|
|
66
64
|
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -13,14 +13,12 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
13
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _react2 = require("@compiled/react");
|
|
16
|
-
var
|
|
17
|
-
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
18
17
|
var _getPrimitivesSpreadProps = require("./get-primitives-spread-props");
|
|
19
18
|
var _excluded = ["appearance", "shape", "isSelected", "isDisabled"];
|
|
20
19
|
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); }
|
|
21
20
|
var styles = {
|
|
22
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
23
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
21
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
24
22
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
25
23
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
26
24
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -48,7 +46,7 @@ var ThemedPressable = exports.ThemedPressable = /*#__PURE__*/(0, _react.forwardR
|
|
|
48
46
|
isDisabled = _ref.isDisabled,
|
|
49
47
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
50
48
|
var hasBorder = appearance === 'default' || isSelected;
|
|
51
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_pressable.Pressable, (0, _extends2.default)({}, (0, _getPrimitivesSpreadProps.getPrimitiveSpreadProps)(props), {
|
|
52
50
|
ref: ref,
|
|
53
51
|
type: "button"
|
|
54
52
|
/**
|
|
@@ -58,7 +56,7 @@ var ThemedPressable = exports.ThemedPressable = /*#__PURE__*/(0, _react.forwardR
|
|
|
58
56
|
// @ts-expect-error
|
|
59
57
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
60
58
|
,
|
|
61
|
-
xcss: (0, _react2.cx)(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
59
|
+
xcss: (0, _react2.cx)(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled),
|
|
62
60
|
isDisabled: isDisabled
|
|
63
61
|
}));
|
|
64
62
|
});
|
|
@@ -3,7 +3,7 @@ import "./skip-link.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import { focusElement } from './focus-element';
|
|
8
8
|
const styles = {
|
|
9
9
|
skipLinkListItem: "_1pfhze3t",
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
|
-
import { Text } from '@atlaskit/primitives/compiled';
|
|
7
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
8
8
|
import { SkipLink } from './skip-link';
|
|
9
9
|
import { SkipLinksPopup } from './skip-links-popup';
|
|
10
10
|
const styles = {
|
|
@@ -6,7 +6,7 @@ import { useCallback, useEffect, useRef, useState } from 'react';
|
|
|
6
6
|
import { bind } from 'bind-event-listener';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
|
|
9
|
-
import { chatPanelLiveWidthVar, chatPanelVar,
|
|
9
|
+
import { chatPanelLiveWidthVar, chatPanelVar, mainMinimumWidthVar } from './constants';
|
|
10
10
|
import { convertResizeBoundToPixels } from './panel-splitter/convert-resize-bound-to-pixels';
|
|
11
11
|
import { PanelSplitterProvider } from './panel-splitter/provider';
|
|
12
12
|
import { resolveLayoutWidth } from './resolve-layout-width';
|
|
@@ -9,7 +9,7 @@ import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
|
9
9
|
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { Popup } from '@atlaskit/popup/popup';
|
|
12
|
-
import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled/
|
|
12
|
+
import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled/use-media-query';
|
|
13
13
|
import { List } from '../../../components/list';
|
|
14
14
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
15
15
|
import { HasCustomThemeContext } from '../../top-nav-items/themed/has-custom-theme-context';
|
|
@@ -5,7 +5,7 @@ import React, { forwardRef, useContext, useEffect, useLayoutEffect, useRef, useS
|
|
|
5
5
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
6
6
|
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled/use-media-query';
|
|
9
9
|
import { TopNavStartAttachRef } from '../../../context/top-nav-start/top-nav-start-attach-ref';
|
|
10
10
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
11
11
|
import { useHasCustomTheme } from '../../top-nav-items/themed/has-custom-theme-context';
|
|
@@ -4,7 +4,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React, { useCallback, useRef } from 'react';
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
|
-
import { Anchor
|
|
7
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
8
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
9
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
8
10
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
11
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
10
12
|
import { useHasCustomTheme } from '../themed/has-custom-theme-context';
|
|
@@ -3,7 +3,7 @@ import "./custom-logo.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
8
8
|
import { useHasCustomTheme } from '../themed/has-custom-theme-context';
|
|
9
9
|
import { LogoRenderer } from './logo-renderer';
|
|
@@ -5,7 +5,9 @@ import React, { Fragment } from 'react';
|
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
6
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { Pressable
|
|
8
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
9
|
+
import { Show } from '@atlaskit/primitives/compiled/show';
|
|
10
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
9
11
|
import { useIsFhsEnabled } from '../fhs-rollout/use-is-fhs-enabled';
|
|
10
12
|
import { IconButton } from './themed/icon-button';
|
|
11
13
|
const styles = {
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -5,12 +5,10 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { cx } from '@compiled/react';
|
|
7
7
|
import forwardRefWithGeneric from '@atlaskit/ds-lib/forward-ref-with-generic';
|
|
8
|
-
import {
|
|
9
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
10
9
|
import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
|
|
11
10
|
const styles = {
|
|
12
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
13
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
11
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
14
12
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
15
13
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
16
14
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -50,7 +48,7 @@ function ThemedAnchorFn({
|
|
|
50
48
|
// @ts-expect-error
|
|
51
49
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
52
50
|
,
|
|
53
|
-
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
51
|
+
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled)
|
|
54
52
|
}));
|
|
55
53
|
}
|
|
56
54
|
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -4,12 +4,10 @@ import "./themed-pressable.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { forwardRef } from 'react';
|
|
6
6
|
import { cx } from '@compiled/react';
|
|
7
|
-
import {
|
|
8
|
-
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
7
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
9
8
|
import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
|
|
10
9
|
const styles = {
|
|
11
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
12
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
10
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
13
11
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
14
12
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
15
13
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -46,7 +44,7 @@ export const ThemedPressable = /*#__PURE__*/forwardRef(({
|
|
|
46
44
|
// @ts-expect-error
|
|
47
45
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
48
46
|
,
|
|
49
|
-
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
47
|
+
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled),
|
|
50
48
|
isDisabled: isDisabled
|
|
51
49
|
}));
|
|
52
50
|
});
|
|
@@ -3,7 +3,7 @@ import "./skip-link.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import { focusElement } from './focus-element';
|
|
8
8
|
var styles = {
|
|
9
9
|
skipLinkListItem: "_1pfhze3t",
|
|
@@ -8,7 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
import { useMemo } from 'react';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
|
-
import { Text } from '@atlaskit/primitives/compiled';
|
|
11
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
12
12
|
import { SkipLink } from './skip-link';
|
|
13
13
|
import { SkipLinksPopup } from './skip-links-popup';
|
|
14
14
|
var styles = {
|
|
@@ -8,7 +8,7 @@ import { useCallback, useEffect, useRef, useState } from 'react';
|
|
|
8
8
|
import { bind } from 'bind-event-listener';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
|
|
11
|
-
import { chatPanelLiveWidthVar, chatPanelVar,
|
|
11
|
+
import { chatPanelLiveWidthVar, chatPanelVar, mainMinimumWidthVar } from './constants';
|
|
12
12
|
import { convertResizeBoundToPixels } from './panel-splitter/convert-resize-bound-to-pixels';
|
|
13
13
|
import { PanelSplitterProvider } from './panel-splitter/provider';
|
|
14
14
|
import { resolveLayoutWidth } from './resolve-layout-width';
|
|
@@ -10,7 +10,7 @@ import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
|
10
10
|
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
12
|
import { Popup } from '@atlaskit/popup/popup';
|
|
13
|
-
import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled/
|
|
13
|
+
import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled/use-media-query';
|
|
14
14
|
import { List } from '../../../components/list';
|
|
15
15
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
16
16
|
import { HasCustomThemeContext } from '../../top-nav-items/themed/has-custom-theme-context';
|
|
@@ -6,7 +6,7 @@ import React, { forwardRef, useContext, useEffect, useLayoutEffect, useRef, useS
|
|
|
6
6
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
7
7
|
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
|
-
import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled';
|
|
9
|
+
import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled/use-media-query';
|
|
10
10
|
import { TopNavStartAttachRef } from '../../../context/top-nav-start/top-nav-start-attach-ref';
|
|
11
11
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
12
12
|
import { useHasCustomTheme } from '../../top-nav-items/themed/has-custom-theme-context';
|
|
@@ -4,7 +4,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React, { useCallback, useRef } from 'react';
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
|
-
import { Anchor
|
|
7
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
8
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
9
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
8
10
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
11
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
10
12
|
import { useHasCustomTheme } from '../themed/has-custom-theme-context';
|
|
@@ -3,7 +3,7 @@ import "./custom-logo.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
8
8
|
import { useHasCustomTheme } from '../themed/has-custom-theme-context';
|
|
9
9
|
import { LogoRenderer } from './logo-renderer';
|
|
@@ -5,7 +5,9 @@ import React, { Fragment } from 'react';
|
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
6
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { Pressable
|
|
8
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
9
|
+
import { Show } from '@atlaskit/primitives/compiled/show';
|
|
10
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
9
11
|
import { useIsFhsEnabled } from '../fhs-rollout/use-is-fhs-enabled';
|
|
10
12
|
import { IconButton } from './themed/icon-button';
|
|
11
13
|
var styles = {
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -7,12 +7,10 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { cx } from '@compiled/react';
|
|
9
9
|
import forwardRefWithGeneric from '@atlaskit/ds-lib/forward-ref-with-generic';
|
|
10
|
-
import {
|
|
11
|
-
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { Anchor } from '@atlaskit/primitives/compiled/anchor';
|
|
12
11
|
import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
|
|
13
12
|
var styles = {
|
|
14
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
15
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
13
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
16
14
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
17
15
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
18
16
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -53,7 +51,7 @@ function ThemedAnchorFn(_ref, ref) {
|
|
|
53
51
|
// @ts-expect-error
|
|
54
52
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
55
53
|
,
|
|
56
|
-
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
54
|
+
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled)
|
|
57
55
|
}));
|
|
58
56
|
}
|
|
59
57
|
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._14mj1kw7:after{border-radius:inherit}
|
|
7
7
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
8
8
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
9
|
-
._v5649dqc{transition:background .1s ease-out}
|
|
10
9
|
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}
|
|
11
10
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
12
11
|
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
@@ -6,12 +6,10 @@ import "./themed-pressable.compiled.css";
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React, { forwardRef } from 'react';
|
|
8
8
|
import { cx } from '@compiled/react';
|
|
9
|
-
import {
|
|
10
|
-
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
9
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
11
10
|
import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
|
|
12
11
|
var styles = {
|
|
13
|
-
root: "_zulp12x7 _11c8fhey _2rko1qi0
|
|
14
|
-
interactiveMotion: "_v564k6bl _1ggl5xtf",
|
|
12
|
+
root: "_zulp12x7 _11c8fhey _2rko1qi0 _v564k6bl _4bfu1r31 _1hmsglyw _ajmmnqa1 _1rjcze3t _1e0c1txw _4cvr1h6o _1bah1h6o _4t3i5r7u _kqswh2mm _1nrm1r31 _1a3b1r31 _9oik1r31 _c2waglyw _4fprglyw _1bnxglyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1ggl5xtf",
|
|
15
13
|
border: "_14mj1kw7 _9v7aze3t _1tv3nqa1 _39yqe4h9 _aetrb3bt _18postnw",
|
|
16
14
|
selected: "_11q71qds _syazw5ct _8l3m15jn _f8pjw5ct _1053w5ct _19lcjrv1 _30l3w5ct _j6xtnh62 _9h8hw5ct",
|
|
17
15
|
disabled: "_11q71c9b _syaz1i3i _8l3m1j28 _f8pj1i3i _10531i3i _19lc1c9b _30l31i3i _j6xt1c9b _9h8h1i3i"
|
|
@@ -49,7 +47,7 @@ export var ThemedPressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
49
47
|
// @ts-expect-error
|
|
50
48
|
// eslint-disable-next-line @compiled/no-suppress-xcss
|
|
51
49
|
,
|
|
52
|
-
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled
|
|
50
|
+
xcss: cx(styles.root, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled),
|
|
53
51
|
isDisabled: isDisabled
|
|
54
52
|
}));
|
|
55
53
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { MediaQuery } from '@atlaskit/primitives/responsive/types';
|
|
3
3
|
export declare const DangerouslyHoistCssVarToDocumentRoot: ({ variableName, value, mediaQuery, responsiveValue, }: {
|
|
4
4
|
variableName: string;
|
|
5
5
|
value: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DragLocationHistory } from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
1
|
+
import type { DragLocationHistory } from '@atlaskit/pragmatic-drag-and-drop/internal-types';
|
|
2
2
|
export declare const getWidthFromDragLocation: ({ initialWidth, location, initialClientX, direction, position, }: {
|
|
3
3
|
initialWidth: number;
|
|
4
4
|
location: DragLocationHistory;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { type AnchorProps } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { type AnchorProps } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import type { CommonProps, OverriddenPrimitiveProps } from './types';
|
|
8
8
|
/**
|
|
9
9
|
* Props that are common between link buttons.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { PressableProps } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import type { PressableProps } from '@atlaskit/primitives/compiled/pressable';
|
|
7
7
|
import type { CommonProps, OverriddenPrimitiveProps, TextButtonCommonProps } from './types';
|
|
8
8
|
export interface ThemedButtonProps extends CommonProps, Omit<PressableProps, OverriddenPrimitiveProps>, TextButtonCommonProps {
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { PressableProps } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import type { PressableProps } from '@atlaskit/primitives/compiled/pressable';
|
|
7
7
|
import type { CommonProps, IconButtonCommonProps, OverriddenPrimitiveProps } from './types';
|
|
8
8
|
export interface ThemedIconButtonProps extends CommonProps, Omit<PressableProps, OverriddenPrimitiveProps>, IconButtonCommonProps {
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { AnchorProps } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import type { AnchorProps } from '@atlaskit/primitives/compiled/anchor';
|
|
7
7
|
import type { CommonProps, OverriddenPrimitiveProps, TextButtonCommonProps } from './types';
|
|
8
8
|
/**
|
|
9
9
|
* Props that are common between link buttons.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AnchorProps } from '@atlaskit/primitives/compiled';
|
|
2
|
+
import type { AnchorProps } from '@atlaskit/primitives/compiled/anchor';
|
|
3
3
|
import type { CommonProps, IconButtonCommonProps, OverriddenPrimitiveProps } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* Props that are common between link buttons.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { type PressableProps } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { type PressableProps } from '@atlaskit/primitives/compiled/pressable';
|
|
7
7
|
import type { CommonProps, OverriddenPrimitiveProps } from './types';
|
|
8
8
|
/**
|
|
9
9
|
* Props shared by `ThemedPressable` and `ThemedAnchor`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.3",
|
|
4
4
|
"description": "The latest navigation system for Atlassian apps.",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@atlaskit/analytics-next": "^12.
|
|
61
|
-
"@atlaskit/app-provider": "^8.
|
|
60
|
+
"@atlaskit/analytics-next": "^12.6.0",
|
|
61
|
+
"@atlaskit/app-provider": "^8.1.0",
|
|
62
62
|
"@atlaskit/avatar": "^30.0.0",
|
|
63
63
|
"@atlaskit/button": "^25.4.0",
|
|
64
64
|
"@atlaskit/css": "^1.1.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/icon": "^38.0.0",
|
|
67
67
|
"@atlaskit/layering": "^6.0.0",
|
|
68
68
|
"@atlaskit/logo": "^23.3.0",
|
|
69
|
-
"@atlaskit/motion": "^9.
|
|
69
|
+
"@atlaskit/motion": "^9.4.0",
|
|
70
70
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
72
72
|
"@atlaskit/popup": "^9.0.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/primitives": "^22.5.0",
|
|
75
75
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
76
76
|
"@atlaskit/side-nav-items": "^2.5.0",
|
|
77
|
-
"@atlaskit/tokens": "^20.
|
|
77
|
+
"@atlaskit/tokens": "^20.5.0",
|
|
78
78
|
"@atlaskit/tooltip": "^24.4.0",
|
|
79
79
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
80
80
|
"@babel/runtime": "^7.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@atlaskit/breadcrumbs": "^17.8.0",
|
|
97
97
|
"@atlaskit/dropdown-menu": "^21.0.0",
|
|
98
98
|
"@atlaskit/flag": "^19.0.0",
|
|
99
|
-
"@atlaskit/form": "^18.
|
|
99
|
+
"@atlaskit/form": "^18.2.0",
|
|
100
100
|
"@atlaskit/heading": "^8.0.0",
|
|
101
101
|
"@atlaskit/image": "^5.2.0",
|
|
102
102
|
"@atlaskit/inline-dialog": "^20.3.0",
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
"@atlaskit/top-layer": "^6.2.0",
|
|
120
120
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
121
121
|
"@atlassian/gemini": "^1.54.0",
|
|
122
|
-
"@atlassian/panel-system": "^1.
|
|
122
|
+
"@atlassian/panel-system": "^1.14.0",
|
|
123
123
|
"@atlassian/react-async": "^0.23.0",
|
|
124
124
|
"@atlassian/react-entrypoint": "^1.1.0",
|
|
125
|
-
"@atlassian/search-dialog": "^10.
|
|
125
|
+
"@atlassian/search-dialog": "^10.20.0",
|
|
126
126
|
"@atlassian/ssr-tests": "workspace:^",
|
|
127
127
|
"@atlassian/test-utils": "^1.1.0",
|
|
128
128
|
"@atlassian/testing-library": "^0.11.0",
|
|
@@ -164,10 +164,6 @@
|
|
|
164
164
|
"platform-dst-motion-uplift-sidenav": {
|
|
165
165
|
"type": "boolean"
|
|
166
166
|
},
|
|
167
|
-
"platform-dst-motion-uplift-button": {
|
|
168
|
-
"type": "boolean",
|
|
169
|
-
"referenceOnly": true
|
|
170
|
-
},
|
|
171
167
|
"platform-dst-motion-uplift-panel": {
|
|
172
168
|
"type": "boolean",
|
|
173
169
|
"referenceOnly": true
|