@purpurds/field-helper-text 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 +5 -5
  2. package/readme.mdx +3 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/field-helper-text",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/field-helper-text.cjs.js",
6
6
  "types": "./dist/field-helper-text.d.ts",
@@ -16,8 +16,8 @@
16
16
  "source": "src/field-helper-text.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/tokens": "3.5.1",
20
- "@purpurds/paragraph": "3.5.1"
19
+ "@purpurds/paragraph": "3.7.0",
20
+ "@purpurds/tokens": "3.7.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
@@ -23,30 +23,18 @@ This is an internal component used for form fields.
23
23
 
24
24
  #### Via NPM
25
25
 
26
- Add the dependency to your consumer app like `"@purpurds/field-helper-text": "x.y.z"`
27
-
28
- #### From outside the monorepo (build-time)
29
-
30
- 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).
31
-
32
- ---
26
+ Add the dependency to your consumer app like `"@purpurds/purpur": "^x.y.z"`
33
27
 
34
28
  In MyApp.tsx
35
29
 
36
30
  ```tsx
37
- import "@purpurds/tokens/index.css";
38
- ```
39
-
40
- and
41
-
42
- ```tsx
43
- import "@purpurds/field-helper-text/styles.css";
31
+ import "@purpurds/purpur/styles.css";
44
32
  ```
45
33
 
46
34
  In MyComponent.tsx
47
35
 
48
36
  ```tsx
49
- import { FieldHelperText } from "@purpurds/field-helper-text";
37
+ import { FieldHelperText } from "@purpurds/purpur";
50
38
 
51
39
  export const MyComponent = () => {
52
40
  return (