@atlaskit/atlassian-navigation 3.4.2 → 3.5.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.
@@ -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, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') && newSearchBorderStyles],
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((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")")
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, getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && newSearchBorderStyles],
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, N40, N600, N700 } from '@atlaskit/theme/colors';
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, ${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40})`
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, getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && newSearchBorderStyles],
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, N40, N600, N700 } from '@atlaskit/theme/colors';
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(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N40, ")")
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.4.2",
3
+ "version": "3.5.0",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -48,11 +48,11 @@
48
48
  "@atlaskit/icon": "^22.1.0",
49
49
  "@atlaskit/logo": "*",
50
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
51
- "@atlaskit/popup": "^1.14.0",
52
- "@atlaskit/primitives": "^5.6.0",
51
+ "@atlaskit/popup": "^1.15.0",
52
+ "@atlaskit/primitives": "^5.7.0",
53
53
  "@atlaskit/theme": "^12.7.0",
54
- "@atlaskit/tokens": "^1.43.0",
55
- "@atlaskit/tooltip": "^18.2.0",
54
+ "@atlaskit/tokens": "^1.45.0",
55
+ "@atlaskit/tooltip": "^18.3.0",
56
56
  "@atlaskit/width-detector": "^4.1.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1",
@@ -65,7 +65,7 @@
65
65
  "devDependencies": {
66
66
  "@af/accessibility-testing": "*",
67
67
  "@af/visual-regression": "*",
68
- "@atlaskit/dropdown-menu": "^12.9.0",
68
+ "@atlaskit/dropdown-menu": "^12.10.0",
69
69
  "@atlaskit/notification-indicator": "*",
70
70
  "@atlaskit/notification-log-client": "*",
71
71
  "@atlaskit/visual-regression": "*",
@@ -106,12 +106,6 @@
106
106
  "platform.design-system-team.navigation-v2-no-jank_5yhbd": {
107
107
  "type": "boolean"
108
108
  },
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
109
  "platform.design-system-team.brand-refresh-update-product-logos_q7coo": {
116
110
  "type": "boolean"
117
111
  }