@purpurds/heading 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 +4 -4
  2. package/readme.mdx +3 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/heading",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/heading.cjs.js",
6
6
  "types": "./dist/heading.d.ts",
@@ -16,7 +16,7 @@
16
16
  "source": "src/heading.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/tokens": "3.5.1"
19
+ "@purpurds/tokens": "3.7.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rushstack/eslint-patch": "~1.7.0",
@@ -37,8 +37,8 @@
37
37
  "prettier": "~2.8.8",
38
38
  "react-dom": "~18.2.0",
39
39
  "react": "~18.2.0",
40
- "typescript": "~5.2.2",
41
- "vite": "~5.1.0",
40
+ "typescript": "~5.4.2",
41
+ "vite": "~5.2.2",
42
42
  "vitest": "~1.4.0",
43
43
  "@purpurds/component-rig": "1.0.0"
44
44
  },
package/readme.mdx CHANGED
@@ -24,30 +24,18 @@ ratio to the viewport with rather than a fixed size.
24
24
 
25
25
  #### Via NPM
26
26
 
27
- Add the dependency to your consumer app like `"@purpurds/heading": "x.y.z"`
28
-
29
- #### From outside the monorepo (build-time)
30
-
31
- 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).
32
-
33
- ---
27
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
34
28
 
35
29
  In MyApp.tsx
36
30
 
37
31
  ```tsx
38
- import "@purpurds/tokens/index.css";
39
- ```
40
-
41
- and
42
-
43
- ```tsx
44
- import "@purpurds/heading/styles";
32
+ import "@purpurds/purpur/styles";
45
33
  ```
46
34
 
47
35
  In MyComponent.tsx
48
36
 
49
37
  ```tsx
50
- import { Heading } from "@purpurds/heading";
38
+ import { Heading } from "@purpurds/purpur";
51
39
 
52
40
  export const MyComponent = () => {
53
41
  return (