@purpurds/paragraph 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 +4 -4
  2. package/readme.mdx +3 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/paragraph",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/paragraph.cjs.js",
6
6
  "types": "./dist/paragraph.d.ts",
@@ -17,7 +17,7 @@
17
17
  "source": "src/paragraph.tsx",
18
18
  "dependencies": {
19
19
  "classnames": "~2.5.0",
20
- "@purpurds/tokens": "3.5.1"
20
+ "@purpurds/tokens": "3.6.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rushstack/eslint-patch": "~1.7.0",
@@ -38,8 +38,8 @@
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
44
  "@purpurds/component-rig": "1.0.0"
45
45
  },
package/readme.mdx CHANGED
@@ -46,30 +46,18 @@ Inline elements can be used inside paragraph to highlight a specific part of tex
46
46
 
47
47
  #### Via NPM
48
48
 
49
- Add the dependency to your consumer app like `"@purpurds/paragraph": "x.y.z"`
50
-
51
- #### From outside the monorepo (build-time)
52
-
53
- 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).
54
-
55
- ---
49
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
56
50
 
57
51
  In MyApp.tsx
58
52
 
59
53
  ```tsx
60
- import "@purpurds/tokens/index.css";
61
- ```
62
-
63
- and
64
-
65
- ```tsx
66
- import "@purpurds/paragraph/styles";
54
+ import "@purpurds/purpur/styles";
67
55
  ```
68
56
 
69
57
  In MyComponent.tsx
70
58
 
71
59
  ```tsx
72
- import { Paragraph } from "@purpurds/paragraph";
60
+ import { Paragraph } from "@purpurds/purpur";
73
61
 
74
62
  export const MyComponent = () => {
75
63
  return (