@purpurds/visually-hidden 3.5.1 → 3.7.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/readme.mdx +2 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/visually-hidden",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/visually-hidden.cjs.js",
6
6
  "types": "./dist/visually-hidden.d.ts",
@@ -35,8 +35,8 @@
35
35
  "prettier": "~2.8.8",
36
36
  "react-dom": "~18.2.0",
37
37
  "react": "~18.2.0",
38
- "typescript": "~5.2.2",
39
- "vite": "~5.1.0",
38
+ "typescript": "~5.4.2",
39
+ "vite": "~5.2.2",
40
40
  "vitest": "~1.4.0",
41
41
  "@purpurds/component-rig": "1.0.0"
42
42
  },
package/readme.mdx CHANGED
@@ -28,30 +28,12 @@ Example use cases:
28
28
 
29
29
  #### Via NPM
30
30
 
31
- Add the dependency to your consumer app like `"@purpurds/visually-hidden": "x.y.z"`
32
-
33
- #### From outside the monorepo (build-time)
34
-
35
- To install this package, you need to setup access to the artifactory. [Click here to go to the guide on how to do that](https://github.com/telia-company/jfrog-documentation/blob/main/doc/JFrog/JFrog_Onboarding.md#getting-access-to-artifactory-and-other-jfrog-applications).
36
-
37
- ---
38
-
39
- In MyApp.tsx
40
-
41
- ```tsx
42
- import "@purpurds/tokens/index.css";
43
- ```
44
-
45
- and
46
-
47
- ```tsx
48
- import "@purpurds/visually-hidden/styles";
49
- ```
31
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
50
32
 
51
33
  In MyComponent.tsx
52
34
 
53
35
  ```tsx
54
- import { VisuallyHidden } from "@purpurds/visually-hidden";
36
+ import { VisuallyHidden } from "@purpurds/purpur";
55
37
 
56
38
  export const MyComponent = () => {
57
39
  return (