@atlaskit/atlassian-navigation 5.5.1 → 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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/afm-cc/tsconfig.json +2 -1
  3. package/afm-jira/tsconfig.json +2 -1
  4. package/afm-products/tsconfig.json +2 -1
  5. package/dist/cjs/components/AtlassianNavigation/index.js +15 -13
  6. package/dist/cjs/components/AtlassianNavigation/skeleton.js +17 -14
  7. package/dist/cjs/components/BadgeContainer/index.js +9 -6
  8. package/dist/cjs/components/Create/index.js +5 -3
  9. package/dist/cjs/components/IconButton/skeleton.js +4 -3
  10. package/dist/cjs/components/PrimaryButton/skeleton.js +5 -3
  11. package/dist/cjs/components/PrimaryItemsContainer/index.js +3 -1
  12. package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +3 -1
  13. package/dist/cjs/components/ProductHome/custom-product-home.js +3 -1
  14. package/dist/cjs/components/ProductHome/product-home.js +3 -1
  15. package/dist/cjs/components/ProductHome/skeleton.js +3 -1
  16. package/dist/cjs/components/Search/index.js +3 -1
  17. package/dist/cjs/components/Search/skeleton.js +3 -1
  18. package/dist/cjs/components/SignIn/index.js +2 -2
  19. package/dist/cjs/components/SkeletonCreateButton/index.js +8 -5
  20. package/dist/cjs/components/SkeletonIconButton/index.js +8 -5
  21. package/dist/cjs/components/SkeletonPrimaryButton/index.js +10 -9
  22. package/dist/cjs/skeleton-switcher-button.js +7 -5
  23. package/dist/es2019/components/AtlassianNavigation/index.js +2 -0
  24. package/dist/es2019/components/AtlassianNavigation/skeleton.js +2 -0
  25. package/dist/es2019/components/BadgeContainer/index.js +2 -0
  26. package/dist/es2019/components/Create/index.js +2 -2
  27. package/dist/es2019/components/IconButton/skeleton.js +2 -0
  28. package/dist/es2019/components/PrimaryButton/skeleton.js +1 -0
  29. package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -1
  30. package/dist/es2019/components/PrimaryItemsContainer/skeleton.js +1 -1
  31. package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
  32. package/dist/es2019/components/ProductHome/product-home.js +1 -1
  33. package/dist/es2019/components/ProductHome/skeleton.js +1 -1
  34. package/dist/es2019/components/Search/index.js +1 -1
  35. package/dist/es2019/components/Search/skeleton.js +1 -1
  36. package/dist/es2019/components/SignIn/index.js +1 -1
  37. package/dist/es2019/components/SkeletonCreateButton/index.js +2 -0
  38. package/dist/es2019/components/SkeletonIconButton/index.js +2 -0
  39. package/dist/es2019/components/SkeletonPrimaryButton/index.js +2 -0
  40. package/dist/es2019/skeleton-switcher-button.js +2 -0
  41. package/dist/es2019/theme/theme-provider.js +0 -1
  42. package/dist/esm/components/AtlassianNavigation/index.js +2 -0
  43. package/dist/esm/components/AtlassianNavigation/skeleton.js +2 -0
  44. package/dist/esm/components/BadgeContainer/index.js +2 -0
  45. package/dist/esm/components/Create/index.js +2 -2
  46. package/dist/esm/components/IconButton/skeleton.js +2 -0
  47. package/dist/esm/components/PrimaryButton/skeleton.js +1 -0
  48. package/dist/esm/components/PrimaryItemsContainer/index.js +1 -1
  49. package/dist/esm/components/PrimaryItemsContainer/skeleton.js +1 -1
  50. package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
  51. package/dist/esm/components/ProductHome/product-home.js +1 -1
  52. package/dist/esm/components/ProductHome/skeleton.js +1 -1
  53. package/dist/esm/components/Search/index.js +1 -1
  54. package/dist/esm/components/Search/skeleton.js +1 -1
  55. package/dist/esm/components/SignIn/index.js +1 -1
  56. package/dist/esm/components/SkeletonCreateButton/index.js +2 -0
  57. package/dist/esm/components/SkeletonIconButton/index.js +2 -0
  58. package/dist/esm/components/SkeletonPrimaryButton/index.js +2 -0
  59. package/dist/esm/skeleton-switcher-button.js +2 -0
  60. package/dist/esm/theme/theme-provider.js +0 -1
  61. package/dist/types/components/AtlassianNavigation/index.d.ts +2 -2
  62. package/dist/types/components/AtlassianNavigation/skeleton.d.ts +2 -2
  63. package/dist/types/components/BadgeContainer/index.d.ts +2 -2
  64. package/dist/types/components/Create/index.d.ts +6 -2
  65. package/dist/types/components/IconButton/skeleton.d.ts +2 -2
  66. package/dist/types/components/PrimaryButton/skeleton.d.ts +2 -2
  67. package/dist/types/components/PrimaryItemsContainer/index.d.ts +6 -2
  68. package/dist/types/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
  69. package/dist/types/components/ProductHome/custom-product-home.d.ts +6 -2
  70. package/dist/types/components/ProductHome/product-home.d.ts +7 -3
  71. package/dist/types/components/ProductHome/skeleton.d.ts +2 -2
  72. package/dist/types/components/Search/index.d.ts +6 -2
  73. package/dist/types/components/Search/skeleton.d.ts +6 -2
  74. package/dist/types/components/SkeletonCreateButton/index.d.ts +2 -2
  75. package/dist/types/components/SkeletonIconButton/index.d.ts +2 -2
  76. package/dist/types/components/SkeletonPrimaryButton/index.d.ts +2 -2
  77. package/dist/types/skeleton-switcher-button.d.ts +3 -3
  78. package/dist/types/theme/theme-provider.d.ts +4 -2
  79. package/dist/types/theme/use-theme.d.ts +2 -1
  80. package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +2 -2
  81. package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +2 -2
  82. package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +2 -2
  83. package/dist/types-ts4.5/components/Create/index.d.ts +6 -2
  84. package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +2 -2
  85. package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +2 -2
  86. package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +6 -2
  87. package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +6 -2
  88. package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +6 -2
  89. package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +7 -3
  90. package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +2 -2
  91. package/dist/types-ts4.5/components/Search/index.d.ts +6 -2
  92. package/dist/types-ts4.5/components/Search/skeleton.d.ts +6 -2
  93. package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +2 -2
  94. package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +2 -2
  95. package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +2 -2
  96. package/dist/types-ts4.5/skeleton-switcher-button.d.ts +3 -3
  97. package/dist/types-ts4.5/theme/theme-provider.d.ts +4 -2
  98. package/dist/types-ts4.5/theme/use-theme.d.ts +2 -1
  99. package/package.json +13 -13
