@atlaskit/atlassian-navigation 6.1.8 → 6.2.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
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 6.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`234fda770bd2b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/234fda770bd2b) -
|
|
8
|
+
[ux] Fixed unsafe styles that distorted the inline (top-layer) tooltip/popover by excluding
|
|
9
|
+
top-layer elements from the offending selectors via `:not(:where([popover], dialog))` (and
|
|
10
|
+
`:nth-last-child(... of ...)` for positional selectors). The `:where()` wrapper keeps the guard at
|
|
11
|
+
zero specificity, so matching is otherwise unchanged, and the guards are no-ops for the legacy
|
|
12
|
+
portalled tooltip.
|
|
13
|
+
|
|
14
|
+
`@atlassian/gemini` additionally ignores Emotion's `":nth-last-child"` server-side-rendering
|
|
15
|
+
console warning, which it already ignored for `":first-child"` and `":nth-child"`
|
|
16
|
+
(emotion-js/emotion#1105).
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 6.1.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -31,8 +31,9 @@ var containerStyles = (0, _react2.css)({
|
|
|
31
31
|
flexBasis: 0,
|
|
32
32
|
flexGrow: 1,
|
|
33
33
|
flexShrink: 0,
|
|
34
|
-
//
|
|
35
|
-
|
|
34
|
+
// Guard excludes top-layer popover siblings (eg the overflow menu / tooltip); :where() keeps specificity.
|
|
35
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
36
|
+
'& > *:not(:where([popover], dialog))': {
|
|
36
37
|
margin: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
37
38
|
flexShrink: 0
|
|
38
39
|
}
|
|
@@ -20,8 +20,9 @@ const containerStyles = css({
|
|
|
20
20
|
flexBasis: 0,
|
|
21
21
|
flexGrow: 1,
|
|
22
22
|
flexShrink: 0,
|
|
23
|
-
//
|
|
24
|
-
|
|
23
|
+
// Guard excludes top-layer popover siblings (eg the overflow menu / tooltip); :where() keeps specificity.
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
25
|
+
'& > *:not(:where([popover], dialog))': {
|
|
25
26
|
margin: `0 ${"var(--ds-space-050, 4px)"}`,
|
|
26
27
|
flexShrink: 0
|
|
27
28
|
}
|
|
@@ -21,8 +21,9 @@ var containerStyles = css({
|
|
|
21
21
|
flexBasis: 0,
|
|
22
22
|
flexGrow: 1,
|
|
23
23
|
flexShrink: 0,
|
|
24
|
-
//
|
|
25
|
-
|
|
24
|
+
// Guard excludes top-layer popover siblings (eg the overflow menu / tooltip); :where() keeps specificity.
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
26
|
+
'& > *:not(:where([popover], dialog))': {
|
|
26
27
|
margin: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
27
28
|
flexShrink: 0
|
|
28
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian apps.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"@atlaskit/button": "^25.0.0",
|
|
40
40
|
"@atlaskit/css": "1.0.2",
|
|
41
41
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
42
|
-
"@atlaskit/icon": "^37.
|
|
42
|
+
"@atlaskit/icon": "^37.3.0",
|
|
43
43
|
"@atlaskit/logo": "^21.4.0",
|
|
44
44
|
"@atlaskit/popup": "^6.0.0",
|
|
45
45
|
"@atlaskit/primitives": "^22.2.0",
|
|
46
46
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
47
|
-
"@atlaskit/tokens": "^16.
|
|
47
|
+
"@atlaskit/tokens": "^16.4.0",
|
|
48
48
|
"@atlaskit/tooltip": "^24.0.0",
|
|
49
49
|
"@atlaskit/width-detector": "^6.2.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/section-message": "^10.0.0",
|
|
73
73
|
"@atlaskit/spinner": "^20.1.0",
|
|
74
74
|
"@atlaskit/textfield": "^10.0.0",
|
|
75
|
-
"@atlassian/switcher": "^48.
|
|
75
|
+
"@atlassian/switcher": "^48.15.0",
|
|
76
76
|
"@atlassian/switcher-test-utils": "^8.5.0",
|
|
77
77
|
"@testing-library/react": "^16.3.0",
|
|
78
78
|
"@testing-library/user-event": "^14.4.3",
|
package/tsconfig.json
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"examples/**/*.tsx",
|
|
8
|
-
"**/stories.ts",
|
|
9
|
-
"**/stories.tsx",
|
|
10
|
-
"**/stories/*.ts",
|
|
11
|
-
"**/stories/*.tsx",
|
|
12
|
-
"**/stories/**/*.ts",
|
|
13
|
-
"**/stories/**/*.tsx"
|
|
14
|
-
],
|
|
15
|
-
"exclude": [
|
|
16
|
-
"node_modules"
|
|
17
|
-
]
|
|
2
|
+
"extends": "./tsconfig.dev.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"disableReferencedProjectLoad": true,
|
|
5
|
+
"disableSolutionSearching": true
|
|
6
|
+
}
|
|
18
7
|
}
|