@atlaskit/popup 1.3.1 → 1.3.4

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,25 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 1.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.3.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.3.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
20
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
21
+ - Updated dependencies
22
+
3
23
  ## 1.3.1
4
24
 
5
25
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # popup
2
2
 
3
- Creates a simple and lightweight inline Popup.
3
+ A popup displays brief content in an overlay.
4
4
 
5
5
  ## Installation
6
6
 
@@ -10,4 +10,4 @@ yarn add @atlaskit/popup
10
10
 
11
11
  ## Usage
12
12
 
13
- Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/core/popup).
13
+ Detailed docs and example usage can be found [here](https://atlassian.design/components/popup/).
@@ -33,9 +33,9 @@ var popupStyles = (0, _core.css)({
33
33
  boxSizing: 'border-box',
34
34
  zIndex: _constants.layers.layer(),
35
35
  flex: '1 1 auto',
36
- backgroundColor: "var(--ds-background-overlay, ".concat(_colors.N0, ")"),
36
+ backgroundColor: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
37
37
  borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
38
- boxShadow: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
38
+ boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
39
39
  overflow: 'auto',
40
40
  ':focus': {
41
41
  outline: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -14,9 +14,9 @@ const popupStyles = css({
14
14
  boxSizing: 'border-box',
15
15
  zIndex: layers.layer(),
16
16
  flex: '1 1 auto',
17
- backgroundColor: `var(--ds-background-overlay, ${N0})`,
17
+ backgroundColor: `var(--ds-surface-overlay, ${N0})`,
18
18
  borderRadius: `${borderRadius()}px`,
19
- boxShadow: `var(--ds-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
19
+ boxShadow: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
20
20
  overflow: 'auto',
21
21
  ':focus': {
22
22
  outline: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -15,9 +15,9 @@ var popupStyles = css({
15
15
  boxSizing: 'border-box',
16
16
  zIndex: layers.layer(),
17
17
  flex: '1 1 auto',
18
- backgroundColor: "var(--ds-background-overlay, ".concat(N0, ")"),
18
+ backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
19
19
  borderRadius: "".concat(borderRadius(), "px"),
20
- boxShadow: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
20
+ boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
21
21
  overflow: 'auto',
22
22
  ':focus': {
23
23
  outline: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -130,7 +130,7 @@ interface BaseProps {
130
130
  autoFocus?: boolean;
131
131
  /**
132
132
  * Controls if the event which handles clicks outside the popup is be bound with
133
- * `capture: true`
133
+ * `capture: true`.
134
134
  */
135
135
  shouldUseCaptureOnOutsideClick?: boolean;
136
136
  }
@@ -138,7 +138,7 @@ export interface PopupProps extends BaseProps {
138
138
  /**
139
139
  * Render props used to anchor the popup to your content.
140
140
  * Make this an interactive element,
141
- * such as an @atlaskit/button component.
141
+ * such as an `@atlaskit/button` component.
142
142
  */
143
143
  trigger: (props: TriggerProps) => React.ReactNode;
144
144
  /**
@@ -0,0 +1,5 @@
1
+ import { PopupProps } from '../src/types';
2
+
3
+ export default function PopupAttributesFunction(props: PopupProps) {
4
+ return null;
5
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.1",
4
- "description": "A portalled popup primitive that is tied to a trigger element.",
3
+ "version": "1.3.4",
4
+ "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/popper": "^5.0.0",
30
30
  "@atlaskit/portal": "^4.0.0",
31
31
  "@atlaskit/theme": "^12.1.0",
32
- "@atlaskit/tokens": "^0.5.0",
32
+ "@atlaskit/tokens": "^0.8.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/core": "^10.0.9",
35
35
  "bind-event-listener": "^1.0.2",
@@ -40,14 +40,16 @@
40
40
  "react-dom": "^16.8.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@atlaskit/button": "^16.1.0",
43
+ "@atlaskit/button": "^16.2.0",
44
44
  "@atlaskit/docs": "*",
45
45
  "@atlaskit/icon": "^21.10.0",
46
- "@atlaskit/menu": "^1.2.0",
46
+ "@atlaskit/menu": "^1.3.0",
47
47
  "@atlaskit/radio": "^5.3.0",
48
+ "@atlaskit/section-message": "^6.1.0",
48
49
  "@atlaskit/select": "^15.0.0",
49
- "@atlaskit/spinner": "^15.1.0",
50
50
  "@atlaskit/ssr": "*",
51
+ "@atlaskit/textfield": "^5.1.7",
52
+ "@atlaskit/toggle": "^12.4.4",
51
53
  "@atlaskit/visual-regression": "*",
52
54
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
53
55
  "@testing-library/dom": "^7.7.3",
@@ -81,5 +83,6 @@
81
83
  ]
82
84
  }
83
85
  },
86
+ "homepage": "https://atlassian.design/components/popup/",
84
87
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
85
88
  }