@atlaskit/atlassian-navigation 4.3.0 → 4.3.2
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 +14 -0
- package/dist/cjs/components/AppSwitcher/index.js +1 -1
- package/dist/cjs/components/AtlassianNavigation/index.js +1 -1
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/cjs/components/BadgeContainer/index.js +1 -1
- package/dist/cjs/components/Create/index.js +1 -1
- package/dist/cjs/components/Create/skeleton.js +1 -1
- package/dist/cjs/components/IconButton/skeleton.js +2 -1
- package/dist/cjs/components/PrimaryButton/index.js +1 -1
- package/dist/cjs/components/PrimaryButton/skeleton.js +1 -1
- package/dist/cjs/components/PrimaryDropdownButton/index.js +1 -1
- package/dist/cjs/components/PrimaryItemsContainer/index.js +1 -1
- package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +1 -1
- package/dist/cjs/components/ProductHome/custom-product-home.js +1 -1
- package/dist/cjs/components/ProductHome/product-home.js +1 -1
- package/dist/cjs/components/ProductHome/skeleton.js +1 -1
- package/dist/cjs/components/Search/index.js +1 -1
- package/dist/cjs/components/Search/skeleton.js +1 -1
- package/dist/cjs/components/SkeletonCreateButton/index.js +1 -1
- package/dist/cjs/components/SkeletonIconButton/index.js +1 -1
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +2 -1
- package/dist/cjs/skeleton-switcher-button.js +4 -1
- package/dist/es2019/components/AppSwitcher/index.js +1 -1
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -1
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/es2019/components/BadgeContainer/index.js +1 -1
- package/dist/es2019/components/Create/index.js +1 -1
- package/dist/es2019/components/Create/skeleton.js +1 -1
- package/dist/es2019/components/IconButton/skeleton.js +1 -1
- package/dist/es2019/components/PrimaryButton/index.js +1 -1
- package/dist/es2019/components/PrimaryButton/skeleton.js +1 -1
- package/dist/es2019/components/PrimaryDropdownButton/index.js +1 -1
- package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -1
- package/dist/es2019/components/PrimaryItemsContainer/skeleton.js +1 -1
- package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
- package/dist/es2019/components/ProductHome/product-home.js +1 -1
- package/dist/es2019/components/ProductHome/skeleton.js +1 -1
- package/dist/es2019/components/Search/index.js +1 -1
- package/dist/es2019/components/Search/skeleton.js +1 -1
- package/dist/es2019/components/SkeletonCreateButton/index.js +1 -1
- package/dist/es2019/components/SkeletonIconButton/index.js +1 -1
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +1 -1
- package/dist/es2019/skeleton-switcher-button.js +4 -1
- package/dist/esm/components/AppSwitcher/index.js +1 -1
- package/dist/esm/components/AtlassianNavigation/index.js +1 -1
- package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/esm/components/BadgeContainer/index.js +1 -1
- package/dist/esm/components/Create/index.js +1 -1
- package/dist/esm/components/Create/skeleton.js +1 -1
- package/dist/esm/components/IconButton/skeleton.js +1 -1
- package/dist/esm/components/PrimaryButton/index.js +1 -1
- package/dist/esm/components/PrimaryButton/skeleton.js +1 -1
- package/dist/esm/components/PrimaryDropdownButton/index.js +1 -1
- package/dist/esm/components/PrimaryItemsContainer/index.js +1 -1
- package/dist/esm/components/PrimaryItemsContainer/skeleton.js +1 -1
- package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
- package/dist/esm/components/ProductHome/product-home.js +1 -1
- package/dist/esm/components/ProductHome/skeleton.js +1 -1
- package/dist/esm/components/Search/index.js +1 -1
- package/dist/esm/components/Search/skeleton.js +1 -1
- package/dist/esm/components/SkeletonCreateButton/index.js +1 -1
- package/dist/esm/components/SkeletonIconButton/index.js +1 -1
- package/dist/esm/components/SkeletonPrimaryButton/index.js +1 -1
- package/dist/esm/skeleton-switcher-button.js +4 -1
- package/dist/types/components/AtlassianNavigation/index.d.ts +1 -1
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +1 -1
- package/dist/types/components/BadgeContainer/index.d.ts +1 -1
- package/dist/types/components/IconButton/skeleton.d.ts +1 -1
- package/dist/types/components/PrimaryButton/skeleton.d.ts +1 -1
- package/dist/types/components/ProductHome/skeleton.d.ts +1 -1
- package/dist/types/components/SkeletonCreateButton/index.d.ts +1 -1
- package/dist/types/components/SkeletonIconButton/index.d.ts +1 -1
- package/dist/types/components/SkeletonPrimaryButton/index.d.ts +1 -1
- package/dist/types/skeleton-switcher-button.d.ts +4 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +1 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +1 -1
- package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +1 -1
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +4 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 4.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123065](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123065)
|
|
8
|
+
[`d85d7e47179c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d85d7e47179c1) -
|
|
9
|
+
change default aria-label on AppSwitcherIcon
|
|
10
|
+
|
|
11
|
+
## 4.3.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.3.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -28,7 +28,7 @@ var AppSwitcher = exports.AppSwitcher = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
28
28
|
iconButtonProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
|
|
30
30
|
icon: /*#__PURE__*/_react.default.createElement(_appSwitcher.default, {
|
|
31
|
-
label: typeof tooltip === 'string' ? tooltip : '
|
|
31
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
|
|
32
32
|
}),
|
|
33
33
|
tooltip: tooltip,
|
|
34
34
|
ref: ref
|
|
@@ -14,8 +14,8 @@ var _PrimaryItemsContainer = require("../PrimaryItemsContainer");
|
|
|
14
14
|
var _PrimaryItemsContainerV = require("../PrimaryItemsContainerV2");
|
|
15
15
|
/**
|
|
16
16
|
* @jsxRuntime classic
|
|
17
|
+
* @jsx jsx
|
|
17
18
|
*/
|
|
18
|
-
/** @jsx jsx */
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
21
21
|
var containerStyles = (0, _react.css)({
|
|
@@ -15,8 +15,8 @@ var _skeleton4 = require("../Profile/skeleton");
|
|
|
15
15
|
var _skeleton5 = require("../Search/skeleton");
|
|
16
16
|
/**
|
|
17
17
|
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
18
19
|
*/
|
|
19
|
-
/** @jsx jsx */
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
|
|
22
22
|
var containerStyles = (0, _react.css)({
|
|
@@ -7,8 +7,8 @@ exports.BadgeContainer = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
/**
|
|
9
9
|
* @jsxRuntime classic
|
|
10
|
+
* @jsx jsx
|
|
10
11
|
*/
|
|
11
|
-
/** @jsx jsx */
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
|
|
14
14
|
var badgeContainerStyles = (0, _react.css)({
|
|
@@ -17,8 +17,8 @@ var _IconButton = require("../IconButton");
|
|
|
17
17
|
var _styles = require("./styles");
|
|
18
18
|
/**
|
|
19
19
|
* @jsxRuntime classic
|
|
20
|
+
* @jsx jsx
|
|
20
21
|
*/
|
|
21
|
-
/** @jsx jsx */
|
|
22
22
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
|
|
@@ -13,8 +13,8 @@ var _theme = require("../../theme");
|
|
|
13
13
|
var _skeleton = require("../IconButton/skeleton");
|
|
14
14
|
/**
|
|
15
15
|
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
16
17
|
*/
|
|
17
|
-
/** @jsx jsx */
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
@@ -11,7 +11,8 @@ var _theme = require("../../theme");
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
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) { (0, _defineProperty2.default)(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; } /**
|
|
13
13
|
* @jsxRuntime classic
|
|
14
|
-
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
16
|
var buttonHeight = "var(--ds-space-400, 32px)";
|
|
16
17
|
var skeletonStyles = (0, _react.css)({
|
|
17
18
|
borderRadius: "var(--ds-border-radius-circle, 50%)",
|
|
@@ -17,8 +17,8 @@ var _styles = require("./styles");
|
|
|
17
17
|
var _excluded = ["children", "testId", "tooltip", "isSelected", "isHighlighted"];
|
|
18
18
|
/**
|
|
19
19
|
* @jsxRuntime classic
|
|
20
|
+
* @jsx jsx
|
|
20
21
|
*/
|
|
21
|
-
/** @jsx jsx */
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
23
|
var VAR_BUTTON_SELECTED_COLOR = '--button-selected-color';
|
|
24
24
|
var VAR_BUTTON_SELECTED_BORDER_COLOR = '--button-selected-border-color';
|
|
@@ -13,8 +13,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
13
13
|
var _PrimaryButton = require("../PrimaryButton");
|
|
14
14
|
/**
|
|
15
15
|
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
16
17
|
*/
|
|
17
|
-
/** @jsx jsx */
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
@@ -16,8 +16,8 @@ var _overflow = require("../../controllers/overflow");
|
|
|
16
16
|
var _PrimaryDropdownButton = require("../PrimaryDropdownButton");
|
|
17
17
|
/**
|
|
18
18
|
* @jsxRuntime classic
|
|
19
|
+
* @jsx jsx
|
|
19
20
|
*/
|
|
20
|
-
/** @jsx jsx */
|
|
21
21
|
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
23
|
|
|
@@ -9,8 +9,8 @@ var _react2 = require("@emotion/react");
|
|
|
9
9
|
var _skeleton = require("../PrimaryButton/skeleton");
|
|
10
10
|
/**
|
|
11
11
|
* @jsxRuntime classic
|
|
12
|
+
* @jsx jsx
|
|
12
13
|
*/
|
|
13
|
-
/** @jsx jsx */
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
|
|
@@ -19,8 +19,8 @@ var _excluded = ["iconAlt", "iconUrl", "logoAlt", "logoUrl", "href", "onClick",
|
|
|
19
19
|
var _css3;
|
|
20
20
|
/**
|
|
21
21
|
* @jsxRuntime classic
|
|
22
|
+
* @jsx jsx
|
|
22
23
|
*/
|
|
23
|
-
/** @jsx jsx */
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var VAR_PRODUCT_HOME_COLOR_ACTIVE = '--product-home-color-active';
|
|
26
26
|
var VAR_PRODUCT_HOME_BACKGROUND_COLOR_ACTIVE = '--product-home-bg-color-active';
|
|
@@ -19,8 +19,8 @@ var _excluded = ["icon", "logo", "siteTitle", "onClick", "href", "onMouseDown",
|
|
|
19
19
|
var _css;
|
|
20
20
|
/**
|
|
21
21
|
* @jsxRuntime classic
|
|
22
|
+
* @jsx jsx
|
|
22
23
|
*/
|
|
23
|
-
/** @jsx jsx */
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var VAR_LOGO_MAX_WIDTH = '--logo-max-width';
|
|
26
26
|
var VAR_PRODUCT_HOME_COLOR_ACTIVE = '--product-home-color-active';
|
|
@@ -14,8 +14,8 @@ var _utils = require("../../utils");
|
|
|
14
14
|
var _css;
|
|
15
15
|
/**
|
|
16
16
|
* @jsxRuntime classic
|
|
17
|
+
* @jsx jsx
|
|
17
18
|
*/
|
|
18
|
-
/** @jsx jsx */
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
var VAR_PRODUCT_HOME_COLOR_ACTIVE = '--product-home-color-active';
|
|
21
21
|
var VAR_PRODUCT_HOME_BACKGROUND_COLOR_ACTIVE = '--product-home-bg-color-active';
|
|
@@ -18,8 +18,8 @@ var _IconButton = require("../IconButton");
|
|
|
18
18
|
var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
19
19
|
/**
|
|
20
20
|
* @jsxRuntime classic
|
|
21
|
+
* @jsx jsx
|
|
21
22
|
*/
|
|
22
|
-
/** @jsx jsx */
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
var searchInputContainerStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
25
25
|
position: 'relative',
|
|
@@ -13,8 +13,8 @@ var _theme = require("../../theme");
|
|
|
13
13
|
var _skeleton = require("../IconButton/skeleton");
|
|
14
14
|
/**
|
|
15
15
|
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
16
17
|
*/
|
|
17
|
-
/** @jsx jsx */
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
@@ -8,8 +8,8 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _theme = require("../../theme");
|
|
9
9
|
/**
|
|
10
10
|
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
11
12
|
*/
|
|
12
|
-
/** @jsx jsx */
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
15
|
var skeletonCreateButtonStyles = (0, _react.css)({
|
|
@@ -8,8 +8,8 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _theme = require("../../theme");
|
|
9
9
|
/**
|
|
10
10
|
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
11
12
|
*/
|
|
12
|
-
/** @jsx jsx */
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
15
|
var skeletonIconButtonStyles = (0, _react.css)({
|
|
@@ -12,7 +12,8 @@ var _utils = require("../../utils");
|
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
13
|
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) { (0, _defineProperty2.default)(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; } /**
|
|
14
14
|
* @jsxRuntime classic
|
|
15
|
-
|
|
15
|
+
* @jsx jsx
|
|
16
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
var VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
|
|
17
18
|
var VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR = '--primary-button-after-dropdown-border-color';
|
|
18
19
|
var primaryButtonSkeletonStyles = (0, _react.css)({
|
|
@@ -8,7 +8,10 @@ exports.SkeletonSwitcherButton = void 0;
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/glyph/app-switcher"));
|
|
10
10
|
var _theme = require("./theme");
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* @jsxRuntime classic
|
|
13
|
+
* @jsx jsx
|
|
14
|
+
*/
|
|
12
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
16
|
|
|
14
17
|
var skeletonSwitcherButtonStyles = (0, _react.css)({
|
|
@@ -18,7 +18,7 @@ export const AppSwitcher = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
18
18
|
} = props;
|
|
19
19
|
return /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
20
20
|
icon: /*#__PURE__*/React.createElement(AppSwitcherIcon, {
|
|
21
|
-
label: typeof tooltip === 'string' ? tooltip : '
|
|
21
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
|
|
22
22
|
}),
|
|
23
23
|
tooltip: tooltip,
|
|
24
24
|
ref: ref
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
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
7
|
import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
6
|
import { css, jsx } from '@emotion/react';
|
|
4
7
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
@@ -18,7 +18,7 @@ export var AppSwitcher = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18
18
|
iconButtonProps = _objectWithoutProperties(props, _excluded);
|
|
19
19
|
return /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
20
20
|
icon: /*#__PURE__*/React.createElement(AppSwitcherIcon, {
|
|
21
|
-
label: typeof tooltip === 'string' ? tooltip : '
|
|
21
|
+
label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
|
|
22
22
|
}),
|
|
23
23
|
tooltip: tooltip,
|
|
24
24
|
ref: ref
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
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
7
|
import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -3,8 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
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; }
|
|
4
4
|
/**
|
|
5
5
|
* @jsxRuntime classic
|
|
6
|
+
* @jsx jsx
|
|
6
7
|
*/
|
|
7
|
-
/** @jsx jsx */
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useTheme } from '../../theme';
|
|
@@ -4,8 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["children", "testId", "tooltip", "isSelected", "isHighlighted"];
|
|
5
5
|
/**
|
|
6
6
|
* @jsxRuntime classic
|
|
7
|
+
* @jsx jsx
|
|
7
8
|
*/
|
|
8
|
-
/** @jsx jsx */
|
|
9
9
|
import { forwardRef } from 'react';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
/**
|
|
4
4
|
* @jsxRuntime classic
|
|
5
|
+
* @jsx jsx
|
|
5
6
|
*/
|
|
6
|
-
/** @jsx jsx */
|
|
7
7
|
import { useCallback, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -5,8 +5,8 @@ var _excluded = ["iconAlt", "iconUrl", "logoAlt", "logoUrl", "href", "onClick",
|
|
|
5
5
|
var _css3;
|
|
6
6
|
/**
|
|
7
7
|
* @jsxRuntime classic
|
|
8
|
+
* @jsx jsx
|
|
8
9
|
*/
|
|
9
|
-
/** @jsx jsx */
|
|
10
10
|
import { Fragment } from 'react';
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -5,8 +5,8 @@ var _excluded = ["icon", "logo", "siteTitle", "onClick", "href", "onMouseDown",
|
|
|
5
5
|
var _css;
|
|
6
6
|
/**
|
|
7
7
|
* @jsxRuntime classic
|
|
8
|
+
* @jsx jsx
|
|
8
9
|
*/
|
|
9
|
-
/** @jsx jsx */
|
|
10
10
|
import { Fragment } from 'react';
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -4,8 +4,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
5
5
|
/**
|
|
6
6
|
* @jsxRuntime classic
|
|
7
|
+
* @jsx jsx
|
|
7
8
|
*/
|
|
8
|
-
/** @jsx jsx */
|
|
9
9
|
import { Fragment } from 'react';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -3,8 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
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; }
|
|
4
4
|
/**
|
|
5
5
|
* @jsxRuntime classic
|
|
6
|
+
* @jsx jsx
|
|
6
7
|
*/
|
|
7
|
-
/** @jsx jsx */
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useTheme } from '../../theme';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
6
|
import { css, jsx } from '@emotion/react';
|
|
4
7
|
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type IconButtonSkeletonProps } from './types';
|
|
7
7
|
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type PrimaryButtonSkeletonProps } from './types';
|
|
7
7
|
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type IconButtonSkeletonProps } from './types';
|
|
7
7
|
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type PrimaryButtonSkeletonProps } from './types';
|
|
7
7
|
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/analytics-namespaced-context": "^6.10.0",
|
|
47
|
-
"@atlaskit/button": "^
|
|
47
|
+
"@atlaskit/button": "^19.0.0",
|
|
48
48
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
49
|
-
"@atlaskit/icon": "^22.
|
|
49
|
+
"@atlaskit/icon": "^22.7.0",
|
|
50
50
|
"@atlaskit/logo": "*",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
52
52
|
"@atlaskit/popup": "^1.20.0",
|
|
53
53
|
"@atlaskit/primitives": "^11.0.0",
|
|
54
54
|
"@atlaskit/theme": "^12.11.0",
|
|
55
|
-
"@atlaskit/tokens": "^1.
|
|
55
|
+
"@atlaskit/tokens": "^1.56.0",
|
|
56
56
|
"@atlaskit/tooltip": "^18.5.0",
|
|
57
57
|
"@atlaskit/width-detector": "^4.2.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|