@atlaskit/atlassian-navigation 6.1.8 → 6.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,30 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 6.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`234fda770bd2b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/234fda770bd2b) -
14
+ [ux] Fixed unsafe styles that distorted the inline (top-layer) tooltip/popover by excluding
15
+ top-layer elements from the offending selectors via `:not(:where([popover], dialog))` (and
16
+ `:nth-last-child(... of ...)` for positional selectors). The `:where()` wrapper keeps the guard at
17
+ zero specificity, so matching is otherwise unchanged, and the guards are no-ops for the legacy
18
+ portalled tooltip.
19
+
20
+ `@atlassian/gemini` additionally ignores Emotion's `":nth-last-child"` server-side-rendering
21
+ console warning, which it already ignored for `":first-child"` and `":nth-child"`
22
+ (emotion-js/emotion#1105).
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 6.1.8
4
29
 
5
30
  ### Patch Changes
@@ -31,8 +31,9 @@ var containerStyles = (0, _react2.css)({
31
31
  flexBasis: 0,
32
32
  flexGrow: 1,
33
33
  flexShrink: 0,
34
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
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
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
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
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
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.1.8",
3
+ "version": "6.2.1",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,14 +39,14 @@
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.2.0",
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.3.0",
47
+ "@atlaskit/tokens": "^16.4.0",
48
48
  "@atlaskit/tooltip": "^24.0.0",
49
- "@atlaskit/width-detector": "^6.2.0",
49
+ "@atlaskit/width-detector": "^7.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "chromatism": "^2.6.0",
@@ -63,16 +63,16 @@
63
63
  "@atlaskit/avatar": "^26.4.0",
64
64
  "@atlaskit/badge": "^21.0.0",
65
65
  "@atlaskit/docs": "^12.1.0",
66
- "@atlaskit/drawer": "^13.4.0",
67
- "@atlaskit/dropdown-menu": "^17.2.0",
66
+ "@atlaskit/drawer": "^14.0.0",
67
+ "@atlaskit/dropdown-menu": "^18.0.0",
68
68
  "@atlaskit/form": "^16.1.0",
69
- "@atlaskit/menu": "^9.2.0",
69
+ "@atlaskit/menu": "^10.0.0",
70
70
  "@atlaskit/notification-indicator": "^11.1.0",
71
71
  "@atlaskit/notification-log-client": "^10.0.0",
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.14.0",
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
- "extends": "../../../tsconfig.json",
3
- "include": [
4
- "src/**/*.ts",
5
- "src/**/*.tsx",
6
- "examples/**/*.ts",
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
  }