@atlaskit/popup 1.8.0 → 1.8.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/popup
2
2
 
3
+ ## 1.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
8
+
3
9
  ## 1.8.0
4
10
 
5
11
  ### Minor Changes
@@ -23,7 +23,7 @@ var popupStyles = (0, _react2.css)({
23
23
  zIndex: _constants.layers.layer(),
24
24
  flex: '1 1 auto',
25
25
  backgroundColor: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
26
- borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
26
+ borderRadius: "var(--ds-border-radius, 3px)",
27
27
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
28
28
  overflow: 'auto',
29
29
  ':focus': {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,7 @@ import { forwardRef, useMemo, useState } from 'react';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { Popper } from '@atlaskit/popper';
6
6
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
7
- import { borderRadius, layers } from '@atlaskit/theme/constants';
7
+ import { layers } from '@atlaskit/theme/constants';
8
8
  import { RepositionOnUpdate } from './reposition-on-update';
9
9
  import { useCloseManager } from './use-close-manager';
10
10
  import { useFocusManager } from './use-focus-manager';
@@ -14,7 +14,7 @@ const popupStyles = css({
14
14
  zIndex: layers.layer(),
15
15
  flex: '1 1 auto',
16
16
  backgroundColor: `var(--ds-surface-overlay, ${N0})`,
17
- borderRadius: `${borderRadius()}px`,
17
+ borderRadius: "var(--ds-border-radius, 3px)",
18
18
  boxShadow: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
19
19
  overflow: 'auto',
20
20
  ':focus': {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,7 @@ import { forwardRef, useMemo, useState } from 'react';
5
5
  import { css, jsx } from '@emotion/react';
6
6
  import { Popper } from '@atlaskit/popper';
7
7
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
8
- import { borderRadius, layers } from '@atlaskit/theme/constants';
8
+ import { layers } from '@atlaskit/theme/constants';
9
9
  import { RepositionOnUpdate } from './reposition-on-update';
10
10
  import { useCloseManager } from './use-close-manager';
11
11
  import { useFocusManager } from './use-focus-manager';
@@ -15,7 +15,7 @@ var popupStyles = css({
15
15
  zIndex: layers.layer(),
16
16
  flex: '1 1 auto',
17
17
  backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
18
- borderRadius: "".concat(borderRadius(), "px"),
18
+ borderRadius: "var(--ds-border-radius, 3px)",
19
19
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
20
20
  overflow: 'auto',
21
21
  ':focus': {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/popper": "^5.5.0",
41
41
  "@atlaskit/portal": "^4.3.0",
42
42
  "@atlaskit/theme": "^12.5.0",
43
- "@atlaskit/tokens": "^1.9.0",
43
+ "@atlaskit/tokens": "^1.11.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1",
46
46
  "bind-event-listener": "^2.1.1",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/button": "^16.8.0",
56
56
  "@atlaskit/docs": "*",
57
57
  "@atlaskit/icon": "^21.12.0",
58
- "@atlaskit/menu": "^1.8.0",
58
+ "@atlaskit/menu": "^1.9.0",
59
59
  "@atlaskit/radio": "^5.6.0",
60
60
  "@atlaskit/section-message": "^6.4.0",
61
61
  "@atlaskit/select": "^16.5.0",