@atlaskit/atlassian-navigation 4.5.2 → 4.7.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 +20 -0
- package/dist/cjs/components/AppSwitcher/index.js +30 -4
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/skeleton-help-button.js +18 -3
- package/dist/cjs/skeleton-notification-button.js +19 -3
- package/dist/cjs/skeleton-settings-button.js +18 -3
- package/dist/cjs/skeleton-switcher-button.js +20 -3
- package/dist/es2019/components/AppSwitcher/index.js +27 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/skeleton-help-button.js +14 -1
- package/dist/es2019/skeleton-notification-button.js +14 -0
- package/dist/es2019/skeleton-settings-button.js +13 -0
- package/dist/es2019/skeleton-switcher-button.js +16 -1
- package/dist/esm/components/AppSwitcher/index.js +27 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/skeleton-help-button.js +15 -0
- package/dist/esm/skeleton-notification-button.js +16 -0
- package/dist/esm/skeleton-settings-button.js +15 -0
- package/dist/esm/skeleton-switcher-button.js +17 -0
- package/dist/types/components/AppSwitcher/index.d.ts +10 -0
- package/dist/types/controllers/overflow/index.d.ts +0 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/skeleton-help-button.d.ts +6 -0
- package/dist/types/skeleton-notification-button.d.ts +7 -0
- package/dist/types/skeleton-settings-button.d.ts +6 -0
- package/dist/types/skeleton-switcher-button.d.ts +6 -0
- package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +10 -0
- package/dist/types-ts4.5/controllers/overflow/index.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/skeleton-help-button.d.ts +6 -0
- package/dist/types-ts4.5/skeleton-notification-button.d.ts +7 -0
- package/dist/types-ts4.5/skeleton-settings-button.d.ts +6 -0
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +6 -0
- package/package.json +9 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 4.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#138973](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138973)
|
|
8
|
+
[`e1150e9523e1f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e1150e9523e1f) -
|
|
9
|
+
Update AppSwitcher to support Nav4
|
|
10
|
+
|
|
11
|
+
## 4.6.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#134149](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134149)
|
|
16
|
+
[`9502975197692`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9502975197692) -
|
|
17
|
+
[ux] Providing Nav4 skeleton components for SSR
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 4.5.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -5,13 +5,15 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.default = exports.AppSwitcher = void 0;
|
|
8
|
+
exports.default = exports.AppSwitcherNav4 = exports.AppSwitcher = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/
|
|
12
|
+
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
|
|
13
|
+
var _appSwitcher2 = _interopRequireDefault(require("@atlaskit/icon/glyph/app-switcher"));
|
|
13
14
|
var _IconButton = require("../IconButton");
|
|
14
|
-
var _excluded = ["tooltip"]
|
|
15
|
+
var _excluded = ["tooltip"],
|
|
16
|
+
_excluded2 = ["tooltip"];
|
|
15
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
19
|
/**
|
|
@@ -27,7 +29,7 @@ var AppSwitcher = exports.AppSwitcher = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
27
29
|
var tooltip = props.tooltip,
|
|
28
30
|
iconButtonProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
29
31
|
return /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
|
|
30
|
-
icon: /*#__PURE__*/_react.default.createElement(
|
|
32
|
+
icon: /*#__PURE__*/_react.default.createElement(_appSwitcher2.default, {
|
|
31
33
|
label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
|
|
32
34
|
}),
|
|
33
35
|
tooltip: tooltip,
|
|
@@ -35,6 +37,30 @@ var AppSwitcher = exports.AppSwitcher = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
35
37
|
}, iconButtonProps));
|
|
36
38
|
});
|
|
37
39
|
|
|
40
|
+
// TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
|
|
41
|
+
// Remove links that the component does not have (such as usage). If there are no links remove them all.
|
|
42
|
+
/**
|
|
43
|
+
* __App switcher nav 4__
|
|
44
|
+
*
|
|
45
|
+
* An app switcher nav 4 {description}.
|
|
46
|
+
*
|
|
47
|
+
* - [Examples](https://atlassian.design/components/{packageName}/examples)
|
|
48
|
+
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
49
|
+
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
50
|
+
*/
|
|
51
|
+
var AppSwitcherNav4 = exports.AppSwitcherNav4 = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
52
|
+
var tooltip = props.tooltip,
|
|
53
|
+
iconButtonProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
|
|
55
|
+
icon: /*#__PURE__*/_react.default.createElement(_appSwitcher.default, {
|
|
56
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps',
|
|
57
|
+
color: "var(--ds-icon, #44546F)"
|
|
58
|
+
}),
|
|
59
|
+
tooltip: tooltip,
|
|
60
|
+
ref: ref
|
|
61
|
+
}, iconButtonProps));
|
|
62
|
+
});
|
|
63
|
+
|
|
38
64
|
// exists only to extract props
|
|
39
65
|
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
40
66
|
var _default = exports.default = function _default(props) {};
|
package/dist/cjs/index.js
CHANGED
|
@@ -9,6 +9,12 @@ Object.defineProperty(exports, "AppSwitcher", {
|
|
|
9
9
|
return _AppSwitcher.AppSwitcher;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "AppSwitcherNav4", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _AppSwitcher.AppSwitcherNav4;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
12
18
|
Object.defineProperty(exports, "AtlassianNavigation", {
|
|
13
19
|
enumerable: true,
|
|
14
20
|
get: function get() {
|
|
@@ -4,9 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.SkeletonHelpButton = void 0;
|
|
7
|
+
exports.SkeletonHelpButton = exports.Nav4SkeletonHelpButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
|
|
10
|
+
var _questionCircle2 = _interopRequireDefault(require("@atlaskit/icon/glyph/question-circle"));
|
|
10
11
|
var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
11
12
|
var _theme = require("./theme");
|
|
12
13
|
/**
|
|
@@ -24,8 +25,22 @@ var SkeletonHelpButton = exports.SkeletonHelpButton = function SkeletonHelpButto
|
|
|
24
25
|
label = _ref$label === void 0 ? '' : _ref$label;
|
|
25
26
|
var _useTheme = (0, _theme.useTheme)(),
|
|
26
27
|
navigation = _useTheme.mode.navigation;
|
|
27
|
-
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_questionCircle2.default, {
|
|
28
29
|
label: label,
|
|
29
30
|
secondaryColor: navigation.backgroundColor
|
|
30
31
|
}));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* __Nav 4 skeleton help button__
|
|
36
|
+
*
|
|
37
|
+
* A nav 4 skeleton help button {description}.
|
|
38
|
+
*/
|
|
39
|
+
var Nav4SkeletonHelpButton = exports.Nav4SkeletonHelpButton = function Nav4SkeletonHelpButton(_ref2) {
|
|
40
|
+
var _ref2$label = _ref2.label,
|
|
41
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
|
|
43
|
+
label: label,
|
|
44
|
+
color: "var(--ds-icon, #44546F)"
|
|
45
|
+
}));
|
|
31
46
|
};
|
|
@@ -4,9 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.SkeletonNotificationButton = void 0;
|
|
7
|
+
exports.SkeletonNotificationButton = exports.Nav4SkeletonNotificationButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _notification = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _notification = _interopRequireDefault(require("@atlaskit/icon/core/notification"));
|
|
10
|
+
var _notification2 = _interopRequireDefault(require("@atlaskit/icon/glyph/notification"));
|
|
10
11
|
var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
11
12
|
/**
|
|
12
13
|
* __Skeleton notification button__
|
|
@@ -21,7 +22,22 @@ var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
|
21
22
|
var SkeletonNotificationButton = exports.SkeletonNotificationButton = function SkeletonNotificationButton(_ref) {
|
|
22
23
|
var _ref$label = _ref.label,
|
|
23
24
|
label = _ref$label === void 0 ? '' : _ref$label;
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_notification2.default, {
|
|
25
26
|
label: label
|
|
26
27
|
}));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* __Nav 4 skeleton notification button__
|
|
32
|
+
*
|
|
33
|
+
* A nav 4 skeleton notification button.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
var Nav4SkeletonNotificationButton = exports.Nav4SkeletonNotificationButton = function Nav4SkeletonNotificationButton(_ref2) {
|
|
37
|
+
var _ref2$label = _ref2.label,
|
|
38
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_notification.default, {
|
|
40
|
+
label: label,
|
|
41
|
+
color: "var(--ds-icon, #44546F)"
|
|
42
|
+
}));
|
|
27
43
|
};
|
|
@@ -4,9 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.SkeletonSettingsButton = void 0;
|
|
7
|
+
exports.SkeletonSettingsButton = exports.Nav4SkeletonSettingsButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _settings = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _settings = _interopRequireDefault(require("@atlaskit/icon/core/settings"));
|
|
10
|
+
var _settings2 = _interopRequireDefault(require("@atlaskit/icon/glyph/settings"));
|
|
10
11
|
var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
11
12
|
/**
|
|
12
13
|
* __Skeleton settings button__
|
|
@@ -21,7 +22,21 @@ var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
|
21
22
|
var SkeletonSettingsButton = exports.SkeletonSettingsButton = function SkeletonSettingsButton(_ref) {
|
|
22
23
|
var _ref$label = _ref.label,
|
|
23
24
|
label = _ref$label === void 0 ? '' : _ref$label;
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_settings2.default, {
|
|
25
26
|
label: label
|
|
26
27
|
}));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* __Nav 4 skeleton settings button__
|
|
32
|
+
*
|
|
33
|
+
* A nav 4 skeleton settings button
|
|
34
|
+
*/
|
|
35
|
+
var Nav4SkeletonSettingsButton = exports.Nav4SkeletonSettingsButton = function Nav4SkeletonSettingsButton(_ref2) {
|
|
36
|
+
var _ref2$label = _ref2.label,
|
|
37
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_settings.default, {
|
|
39
|
+
label: label,
|
|
40
|
+
color: "var(--ds-icon, #44546F)"
|
|
41
|
+
}));
|
|
27
42
|
};
|
|
@@ -4,9 +4,11 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.SkeletonSwitcherButton = void 0;
|
|
7
|
+
exports.SkeletonSwitcherButton = exports.Nav4SkeletonSwitcherButton = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
|
|
10
|
+
var _appSwitcher2 = _interopRequireDefault(require("@atlaskit/icon/glyph/app-switcher"));
|
|
11
|
+
var _SkeletonIconButton = require("./components/SkeletonIconButton");
|
|
10
12
|
var _theme = require("./theme");
|
|
11
13
|
/**
|
|
12
14
|
* @jsxRuntime classic
|
|
@@ -69,8 +71,23 @@ var SkeletonSwitcherButton = exports.SkeletonSwitcherButton = function SkeletonS
|
|
|
69
71
|
"data-testid": testId,
|
|
70
72
|
css: skeletonSwitcherButtonStyles,
|
|
71
73
|
type: "button"
|
|
72
|
-
}, (0, _react.jsx)(
|
|
74
|
+
}, (0, _react.jsx)(_appSwitcher2.default, {
|
|
73
75
|
label: label
|
|
74
76
|
}))
|
|
75
77
|
);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* __Nav 4 skeleton switcher button__
|
|
82
|
+
*
|
|
83
|
+
* A nav 4 skeleton switcher button
|
|
84
|
+
*/
|
|
85
|
+
var Nav4SkeletonSwitcherButton = exports.Nav4SkeletonSwitcherButton = function Nav4SkeletonSwitcherButton(_ref2) {
|
|
86
|
+
var _ref2$label = _ref2.label,
|
|
87
|
+
label = _ref2$label === void 0 ? '' : _ref2$label,
|
|
88
|
+
testId = _ref2.testId;
|
|
89
|
+
return (0, _react.jsx)(_SkeletonIconButton.SkeletonIconButton, null, (0, _react.jsx)(_appSwitcher.default, {
|
|
90
|
+
label: label,
|
|
91
|
+
color: "var(--ds-icon, #44546F)"
|
|
92
|
+
}));
|
|
76
93
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
|
+
import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
|
|
3
4
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
4
5
|
import { IconButton } from '../IconButton';
|
|
5
6
|
/**
|
|
@@ -25,6 +26,32 @@ export const AppSwitcher = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
25
26
|
}, iconButtonProps));
|
|
26
27
|
});
|
|
27
28
|
|
|
29
|
+
// TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
|
|
30
|
+
// Remove links that the component does not have (such as usage). If there are no links remove them all.
|
|
31
|
+
/**
|
|
32
|
+
* __App switcher nav 4__
|
|
33
|
+
*
|
|
34
|
+
* An app switcher nav 4 {description}.
|
|
35
|
+
*
|
|
36
|
+
* - [Examples](https://atlassian.design/components/{packageName}/examples)
|
|
37
|
+
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
38
|
+
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
39
|
+
*/
|
|
40
|
+
export const AppSwitcherNav4 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
41
|
+
const {
|
|
42
|
+
tooltip,
|
|
43
|
+
...iconButtonProps
|
|
44
|
+
} = props;
|
|
45
|
+
return /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
46
|
+
icon: /*#__PURE__*/React.createElement(Nav4AppSwitcherIcon, {
|
|
47
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps',
|
|
48
|
+
color: "var(--ds-icon, #44546F)"
|
|
49
|
+
}),
|
|
50
|
+
tooltip: tooltip,
|
|
51
|
+
ref: ref
|
|
52
|
+
}, iconButtonProps));
|
|
53
|
+
});
|
|
54
|
+
|
|
28
55
|
// exists only to extract props
|
|
29
56
|
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
30
57
|
export default (props => {});
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
|
-
export { AppSwitcher } from './components/AppSwitcher';
|
|
2
|
+
export { AppSwitcher, AppSwitcherNav4 } from './components/AppSwitcher';
|
|
3
3
|
export { Create } from './components/Create';
|
|
4
4
|
export { Help } from './components/Help';
|
|
5
5
|
export { Notifications } from './components/Notifications';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
2
3
|
import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
import { useTheme } from './theme';
|
|
@@ -24,4 +25,16 @@ export const SkeletonHelpButton = ({
|
|
|
24
25
|
label: label,
|
|
25
26
|
secondaryColor: navigation.backgroundColor
|
|
26
27
|
}));
|
|
27
|
-
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* __Nav 4 skeleton help button__
|
|
32
|
+
*
|
|
33
|
+
* A nav 4 skeleton help button {description}.
|
|
34
|
+
*/
|
|
35
|
+
export const Nav4SkeletonHelpButton = ({
|
|
36
|
+
label = ''
|
|
37
|
+
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4QuestionCircleIcon, {
|
|
38
|
+
label: label,
|
|
39
|
+
color: "var(--ds-icon, #44546F)"
|
|
40
|
+
}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4NotificationsIcon from '@atlaskit/icon/core/notification';
|
|
2
3
|
import NotificationIcon from '@atlaskit/icon/glyph/notification';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
/**
|
|
@@ -15,4 +16,17 @@ export const SkeletonNotificationButton = ({
|
|
|
15
16
|
label = ''
|
|
16
17
|
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
17
18
|
label: label
|
|
19
|
+
}));
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* __Nav 4 skeleton notification button__
|
|
23
|
+
*
|
|
24
|
+
* A nav 4 skeleton notification button.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export const Nav4SkeletonNotificationButton = ({
|
|
28
|
+
label = ''
|
|
29
|
+
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4NotificationsIcon, {
|
|
30
|
+
label: label,
|
|
31
|
+
color: "var(--ds-icon, #44546F)"
|
|
18
32
|
}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4SettingsIcon from '@atlaskit/icon/core/settings';
|
|
2
3
|
import SettingsIcon from '@atlaskit/icon/glyph/settings';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
/**
|
|
@@ -15,4 +16,16 @@ export const SkeletonSettingsButton = ({
|
|
|
15
16
|
label = ''
|
|
16
17
|
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(SettingsIcon, {
|
|
17
18
|
label: label
|
|
19
|
+
}));
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* __Nav 4 skeleton settings button__
|
|
23
|
+
*
|
|
24
|
+
* A nav 4 skeleton settings button
|
|
25
|
+
*/
|
|
26
|
+
export const Nav4SkeletonSettingsButton = ({
|
|
27
|
+
label = ''
|
|
28
|
+
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4SettingsIcon, {
|
|
29
|
+
label: label,
|
|
30
|
+
color: "var(--ds-icon, #44546F)"
|
|
18
31
|
}));
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
|
|
7
8
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
9
|
+
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
8
10
|
import { useTheme } from './theme';
|
|
9
11
|
const skeletonSwitcherButtonStyles = css({
|
|
10
12
|
margin: 0,
|
|
@@ -65,4 +67,17 @@ export const SkeletonSwitcherButton = ({
|
|
|
65
67
|
label: label
|
|
66
68
|
}))
|
|
67
69
|
);
|
|
68
|
-
};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* __Nav 4 skeleton switcher button__
|
|
74
|
+
*
|
|
75
|
+
* A nav 4 skeleton switcher button
|
|
76
|
+
*/
|
|
77
|
+
export const Nav4SkeletonSwitcherButton = ({
|
|
78
|
+
label = '',
|
|
79
|
+
testId
|
|
80
|
+
}) => jsx(SkeletonIconButton, null, jsx(Nav4AppSwitcherIcon, {
|
|
81
|
+
label: label,
|
|
82
|
+
color: "var(--ds-icon, #44546F)"
|
|
83
|
+
}));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["tooltip"]
|
|
3
|
+
var _excluded = ["tooltip"],
|
|
4
|
+
_excluded2 = ["tooltip"];
|
|
4
5
|
import React, { forwardRef } from 'react';
|
|
6
|
+
import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
|
|
5
7
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
6
8
|
import { IconButton } from '../IconButton';
|
|
7
9
|
/**
|
|
@@ -25,6 +27,30 @@ export var AppSwitcher = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
25
27
|
}, iconButtonProps));
|
|
26
28
|
});
|
|
27
29
|
|
|
30
|
+
// TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
|
|
31
|
+
// Remove links that the component does not have (such as usage). If there are no links remove them all.
|
|
32
|
+
/**
|
|
33
|
+
* __App switcher nav 4__
|
|
34
|
+
*
|
|
35
|
+
* An app switcher nav 4 {description}.
|
|
36
|
+
*
|
|
37
|
+
* - [Examples](https://atlassian.design/components/{packageName}/examples)
|
|
38
|
+
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
39
|
+
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
40
|
+
*/
|
|
41
|
+
export var AppSwitcherNav4 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
42
|
+
var tooltip = props.tooltip,
|
|
43
|
+
iconButtonProps = _objectWithoutProperties(props, _excluded2);
|
|
44
|
+
return /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
45
|
+
icon: /*#__PURE__*/React.createElement(Nav4AppSwitcherIcon, {
|
|
46
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps',
|
|
47
|
+
color: "var(--ds-icon, #44546F)"
|
|
48
|
+
}),
|
|
49
|
+
tooltip: tooltip,
|
|
50
|
+
ref: ref
|
|
51
|
+
}, iconButtonProps));
|
|
52
|
+
});
|
|
53
|
+
|
|
28
54
|
// exists only to extract props
|
|
29
55
|
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
30
56
|
export default (function (props) {});
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
|
-
export { AppSwitcher } from './components/AppSwitcher';
|
|
2
|
+
export { AppSwitcher, AppSwitcherNav4 } from './components/AppSwitcher';
|
|
3
3
|
export { Create } from './components/Create';
|
|
4
4
|
export { Help } from './components/Help';
|
|
5
5
|
export { Notifications } from './components/Notifications';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
2
3
|
import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
import { useTheme } from './theme';
|
|
@@ -21,4 +22,18 @@ export var SkeletonHelpButton = function SkeletonHelpButton(_ref) {
|
|
|
21
22
|
label: label,
|
|
22
23
|
secondaryColor: navigation.backgroundColor
|
|
23
24
|
}));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* __Nav 4 skeleton help button__
|
|
29
|
+
*
|
|
30
|
+
* A nav 4 skeleton help button {description}.
|
|
31
|
+
*/
|
|
32
|
+
export var Nav4SkeletonHelpButton = function Nav4SkeletonHelpButton(_ref2) {
|
|
33
|
+
var _ref2$label = _ref2.label,
|
|
34
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
35
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4QuestionCircleIcon, {
|
|
36
|
+
label: label,
|
|
37
|
+
color: "var(--ds-icon, #44546F)"
|
|
38
|
+
}));
|
|
24
39
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4NotificationsIcon from '@atlaskit/icon/core/notification';
|
|
2
3
|
import NotificationIcon from '@atlaskit/icon/glyph/notification';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
/**
|
|
@@ -17,4 +18,19 @@ export var SkeletonNotificationButton = function SkeletonNotificationButton(_ref
|
|
|
17
18
|
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
18
19
|
label: label
|
|
19
20
|
}));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* __Nav 4 skeleton notification button__
|
|
25
|
+
*
|
|
26
|
+
* A nav 4 skeleton notification button.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export var Nav4SkeletonNotificationButton = function Nav4SkeletonNotificationButton(_ref2) {
|
|
30
|
+
var _ref2$label = _ref2.label,
|
|
31
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
32
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4NotificationsIcon, {
|
|
33
|
+
label: label,
|
|
34
|
+
color: "var(--ds-icon, #44546F)"
|
|
35
|
+
}));
|
|
20
36
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Nav4SettingsIcon from '@atlaskit/icon/core/settings';
|
|
2
3
|
import SettingsIcon from '@atlaskit/icon/glyph/settings';
|
|
3
4
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
4
5
|
/**
|
|
@@ -17,4 +18,18 @@ export var SkeletonSettingsButton = function SkeletonSettingsButton(_ref) {
|
|
|
17
18
|
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(SettingsIcon, {
|
|
18
19
|
label: label
|
|
19
20
|
}));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* __Nav 4 skeleton settings button__
|
|
25
|
+
*
|
|
26
|
+
* A nav 4 skeleton settings button
|
|
27
|
+
*/
|
|
28
|
+
export var Nav4SkeletonSettingsButton = function Nav4SkeletonSettingsButton(_ref2) {
|
|
29
|
+
var _ref2$label = _ref2.label,
|
|
30
|
+
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
31
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Nav4SettingsIcon, {
|
|
32
|
+
label: label,
|
|
33
|
+
color: "var(--ds-icon, #44546F)"
|
|
34
|
+
}));
|
|
20
35
|
};
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
|
|
7
8
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
9
|
+
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
8
10
|
import { useTheme } from './theme';
|
|
9
11
|
var skeletonSwitcherButtonStyles = css({
|
|
10
12
|
margin: 0,
|
|
@@ -65,4 +67,19 @@ export var SkeletonSwitcherButton = function SkeletonSwitcherButton(_ref) {
|
|
|
65
67
|
label: label
|
|
66
68
|
}))
|
|
67
69
|
);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* __Nav 4 skeleton switcher button__
|
|
74
|
+
*
|
|
75
|
+
* A nav 4 skeleton switcher button
|
|
76
|
+
*/
|
|
77
|
+
export var Nav4SkeletonSwitcherButton = function Nav4SkeletonSwitcherButton(_ref2) {
|
|
78
|
+
var _ref2$label = _ref2.label,
|
|
79
|
+
label = _ref2$label === void 0 ? '' : _ref2$label,
|
|
80
|
+
testId = _ref2.testId;
|
|
81
|
+
return jsx(SkeletonIconButton, null, jsx(Nav4AppSwitcherIcon, {
|
|
82
|
+
label: label,
|
|
83
|
+
color: "var(--ds-icon, #44546F)"
|
|
84
|
+
}));
|
|
68
85
|
};
|
|
@@ -10,5 +10,15 @@ import { type AppSwitcherProps } from './types';
|
|
|
10
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
11
|
*/
|
|
12
12
|
export declare const AppSwitcher: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
|
|
13
|
+
/**
|
|
14
|
+
* __App switcher nav 4__
|
|
15
|
+
*
|
|
16
|
+
* An app switcher nav 4 {description}.
|
|
17
|
+
*
|
|
18
|
+
* - [Examples](https://atlassian.design/components/{packageName}/examples)
|
|
19
|
+
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
20
|
+
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
21
|
+
*/
|
|
22
|
+
export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
|
|
13
23
|
declare const _default: (props: AppSwitcherProps) => void;
|
|
14
24
|
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
2
|
export type { AtlassianNavigationProps } from './components/AtlassianNavigation/types';
|
|
3
|
-
export { AppSwitcher } from './components/AppSwitcher';
|
|
3
|
+
export { AppSwitcher, AppSwitcherNav4 } from './components/AppSwitcher';
|
|
4
4
|
export type { AppSwitcherProps } from './components/AppSwitcher/types';
|
|
5
5
|
export { Create } from './components/Create';
|
|
6
6
|
export type { CreateProps } from './components/Create/types';
|
|
@@ -17,3 +17,9 @@ export type SkeletonHelpButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton help button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton help button {description}.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
@@ -17,3 +17,10 @@ export type SkeletonNotificationButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton notification button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton notification button.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
@@ -17,3 +17,9 @@ export type SkeletonSettingsButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton settings button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton settings button
|
|
24
|
+
*/
|
|
25
|
+
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
@@ -27,3 +27,9 @@ export type SkeletonSwitcherButtonProps = {
|
|
|
27
27
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
28
28
|
*/
|
|
29
29
|
export declare const SkeletonSwitcherButton: ({ label, testId }: SkeletonSwitcherButtonProps) => jsx.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* __Nav 4 skeleton switcher button__
|
|
32
|
+
*
|
|
33
|
+
* A nav 4 skeleton switcher button
|
|
34
|
+
*/
|
|
35
|
+
export declare const Nav4SkeletonSwitcherButton: ({ label, testId }: SkeletonSwitcherButtonProps) => jsx.JSX.Element;
|
|
@@ -10,5 +10,15 @@ import { type AppSwitcherProps } from './types';
|
|
|
10
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
11
|
*/
|
|
12
12
|
export declare const AppSwitcher: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
|
|
13
|
+
/**
|
|
14
|
+
* __App switcher nav 4__
|
|
15
|
+
*
|
|
16
|
+
* An app switcher nav 4 {description}.
|
|
17
|
+
*
|
|
18
|
+
* - [Examples](https://atlassian.design/components/{packageName}/examples)
|
|
19
|
+
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
20
|
+
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
21
|
+
*/
|
|
22
|
+
export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
|
|
13
23
|
declare const _default: (props: AppSwitcherProps) => void;
|
|
14
24
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
2
|
export type { AtlassianNavigationProps } from './components/AtlassianNavigation/types';
|
|
3
|
-
export { AppSwitcher } from './components/AppSwitcher';
|
|
3
|
+
export { AppSwitcher, AppSwitcherNav4 } from './components/AppSwitcher';
|
|
4
4
|
export type { AppSwitcherProps } from './components/AppSwitcher/types';
|
|
5
5
|
export { Create } from './components/Create';
|
|
6
6
|
export type { CreateProps } from './components/Create/types';
|
|
@@ -17,3 +17,9 @@ export type SkeletonHelpButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton help button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton help button {description}.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
@@ -17,3 +17,10 @@ export type SkeletonNotificationButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton notification button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton notification button.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
@@ -17,3 +17,9 @@ export type SkeletonSettingsButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* __Nav 4 skeleton settings button__
|
|
22
|
+
*
|
|
23
|
+
* A nav 4 skeleton settings button
|
|
24
|
+
*/
|
|
25
|
+
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
@@ -27,3 +27,9 @@ export type SkeletonSwitcherButtonProps = {
|
|
|
27
27
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
28
28
|
*/
|
|
29
29
|
export declare const SkeletonSwitcherButton: ({ label, testId }: SkeletonSwitcherButtonProps) => jsx.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* __Nav 4 skeleton switcher button__
|
|
32
|
+
*
|
|
33
|
+
* A nav 4 skeleton switcher button
|
|
34
|
+
*/
|
|
35
|
+
export declare const Nav4SkeletonSwitcherButton: ({ label, testId }: SkeletonSwitcherButtonProps) => jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,10 +32,6 @@
|
|
|
32
32
|
},
|
|
33
33
|
"atlassian": {
|
|
34
34
|
"team": "Design System Team",
|
|
35
|
-
"releaseModel": "continuous",
|
|
36
|
-
"productPushConsumption": [
|
|
37
|
-
"jira"
|
|
38
|
-
],
|
|
39
35
|
"website": {
|
|
40
36
|
"name": "Atlassian navigation",
|
|
41
37
|
"category": "Components"
|
|
@@ -43,16 +39,16 @@
|
|
|
43
39
|
"runReact18": true
|
|
44
40
|
},
|
|
45
41
|
"dependencies": {
|
|
46
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
47
|
-
"@atlaskit/button": "^20.
|
|
48
|
-
"@atlaskit/ds-lib": "^2.
|
|
49
|
-
"@atlaskit/icon": "^22.
|
|
42
|
+
"@atlaskit/analytics-namespaced-context": "^6.12.0",
|
|
43
|
+
"@atlaskit/button": "^20.1.0",
|
|
44
|
+
"@atlaskit/ds-lib": "^2.5.0",
|
|
45
|
+
"@atlaskit/icon": "^22.16.0",
|
|
50
46
|
"@atlaskit/logo": "*",
|
|
51
47
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
52
|
-
"@atlaskit/popup": "^1.
|
|
53
|
-
"@atlaskit/primitives": "^12.
|
|
48
|
+
"@atlaskit/popup": "^1.25.0",
|
|
49
|
+
"@atlaskit/primitives": "^12.1.0",
|
|
54
50
|
"@atlaskit/theme": "^13.0.0",
|
|
55
|
-
"@atlaskit/tokens": "^1.
|
|
51
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
56
52
|
"@atlaskit/tooltip": "^18.7.0",
|
|
57
53
|
"@atlaskit/width-detector": "^4.3.0",
|
|
58
54
|
"@babel/runtime": "^7.0.0",
|
|
@@ -66,7 +62,7 @@
|
|
|
66
62
|
"devDependencies": {
|
|
67
63
|
"@af/accessibility-testing": "*",
|
|
68
64
|
"@af/visual-regression": "*",
|
|
69
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
65
|
+
"@atlaskit/dropdown-menu": "^12.18.0",
|
|
70
66
|
"@atlaskit/notification-indicator": "*",
|
|
71
67
|
"@atlaskit/notification-log-client": "*",
|
|
72
68
|
"@atlaskit/visual-regression": "*",
|