@atlaskit/visually-hidden 3.0.1 → 3.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,21 @@
1
1
  # @atlaskit/visually-hidden
2
2
 
3
+ ## 3.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#147260](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147260)
8
+ [`c5d147b984034`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5d147b984034) -
9
+ Prevent users to select and copy visually hidden text
10
+
11
+ ## 3.0.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
16
+ [`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
17
+ Update `@compiled/react` dependency for improved type checking support.
18
+
3
19
  ## 3.0.1
4
20
 
5
21
  ### Patch Changes
@@ -9,4 +9,5 @@
9
9
  ._n3tdidpf{padding-bottom:0}
10
10
  ._o5721q9c{white-space:nowrap}
11
11
  ._ogto7mnp{clip:rect(1px,1px,1px,1px)}
12
- ._u5f3idpf{padding-right:0}
12
+ ._u5f3idpf{padding-right:0}
13
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -1,6 +1,4 @@
1
1
  /* visually-hidden.tsx generated by @compiled/babel-plugin v0.36.1 */
2
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
- // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
4
2
  "use strict";
5
3
 
6
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -42,7 +40,7 @@ var VisuallyHidden = function VisuallyHidden(_ref) {
42
40
  id: id,
43
41
  "data-testid": testId,
44
42
  role: role,
45
- className: (0, _runtime.ax)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _o5721q9c"])
43
+ className: (0, _runtime.ax)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _uiztglyw _o5721q9c"])
46
44
  }, children);
47
45
  };
48
46
  var _default = exports.default = VisuallyHidden;
@@ -9,4 +9,5 @@
9
9
  ._n3tdidpf{padding-bottom:0}
10
10
  ._o5721q9c{white-space:nowrap}
11
11
  ._ogto7mnp{clip:rect(1px,1px,1px,1px)}
12
- ._u5f3idpf{padding-right:0}
12
+ ._u5f3idpf{padding-right:0}
13
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -1,6 +1,4 @@
1
1
  /* visually-hidden.tsx generated by @compiled/babel-plugin v0.36.1 */
2
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
- // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
4
2
  import "./visually-hidden.compiled.css";
5
3
  import * as React from 'react';
6
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -34,7 +32,7 @@ const VisuallyHidden = ({
34
32
  id: id,
35
33
  "data-testid": testId,
36
34
  role: role,
37
- className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _o5721q9c"])
35
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _uiztglyw _o5721q9c"])
38
36
  }, children);
39
37
  };
40
38
  export default VisuallyHidden;
@@ -9,4 +9,5 @@
9
9
  ._n3tdidpf{padding-bottom:0}
10
10
  ._o5721q9c{white-space:nowrap}
11
11
  ._ogto7mnp{clip:rect(1px,1px,1px,1px)}
12
- ._u5f3idpf{padding-right:0}
12
+ ._u5f3idpf{padding-right:0}
13
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -1,6 +1,4 @@
1
1
  /* visually-hidden.tsx generated by @compiled/babel-plugin v0.36.1 */
2
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
- // eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
4
2
  import "./visually-hidden.compiled.css";
5
3
  import * as React from 'react';
6
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -33,7 +31,7 @@ var VisuallyHidden = function VisuallyHidden(_ref) {
33
31
  id: id,
34
32
  "data-testid": testId,
35
33
  role: role,
36
- className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _o5721q9c"])
34
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _uiztglyw _o5721q9c"])
37
35
  }, children);
38
36
  };
39
37
  export default VisuallyHidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "A utility that hides content from the screen while retaining readability by screen readers for accessibility.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,23 +26,23 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@babel/runtime": "^7.0.0",
29
- "@compiled/react": "^0.18.2"
29
+ "@compiled/react": "^0.18.3"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^18.2.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@af/accessibility-testing": "^2.0.0",
36
- "@af/integration-testing": "^0.5.0",
37
- "@af/visual-regression": "^1.3.0",
38
- "@atlaskit/button": "^21.1.0",
35
+ "@af/accessibility-testing": "workspace:^",
36
+ "@af/integration-testing": "workspace:^",
37
+ "@af/visual-regression": "workspace:^",
38
+ "@atlaskit/button": "^23.0.0",
39
39
  "@atlaskit/docs": "^10.0.0",
40
40
  "@atlaskit/ds-lib": "^4.0.0",
41
- "@atlaskit/link": "^3.0.0",
41
+ "@atlaskit/link": "^3.1.0",
42
42
  "@atlaskit/section-message": "^8.2.0",
43
- "@atlaskit/ssr": "^0.4.0",
44
43
  "@atlaskit/toggle": "^15.0.0",
45
- "@atlaskit/tokens": "^4.5.0",
44
+ "@atlaskit/tokens": "^4.8.0",
45
+ "@atlassian/ssr-tests": "^0.2.0",
46
46
  "@testing-library/react": "^13.4.0",
47
47
  "react-dom": "^18.2.0",
48
48
  "typescript": "~5.4.2"