@atlaskit/navigation-system 5.14.0 → 5.15.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 +10 -0
- package/dist/cjs/ui/menu-item/flyout-menu-item/close-button.js +1 -1
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-body.compiled.css +5 -1
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-body.js +1 -1
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-footer.compiled.css +4 -0
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-footer.js +6 -1
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-header.compiled.css +2 -1
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-header.js +2 -2
- package/dist/cjs/ui/menu-item/flyout-menu-item/flyout-menu-item-context.js +1 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/close-button.js +1 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-body.compiled.css +5 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-body.js +1 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-footer.compiled.css +4 -0
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-footer.js +6 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-header.compiled.css +2 -1
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-header.js +2 -2
- package/dist/es2019/ui/menu-item/flyout-menu-item/flyout-menu-item-context.js +1 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/close-button.js +1 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-body.compiled.css +5 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-body.js +1 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-footer.compiled.css +4 -0
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-footer.js +6 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-header.compiled.css +2 -1
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-header.js +2 -2
- package/dist/esm/ui/menu-item/flyout-menu-item/flyout-menu-item-context.js +1 -1
- package/dist/types/ui/menu-item/flyout-menu-item/flyout-menu-item-context.d.ts +1 -1
- package/dist/types-ts4.5/ui/menu-item/flyout-menu-item/flyout-menu-item-context.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 5.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d88efc1c38998`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d88efc1c38998) -
|
|
8
|
+
Fixes to issues from first implementation of FlyoutMenuItem slots and close button.
|
|
9
|
+
|
|
10
|
+
This includes fixing comments for the FlyoutMenuItemContext, cleaning up fallback strings for the
|
|
11
|
+
close button label, and fixing the positioning of the scroll container within the flyout.
|
|
12
|
+
|
|
3
13
|
## 5.14.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
._12l2x0bf{margin-inline-end:var(--ds-space-negative-100,-8px)}
|
|
1
2
|
._18m91wug{overflow-y:auto}
|
|
2
3
|
._1bahv2br{justify-content:start}
|
|
3
4
|
._1e0c1txw{display:flex}
|
|
4
5
|
._2lx21bp4{flex-direction:column}
|
|
5
|
-
._4t3i1osq{height:100%}
|
|
6
|
+
._4t3i1osq{height:100%}
|
|
7
|
+
._ahbqx0bf{margin-inline-start:var(--ds-space-negative-100,-8px)}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
9
|
+
._y4tiu2gc{padding-inline-end:var(--ds-space-100,8px)}
|
|
@@ -10,7 +10,7 @@ require("./flyout-body.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var bodyStyles = {
|
|
13
|
-
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br"
|
|
13
|
+
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br _ahbqx0bf _12l2x0bf _bozgu2gc _y4tiu2gc"
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* __Flyout menu item body__
|
|
@@ -6,8 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.FlyoutFooter = void 0;
|
|
9
|
+
require("./flyout-footer.compiled.css");
|
|
9
10
|
var _runtime = require("@compiled/react/runtime");
|
|
10
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
+
var footerStyles = {
|
|
13
|
+
root: "_7myae4h9 _1sw7nqa1 _qgnu1l7x _1q51u2gc"
|
|
14
|
+
};
|
|
11
15
|
/**
|
|
12
16
|
* __Flyout menu item footer__
|
|
13
17
|
*
|
|
@@ -19,6 +23,7 @@ var FlyoutFooter = exports.FlyoutFooter = function FlyoutFooter(props) {
|
|
|
19
23
|
var children = props.children,
|
|
20
24
|
testId = props.testId;
|
|
21
25
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
22
|
-
"data-testid": testId
|
|
26
|
+
"data-testid": testId,
|
|
27
|
+
className: (0, _runtime.ax)([footerStyles.root])
|
|
23
28
|
}, children);
|
|
24
29
|
};
|
|
@@ -7,4 +7,5 @@
|
|
|
7
7
|
._2lx21sbv{flex-direction:row-reverse}
|
|
8
8
|
._4cvr1h6o{align-items:center}
|
|
9
9
|
._85i512x7{padding-block-end:var(--ds-space-075,6px)}
|
|
10
|
-
.
|
|
10
|
+
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
11
|
+
._bozgv77o{padding-inline-start:var(--ds-space-025,2px)}
|
|
@@ -16,8 +16,8 @@ var _closeButton = require("./close-button");
|
|
|
16
16
|
var _flyoutMenuItemContext = require("./flyout-menu-item-context");
|
|
17
17
|
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); }
|
|
18
18
|
var headerStyles = {
|
|
19
|
-
root: "_zulp12x7
|
|
20
|
-
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq"
|
|
19
|
+
root: "_zulp12x7 _bozg1b66 _85i512x7 _1e0c1txw _2lx21bp4",
|
|
20
|
+
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq _bozgv77o"
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* __FlyoutHeader__
|
|
@@ -37,6 +37,6 @@ var OnCloseContext = exports.OnCloseContext = /*#__PURE__*/(0, _react.createCont
|
|
|
37
37
|
/**
|
|
38
38
|
* __On close provider__
|
|
39
39
|
*
|
|
40
|
-
* A context provider for supplying the
|
|
40
|
+
* A context provider for supplying the onClose function to the FlyoutHeader.
|
|
41
41
|
*/
|
|
42
42
|
var OnCloseProvider = exports.OnCloseProvider = OnCloseContext.Provider;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
._12l2x0bf{margin-inline-end:var(--ds-space-negative-100,-8px)}
|
|
1
2
|
._18m91wug{overflow-y:auto}
|
|
2
3
|
._1bahv2br{justify-content:start}
|
|
3
4
|
._1e0c1txw{display:flex}
|
|
4
5
|
._2lx21bp4{flex-direction:column}
|
|
5
|
-
._4t3i1osq{height:100%}
|
|
6
|
+
._4t3i1osq{height:100%}
|
|
7
|
+
._ahbqx0bf{margin-inline-start:var(--ds-space-negative-100,-8px)}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
9
|
+
._y4tiu2gc{padding-inline-end:var(--ds-space-100,8px)}
|
|
@@ -3,7 +3,7 @@ import "./flyout-body.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
const bodyStyles = {
|
|
6
|
-
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br"
|
|
6
|
+
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br _ahbqx0bf _12l2x0bf _bozgu2gc _y4tiu2gc"
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* __Flyout menu item body__
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/* flyout-footer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./flyout-footer.compiled.css";
|
|
2
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
3
4
|
import React from 'react';
|
|
5
|
+
const footerStyles = {
|
|
6
|
+
root: "_7myae4h9 _1sw7nqa1 _qgnu1l7x _1q51u2gc"
|
|
7
|
+
};
|
|
4
8
|
/**
|
|
5
9
|
* __Flyout menu item footer__
|
|
6
10
|
*
|
|
@@ -14,6 +18,7 @@ export const FlyoutFooter = props => {
|
|
|
14
18
|
testId
|
|
15
19
|
} = props;
|
|
16
20
|
return /*#__PURE__*/React.createElement("div", {
|
|
17
|
-
"data-testid": testId
|
|
21
|
+
"data-testid": testId,
|
|
22
|
+
className: ax([footerStyles.root])
|
|
18
23
|
}, children);
|
|
19
24
|
};
|
|
@@ -7,4 +7,5 @@
|
|
|
7
7
|
._2lx21sbv{flex-direction:row-reverse}
|
|
8
8
|
._4cvr1h6o{align-items:center}
|
|
9
9
|
._85i512x7{padding-block-end:var(--ds-space-075,6px)}
|
|
10
|
-
.
|
|
10
|
+
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
11
|
+
._bozgv77o{padding-inline-start:var(--ds-space-025,2px)}
|
|
@@ -7,8 +7,8 @@ import { Flex } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
import { CloseButton } from './close-button';
|
|
8
8
|
import { OnCloseContext, SetIsOpenContext } from './flyout-menu-item-context';
|
|
9
9
|
const headerStyles = {
|
|
10
|
-
root: "_zulp12x7
|
|
11
|
-
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq"
|
|
10
|
+
root: "_zulp12x7 _bozg1b66 _85i512x7 _1e0c1txw _2lx21bp4",
|
|
11
|
+
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq _bozgv77o"
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* __FlyoutHeader__
|
|
@@ -27,6 +27,6 @@ export const OnCloseContext = /*#__PURE__*/createContext(null);
|
|
|
27
27
|
/**
|
|
28
28
|
* __On close provider__
|
|
29
29
|
*
|
|
30
|
-
* A context provider for supplying the
|
|
30
|
+
* A context provider for supplying the onClose function to the FlyoutHeader.
|
|
31
31
|
*/
|
|
32
32
|
export const OnCloseProvider = OnCloseContext.Provider;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
._12l2x0bf{margin-inline-end:var(--ds-space-negative-100,-8px)}
|
|
1
2
|
._18m91wug{overflow-y:auto}
|
|
2
3
|
._1bahv2br{justify-content:start}
|
|
3
4
|
._1e0c1txw{display:flex}
|
|
4
5
|
._2lx21bp4{flex-direction:column}
|
|
5
|
-
._4t3i1osq{height:100%}
|
|
6
|
+
._4t3i1osq{height:100%}
|
|
7
|
+
._ahbqx0bf{margin-inline-start:var(--ds-space-negative-100,-8px)}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
9
|
+
._y4tiu2gc{padding-inline-end:var(--ds-space-100,8px)}
|
|
@@ -3,7 +3,7 @@ import "./flyout-body.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
var bodyStyles = {
|
|
6
|
-
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br"
|
|
6
|
+
root: "_1e0c1txw _2lx21bp4 _18m91wug _4t3i1osq _1bahv2br _ahbqx0bf _12l2x0bf _bozgu2gc _y4tiu2gc"
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* __Flyout menu item body__
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/* flyout-footer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./flyout-footer.compiled.css";
|
|
2
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
3
4
|
import React from 'react';
|
|
5
|
+
var footerStyles = {
|
|
6
|
+
root: "_7myae4h9 _1sw7nqa1 _qgnu1l7x _1q51u2gc"
|
|
7
|
+
};
|
|
4
8
|
/**
|
|
5
9
|
* __Flyout menu item footer__
|
|
6
10
|
*
|
|
@@ -12,6 +16,7 @@ export var FlyoutFooter = function FlyoutFooter(props) {
|
|
|
12
16
|
var children = props.children,
|
|
13
17
|
testId = props.testId;
|
|
14
18
|
return /*#__PURE__*/React.createElement("div", {
|
|
15
|
-
"data-testid": testId
|
|
19
|
+
"data-testid": testId,
|
|
20
|
+
className: ax([footerStyles.root])
|
|
16
21
|
}, children);
|
|
17
22
|
};
|
|
@@ -7,4 +7,5 @@
|
|
|
7
7
|
._2lx21sbv{flex-direction:row-reverse}
|
|
8
8
|
._4cvr1h6o{align-items:center}
|
|
9
9
|
._85i512x7{padding-block-end:var(--ds-space-075,6px)}
|
|
10
|
-
.
|
|
10
|
+
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
11
|
+
._bozgv77o{padding-inline-start:var(--ds-space-025,2px)}
|
|
@@ -7,8 +7,8 @@ import { Flex } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
import { CloseButton } from './close-button';
|
|
8
8
|
import { OnCloseContext, SetIsOpenContext } from './flyout-menu-item-context';
|
|
9
9
|
var headerStyles = {
|
|
10
|
-
root: "_zulp12x7
|
|
11
|
-
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq"
|
|
10
|
+
root: "_zulp12x7 _bozg1b66 _85i512x7 _1e0c1txw _2lx21bp4",
|
|
11
|
+
flex: "_zulppxbi _1bah1yb4 _2lx21sbv _4cvr1h6o _1bsb1osq _bozgv77o"
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* __FlyoutHeader__
|
|
@@ -31,6 +31,6 @@ export var OnCloseContext = /*#__PURE__*/createContext(null);
|
|
|
31
31
|
/**
|
|
32
32
|
* __On close provider__
|
|
33
33
|
*
|
|
34
|
-
* A context provider for supplying the
|
|
34
|
+
* A context provider for supplying the onClose function to the FlyoutHeader.
|
|
35
35
|
*/
|
|
36
36
|
export var OnCloseProvider = OnCloseContext.Provider;
|
|
@@ -21,6 +21,6 @@ export declare const OnCloseContext: import("react").Context<(() => void) | null
|
|
|
21
21
|
/**
|
|
22
22
|
* __On close provider__
|
|
23
23
|
*
|
|
24
|
-
* A context provider for supplying the
|
|
24
|
+
* A context provider for supplying the onClose function to the FlyoutHeader.
|
|
25
25
|
*/
|
|
26
26
|
export declare const OnCloseProvider: import("react").Provider<(() => void) | null | undefined>;
|
|
@@ -21,6 +21,6 @@ export declare const OnCloseContext: import("react").Context<(() => void) | null
|
|
|
21
21
|
/**
|
|
22
22
|
* __On close provider__
|
|
23
23
|
*
|
|
24
|
-
* A context provider for supplying the
|
|
24
|
+
* A context provider for supplying the onClose function to the FlyoutHeader.
|
|
25
25
|
*/
|
|
26
26
|
export declare const OnCloseProvider: import("react").Provider<(() => void) | null | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"description": "The latest navigation system for Atlassian apps.",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
6
6
|
"author": "Atlassian Pty Ltd",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@atlaskit/lozenge": "^13.3.0",
|
|
109
109
|
"@atlaskit/menu": "^8.4.0",
|
|
110
110
|
"@atlaskit/modal-dialog": "^14.9.0",
|
|
111
|
-
"@atlaskit/onboarding": "^14.
|
|
111
|
+
"@atlaskit/onboarding": "^14.5.0",
|
|
112
112
|
"@atlaskit/page-header": "^12.1.0",
|
|
113
113
|
"@atlaskit/page-layout": "^4.2.0",
|
|
114
114
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/skeleton": "^2.1.0",
|
|
117
117
|
"@atlaskit/textfield": "^8.2.0",
|
|
118
118
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
119
|
-
"@atlassian/gemini": "^1.
|
|
119
|
+
"@atlassian/gemini": "^1.27.0",
|
|
120
120
|
"@atlassian/search-dialog": "^9.10.0",
|
|
121
121
|
"@atlassian/ssr-tests": "workspace:^",
|
|
122
122
|
"@atlassian/test-utils": "^1.0.0",
|