@atlaskit/visually-hidden 1.0.2 → 1.1.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,11 @@
1
1
  # @atlaskit/visually-hidden
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
8
+
3
9
  ## 1.0.2
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _core = require("@emotion/core");
8
+ var _react = require("@emotion/react");
9
9
 
10
10
  /** @jsx jsx */
11
11
  // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
12
- var visuallyHiddenStyles = (0, _core.css)({
12
+ var visuallyHiddenStyles = (0, _react.css)({
13
13
  width: '1px',
14
14
  height: '1px',
15
15
  padding: '0',
@@ -43,7 +43,7 @@ var VisuallyHidden = function VisuallyHidden(_ref) {
43
43
  testId = _ref.testId,
44
44
  role = _ref.role,
45
45
  id = _ref.id;
46
- return (0, _core.jsx)("span", {
46
+ return (0, _react.jsx)("span", {
47
47
  id: id,
48
48
  "data-testid": testId,
49
49
  css: visuallyHiddenStyles,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { css, jsx } from '@emotion/core';
2
+ import { css, jsx } from '@emotion/react';
3
3
  // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
4
4
  const visuallyHiddenStyles = css({
5
5
  width: '1px',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { css, jsx } from '@emotion/core';
2
+ import { css, jsx } from '@emotion/react';
3
3
  // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
4
4
  var visuallyHiddenStyles = css({
5
5
  width: '1px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "A composable element that hides elements from the screen while keeping them accessible.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,13 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.0.0",
31
- "@emotion/core": "^10.0.9"
31
+ "@emotion/react": "^11.7.1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^16.8.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@atlaskit/docs": "*",
38
+ "@atlaskit/ds-lib": "^2.0.1",
38
39
  "@atlaskit/ssr": "*",
39
40
  "@atlaskit/visual-regression": "^0.8.0",
40
41
  "@atlaskit/webdriver-runner": "*",