@atlaskit/atlassian-navigation 3.4.1 → 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.
- package/CHANGELOG.md +720 -413
- package/dist/cjs/common/constants.js +1 -3
- package/dist/cjs/components/Create/styles.js +1 -1
- package/dist/cjs/components/IconButton/styles.js +1 -1
- package/dist/cjs/components/PrimaryButton/styles.js +1 -1
- package/dist/cjs/components/Search/index.js +7 -10
- package/dist/cjs/components/SkeletonCreateButton/index.js +1 -2
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +1 -2
- package/dist/cjs/theme/default-theme.js +1 -1
- package/dist/es2019/common/constants.js +0 -2
- package/dist/es2019/components/Create/styles.js +1 -1
- package/dist/es2019/components/IconButton/styles.js +1 -1
- package/dist/es2019/components/PrimaryButton/styles.js +1 -1
- package/dist/es2019/components/Search/index.js +7 -10
- package/dist/es2019/components/SkeletonCreateButton/index.js +1 -2
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +1 -2
- package/dist/es2019/theme/default-theme.js +2 -2
- package/dist/esm/common/constants.js +0 -2
- package/dist/esm/components/Create/styles.js +1 -1
- package/dist/esm/components/IconButton/styles.js +1 -1
- package/dist/esm/components/PrimaryButton/styles.js +1 -1
- package/dist/esm/components/Search/index.js +8 -11
- package/dist/esm/components/SkeletonCreateButton/index.js +1 -2
- package/dist/esm/components/SkeletonPrimaryButton/index.js +1 -2
- package/dist/esm/theme/default-theme.js +2 -2
- package/dist/types/common/constants.d.ts +0 -1
- package/dist/types-ts4.5/common/constants.d.ts +0 -1
- package/package.json +7 -13
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.varSearchHoverBackgroundColor = exports.varSearchFocusBorderColor = exports.varSearchColor = exports.varSearchBorderColor = exports.varSearchBackgroundColor = exports.
|
|
7
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
8
|
-
var fontSize = exports.fontSize = (0, _constants.fontSize)();
|
|
6
|
+
exports.varSearchHoverBackgroundColor = exports.varSearchFocusBorderColor = exports.varSearchColor = exports.varSearchBorderColor = exports.varSearchBackgroundColor = exports.PRODUCT_HOME_BREAKPOINT = exports.HORIZONTAL_GLOBAL_NAV_HEIGHT = exports.CREATE_BREAKPOINT = void 0;
|
|
9
7
|
var HORIZONTAL_GLOBAL_NAV_HEIGHT = exports.HORIZONTAL_GLOBAL_NAV_HEIGHT = 56;
|
|
10
8
|
var PRODUCT_HOME_BREAKPOINT = exports.PRODUCT_HOME_BREAKPOINT = 1280;
|
|
11
9
|
var CREATE_BREAKPOINT = exports.CREATE_BREAKPOINT = 1130;
|
|
@@ -17,7 +17,7 @@ var getCreateButtonTheme = exports.getCreateButtonTheme = function getCreateButt
|
|
|
17
17
|
return {
|
|
18
18
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread({}, buttonStyles), create.default), {}, {
|
|
19
19
|
margin: 0,
|
|
20
|
-
fontWeight: 500,
|
|
20
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
21
21
|
':hover': create.hover,
|
|
22
22
|
':focus': create.focus,
|
|
23
23
|
// :active doesn't work in FF, becasue we do a
|
|
@@ -22,7 +22,7 @@ var getIconButtonTheme = exports.getIconButtonTheme = function getIconButtonThem
|
|
|
22
22
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
23
23
|
padding: "var(--ds-space-050, 4px)",
|
|
24
24
|
height: 'auto',
|
|
25
|
-
fontWeight: 500
|
|
25
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
26
26
|
}, iconButton.default), {}, {
|
|
27
27
|
':hover': iconButton.hover,
|
|
28
28
|
':focus': iconButton.focus,
|
|
@@ -16,7 +16,7 @@ var getPrimaryButtonTheme = exports.getPrimaryButtonTheme = function getPrimaryB
|
|
|
16
16
|
spinnerStyles = _current.spinnerStyles;
|
|
17
17
|
return {
|
|
18
18
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, buttonStyles), primaryButton.default), props.isSelected && primaryButton.selected), {}, {
|
|
19
|
-
fontWeight: 500,
|
|
19
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
20
20
|
padding: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
21
21
|
marginLeft: 0,
|
|
22
22
|
marginRight: 0,
|
|
@@ -11,16 +11,15 @@ 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");
|
|
18
17
|
var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
19
18
|
/** @jsx jsx */
|
|
20
19
|
var searchInputContainerStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
position: 'relative',
|
|
21
|
+
marginInlineEnd: "var(--ds-space-100, 8px)",
|
|
22
|
+
marginInlineStart: "var(--ds-space-250, 20px)"
|
|
24
23
|
}, "@media (max-width: ".concat(_constants.CREATE_BREAKPOINT - 1, "px)"), {
|
|
25
24
|
display: 'none !important'
|
|
26
25
|
}));
|
|
@@ -28,10 +27,8 @@ var searchInputIconStyles = (0, _react2.css)({
|
|
|
28
27
|
width: '20px',
|
|
29
28
|
height: '20px',
|
|
30
29
|
position: 'absolute',
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
34
|
-
left: '10px',
|
|
30
|
+
insetBlockStart: '5px',
|
|
31
|
+
insetInlineStart: '10px',
|
|
35
32
|
pointerEvents: 'none'
|
|
36
33
|
});
|
|
37
34
|
var newSearchBorderStyles = (0, _react2.css)({
|
|
@@ -50,7 +47,7 @@ var searchInputStyles = (0, _react2.css)({
|
|
|
50
47
|
borderColor: "var(".concat(_constants.varSearchBorderColor, ")"),
|
|
51
48
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
52
49
|
color: "var(".concat(_constants.varSearchColor, ")"),
|
|
53
|
-
|
|
50
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
54
51
|
outline: 'none',
|
|
55
52
|
'::placeholder': {
|
|
56
53
|
color: 'inherit'
|
|
@@ -91,7 +88,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
91
88
|
label: ""
|
|
92
89
|
})), (0, _react2.jsx)("input", {
|
|
93
90
|
style: searchInputDynamicStyles,
|
|
94
|
-
css: [searchInputStyles,
|
|
91
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
95
92
|
"aria-label": label,
|
|
96
93
|
placeholder: placeholder,
|
|
97
94
|
onChange: onChange,
|
|
@@ -14,9 +14,8 @@ var skeletonCreateButtonStyles = (0, _react.css)({
|
|
|
14
14
|
alignSelf: 'center',
|
|
15
15
|
border: 0,
|
|
16
16
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
17
|
-
|
|
17
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
18
18
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
19
|
-
lineHeight: 1,
|
|
20
19
|
pointerEvents: 'none',
|
|
21
20
|
':focus, :active, :hover': {
|
|
22
21
|
appearance: 'none',
|
|
@@ -18,9 +18,8 @@ var primaryButtonSkeletonStyles = (0, _react.css)({
|
|
|
18
18
|
position: 'relative',
|
|
19
19
|
appearance: 'none',
|
|
20
20
|
border: 0,
|
|
21
|
-
|
|
21
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
22
22
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
23
|
-
lineHeight: 1,
|
|
24
23
|
pointerEvents: 'none',
|
|
25
24
|
':focus, :active, :hover': {
|
|
26
25
|
appearance: 'none',
|
|
@@ -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, ")")
|
|
@@ -12,7 +12,7 @@ export const getCreateButtonTheme = ({
|
|
|
12
12
|
...buttonStyles,
|
|
13
13
|
...create.default,
|
|
14
14
|
margin: 0,
|
|
15
|
-
fontWeight: 500,
|
|
15
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
16
16
|
':hover': create.hover,
|
|
17
17
|
':focus': create.focus,
|
|
18
18
|
// :active doesn't work in FF, becasue we do a
|
|
@@ -16,7 +16,7 @@ export const getIconButtonTheme = ({
|
|
|
16
16
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
17
17
|
padding: "var(--ds-space-050, 4px)",
|
|
18
18
|
height: 'auto',
|
|
19
|
-
fontWeight: 500,
|
|
19
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
20
20
|
...iconButton.default,
|
|
21
21
|
':hover': iconButton.hover,
|
|
22
22
|
':focus': iconButton.focus,
|
|
@@ -12,7 +12,7 @@ export const getPrimaryButtonTheme = ({
|
|
|
12
12
|
...buttonStyles,
|
|
13
13
|
...primaryButton.default,
|
|
14
14
|
...(props.isSelected && primaryButton.selected),
|
|
15
|
-
fontWeight: 500,
|
|
15
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
16
16
|
padding: `0 ${"var(--ds-space-050, 4px)"}`,
|
|
17
17
|
marginLeft: 0,
|
|
18
18
|
marginRight: 0,
|
|
@@ -3,14 +3,13 @@ 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 {
|
|
7
|
-
import { CREATE_BREAKPOINT, fontSize, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
6
|
+
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
8
7
|
import { useTheme } from '../../theme';
|
|
9
8
|
import { IconButton } from '../IconButton';
|
|
10
9
|
const searchInputContainerStyles = css({
|
|
11
|
-
marginRight: "var(--ds-space-100, 8px)",
|
|
12
|
-
marginLeft: "var(--ds-space-250, 20px)",
|
|
13
10
|
position: 'relative',
|
|
11
|
+
marginInlineEnd: "var(--ds-space-100, 8px)",
|
|
12
|
+
marginInlineStart: "var(--ds-space-250, 20px)",
|
|
14
13
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
15
14
|
[`@media (max-width: ${CREATE_BREAKPOINT - 1}px)`]: {
|
|
16
15
|
display: 'none !important'
|
|
@@ -20,10 +19,8 @@ const searchInputIconStyles = css({
|
|
|
20
19
|
width: '20px',
|
|
21
20
|
height: '20px',
|
|
22
21
|
position: 'absolute',
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
26
|
-
left: '10px',
|
|
22
|
+
insetBlockStart: '5px',
|
|
23
|
+
insetInlineStart: '10px',
|
|
27
24
|
pointerEvents: 'none'
|
|
28
25
|
});
|
|
29
26
|
const newSearchBorderStyles = css({
|
|
@@ -42,7 +39,7 @@ const searchInputStyles = css({
|
|
|
42
39
|
borderColor: `var(${varSearchBorderColor})`,
|
|
43
40
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
44
41
|
color: `var(${varSearchColor})`,
|
|
45
|
-
|
|
42
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
46
43
|
outline: 'none',
|
|
47
44
|
'::placeholder': {
|
|
48
45
|
color: 'inherit'
|
|
@@ -93,7 +90,7 @@ const SearchComponent = props => {
|
|
|
93
90
|
label: ""
|
|
94
91
|
})), jsx("input", {
|
|
95
92
|
style: searchInputDynamicStyles,
|
|
96
|
-
css: [searchInputStyles,
|
|
93
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
97
94
|
"aria-label": label,
|
|
98
95
|
placeholder: placeholder,
|
|
99
96
|
onChange: onChange,
|
|
@@ -7,9 +7,8 @@ const skeletonCreateButtonStyles = css({
|
|
|
7
7
|
alignSelf: 'center',
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
10
|
-
|
|
10
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
11
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
12
|
-
lineHeight: 1,
|
|
13
12
|
pointerEvents: 'none',
|
|
14
13
|
':focus, :active, :hover': {
|
|
15
14
|
appearance: 'none',
|
|
@@ -9,9 +9,8 @@ const primaryButtonSkeletonStyles = css({
|
|
|
9
9
|
position: 'relative',
|
|
10
10
|
appearance: 'none',
|
|
11
11
|
border: 0,
|
|
12
|
-
|
|
12
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
13
13
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
14
|
-
lineHeight: 1,
|
|
15
14
|
pointerEvents: 'none',
|
|
16
15
|
':focus, :active, :hover': {
|
|
17
16
|
appearance: 'none',
|
|
@@ -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})`
|
|
@@ -10,7 +10,7 @@ export var getCreateButtonTheme = function getCreateButtonTheme(_ref) {
|
|
|
10
10
|
return {
|
|
11
11
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread({}, buttonStyles), create.default), {}, {
|
|
12
12
|
margin: 0,
|
|
13
|
-
fontWeight: 500,
|
|
13
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
14
14
|
':hover': create.hover,
|
|
15
15
|
':focus': create.focus,
|
|
16
16
|
// :active doesn't work in FF, becasue we do a
|
|
@@ -15,7 +15,7 @@ export var getIconButtonTheme = function getIconButtonTheme(_ref) {
|
|
|
15
15
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
16
16
|
padding: "var(--ds-space-050, 4px)",
|
|
17
17
|
height: 'auto',
|
|
18
|
-
fontWeight: 500
|
|
18
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
19
19
|
}, iconButton.default), {}, {
|
|
20
20
|
':hover': iconButton.hover,
|
|
21
21
|
':focus': iconButton.focus,
|
|
@@ -9,7 +9,7 @@ export var getPrimaryButtonTheme = function getPrimaryButtonTheme(_ref) {
|
|
|
9
9
|
spinnerStyles = _current.spinnerStyles;
|
|
10
10
|
return {
|
|
11
11
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, buttonStyles), primaryButton.default), props.isSelected && primaryButton.selected), {}, {
|
|
12
|
-
fontWeight: 500,
|
|
12
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
13
13
|
padding: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
14
14
|
marginLeft: 0,
|
|
15
15
|
marginRight: 0,
|
|
@@ -6,14 +6,13 @@ 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 {
|
|
10
|
-
import { CREATE_BREAKPOINT, fontSize, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
9
|
+
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
11
10
|
import { useTheme } from '../../theme';
|
|
12
11
|
import { IconButton } from '../IconButton';
|
|
13
12
|
var searchInputContainerStyles = css(_defineProperty({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
position: 'relative',
|
|
14
|
+
marginInlineEnd: "var(--ds-space-100, 8px)",
|
|
15
|
+
marginInlineStart: "var(--ds-space-250, 20px)"
|
|
17
16
|
}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
18
17
|
display: 'none !important'
|
|
19
18
|
}));
|
|
@@ -21,10 +20,8 @@ var searchInputIconStyles = css({
|
|
|
21
20
|
width: '20px',
|
|
22
21
|
height: '20px',
|
|
23
22
|
position: 'absolute',
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
27
|
-
left: '10px',
|
|
23
|
+
insetBlockStart: '5px',
|
|
24
|
+
insetInlineStart: '10px',
|
|
28
25
|
pointerEvents: 'none'
|
|
29
26
|
});
|
|
30
27
|
var newSearchBorderStyles = css({
|
|
@@ -43,7 +40,7 @@ var searchInputStyles = css({
|
|
|
43
40
|
borderColor: "var(".concat(varSearchBorderColor, ")"),
|
|
44
41
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
45
42
|
color: "var(".concat(varSearchColor, ")"),
|
|
46
|
-
|
|
43
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
47
44
|
outline: 'none',
|
|
48
45
|
'::placeholder': {
|
|
49
46
|
color: 'inherit'
|
|
@@ -84,7 +81,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
84
81
|
label: ""
|
|
85
82
|
})), jsx("input", {
|
|
86
83
|
style: searchInputDynamicStyles,
|
|
87
|
-
css: [searchInputStyles,
|
|
84
|
+
css: [searchInputStyles, newSearchBorderStyles],
|
|
88
85
|
"aria-label": label,
|
|
89
86
|
placeholder: placeholder,
|
|
90
87
|
onChange: onChange,
|
|
@@ -7,9 +7,8 @@ var skeletonCreateButtonStyles = css({
|
|
|
7
7
|
alignSelf: 'center',
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
10
|
-
|
|
10
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
11
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
12
|
-
lineHeight: 1,
|
|
13
12
|
pointerEvents: 'none',
|
|
14
13
|
':focus, :active, :hover': {
|
|
15
14
|
appearance: 'none',
|
|
@@ -12,9 +12,8 @@ var primaryButtonSkeletonStyles = css({
|
|
|
12
12
|
position: 'relative',
|
|
13
13
|
appearance: 'none',
|
|
14
14
|
border: 0,
|
|
15
|
-
|
|
15
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
16
16
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
17
|
-
lineHeight: 1,
|
|
18
17
|
pointerEvents: 'none',
|
|
19
18
|
':focus, :active, :hover': {
|
|
20
19
|
appearance: 'none',
|
|
@@ -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.5.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
46
|
-
"@atlaskit/button": "^17.
|
|
46
|
+
"@atlaskit/button": "^17.14.0",
|
|
47
47
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
48
48
|
"@atlaskit/icon": "^22.1.0",
|
|
49
49
|
"@atlaskit/logo": "*",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
51
|
-
"@atlaskit/popup": "^1.
|
|
52
|
-
"@atlaskit/primitives": "^5.
|
|
51
|
+
"@atlaskit/popup": "^1.15.0",
|
|
52
|
+
"@atlaskit/primitives": "^5.7.0",
|
|
53
53
|
"@atlaskit/theme": "^12.7.0",
|
|
54
|
-
"@atlaskit/tokens": "^1.
|
|
55
|
-
"@atlaskit/tooltip": "^18.
|
|
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.
|
|
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
|
}
|