@purpurds/link 3.5.1 → 3.6.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 +7 -7
  2. package/readme.mdx +4 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/link",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/link.cjs.js",
6
6
  "types": "./dist/link.d.ts",
@@ -16,8 +16,8 @@
16
16
  "source": "src/link.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/paragraph": "3.5.1",
20
- "@purpurds/tokens": "3.5.1"
19
+ "@purpurds/tokens": "3.6.0",
20
+ "@purpurds/paragraph": "3.6.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rushstack/eslint-patch": "~1.7.0",
@@ -38,11 +38,11 @@
38
38
  "prettier": "~2.8.8",
39
39
  "react-dom": "~18.2.0",
40
40
  "react": "~18.2.0",
41
- "typescript": "~5.2.2",
42
- "vite": "~5.1.0",
41
+ "typescript": "~5.4.2",
42
+ "vite": "~5.2.2",
43
43
  "vitest": "~1.4.0",
44
- "@purpurds/icon": "3.5.1",
45
- "@purpurds/component-rig": "1.0.0"
44
+ "@purpurds/component-rig": "1.0.0",
45
+ "@purpurds/icon": "3.6.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build:dev": "vite",
package/readme.mdx CHANGED
@@ -21,24 +21,12 @@ import packageInfo from "./package.json";
21
21
 
22
22
  #### Via NPM
23
23
 
24
- Add the dependency to your consumer app like `"@purpurds/link": "x.y.z"`
25
-
26
- #### From outside the monorepo (build-time)
27
-
28
- 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).
29
-
30
- ---
24
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
31
25
 
32
26
  In MyApp.tsx
33
27
 
34
28
  ```tsx
35
- import "@purpurds/tokens/index.css";
36
- ```
37
-
38
- and
39
-
40
- ```tsx
41
- import "@purpurds/link/styles";
29
+ import "@purpurds/purpur/styles";
42
30
  ```
43
31
 
44
32
  In MyComponent.tsx
@@ -46,7 +34,7 @@ In MyComponent.tsx
46
34
  ##### With a custom anchor (e.g. NextJS) as children
47
35
 
48
36
  ```tsx
49
- import { Link } from "@purpurds/link";
37
+ import { Link } from "@purpurds/purpur";
50
38
 
51
39
  export const MyComponent = () => {
52
40
  return (
@@ -60,7 +48,7 @@ export const MyComponent = () => {
60
48
  ##### Without an anchor as children
61
49
 
62
50
  ```tsx
63
- import { Link } from "@purpurds/link";
51
+ import { Link } from "@purpurds/purpur";
64
52
 
65
53
  export const MyComponent = () => {
66
54
  return (