@atlaskit/atlassian-navigation 5.5.2 → 5.5.4
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 -2
- package/dist/cjs/components/AtlassianNavigation/index.js +15 -13
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +17 -14
- package/dist/cjs/components/BadgeContainer/index.js +9 -6
- package/dist/cjs/components/Create/index.js +3 -1
- package/dist/cjs/components/Help/index.js +1 -1
- package/dist/cjs/components/IconButton/skeleton.js +4 -3
- package/dist/cjs/components/Notifications/index.js +1 -1
- package/dist/cjs/components/PrimaryButton/skeleton.js +5 -3
- package/dist/cjs/components/PrimaryDropdownButton/index.js +1 -2
- package/dist/cjs/components/PrimaryItemsContainer/index.js +3 -1
- package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +3 -1
- package/dist/cjs/components/ProductHome/custom-product-home.js +3 -1
- package/dist/cjs/components/ProductHome/product-home.js +3 -1
- package/dist/cjs/components/ProductHome/skeleton.js +3 -1
- package/dist/cjs/components/Search/index.js +4 -2
- package/dist/cjs/components/Search/skeleton.js +3 -1
- package/dist/cjs/components/Settings/index.js +1 -1
- package/dist/cjs/components/SkeletonCreateButton/index.js +8 -5
- package/dist/cjs/components/SkeletonIconButton/index.js +8 -5
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +10 -9
- package/dist/cjs/skeleton-help-button.js +2 -3
- package/dist/cjs/skeleton-notification-button.js +2 -3
- package/dist/cjs/skeleton-settings-button.js +2 -3
- package/dist/cjs/skeleton-switcher-button.js +7 -6
- package/dist/es2019/components/AppSwitcher/index.js +2 -3
- package/dist/es2019/components/AtlassianNavigation/index.js +2 -0
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +2 -0
- package/dist/es2019/components/BadgeContainer/index.js +2 -0
- package/dist/es2019/components/Create/index.js +1 -1
- package/dist/es2019/components/Help/index.js +1 -1
- package/dist/es2019/components/IconButton/skeleton.js +2 -0
- package/dist/es2019/components/Notifications/index.js +1 -1
- package/dist/es2019/components/PrimaryButton/skeleton.js +1 -0
- package/dist/es2019/components/PrimaryDropdownButton/index.js +2 -3
- 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 +2 -2
- package/dist/es2019/components/Search/skeleton.js +1 -1
- package/dist/es2019/components/Settings/index.js +1 -1
- package/dist/es2019/components/SkeletonCreateButton/index.js +2 -0
- package/dist/es2019/components/SkeletonIconButton/index.js +2 -0
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +2 -0
- package/dist/es2019/skeleton-help-button.js +2 -3
- package/dist/es2019/skeleton-notification-button.js +2 -3
- package/dist/es2019/skeleton-settings-button.js +2 -3
- package/dist/es2019/skeleton-switcher-button.js +4 -3
- package/dist/es2019/theme/theme-provider.js +0 -1
- package/dist/esm/components/AppSwitcher/index.js +2 -3
- package/dist/esm/components/AtlassianNavigation/index.js +2 -0
- package/dist/esm/components/AtlassianNavigation/skeleton.js +2 -0
- package/dist/esm/components/BadgeContainer/index.js +2 -0
- package/dist/esm/components/Create/index.js +1 -1
- package/dist/esm/components/Help/index.js +1 -1
- package/dist/esm/components/IconButton/skeleton.js +2 -0
- package/dist/esm/components/Notifications/index.js +1 -1
- package/dist/esm/components/PrimaryButton/skeleton.js +1 -0
- package/dist/esm/components/PrimaryDropdownButton/index.js +2 -3
- 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 +2 -2
- package/dist/esm/components/Search/skeleton.js +1 -1
- package/dist/esm/components/Settings/index.js +1 -1
- package/dist/esm/components/SkeletonCreateButton/index.js +2 -0
- package/dist/esm/components/SkeletonIconButton/index.js +2 -0
- package/dist/esm/components/SkeletonPrimaryButton/index.js +2 -0
- package/dist/esm/skeleton-help-button.js +2 -3
- package/dist/esm/skeleton-notification-button.js +2 -3
- package/dist/esm/skeleton-settings-button.js +2 -3
- package/dist/esm/skeleton-switcher-button.js +4 -3
- package/dist/esm/theme/theme-provider.js +0 -1
- package/dist/types/components/AtlassianNavigation/index.d.ts +2 -2
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +2 -2
- package/dist/types/components/BadgeContainer/index.d.ts +2 -2
- package/dist/types/components/Create/index.d.ts +6 -2
- package/dist/types/components/IconButton/skeleton.d.ts +2 -2
- package/dist/types/components/PrimaryButton/skeleton.d.ts +2 -2
- package/dist/types/components/PrimaryItemsContainer/index.d.ts +6 -2
- package/dist/types/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
- package/dist/types/components/ProductHome/custom-product-home.d.ts +6 -2
- package/dist/types/components/ProductHome/product-home.d.ts +7 -3
- package/dist/types/components/ProductHome/skeleton.d.ts +2 -2
- package/dist/types/components/Search/index.d.ts +6 -2
- package/dist/types/components/Search/skeleton.d.ts +6 -2
- package/dist/types/components/SkeletonCreateButton/index.d.ts +2 -2
- package/dist/types/components/SkeletonIconButton/index.d.ts +2 -2
- package/dist/types/components/SkeletonPrimaryButton/index.d.ts +2 -2
- package/dist/types/skeleton-switcher-button.d.ts +3 -3
- package/dist/types/theme/theme-provider.d.ts +4 -2
- package/dist/types/theme/use-theme.d.ts +2 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +2 -2
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Create/index.d.ts +6 -2
- package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +6 -2
- package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
- package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +6 -2
- package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +7 -3
- package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/index.d.ts +6 -2
- package/dist/types-ts4.5/components/Search/skeleton.d.ts +6 -2
- package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +2 -2
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +3 -3
- package/dist/types-ts4.5/theme/theme-provider.d.ts +4 -2
- package/dist/types-ts4.5/theme/use-theme.d.ts +2 -1
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["badge", "component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
|
|
4
4
|
import React, { forwardRef } from 'react';
|
|
5
|
-
import NotificationIcon from '@atlaskit/icon/core/
|
|
5
|
+
import NotificationIcon from '@atlaskit/icon/core/notification';
|
|
6
6
|
import { BadgeContainer } from '../BadgeContainer';
|
|
7
7
|
import { IconButton } from '../IconButton';
|
|
8
8
|
var NOTIFICATIONS_BADGE_ID = 'atlassian-navigation-notification-count';
|
|
@@ -9,7 +9,7 @@ import { forwardRef } from 'react';
|
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
|
-
import
|
|
12
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
13
|
import { PrimaryButton } from '../PrimaryButton';
|
|
14
14
|
var buttonNoOpStyle = css({
|
|
15
15
|
'--noop': 1
|
|
@@ -35,8 +35,7 @@ export var PrimaryDropdownButton = /*#__PURE__*/forwardRef(function (props, ref)
|
|
|
35
35
|
rest = _objectWithoutProperties(props, _excluded);
|
|
36
36
|
return jsx(PrimaryButton, _extends({
|
|
37
37
|
component: component,
|
|
38
|
-
iconAfter: jsx(
|
|
39
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-050, -4px)", " 0 ", "var(--ds-space-negative-100, -8px)"),
|
|
38
|
+
iconAfter: jsx(ChevronDownIcon, {
|
|
40
39
|
color: "currentColor",
|
|
41
40
|
label: "",
|
|
42
41
|
size: "small"
|
|
@@ -4,7 +4,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
4
4
|
* @jsxRuntime classic
|
|
5
5
|
* @jsx jsx
|
|
6
6
|
*/
|
|
7
|
-
import { useCallback, useState } from 'react';
|
|
7
|
+
import React, { useCallback, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import { Fragment, memo } from 'react';
|
|
5
|
+
import React, { Fragment, memo } from 'react';
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
@@ -6,7 +6,7 @@ var _excluded = ["href", "iconAlt", "iconUrl", "logoAlt", "logoMaxWidth", "logoU
|
|
|
6
6
|
* @jsxRuntime classic
|
|
7
7
|
* @jsx jsx
|
|
8
8
|
*/
|
|
9
|
-
import { Fragment } from 'react';
|
|
9
|
+
import React, { Fragment } from 'react';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
@@ -7,7 +7,7 @@ var _excluded = ["aria-label", "href", "name", "icon", "onClick", "onMouseDown",
|
|
|
7
7
|
* @jsxRuntime classic
|
|
8
8
|
* @jsx jsx
|
|
9
9
|
*/
|
|
10
|
-
import { Fragment } from 'react';
|
|
10
|
+
import React, { Fragment } from 'react';
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { Fragment } from 'react';
|
|
7
|
+
import React, { Fragment } from 'react';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
@@ -6,11 +6,11 @@ var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label",
|
|
|
6
6
|
* @jsxRuntime classic
|
|
7
7
|
* @jsx jsx
|
|
8
8
|
*/
|
|
9
|
-
import { Fragment } from 'react';
|
|
9
|
+
import React, { Fragment } from 'react';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
|
-
import SearchIcon from '@atlaskit/icon/core/
|
|
13
|
+
import SearchIcon from '@atlaskit/icon/core/search';
|
|
14
14
|
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
15
15
|
import { useTheme } from '../../theme';
|
|
16
16
|
import { stripEmptyProperties } from '../../utils';
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
* @jsxRuntime classic
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
|
-
import { Fragment } from 'react';
|
|
6
|
+
import React, { Fragment } from 'react';
|
|
7
7
|
|
|
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';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
|
|
4
4
|
import React, { forwardRef } from 'react';
|
|
5
|
-
import SettingsIcon from '@atlaskit/icon/core/
|
|
5
|
+
import SettingsIcon from '@atlaskit/icon/core/settings';
|
|
6
6
|
import { IconButton } from '../IconButton';
|
|
7
7
|
/**
|
|
8
8
|
* __Settings__
|
|
@@ -5,6 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
* @jsxRuntime classic
|
|
6
6
|
* @jsx jsx
|
|
7
7
|
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
|
|
8
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
11
|
import { css, jsx } from '@emotion/react';
|
|
10
12
|
import { useTheme } from '../../theme';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import QuestionCircleIcon from '@atlaskit/icon/core/
|
|
3
|
-
import Nav4QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
2
|
+
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
4
3
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
5
4
|
import { useTheme } from './theme';
|
|
6
5
|
/**
|
|
@@ -33,7 +32,7 @@ export var SkeletonHelpButton = function SkeletonHelpButton(_ref) {
|
|
|
33
32
|
export var Nav4SkeletonHelpButton = function Nav4SkeletonHelpButton(_ref2) {
|
|
34
33
|
var _ref2$label = _ref2.label,
|
|
35
34
|
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
36
|
-
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(
|
|
35
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
|
|
37
36
|
label: label,
|
|
38
37
|
spacing: "spacious",
|
|
39
38
|
color: "var(--ds-icon, #292A2E)"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import NotificationIcon from '@atlaskit/icon/core/
|
|
3
|
-
import Nav4NotificationsIcon from '@atlaskit/icon/core/notification';
|
|
2
|
+
import NotificationIcon from '@atlaskit/icon/core/notification';
|
|
4
3
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
5
4
|
/**
|
|
6
5
|
* __Skeleton notification button__
|
|
@@ -31,7 +30,7 @@ export var SkeletonNotificationButton = function SkeletonNotificationButton(_ref
|
|
|
31
30
|
export var Nav4SkeletonNotificationButton = function Nav4SkeletonNotificationButton(_ref2) {
|
|
32
31
|
var _ref2$label = _ref2.label,
|
|
33
32
|
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
34
|
-
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(
|
|
33
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
35
34
|
label: label,
|
|
36
35
|
color: "var(--ds-icon, #292A2E)"
|
|
37
36
|
}));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import SettingsIcon from '@atlaskit/icon/core/
|
|
3
|
-
import Nav4SettingsIcon from '@atlaskit/icon/core/settings';
|
|
2
|
+
import SettingsIcon from '@atlaskit/icon/core/settings';
|
|
4
3
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
5
4
|
/**
|
|
6
5
|
* __Skeleton settings button__
|
|
@@ -30,7 +29,7 @@ export var SkeletonSettingsButton = function SkeletonSettingsButton(_ref) {
|
|
|
30
29
|
export var Nav4SkeletonSettingsButton = function Nav4SkeletonSettingsButton(_ref2) {
|
|
31
30
|
var _ref2$label = _ref2.label,
|
|
32
31
|
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
33
|
-
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(
|
|
32
|
+
return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(SettingsIcon, {
|
|
34
33
|
label: label,
|
|
35
34
|
color: "var(--ds-icon, #292A2E)"
|
|
36
35
|
}));
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
5
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import
|
|
8
|
-
import AppSwitcherIcon from '@atlaskit/icon/core/migration/app-switcher';
|
|
9
|
+
import AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
|
|
9
10
|
import { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
10
11
|
import { useTheme } from './theme';
|
|
11
12
|
var skeletonSwitcherButtonStyles = css({
|
|
@@ -77,7 +78,7 @@ export var SkeletonSwitcherButton = function SkeletonSwitcherButton(_ref) {
|
|
|
77
78
|
export var Nav4SkeletonSwitcherButton = function Nav4SkeletonSwitcherButton(_ref2) {
|
|
78
79
|
var _ref2$label = _ref2.label,
|
|
79
80
|
label = _ref2$label === void 0 ? '' : _ref2$label;
|
|
80
|
-
return jsx(SkeletonIconButton, null, jsx(
|
|
81
|
+
return jsx(SkeletonIconButton, null, jsx(AppSwitcherIcon, {
|
|
81
82
|
label: label,
|
|
82
83
|
spacing: "spacious",
|
|
83
84
|
color: "var(--ds-icon, #292A2E)"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type AtlassianNavigationProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Atlassian navigation__
|
|
@@ -12,4 +12,4 @@ import { type AtlassianNavigationProps } from './types';
|
|
|
12
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples)
|
|
13
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/examples)
|
|
14
14
|
*/
|
|
15
|
-
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) =>
|
|
15
|
+
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type NavigationSkeletonProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Navigation skeleton__
|
|
@@ -17,4 +17,4 @@ import { type NavigationSkeletonProps } from './types';
|
|
|
17
17
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-loader)
|
|
18
18
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
19
19
|
*/
|
|
20
|
-
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) =>
|
|
20
|
+
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type BadgeProps } from './types';
|
|
7
|
-
export declare const BadgeContainer: (props: BadgeProps) =>
|
|
7
|
+
export declare const BadgeContainer: (props: BadgeProps) => React.JSX.Element;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type CreateProps } from './types';
|
|
3
7
|
/**
|
|
4
8
|
* _Create__
|
|
@@ -9,4 +13,4 @@ import { type CreateProps } from './types';
|
|
|
9
13
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#create)
|
|
10
14
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
15
|
*/
|
|
12
|
-
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, label, }: CreateProps) =>
|
|
16
|
+
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, label, }: CreateProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type IconButtonSkeletonProps } from './types';
|
|
7
|
-
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) =>
|
|
7
|
+
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type PrimaryButtonSkeletonProps } from './types';
|
|
7
|
-
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) =>
|
|
7
|
+
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => React.JSX.Element;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type NavigationTheme } from '../../theme';
|
|
3
7
|
import { type PrimaryItemsContainerProps } from './types';
|
|
4
8
|
export declare const PrimaryItemsContainer: ({ moreLabel, items, create: Create, testId, }: PrimaryItemsContainerProps & {
|
|
5
9
|
theme?: NavigationTheme;
|
|
6
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React, { type MemoExoticComponent } from 'react';
|
|
2
6
|
import { type PrimaryItemsContainerSkeletonProps } from './types';
|
|
3
|
-
export declare const PrimaryItemsContainerSkeleton:
|
|
7
|
+
export declare const PrimaryItemsContainerSkeleton: MemoExoticComponent<({ count }: PrimaryItemsContainerSkeletonProps) => React.JSX.Element>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type CustomProductHomeProps } from './types';
|
|
3
7
|
/**
|
|
4
8
|
* __Custom product home__
|
|
@@ -8,5 +12,5 @@ import { type CustomProductHomeProps } from './types';
|
|
|
8
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#custom-product-home)
|
|
9
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
14
|
*/
|
|
11
|
-
declare const CustomProductHome: (props: CustomProductHomeProps) =>
|
|
15
|
+
declare const CustomProductHome: (props: CustomProductHomeProps) => React.JSX.Element;
|
|
12
16
|
export default CustomProductHome;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type AppHomeProps, type ProductHomeProps } from './types';
|
|
3
7
|
/**
|
|
4
8
|
* __App home__
|
|
@@ -11,7 +15,7 @@ import { type AppHomeProps, type ProductHomeProps } from './types';
|
|
|
11
15
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-product-home)
|
|
12
16
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
13
17
|
*/
|
|
14
|
-
export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon, onClick, onMouseDown, siteTitle, testId, ...rest }: AppHomeProps) =>
|
|
18
|
+
export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon, onClick, onMouseDown, siteTitle, testId, ...rest }: AppHomeProps) => React.JSX.Element;
|
|
15
19
|
/**
|
|
16
20
|
* __Product home__
|
|
17
21
|
*
|
|
@@ -23,5 +27,5 @@ export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon
|
|
|
23
27
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#product-home)
|
|
24
28
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
25
29
|
*/
|
|
26
|
-
declare const ProductHome: ({ "aria-label": ariaLabel, href, icon: Icon, logo: Logo, logoMaxWidth, onClick, onMouseDown, siteTitle, testId, ...rest }: ProductHomeProps) =>
|
|
30
|
+
declare const ProductHome: ({ "aria-label": ariaLabel, href, icon: Icon, logo: Logo, logoMaxWidth, onClick, onMouseDown, siteTitle, testId, ...rest }: ProductHomeProps) => React.JSX.Element;
|
|
27
31
|
export default ProductHome;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type SearchProps } from './types';
|
|
3
7
|
/**
|
|
4
8
|
* __Search__
|
|
@@ -8,4 +12,4 @@ import { type SearchProps } from './types';
|
|
|
8
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#search)
|
|
9
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
14
|
*/
|
|
11
|
-
export declare const Search: (props: SearchProps) =>
|
|
15
|
+
export declare const Search: (props: SearchProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type SkeletonCreateButtonProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Skeleton create button__
|
|
@@ -14,4 +14,4 @@ import { type SkeletonCreateButtonProps } from './types';
|
|
|
14
14
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
15
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
16
|
*/
|
|
17
|
-
export declare const SkeletonCreateButton: ({ text, testId }: SkeletonCreateButtonProps) =>
|
|
17
|
+
export declare const SkeletonCreateButton: ({ text, testId }: SkeletonCreateButtonProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type SkeletonIconButtonProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Skeleton icon button__
|
|
@@ -14,4 +14,4 @@ import { type SkeletonIconButtonProps } from './types';
|
|
|
14
14
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
15
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
16
|
*/
|
|
17
|
-
export declare const SkeletonIconButton: ({ children, testId }: SkeletonIconButtonProps) =>
|
|
17
|
+
export declare const SkeletonIconButton: ({ children, testId }: SkeletonIconButtonProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type SkeletonPrimaryButtonProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Skeleton primary button__
|
|
@@ -14,4 +14,4 @@ import { type SkeletonPrimaryButtonProps } from './types';
|
|
|
14
14
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
15
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
16
|
*/
|
|
17
|
-
export declare const SkeletonPrimaryButton: ({ isDropdownButton, isHighlighted, text, children, testId, }: SkeletonPrimaryButtonProps) =>
|
|
17
|
+
export declare const SkeletonPrimaryButton: ({ isDropdownButton, isHighlighted, text, children, testId, }: SkeletonPrimaryButtonProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
export type SkeletonSwitcherButtonProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -26,10 +26,10 @@ export type SkeletonSwitcherButtonProps = {
|
|
|
26
26
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
27
27
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
28
28
|
*/
|
|
29
|
-
export declare const SkeletonSwitcherButton: ({ label, testId }: SkeletonSwitcherButtonProps) =>
|
|
29
|
+
export declare const SkeletonSwitcherButton: ({ label, testId, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* __Nav 4 skeleton switcher button__
|
|
32
32
|
*
|
|
33
33
|
* A nav 4 skeleton switcher button
|
|
34
34
|
*/
|
|
35
|
-
export declare const Nav4SkeletonSwitcherButton: ({ label }: SkeletonSwitcherButtonProps) =>
|
|
35
|
+
export declare const Nav4SkeletonSwitcherButton: ({ label, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Context, type Provider } from 'react';
|
|
2
|
+
import type { NavigationTheme } from './types';
|
|
3
|
+
export declare const ThemeContext: Context<NavigationTheme>;
|
|
2
4
|
/**
|
|
3
5
|
* __Theme provider__
|
|
4
6
|
*
|
|
5
7
|
* A provider for the theme context used by all navigation components.
|
|
6
8
|
*/
|
|
7
|
-
export declare const ThemeProvider:
|
|
9
|
+
export declare const ThemeProvider: Provider<NavigationTheme>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NavigationTheme } from './types';
|
|
2
|
+
export declare const useTheme: () => NavigationTheme;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type AtlassianNavigationProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Atlassian navigation__
|
|
@@ -12,4 +12,4 @@ import { type AtlassianNavigationProps } from './types';
|
|
|
12
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples)
|
|
13
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/examples)
|
|
14
14
|
*/
|
|
15
|
-
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) =>
|
|
15
|
+
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type NavigationSkeletonProps } from './types';
|
|
7
7
|
/**
|
|
8
8
|
* __Navigation skeleton__
|
|
@@ -17,4 +17,4 @@ import { type NavigationSkeletonProps } from './types';
|
|
|
17
17
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-loader)
|
|
18
18
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
19
19
|
*/
|
|
20
|
-
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) =>
|
|
20
|
+
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type BadgeProps } from './types';
|
|
7
|
-
export declare const BadgeContainer: (props: BadgeProps) =>
|
|
7
|
+
export declare const BadgeContainer: (props: BadgeProps) => React.JSX.Element;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type CreateProps } from './types';
|
|
3
7
|
/**
|
|
4
8
|
* _Create__
|
|
@@ -9,4 +13,4 @@ import { type CreateProps } from './types';
|
|
|
9
13
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#create)
|
|
10
14
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
15
|
*/
|
|
12
|
-
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, label, }: CreateProps) =>
|
|
16
|
+
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, label, }: CreateProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type IconButtonSkeletonProps } from './types';
|
|
7
|
-
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) =>
|
|
7
|
+
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => React.JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import { type PrimaryButtonSkeletonProps } from './types';
|
|
7
|
-
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) =>
|
|
7
|
+
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => React.JSX.Element;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
2
6
|
import { type NavigationTheme } from '../../theme';
|
|
3
7
|
import { type PrimaryItemsContainerProps } from './types';
|
|
4
8
|
export declare const PrimaryItemsContainer: ({ moreLabel, items, create: Create, testId, }: PrimaryItemsContainerProps & {
|
|
5
9
|
theme?: NavigationTheme;
|
|
6
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React, { type MemoExoticComponent } from 'react';
|
|
2
6
|
import { type PrimaryItemsContainerSkeletonProps } from './types';
|
|
3
|
-
export declare const PrimaryItemsContainerSkeleton:
|
|
7
|
+
export declare const PrimaryItemsContainerSkeleton: MemoExoticComponent<({ count }: PrimaryItemsContainerSkeletonProps) => React.JSX.Element>;
|