@@ -1,18 +1,21 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.SkeletonIconButton = void 0;
7
- var _react = require("@emotion/react");
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _react2 = require("@emotion/react");
8
10
  var _theme = require("../../theme");
9
11
  /**
10
12
  * @jsxRuntime classic
11
13
  * @jsx jsx
12
14
  */
15
+
13
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
17
 
15
- var skeletonIconButtonStyles = (0, _react.css)({
18
+ var skeletonIconButtonStyles = (0, _react2.css)({
16
19
  margin: 0,
17
20
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
18
21
  border: 0,
@@ -37,7 +40,7 @@ var skeletonIconButtonStyles = (0, _react.css)({
37
40
  verticalAlign: 'middle'
38
41
  }
39
42
  });
40
- var buttonWrapperStyles = (0, _react.css)({
43
+ var buttonWrapperStyles = (0, _react2.css)({
41
44
  marginInlineEnd: "var(--ds-space-050, 4px)",
42
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
43
46
  '&:only-of-type': {
@@ -59,10 +62,10 @@ var SkeletonIconButton = exports.SkeletonIconButton = function SkeletonIconButto
59
62
  var children = _ref.children,
60
63
  testId = _ref.testId;
61
64
  var theme = (0, _theme.useTheme)();
62
- return (0, _react.jsx)("div", {
65
+ return (0, _react2.jsx)("div", {
63
66
  role: "listitem",
64
67
  css: buttonWrapperStyles
65
- }, (0, _react.jsx)("button", {
68
+ }, (0, _react2.jsx)("button", {
66
69
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
67
70
  style: theme.mode.iconButton.default,
68
71
  "data-testid": testId,
@@ -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,12 +2,12 @@
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';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
- import AddIcon from '@atlaskit/icon/core/migration/add--editor-add';
10
+ import AddIcon from '@atlaskit/icon/core/add';
11
11
  import Tooltip from '@atlaskit/tooltip';
12
12
  import { CREATE_BREAKPOINT } from '../../common/constants';
13
13
  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,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';
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import LogInIcon from '@atlaskit/icon/core/migration/log-in--sign-in';
3
+ import LogInIcon from '@atlaskit/icon/core/log-in';
4
4
  import { IconButton } from '../IconButton';
5
5
  /**
6
6
  * __Sign in__
@@ -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,12 +3,12 @@ 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';
10
10
  import Button from '@atlaskit/button/custom-theme-button';
11
- import AddIcon from '@atlaskit/icon/core/migration/add--editor-add';
11
+ import AddIcon from '@atlaskit/icon/core/add';
12
12
  import Tooltip from '@atlaskit/tooltip';
13
13
  import { CREATE_BREAKPOINT } from '../../common/constants';
14
14
  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,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,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 from 'react';
5
- import LogInIcon from '@atlaskit/icon/core/migration/log-in--sign-in';
5
+ import LogInIcon from '@atlaskit/icon/core/log-in';
6
6
  import { IconButton } from '../IconButton';
7
7
  /**
8
8
  * __Sign in__
@@ -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;