@atlaskit/atlassian-navigation 3.2.0 → 3.2.1

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 3.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756) [`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) - Use feature flag to roll out border width update from 2px to 1px
8
+
3
9
  ## 3.2.0
4
10
 
5
11
  ### Minor Changes
@@ -40,7 +40,7 @@ var searchInputStyles = (0, _react2.css)({
40
40
  height: "var(--ds-space-400, 32px)",
41
41
  padding: "0 ".concat("var(--ds-space-100, 8px)", " 0 ", "var(--ds-space-500, 40px)"),
42
42
  backgroundColor: "var(".concat(_constants.varSearchBackgroundColor, ")"),
43
- border: "".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : '2px', " solid"),
43
+ border: "".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : '2px', " solid"),
44
44
  borderColor: "var(".concat(_constants.varSearchBorderColor, ")"),
45
45
  borderRadius: "var(--ds-border-radius-200, 6px)",
46
46
  color: "var(".concat(_constants.varSearchColor, ")"),
@@ -51,7 +51,7 @@ var searchInputStyles = (0, _react2.css)({
51
51
  },
52
52
  '&:focus': {
53
53
  borderColor: "var(".concat(_constants.varSearchFocusBorderColor, ")"),
54
- boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " var(", _constants.varSearchFocusBorderColor, ")") : undefined
54
+ boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " var(", _constants.varSearchFocusBorderColor, ")") : undefined
55
55
  },
56
56
  '&:hover': {
57
57
  backgroundColor: "var(".concat(_constants.varSearchHoverBackgroundColor, ")")
@@ -32,7 +32,7 @@ const searchInputStyles = css({
32
32
  height: "var(--ds-space-400, 32px)",
33
33
  padding: `0 ${"var(--ds-space-100, 8px)"} 0 ${"var(--ds-space-500, 40px)"}`,
34
34
  backgroundColor: `var(${varSearchBackgroundColor})`,
35
- border: `${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : '2px'} solid`,
35
+ border: `${getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : '2px'} solid`,
36
36
  borderColor: `var(${varSearchBorderColor})`,
37
37
  borderRadius: "var(--ds-border-radius-200, 6px)",
38
38
  color: `var(${varSearchColor})`,
@@ -43,7 +43,7 @@ const searchInputStyles = css({
43
43
  },
44
44
  '&:focus': {
45
45
  borderColor: `var(${varSearchFocusBorderColor})`,
46
- boxShadow: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} var(${varSearchFocusBorderColor})` : undefined
46
+ boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} var(${varSearchFocusBorderColor})` : undefined
47
47
  },
48
48
  '&:hover': {
49
49
  backgroundColor: `var(${varSearchHoverBackgroundColor})`
@@ -33,7 +33,7 @@ var searchInputStyles = css({
33
33
  height: "var(--ds-space-400, 32px)",
34
34
  padding: "0 ".concat("var(--ds-space-100, 8px)", " 0 ", "var(--ds-space-500, 40px)"),
35
35
  backgroundColor: "var(".concat(varSearchBackgroundColor, ")"),
36
- border: "".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : '2px', " solid"),
36
+ border: "".concat(getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : '2px', " solid"),
37
37
  borderColor: "var(".concat(varSearchBorderColor, ")"),
38
38
  borderRadius: "var(--ds-border-radius-200, 6px)",
39
39
  color: "var(".concat(varSearchColor, ")"),
@@ -44,7 +44,7 @@ var searchInputStyles = css({
44
44
  },
45
45
  '&:focus': {
46
46
  borderColor: "var(".concat(varSearchFocusBorderColor, ")"),
47
- boxShadow: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " var(", varSearchFocusBorderColor, ")") : undefined
47
+ boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " var(", varSearchFocusBorderColor, ")") : undefined
48
48
  },
49
49
  '&:hover': {
50
50
  backgroundColor: "var(".concat(varSearchHoverBackgroundColor, ")")
@@ -51,7 +51,7 @@ export interface AtlassianNavigationProps {
51
51
  */
52
52
  moreLabel?: ReactNode;
53
53
  /**
54
- * __Slow and discouraged custom theme API__.
54
+ * __Slow and discouraged custom theme API__
55
55
  */
56
56
  theme?: NavigationTheme;
57
57
  /**
@@ -87,7 +87,7 @@ export interface NavigationSkeletonProps {
87
87
  */
88
88
  shouldShowSearch?: boolean;
89
89
  /**
90
- * __Slow and discouraged custom theme API__.
90
+ * __Slow and discouraged custom theme API__
91
91
  */
92
92
  theme?: NavigationTheme;
93
93
  /**
@@ -51,7 +51,7 @@ export interface AtlassianNavigationProps {
51
51
  */
52
52
  moreLabel?: ReactNode;
53
53
  /**
54
- * __Slow and discouraged custom theme API__.
54
+ * __Slow and discouraged custom theme API__
55
55
  */
56
56
  theme?: NavigationTheme;
57
57
  /**
@@ -87,7 +87,7 @@ export interface NavigationSkeletonProps {
87
87
  */
88
88
  shouldShowSearch?: boolean;
89
89
  /**
90
- * __Slow and discouraged custom theme API__.
90
+ * __Slow and discouraged custom theme API__
91
91
  */
92
92
  theme?: NavigationTheme;
93
93
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
46
- "@atlaskit/button": "^17.3.0",
46
+ "@atlaskit/button": "^17.4.0",
47
47
  "@atlaskit/ds-lib": "^2.2.0",
48
48
  "@atlaskit/icon": "^22.0.0",
49
49
  "@atlaskit/logo": "*",
50
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
51
- "@atlaskit/popup": "^1.11.0",
51
+ "@atlaskit/popup": "^1.12.0",
52
52
  "@atlaskit/primitives": "^2.0.0",
53
53
  "@atlaskit/theme": "^12.6.0",
54
- "@atlaskit/tokens": "^1.35.0",
54
+ "@atlaskit/tokens": "^1.38.0",
55
55
  "@atlaskit/tooltip": "^18.1.0",
56
56
  "@atlaskit/width-detector": "^4.1.0",
57
57
  "@babel/runtime": "^7.0.0",
@@ -65,12 +65,12 @@
65
65
  "devDependencies": {
66
66
  "@af/accessibility-testing": "*",
67
67
  "@af/visual-regression": "*",
68
- "@atlaskit/dropdown-menu": "^12.3.0",
68
+ "@atlaskit/dropdown-menu": "^12.5.0",
69
69
  "@atlaskit/notification-indicator": "*",
70
70
  "@atlaskit/notification-log-client": "*",
71
71
  "@atlaskit/visual-regression": "*",
72
72
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
73
- "@atlassian/feature-flags-test-utils": "^0.1.1",
73
+ "@atlassian/feature-flags-test-utils": "^0.2.0",
74
74
  "@testing-library/react": "^12.1.5",
75
75
  "@testing-library/react-hooks": "^8.0.1",
76
76
  "jest-axe": "^8.0.0",
@@ -106,6 +106,9 @@
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
+ },
109
112
  "platform.design-system-team.border-checkbox_nyoiu": {
110
113
  "type": "boolean"
111
114
  }