@atlaskit/atlassian-navigation 3.4.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +723 -414
- package/dist/cjs/components/Search/index.js +1 -2
- package/dist/cjs/theme/default-theme.js +1 -1
- package/dist/es2019/components/Search/index.js +1 -2
- package/dist/es2019/theme/default-theme.js +2 -2
- package/dist/esm/components/Search/index.js +1 -2
- package/dist/esm/theme/default-theme.js +2 -2
- package/package.json +9 -14
|
@@ -11,7 +11,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
var _react = require("react");
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
13
|
var _search = _interopRequireDefault(require("@atlaskit/icon/glyph/search"));
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _constants = require("../../common/constants");
|
|
16
15
|
var _theme = require("../../theme");
|
|
17
16
|
var _IconButton = require("../IconButton");
|
|
@@ -89,7 +88,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
89
88
|
label: ""
|
|
90
89
|
})), (0, _react2.jsx)("input", {
|
|
91
90
|
style: searchInputDynamicStyles,
|
|
92
|
-
css: [searchInputStyles,
|
|
91
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
93
92
|
"aria-label": label,
|
|
94
93
|
placeholder: placeholder,
|
|
95
94
|
onChange: onChange,
|
|
@@ -122,7 +122,7 @@ var defaultTheme = {
|
|
|
122
122
|
default: {
|
|
123
123
|
backgroundColor: "var(--ds-background-input, ".concat(_colors.N0, ")"),
|
|
124
124
|
color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
|
|
125
|
-
borderColor: "var(--ds-border-input, ".concat(
|
|
125
|
+
borderColor: "var(--ds-border-input, ".concat(_colors.N100, ")")
|
|
126
126
|
},
|
|
127
127
|
focus: {
|
|
128
128
|
borderColor: "var(--ds-border-focused, ".concat(_colors.B200, ")")
|
|
@@ -3,7 +3,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import { Fragment } from 'react';
|
|
4
4
|
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import SearchIcon from '@atlaskit/icon/glyph/search';
|
|
6
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
8
7
|
import { useTheme } from '../../theme';
|
|
9
8
|
import { IconButton } from '../IconButton';
|
|
@@ -91,7 +90,7 @@ const SearchComponent = props => {
|
|
|
91
90
|
label: ""
|
|
92
91
|
})), jsx("input", {
|
|
93
92
|
style: searchInputDynamicStyles,
|
|
94
|
-
css: [searchInputStyles,
|
|
93
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
95
94
|
"aria-label": label,
|
|
96
95
|
placeholder: placeholder,
|
|
97
96
|
onChange: onChange,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
2
|
-
import { B200, B400, B50, N0, N100, N20, N200,
|
|
2
|
+
import { B200, B400, B50, N0, N100, N20, N200, N600, N700 } from '@atlaskit/theme/colors';
|
|
3
3
|
import { hexToRGBA } from './theme-helpers';
|
|
4
4
|
const defaultTheme = {
|
|
5
5
|
mode: {
|
|
@@ -116,7 +116,7 @@ const defaultTheme = {
|
|
|
116
116
|
default: {
|
|
117
117
|
backgroundColor: `var(--ds-background-input, ${N0})`,
|
|
118
118
|
color: `var(--ds-text-subtlest, ${N200})`,
|
|
119
|
-
borderColor: `var(--ds-border-input, ${
|
|
119
|
+
borderColor: `var(--ds-border-input, ${N100})`
|
|
120
120
|
},
|
|
121
121
|
focus: {
|
|
122
122
|
borderColor: `var(--ds-border-focused, ${B200})`
|
|
@@ -6,7 +6,6 @@ var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import SearchIcon from '@atlaskit/icon/glyph/search';
|
|
9
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
11
10
|
import { useTheme } from '../../theme';
|
|
12
11
|
import { IconButton } from '../IconButton';
|
|
@@ -82,7 +81,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
82
81
|
label: ""
|
|
83
82
|
})), jsx("input", {
|
|
84
83
|
style: searchInputDynamicStyles,
|
|
85
|
-
css: [searchInputStyles,
|
|
84
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
86
85
|
"aria-label": label,
|
|
87
86
|
placeholder: placeholder,
|
|
88
87
|
onChange: onChange,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
2
|
-
import { B200, B400, B50, N0, N100, N20, N200,
|
|
2
|
+
import { B200, B400, B50, N0, N100, N20, N200, N600, N700 } from '@atlaskit/theme/colors';
|
|
3
3
|
import { hexToRGBA } from './theme-helpers';
|
|
4
4
|
var defaultTheme = {
|
|
5
5
|
mode: {
|
|
@@ -116,7 +116,7 @@ var defaultTheme = {
|
|
|
116
116
|
default: {
|
|
117
117
|
backgroundColor: "var(--ds-background-input, ".concat(N0, ")"),
|
|
118
118
|
color: "var(--ds-text-subtlest, ".concat(N200, ")"),
|
|
119
|
-
borderColor: "var(--ds-border-input, ".concat(
|
|
119
|
+
borderColor: "var(--ds-border-input, ".concat(N100, ")")
|
|
120
120
|
},
|
|
121
121
|
focus: {
|
|
122
122
|
borderColor: "var(--ds-border-focused, ".concat(B200, ")")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"website": {
|
|
40
40
|
"name": "Atlassian navigation",
|
|
41
41
|
"category": "Components"
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"runReact18": true
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
@@ -48,11 +49,11 @@
|
|
|
48
49
|
"@atlaskit/icon": "^22.1.0",
|
|
49
50
|
"@atlaskit/logo": "*",
|
|
50
51
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
51
|
-
"@atlaskit/popup": "^1.
|
|
52
|
-
"@atlaskit/primitives": "^5.
|
|
52
|
+
"@atlaskit/popup": "^1.16.0",
|
|
53
|
+
"@atlaskit/primitives": "^5.7.0",
|
|
53
54
|
"@atlaskit/theme": "^12.7.0",
|
|
54
|
-
"@atlaskit/tokens": "^1.
|
|
55
|
-
"@atlaskit/tooltip": "^18.
|
|
55
|
+
"@atlaskit/tokens": "^1.45.0",
|
|
56
|
+
"@atlaskit/tooltip": "^18.3.0",
|
|
56
57
|
"@atlaskit/width-detector": "^4.1.0",
|
|
57
58
|
"@babel/runtime": "^7.0.0",
|
|
58
59
|
"@emotion/react": "^11.7.1",
|
|
@@ -60,12 +61,12 @@
|
|
|
60
61
|
"lodash": "^4.17.21"
|
|
61
62
|
},
|
|
62
63
|
"peerDependencies": {
|
|
63
|
-
"react": "^16.8.0"
|
|
64
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
67
|
"@af/accessibility-testing": "*",
|
|
67
68
|
"@af/visual-regression": "*",
|
|
68
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
69
|
+
"@atlaskit/dropdown-menu": "^12.10.0",
|
|
69
70
|
"@atlaskit/notification-indicator": "*",
|
|
70
71
|
"@atlaskit/notification-log-client": "*",
|
|
71
72
|
"@atlaskit/visual-regression": "*",
|
|
@@ -106,12 +107,6 @@
|
|
|
106
107
|
"platform.design-system-team.navigation-v2-no-jank_5yhbd": {
|
|
107
108
|
"type": "boolean"
|
|
108
109
|
},
|
|
109
|
-
"platform.design-system-team.update-input-border-wdith_5abwv": {
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
},
|
|
112
|
-
"platform.design-system-team.border-checkbox_nyoiu": {
|
|
113
|
-
"type": "boolean"
|
|
114
|
-
},
|
|
115
110
|
"platform.design-system-team.brand-refresh-update-product-logos_q7coo": {
|
|
116
111
|
"type": "boolean"
|
|
117
112
|
}
|