@atlaskit/dropdown-menu 11.0.2 → 11.0.3

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,13 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 11.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
8
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Bump dependency tiny-invariant to latest"
9
+ - Updated dependencies
10
+
3
11
  ## 11.0.2
4
12
 
5
13
  ### Patch Changes
@@ -10,13 +10,13 @@ var _colors = require("@atlaskit/theme/colors");
10
10
  var getIconColors = function getIconColors(isSelected) {
11
11
  if (isSelected) {
12
12
  return {
13
- primary: "var(--ds-background-boldBrand-resting, ".concat(_colors.B400, ")"),
14
- secondary: "var(--ds-background-default, ".concat(_colors.N40, ")")
13
+ primary: "var(--ds-background-brand-bold, ".concat(_colors.B400, ")"),
14
+ secondary: "var(--ds-surface, ".concat(_colors.N40, ")")
15
15
  };
16
16
  }
17
17
 
18
18
  return {
19
- primary: "var(--ds-border-neutral, ".concat(_colors.N40, ")"),
19
+ primary: "var(--ds-border, ".concat(_colors.N40, ")"),
20
20
  secondary: "var(--ds-UNSAFE_util-transparent, ".concat(_colors.N40, ")")
21
21
  };
22
22
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -3,13 +3,13 @@ import { B400, N40 } from '@atlaskit/theme/colors';
3
3
  const getIconColors = isSelected => {
4
4
  if (isSelected) {
5
5
  return {
6
- primary: `var(--ds-background-boldBrand-resting, ${B400})`,
7
- secondary: `var(--ds-background-default, ${N40})`
6
+ primary: `var(--ds-background-brand-bold, ${B400})`,
7
+ secondary: `var(--ds-surface, ${N40})`
8
8
  };
9
9
  }
10
10
 
11
11
  return {
12
- primary: `var(--ds-border-neutral, ${N40})`,
12
+ primary: `var(--ds-border, ${N40})`,
13
13
  secondary: `var(--ds-UNSAFE_util-transparent, ${N40})`
14
14
  };
15
15
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -3,13 +3,13 @@ import { B400, N40 } from '@atlaskit/theme/colors';
3
3
  var getIconColors = function getIconColors(isSelected) {
4
4
  if (isSelected) {
5
5
  return {
6
- primary: "var(--ds-background-boldBrand-resting, ".concat(B400, ")"),
7
- secondary: "var(--ds-background-default, ".concat(N40, ")")
6
+ primary: "var(--ds-background-brand-bold, ".concat(B400, ")"),
7
+ secondary: "var(--ds-surface, ".concat(N40, ")")
8
8
  };
9
9
  }
10
10
 
11
11
  return {
12
- primary: "var(--ds-border-neutral, ".concat(N40, ")"),
12
+ primary: "var(--ds-border, ".concat(N40, ")"),
13
13
  secondary: "var(--ds-UNSAFE_util-transparent, ".concat(N40, ")")
14
14
  };
15
15
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,8 +1,8 @@
1
1
  declare const getIconColors: (isSelected: boolean | undefined) => {
2
- primary: "var(--ds-background-boldBrand-resting)";
3
- secondary: "var(--ds-background-default)";
2
+ primary: "var(--ds-background-brand-bold)";
3
+ secondary: "var(--ds-surface)";
4
4
  } | {
5
- primary: "var(--ds-border-neutral)";
5
+ primary: "var(--ds-border)";
6
6
  secondary: "var(--ds-UNSAFE_util-transparent)";
7
7
  };
8
8
  export default getIconColors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "description": "A dropdown menu displays a list of actions or options to a user.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/popup": "^1.3.0",
31
31
  "@atlaskit/spinner": "^15.0.0",
32
32
  "@atlaskit/theme": "^12.1.0",
33
- "@atlaskit/tokens": "^0.5.0",
33
+ "@atlaskit/tokens": "^0.6.0",
34
34
  "@atlaskit/visually-hidden": "^0.1.1",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/core": "^10.0.9"
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@atlaskit/avatar": "^20.5.0",
44
44
  "@atlaskit/docs": "*",
45
- "@atlaskit/lozenge": "11.1.5",
45
+ "@atlaskit/lozenge": "11.1.6",
46
46
  "@atlaskit/modal-dialog": "^12.2.0",
47
47
  "@atlaskit/section-message": "^6.1.0",
48
48
  "@atlaskit/ssr": "*",
@@ -56,7 +56,7 @@
56
56
  "jscodeshift": "^0.13.0",
57
57
  "react-dom": "^16.8.0",
58
58
  "storybook-addon-performance": "^0.16.0",
59
- "tiny-invariant": "^0.0.3",
59
+ "tiny-invariant": "^1.2.0",
60
60
  "typescript": "3.9.6"
61
61
  },
62
62
  "keywords": [