@atlaskit/atlassian-navigation 5.5.2 → 5.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/components/AtlassianNavigation/index.js +15 -13
  3. package/dist/cjs/components/AtlassianNavigation/skeleton.js +17 -14
  4. package/dist/cjs/components/BadgeContainer/index.js +9 -6
  5. package/dist/cjs/components/Create/index.js +3 -1
  6. package/dist/cjs/components/IconButton/skeleton.js +4 -3
  7. package/dist/cjs/components/PrimaryButton/skeleton.js +5 -3
  8. package/dist/cjs/components/PrimaryItemsContainer/index.js +3 -1
  9. package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +3 -1
  10. package/dist/cjs/components/ProductHome/custom-product-home.js +3 -1
  11. package/dist/cjs/components/ProductHome/product-home.js +3 -1
  12. package/dist/cjs/components/ProductHome/skeleton.js +3 -1
  13. package/dist/cjs/components/Search/index.js +3 -1
  14. package/dist/cjs/components/Search/skeleton.js +3 -1
  15. package/dist/cjs/components/SkeletonCreateButton/index.js +8 -5
  16. package/dist/cjs/components/SkeletonIconButton/index.js +8 -5
  17. package/dist/cjs/components/SkeletonPrimaryButton/index.js +10 -9
  18. package/dist/cjs/skeleton-switcher-button.js +7 -5
  19. package/dist/es2019/components/AtlassianNavigation/index.js +2 -0
  20. package/dist/es2019/components/AtlassianNavigation/skeleton.js +2 -0
  21. package/dist/es2019/components/BadgeContainer/index.js +2 -0
  22. package/dist/es2019/components/Create/index.js +1 -1
  23. package/dist/es2019/components/IconButton/skeleton.js +2 -0
  24. package/dist/es2019/components/PrimaryButton/skeleton.js +1 -0
  25. package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -1
  26. package/dist/es2019/components/PrimaryItemsContainer/skeleton.js +1 -1
  27. package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
  28. package/dist/es2019/components/ProductHome/product-home.js +1 -1
  29. package/dist/es2019/components/ProductHome/skeleton.js +1 -1
  30. package/dist/es2019/components/Search/index.js +1 -1
  31. package/dist/es2019/components/Search/skeleton.js +1 -1
  32. package/dist/es2019/components/SkeletonCreateButton/index.js +2 -0
  33. package/dist/es2019/components/SkeletonIconButton/index.js +2 -0
  34. package/dist/es2019/components/SkeletonPrimaryButton/index.js +2 -0
  35. package/dist/es2019/skeleton-switcher-button.js +2 -0
  36. package/dist/es2019/theme/theme-provider.js +0 -1
  37. package/dist/esm/components/AtlassianNavigation/index.js +2 -0
  38. package/dist/esm/components/AtlassianNavigation/skeleton.js +2 -0
  39. package/dist/esm/components/BadgeContainer/index.js +2 -0
  40. package/dist/esm/components/Create/index.js +1 -1
  41. package/dist/esm/components/IconButton/skeleton.js +2 -0
  42. package/dist/esm/components/PrimaryButton/skeleton.js +1 -0
  43. package/dist/esm/components/PrimaryItemsContainer/index.js +1 -1
  44. package/dist/esm/components/PrimaryItemsContainer/skeleton.js +1 -1
  45. package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
  46. package/dist/esm/components/ProductHome/product-home.js +1 -1
  47. package/dist/esm/components/ProductHome/skeleton.js +1 -1
  48. package/dist/esm/components/Search/index.js +1 -1
  49. package/dist/esm/components/Search/skeleton.js +1 -1
  50. package/dist/esm/components/SkeletonCreateButton/index.js +2 -0
  51. package/dist/esm/components/SkeletonIconButton/index.js +2 -0
  52. package/dist/esm/components/SkeletonPrimaryButton/index.js +2 -0
  53. package/dist/esm/skeleton-switcher-button.js +2 -0
  54. package/dist/esm/theme/theme-provider.js +0 -1
  55. package/dist/types/components/AtlassianNavigation/index.d.ts +2 -2
  56. package/dist/types/components/AtlassianNavigation/skeleton.d.ts +2 -2
  57. package/dist/types/components/BadgeContainer/index.d.ts +2 -2
  58. package/dist/types/components/Create/index.d.ts +6 -2
  59. package/dist/types/components/IconButton/skeleton.d.ts +2 -2
  60. package/dist/types/components/PrimaryButton/skeleton.d.ts +2 -2
  61. package/dist/types/components/PrimaryItemsContainer/index.d.ts +6 -2
  62. package/dist/types/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
  63. package/dist/types/components/ProductHome/custom-product-home.d.ts +6 -2
  64. package/dist/types/components/ProductHome/product-home.d.ts +7 -3
  65. package/dist/types/components/ProductHome/skeleton.d.ts +2 -2
  66. package/dist/types/components/Search/index.d.ts +6 -2
  67. package/dist/types/components/Search/skeleton.d.ts +6 -2
  68. package/dist/types/components/SkeletonCreateButton/index.d.ts +2 -2
  69. package/dist/types/components/SkeletonIconButton/index.d.ts +2 -2
  70. package/dist/types/components/SkeletonPrimaryButton/index.d.ts +2 -2
  71. package/dist/types/skeleton-switcher-button.d.ts +3 -3
  72. package/dist/types/theme/theme-provider.d.ts +4 -2
  73. package/dist/types/theme/use-theme.d.ts +2 -1
  74. package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +2 -2
  75. package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +2 -2
  76. package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +2 -2
  77. package/dist/types-ts4.5/components/Create/index.d.ts +6 -2
  78. package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +2 -2
  79. package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +2 -2
  80. package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +6 -2
  81. package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
  82. package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +6 -2
  83. package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +7 -3
  84. package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +2 -2
  85. package/dist/types-ts4.5/components/Search/index.d.ts +6 -2
  86. package/dist/types-ts4.5/components/Search/skeleton.d.ts +6 -2
  87. package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +2 -2
  88. package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +2 -2
  89. package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +2 -2
  90. package/dist/types-ts4.5/skeleton-switcher-button.d.ts +3 -3
  91. package/dist/types-ts4.5/theme/theme-provider.d.ts +4 -2
  92. package/dist/types-ts4.5/theme/use-theme.d.ts +2 -1
  93. package/package.json +4 -4
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.SkeletonPrimaryButton = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _react2 = require("@emotion/react");
10
11
  var _theme = require("../../theme");
11
12
  var _utils = require("../../utils");
12
13
  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; }
@@ -16,7 +17,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
17
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
18
  var VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
18
19
  var VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR = '--primary-button-after-dropdown-border-color';
19
- var primaryButtonSkeletonStyles = (0, _react.css)({
20
+ var primaryButtonSkeletonStyles = (0, _react2.css)({
20
21
  margin: "0 ".concat("var(--ds-space-075, 6px)"),
21
22
  padding: "0 ".concat("var(--ds-space-050, 4px)"),
22
23
  position: 'relative',
@@ -36,7 +37,7 @@ var primaryButtonSkeletonStyles = (0, _react.css)({
36
37
  border: 0
37
38
  }
38
39
  });
39
- var isHighlightedStyles = (0, _react.css)({
40
+ var isHighlightedStyles = (0, _react2.css)({
40
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
41
42
  '&:before': {
42
43
  height: 3,
@@ -49,19 +50,19 @@ var isHighlightedStyles = (0, _react.css)({
49
50
  insetInlineStart: "var(--ds-space-025, 2px)"
50
51
  }
51
52
  });
52
- var isHighlightedAndDropdownButtonStyles = (0, _react.css)({
53
+ var isHighlightedAndDropdownButtonStyles = (0, _react2.css)({
53
54
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
54
55
  '&:before': {
55
56
  insetInlineEnd: -10
56
57
  }
57
58
  });
58
- var isHighlightedNotDropdownButtonStyles = (0, _react.css)({
59
+ var isHighlightedNotDropdownButtonStyles = (0, _react2.css)({
59
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
60
61
  '&:before': {
61
62
  insetInlineEnd: "var(--ds-space-025, 2px)"
62
63
  }
63
64
  });
64
- var isDropdownButtonStyles = (0, _react.css)({
65
+ var isDropdownButtonStyles = (0, _react2.css)({
65
66
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
66
67
  marginInlineEnd: 18,
67
68
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
@@ -82,7 +83,7 @@ var isDropdownButtonStyles = (0, _react.css)({
82
83
  verticalAlign: 'middle'
83
84
  }
84
85
  });
85
- var buttonWrapperStyles = (0, _react.css)({
86
+ var buttonWrapperStyles = (0, _react2.css)({
86
87
  display: 'flex',
87
88
  margin: 0
88
89
  });
@@ -110,10 +111,10 @@ var SkeletonPrimaryButton = exports.SkeletonPrimaryButton = function SkeletonPri
110
111
  var dynamicStyles = (0, _utils.stripEmptyProperties)(_objectSpread(_objectSpread(_objectSpread({}, primaryButton.default), isHighlighted && {
111
112
  color: primaryButton.selected.color
112
113
  }), {}, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR, primaryButton.selected.borderColor), VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, isHighlighted ? primaryButton.default.borderColor : primaryButton.default.color)));
113
- return (0, _react.jsx)("div", {
114
+ return (0, _react2.jsx)("div", {
114
115
  role: "listitem",
115
116
  css: buttonWrapperStyles
116
- }, (0, _react.jsx)("button", {
117
+ }, (0, _react2.jsx)("button", {
117
118
  type: "button"
118
119
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
119
120
  ,
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.SkeletonSwitcherButton = exports.Nav4SkeletonSwitcherButton = void 0;
8
- var _react = require("@emotion/react");
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _react2 = require("@emotion/react");
9
10
  var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
10
11
  var _appSwitcher2 = _interopRequireDefault(require("@atlaskit/icon/core/migration/app-switcher"));
11
12
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
@@ -14,9 +15,10 @@ var _theme = require("./theme");
14
15
  * @jsxRuntime classic
15
16
  * @jsx jsx
16
17
  */
18
+
17
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
20
 
19
- var skeletonSwitcherButtonStyles = (0, _react.css)({
21
+ var skeletonSwitcherButtonStyles = (0, _react2.css)({
20
22
  margin: 0,
21
23
  // eslint-disable-next-line @atlaskit/design-system/no-physical-properties
22
24
  marginRight: "var(--ds-space-050, 4px)",
@@ -64,13 +66,13 @@ var SkeletonSwitcherButton = exports.SkeletonSwitcherButton = function SkeletonS
64
66
  label = _ref$label === void 0 ? '' : _ref$label,
65
67
  testId = _ref.testId;
66
68
  var theme = (0, _theme.useTheme)();
67
- return (0, _react.jsx)("button", {
69
+ return (0, _react2.jsx)("button", {
68
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
69
71
  style: theme.mode.iconButton.default,
70
72
  "data-testid": testId,
71
73
  css: skeletonSwitcherButtonStyles,
72
74
  type: "button"
73
- }, (0, _react.jsx)(_appSwitcher2.default, {
75
+ }, (0, _react2.jsx)(_appSwitcher2.default, {
74
76
  color: "currentColor",
75
77
  spacing: "spacious",
76
78
  label: label
@@ -85,7 +87,7 @@ var SkeletonSwitcherButton = exports.SkeletonSwitcherButton = function SkeletonS
85
87
  var Nav4SkeletonSwitcherButton = exports.Nav4SkeletonSwitcherButton = function Nav4SkeletonSwitcherButton(_ref2) {
86
88
  var _ref2$label = _ref2.label,
87
89
  label = _ref2$label === void 0 ? '' : _ref2$label;
88
- return (0, _react.jsx)(_SkeletonIconButton.SkeletonIconButton, null, (0, _react.jsx)(_appSwitcher.default, {
90
+ return (0, _react2.jsx)(_SkeletonIconButton.SkeletonIconButton, null, (0, _react2.jsx)(_appSwitcher.default, {
89
91
  label: label,
90
92
  spacing: "spacious",
91
93
  color: "var(--ds-icon, #292A2E)"
@@ -3,6 +3,8 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
+ import React from 'react';
7
+
6
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { css, jsx } from '@emotion/react';
8
10
  import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
@@ -2,6 +2,8 @@
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
9
  import { N30 } from '@atlaskit/theme/colors';
@@ -2,6 +2,8 @@
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
9
  const badgeContainerStyles = css({
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { Fragment } from 'react';
5
+ import React, { Fragment } 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';
@@ -2,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -2,6 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+ import React from 'react';
5
6
 
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
- import { useCallback, useState } from 'react';
6
+ import React, { useCallback, useState } 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 @@
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';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
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';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
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';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
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';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
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 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { Fragment } from 'react';
5
+ import React, { Fragment } 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';
@@ -2,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -2,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -2,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -2,6 +2,8 @@
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
9
  import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
@@ -1,6 +1,5 @@
1
1
  import { createContext } from 'react';
2
2
  import { defaultTheme } from './themes';
3
-
4
3
  // Internal only
5
4
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
6
5
  export const ThemeContext = /*#__PURE__*/createContext(defaultTheme);
@@ -3,6 +3,8 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
+ import React from 'react';
7
+
6
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { css, jsx } from '@emotion/react';
8
10
  import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
@@ -2,6 +2,8 @@
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
9
  import { N30 } from '@atlaskit/theme/colors';
@@ -2,6 +2,8 @@
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
9
  var badgeContainerStyles = css({
@@ -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';
@@ -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';
@@ -2,6 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+ import React from 'react';
5
6
 
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
@@ -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,7 +6,7 @@ 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';
@@ -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,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -2,6 +2,8 @@
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
9
  import { useTheme } from '../../theme';
@@ -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';
@@ -2,6 +2,8 @@
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
9
  import Nav4AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
@@ -1,6 +1,5 @@
1
1
  import { createContext } from 'react';
2
2
  import { defaultTheme } from './themes';
3
-
4
3
  // Internal only
5
4
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
6
5
  export var ThemeContext = /*#__PURE__*/createContext(defaultTheme);
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { jsx } from '@emotion/react';
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) => jsx.JSX.Element;
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 { jsx } from '@emotion/react';
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) => jsx.JSX.Element;
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 { jsx } from '@emotion/react';
5
+ import React from 'react';
6
6
  import { type BadgeProps } from './types';
7
- export declare const BadgeContainer: (props: BadgeProps) => jsx.JSX.Element;
7
+ export declare const BadgeContainer: (props: BadgeProps) => React.JSX.Element;
@@ -1,4 +1,8 @@
1
- import { jsx } from '@emotion/react';
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) => jsx.JSX.Element;
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 { jsx } from '@emotion/react';
5
+ import React from 'react';
6
6
  import { type IconButtonSkeletonProps } from './types';
7
- export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => jsx.JSX.Element;
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 { jsx } from '@emotion/react';
5
+ import React from 'react';
6
6
  import { type PrimaryButtonSkeletonProps } from './types';
7
- export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => jsx.JSX.Element;
7
+ export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => React.JSX.Element;
@@ -1,6 +1,10 @@
1
- import { jsx } from '@emotion/react';
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
- }) => jsx.JSX.Element;
10
+ }) => React.JSX.Element;
@@ -1,3 +1,7 @@
1
- import { jsx } from '@emotion/react';
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: import("react").MemoExoticComponent<({ count }: PrimaryItemsContainerSkeletonProps) => jsx.JSX.Element>;
7
+ export declare const PrimaryItemsContainerSkeleton: MemoExoticComponent<({ count }: PrimaryItemsContainerSkeletonProps) => React.JSX.Element>;
@@ -1,4 +1,8 @@
1
- import { jsx } from '@emotion/react';
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) => jsx.JSX.Element;
15
+ declare const CustomProductHome: (props: CustomProductHomeProps) => React.JSX.Element;
12
16
  export default CustomProductHome;
@@ -1,4 +1,8 @@
1
- import { jsx } from '@emotion/react';
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) => jsx.JSX.Element;
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) => jsx.JSX.Element;
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;